Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-35944— VMCI: Fix memcpy() run-time warning in dg_dispatch_as_host()

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于跨字段写入。

AI Predicted 5.5 Difficulty: Easy EPSS 0.23% · P13

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 18

VendorProduct Version RangeStatus
Linux Linux a110b7ebb9c674a2b591af2780dd512ad0198d50< e87bb99d2df6512d8ee37a5d63d2ca9a39a8c051 affected
a110b7ebb9c674a2b591af2780dd512ad0198d50< f15eca95138b3d4ec17b63c3c1937b0aa0d3624b affected
a110b7ebb9c674a2b591af2780dd512ad0198d50< ad78c5047dc4076d0b3c4fad4f42ffe9c86e8100 affected
a110b7ebb9c674a2b591af2780dd512ad0198d50< 130b0cd064874e0d0f58e18fb00e6f3993e90c74 affected
a110b7ebb9c674a2b591af2780dd512ad0198d50< feacd430b42bbfa9ab3ed9e4f38b86c43e348c75 affected
a110b7ebb9c674a2b591af2780dd512ad0198d50< dae70a57565686f16089737adb8ac64471570f73 affected
a110b7ebb9c674a2b591af2780dd512ad0198d50< 491a1eb07c2bd8841d63cb5263455e185be5866f affected
a110b7ebb9c674a2b591af2780dd512ad0198d50< 19b070fefd0d024af3daa7329cbc0d00de5302ec affected
… +10 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-35944

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
VMCI: Fix memcpy() run-time warning in dg_dispatch_as_host()
Source: CVE Program / CVE List V5
Vulnerability 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."
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于跨字段写入。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux a110b7ebb9c674a2b591af2780dd512ad0198d50 ~ e87bb99d2df6512d8ee37a5d63d2ca9a39a8c051 -
Linux Linux 3.9 -

II. Public POCs for CVE-2024-35944

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-35944

请登录查看更多情报信息。

Mailing List Discussions for CVE-2024-35944 (2)

Other References for CVE-2024-35944 (7)

Same Patch Batch · Linux · 2024-05-19 · 82 CVEs total

CVE-2024-35861 9.8 CRITICAL smb: client: fix potential UAF in cifs_signal_cifsd_for_reconnect()
CVE-2024-35870 9.8 CRITICAL smb: client: fix UAF in smb2_reconnect_server()
CVE-2024-35869 9.8 CRITICAL smb: client: guarantee refcounted children from parent session
CVE-2024-35884 9.8 CRITICAL udp: do not accept non-tunnel GSO skbs landing in a tunnel
CVE-2024-35865 9.8 CRITICAL smb: client: fix potential UAF in smb2_is_valid_oplock_break()
CVE-2024-35864 9.8 CRITICAL smb: client: fix potential UAF in smb2_is_valid_lease_break()
CVE-2024-35863 9.8 CRITICAL smb: client: fix potential UAF in is_valid_oplock_break()
CVE-2024-35862 9.8 CRITICAL smb: client: fix potential UAF in smb2_is_network_name_deleted()
CVE-2024-35939 9.3 CRITICAL dma-direct: Leak pages on dma_set_decrypted() failure
CVE-2024-35915 8.8 HIGH nfc: nci: Fix uninit-value in nci_dev_up and nci_ntf_packet
CVE-2024-35887 8.8 HIGH ax25: fix use-after-free bugs caused by ax25_ds_del_timer
CVE-2024-35889 8.6 HIGH idpf: fix kernel panic on unknown packet types
CVE-2024-35875 8.4 HIGH x86/coco: Require seeding RNG with RDRAND on CoCo systems
CVE-2024-35937 8.1 HIGH wifi: cfg80211: check A-MSDU format more carefully
CVE-2024-35905 7.8 HIGH bpf: Protect against int overflow for stack access size
CVE-2024-35919 7.8 HIGH media: mediatek: vcodec: adding lock to protect encoder context list
CVE-2024-35920 7.8 HIGH media: mediatek: vcodec: adding lock to protect decoder context list
CVE-2024-35921 7.8 HIGH media: mediatek: vcodec: Fix oops when HEVC init fails
CVE-2024-35910 7.8 HIGH tcp: properly terminate timers for kernel sockets
CVE-2024-35894 7.8 HIGH mptcp: prevent BPF accessing lowat from a subflow socket.

Showing top 20 of 82 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2024-35944

No comments yet


Leave a comment