CVE-2024-35944

5.5 MEDIUM

📋 TL;DR

This CVE describes a memory corruption vulnerability in the Linux kernel's VMCI driver where a memcpy() operation can write beyond the bounds of a structure. This could allow local attackers to cause kernel crashes or potentially execute arbitrary code. The vulnerability affects systems running vulnerable Linux kernel versions with VMCI enabled.

💻 Affected Systems

Products:
  • Linux kernel
Versions: Specific affected versions not explicitly stated in CVE, but patches exist in stable kernel trees.
Operating Systems: Linux distributions using vulnerable kernel versions
Default Config Vulnerable: ✅ No
Notes: Only vulnerable if VMCI (VMware Communication Interface) driver is enabled and loaded. Many distributions don't enable this by default.

📦 What is this software?

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

⚠️ Risk & Real-World Impact

🔴

Worst Case

Local privilege escalation to kernel-level execution, potentially leading to full system compromise.

🟠

Likely Case

Kernel panic or system crash causing denial of service.

🟢

If Mitigated

No impact if VMCI is disabled or system is patched.

🌐 Internet-Facing: LOW - Requires local access to exploit.
🏢 Internal Only: MEDIUM - Local attackers could exploit this if they have access to vulnerable systems.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Discovered via fuzzing with Syzkaller. Requires local access and ability to trigger the vulnerable code path.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Patched in stable kernel trees via commits referenced in CVE

Vendor Advisory: https://git.kernel.org/stable/c/130b0cd064874e0d0f58e18fb00e6f3993e90c74

Restart Required: Yes

Instructions:

1. Update Linux kernel to patched version from your distribution. 2. Reboot system to load new kernel.

🔧 Temporary Workarounds

Disable VMCI module

linux

Prevent loading of the vulnerable VMCI driver

echo 'blacklist vmw_vmci' >> /etc/modprobe.d/blacklist.conf
rmmod vmw_vmci

🧯 If You Can't Patch

  • Ensure VMCI driver is not loaded (check with 'lsmod | grep vmci')
  • Implement strict access controls to prevent local users from triggering vulnerable code paths

🔍 How to Verify

Check if Vulnerable:

Check if VMCI module is loaded: 'lsmod | grep vmci' and check kernel version against patched versions

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version is updated and VMCI module version matches patched release

📡 Detection & Monitoring

Log Indicators:

  • Kernel panic logs
  • WARNING messages about 'field-spanning write' in dg_dispatch_as_host()

SIEM Query:

kernel:WARNING AND dg_dispatch_as_host

🔗 References

📤 Share & Export