
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-35976 affects the Linux kernel's XDP (eXpress Data Path) subsystem, specifically in the xsk_setsockopt() function. The vulnerability was discovered and reported by syzbot in May 2024. The issue stems from insufficient validation of user input for XDP_{UMEM|COMPLETION}_FILL_RING, which could lead to a slab-out-of-bounds condition (Kernel Git).
The vulnerability is caused by missing validation of the setsockopt() @optlen parameter in the xsk_setsockopt() function. This results in a KASAN (Kernel Address Sanitizer) reported slab-out-of-bounds access in copy_from_sockptr_offset. The bug specifically involves a read of size 4 at an address that is 1 byte to the right of an allocated 2-byte region. The issue was fixed by adding proper size validation before performing the copy operation (Kernel Git). The vulnerability has been assigned a CVSS 3.1 Base Score of 6.7 (MEDIUM) with vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N (NVD).
The vulnerability could allow a local attacker to cause a denial of service condition or potentially read sensitive kernel memory. The bug affects the kernel's memory management system and could lead to system instability or information disclosure (NVD).
The vulnerability requires local access and high complexity to exploit. It can be triggered through the setsockopt() system call when interacting with XDP sockets. The issue has been demonstrated through a proof-of-concept by syzbot (Kernel Git).
The vulnerability has been fixed in multiple Linux kernel versions through a patch that adds proper input validation. Users should update their kernel to a patched version. The fix has been backported to various stable kernel branches including 6.8, 6.1, 5.15, and 5.4 (Ubuntu Security).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."