
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-36934 is a vulnerability discovered in the Linux kernel's bna (Brocade Network Adapter) driver component, disclosed on May 30, 2024. The vulnerability affects the debugfs interface implementation where a buffer is not properly NUL-terminated when copying data from userspace, potentially leading to an out-of-bounds read condition when using sscanf (NVD).
The vulnerability exists in the bna driver's debugfs interface where the code allocates a kernel buffer of nbytes size and copies nbytes from userspace to that buffer. The issue arises because the code doesn't ensure that the string is properly terminated inside the buffer when using sscanf, which can lead to an out-of-bounds read. The fix involves replacing memdup_user with memdup_user_nul to ensure proper string termination (Kernel Commit).
The vulnerability could lead to information disclosure or potential denial of service (DoS) through an out-of-bounds read condition. According to NetApp's security advisory, the vulnerability has been assigned a CVSS v3.1 score of 6.1 (Medium) with the vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L (NetApp Advisory).
The vulnerability requires local access and low privileges to exploit. Public discussion of this vulnerability has been acknowledged, though no active exploits have been reported in the wild (NetApp Advisory).
The issue has been fixed in various Linux kernel versions through patches that replace memdup_user with memdup_user_nul. Multiple distributions have released updates to address this vulnerability, including Ubuntu which has fixed it in versions 6.8.0-40.40 for 24.04 LTS, 5.15.0-118.128 for 22.04 LTS, and 5.4.0-192.212 for 20.04 LTS (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."