CVE-2024-36934
Linux Kernel vulnerability analysis and mitigation

Overview

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

Technical details

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

Impact

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

Exploitability

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

Mitigation and workarounds

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

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-74583NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug
NoYesAug 21, 2026
CVE-2026-74582NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel.src
NoYesAug 21, 2026
CVE-2026-74581NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-internal
NoYesAug 21, 2026
CVE-2026-74580NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug
NoYesAug 21, 2026
CVE-2025-30156NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel-matched
NoYesAug 21, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management