CVE-2024-36934·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: bna: ensure the copied buf is NUL terminated Currently, we allocate a nbytes-sized kernel buffer and copy nbytes from userspace to that buffer. Later, we use sscanf on this buffer but we don't ensure that the string is terminated inside the buffer, this can lead to OOB read when using sscanf. Fix this issue by using memdup_user_nul instead of memdup_user.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.8.10
- Published
- 2024-05-30
Affected versions
From: 6.7
Until: 6.8.10
Fixed in: 6.8.10
How to fix this CVE
Update your Linux kernel to version 6.8.10 or later to patch a buffer handling vulnerability in the Broadcom Network Adapter (BNA) driver. This vulnerability allows local users to read out-of-bounds kernel memory through improperly terminated string operations. Apply the latest kernel updates immediately across all affected systems running kernel versions 6.7 through 6.8.9.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check current kernel version: uname -r (vulnerable if output shows 6.7.x through 6.8.9)
- Verify BNA driver is loaded: lsmod | grep bna (confirms driver presence)
- Check dmesg logs for BNA initialization errors: dmesg | grep -i bna
- Confirm patch applied after update: uname -r (should show 6.8.10 or later with no 6.7.x or 6.8.0-9 versions)
FAQ
What is CVE-2024-36934?
A buffer handling flaw in the Linux kernel's Broadcom Network Adapter driver that fails to properly null-terminate copied user data before string parsing, enabling out-of-bounds memory reads by local privileged users.
Is CVE-2024-36934 being actively exploited?
No. This vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available.
What versions of Kernel are affected by CVE-2024-36934?
Kernel versions 6.7 through 6.8.9 are vulnerable. Version 6.8.10 and later contain the fix.
How do I check if my server is vulnerable to CVE-2024-36934?
Run 'uname -r' and verify the output. If the version is 6.7.x, 6.8.0 through 6.8.9, your system is vulnerable. Cross-reference with 'lsmod | grep bna' to confirm the affected driver is active.
Does Defensia detect CVE-2024-36934?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-36934 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/06cb37e2ba6441888f24566a997481d4197b4e32
- https://git.kernel.org/stable/c/0f560240b4cc25d3de527deb257cdf072c0102a9
- https://git.kernel.org/stable/c/1518b2b498a0109eb6b15755169d3b6607356b35
- https://git.kernel.org/stable/c/6f0f19b79c085cc891c418b768f26f7004bd51a4
- https://git.kernel.org/stable/c/80578ec10335bc15ac35fd1703c22aab34e39fdd
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-36934. Free for 1 server.
Get started free