Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-35944

MEDIUM 5.5EPSS 20%

VMCI: Fix memcpy() run-time warning in dg_dispatch_as_host()

Mitigation

  • Upgrade Linux to 19b070fefd0d024af3daa7329cbc0d00de5302ec or later.

Who should check

  • Anyone running Linux >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < e87bb99d2df6512d8ee37a5d63d2ca9a39a8c051; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < f15eca95138b3d4ec17b63c3c1937b0aa0d3624b; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < ad78c5047dc4076d0b3c4fad4f42ffe9c86e8100; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < 130b0cd064874e0d0f58e18fb00e6f3993e90c74; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < feacd430b42bbfa9ab3ed9e4f38b86c43e348c75; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < dae70a57565686f16089737adb8ac64471570f73; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < 491a1eb07c2bd8841d63cb5263455e185be5866f; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < 19b070fefd0d024af3daa7329cbc0d00de5302ec
  • Anyone running Linux 3.9

Vulnerability facts

Affected
Linux >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < e87bb99d2df6512d8ee37a5d63d2ca9a39a8c051; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < f15eca95138b3d4ec17b63c3c1937b0aa0d3624b; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < ad78c5047dc4076d0b3c4fad4f42ffe9c86e8100; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < 130b0cd064874e0d0f58e18fb00e6f3993e90c74; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < feacd430b42bbfa9ab3ed9e4f38b86c43e348c75; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < dae70a57565686f16089737adb8ac64471570f73; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < 491a1eb07c2bd8841d63cb5263455e185be5866f; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < 19b070fefd0d024af3daa7329cbc0d00de5302ec; Linux 3.9
Fixed in
Linux 130b0cd064874e0d0f58e18fb00e6f3993e90c74, Linux 491a1eb07c2bd8841d63cb5263455e185be5866f, Linux 19b070fefd0d024af3daa7329cbc0d00de5302ec
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.34% chance of exploitation in 30 days (percentile 20, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: VMCI: Fix memcpy() run-time warning in dg_dispatch_as_host() Syzkaller hit 'WARNING in dg_dispatch_as_host' bug. memcpy: detected field-spanning write (size 56) of single field "&dg_info->msg" at drivers/misc/vmw_vmci/vmci_datagram.c:237 (size 24) WARNING: CPU: 0 PID: 1555 at drivers/misc/vmw_vmci/vmci_datagram.c:237 dg_dispatch_as_host+0x88e/0xa60 drivers/misc/vmw_vmci/vmci_datagram.c:237 Some code commentry, based on my understanding: 544 #define VMCI_DG_SIZE(_dg) (VMCI_DG_HEADERSIZE + (size_t)(_dg)->payload_size) /// This is 24 + payload_size memcpy(&dg_info->msg, dg, dg_size); Destination = dg_info->msg ---> this is a 24 byte structure(struct vmci_datagram) Source = dg --> this is a 24 byte structure (struct vmci_datagram) Size = dg_size = 24 + payload_size {payload_size = 56-24 =32} -- Syzkaller managed to set payload_size to 32. 35 struct delayed_datagram_info { 36 struct datagram_entry *entry; 37 struct work_struct work; 38 bool in_dg_host_queue; 39 /* msg and msg_payload must be together. */ 40 struct vmci_datagram msg; 41 u8 msg_payload[]; 42 }; So those extra bytes of payload are copied into msg_payload[], a run time warning is seen while fuzzing with Syzkaller. One possible way to fix the warning is to split the memcpy() into two parts -- one -- direct assignment of msg and second taking care of payload. Gustavo quoted: "Under FORTIFY_SOURCE we should not copy data across multiple members in a structure."

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= a110b7ebb9c674a2b591af2780dd512ad0198d50, < e87bb99d2df6512d8ee37a5d63d2ca9a39a8c051; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < f15eca95138b3d4ec17b63c3c1937b0aa0d3624b; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < ad78c5047dc4076d0b3c4fad4f42ffe9c86e8100; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < 130b0cd064874e0d0f58e18fb00e6f3993e90c74; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < feacd430b42bbfa9ab3ed9e4f38b86c43e348c75; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < dae70a57565686f16089737adb8ac64471570f73; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < 491a1eb07c2bd8841d63cb5263455e185be5866f; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < 19b070fefd0d024af3daa7329cbc0d00de5302ec—cvelist
Linux3.9—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-35944. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-35944.md
Affected: Linux >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < e87bb99d2df6512d8ee37a5d63d2ca9a39a8c051; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < f15eca95138b3d4ec17b63c3c1937b0aa0d3624b; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < ad78c5047dc4076d0b3c4fad4f42ffe9c86e8100; >= a110b7ebb9c674a2b591af2…
Fixed in: Linux 130b0cd064874e0d0f58e18fb00e6f3993e90c74, Linux 491a1eb07c2bd8841d63cb5263455e185be5866f, Linux 19b070fefd0d024af3daa7329cbc0d00de5302ec

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-35944 being exploited?

There is no confirmed exploitation: CVE-2024-35944 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-35944?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-35944?

Linux >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < e87bb99d2df6512d8ee37a5d63d2ca9a39a8c051; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < f15eca95138b3d4ec17b63c3c1937b0aa0d3624b; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < ad78c5047dc4076d0b3c4fad4f42ffe9c86e8100; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < 130b0cd064874e0d0f58e18fb00e6f3993e90c74; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < feacd430b42bbfa9ab3ed9e4f38b86c43e348c75; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < dae70a57565686f16089737adb8ac64471570f73; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < 491a1eb07c2bd8841d63cb5263455e185be5866f; >= a110b7ebb9c674a2b591af2780dd512ad0198d50, < 19b070fefd0d024af3daa7329cbc0d00de5302ec; Linux 3.9.

Is there a fix for CVE-2024-35944?

Yes. Fixed in Linux 130b0cd064874e0d0f58e18fb00e6f3993e90c74, Linux 491a1eb07c2bd8841d63cb5263455e185be5866f, Linux 19b070fefd0d024af3daa7329cbc0d00de5302ec. Upgrade Linux to 19b070fefd0d024af3daa7329cbc0d00de5302ec or later.

How do I check if I'm affected by CVE-2024-35944?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors