BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2024-35944 in Debian Linux and 2 more products

Medium 5.5 Industrial / OT

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."

Affects 3 products from 3 vendors. Description from NVD and MITRE.

CVSS 3.15.5
EPSS0.2%
EPSS percentile15th

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 10.0
Linux Linux Kernel < 4.19.312 ≥ 4.20, < 5.4.274 ≥ 5.5, < 5.10.215 ≥ 5.11, < 5.15.155 ≥ 5.16, < 6.1.86 ≥ 6.2, < 6.6.27
+1 more≥ 6.7, < 6.8.6
Linux Linux 3.9
Siemens — —
Siemens S7-1500 Cpu Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic Cpu 1518F-4 Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic S7-1500 Cpu 1518-4 Pn Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic S7-1500 Cpu 1518F-4 Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic S7-1500 Cpu 1518F-4 Pn/Dp Mfp Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic S7-1500 Tm Mfp Firmware < 1.1.1
Siemens Siplus S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware ≥ 3.1.0, < 3.1.5

Fix and vendor advisory

  • SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 more: Update to V3.1.5 or later version

Source: ICSA-23-348-10

  • SIMATIC S7-1500 TM MFP - GNU/Linux subsystem before V1.1.1: Update to V1.1.1 or later version

Source: SSA-265688

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Record details

CVE IDCVE-2024-35944
BreachSpider IDBS-2024-GLOBAL-195241-M
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Published2024-05-19
Last modified2026-10-15
SourceNVD

Check devices from your own code or AI agent: free 14-day trial

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-15.