CVE-2024-35944
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-35944 affects the Linux kernel's VMCI (Virtual Machine Communication Interface) component. The vulnerability was discovered by Syzkaller and reported in May 2024. It involves a memcpy() run-time warning in the dg_dispatch_as_host() function within the VMware VMCI Driver (Kernel Git).

Technical details

The vulnerability occurs in the drivers/misc/vmw_vmci/vmci_datagram.c file where a field-spanning write operation is performed using memcpy(). The issue arises when copying data between structures where the size calculation VMCI_DG_SIZE(_dg) (24 + payload_size) causes a write across multiple structure fields. The specific problematic code attempts to copy data into dg_info->msg, which is a 24-byte structure, but the operation spans into the adjacent msg_payload field (Kernel Git).

Impact

The vulnerability results in a runtime warning when FORTIFY_SOURCE is enabled, indicating potentially unsafe memory operations that could affect system stability. While primarily a code quality issue, it could potentially lead to memory corruption or system instability (Kernel Git).

Exploitability

The issue was discovered through fuzzing with Syzkaller, which managed to trigger the condition by setting a payload_size value that caused the memcpy operation to span across structure boundaries. The vulnerability requires access to the VMCI driver functionality (Kernel Git).

Mitigation and workarounds

The fix involves splitting the memcpy() operation into two parts: a direct structure assignment for the msg field and a separate memcpy() for the payload data. This change ensures proper handling of structure boundaries and complies with FORTIFY_SOURCE requirements. The patch has been merged into various kernel versions and is available through distribution updates (Kernel Git, Debian LTS).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68422NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 10, 2026
CVE-2026-68399NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 10, 2026
CVE-2026-68398NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 10, 2026
CVE-2026-68376NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 10, 2026
CVE-2026-68374NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management