Kernel crash via unchecked randbuf allocation
Published Jun 19, 2024 · Updated May 23, 2026
Null pointer dereference in the Linux brcmfmac PCIe driver allows local users to crash the system during firmware loading. The brcmf_pcie_download_fw_nvram() function passes a randbuf returned as NULL by kzalloc() to get_random_bytes(). Exploitation requires low-privileged local access, allocation failure, and use of the Broadcom PCIe firmware-loading path; the bounded impact is a kernel crash.
Summary
What happened
Null pointer dereference in the Linux brcmfmac PCIe driver allows local users to crash the system during firmware loading. The brcmf_pcie_download_fw_nvram() function passes a randbuf returned as NULL by kzalloc() to get_random_bytes(). Exploitation requires low-privileged local access, allocation failure, and use of the Broadcom PCIe firmware-loading path; the bounded impact is a kernel crash.
The record
- CVE
- CVE-2024-38575
- Published
- Jun 19, 2024
- Updated
- May 23, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 19, 2024CVE publishedPublication date reported by the CVE source.
- May 23, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.1.30 <6.1.93
- Affected versionversion=6.3.4 <6.4
- Affected versionversion=6.4
- Affected versionversion=91918ce88d9fef408bb12c46a27c73d79b604c20 <316f790ebcf94bdf59f794b7cdea4068dc676d4c
- Affected versionversion=91918ce88d9fef408bb12c46a27c73d79b604c20 <3729ca9e48d19a03ae049e2bde510e161c2f3720
- Affected versionversion=91918ce88d9fef408bb12c46a27c73d79b604c20 <7c15eb344b0d4d3468c9b2a7591ad2b859b29b88
- Affected versionversion=91918ce88d9fef408bb12c46a27c73d79b604c20 <c37466406f075476c2702ecc01917928af871f3b
- Affected versionversion=ba72baed066f3bfa8b489e4b58f1fcaf51c04f83
- Affected versionversion=c35105f375b530bc27e03ea9250b1c26dd4cae86 <0eb2c0528e232b3c32cde9d5e1c9f80ba2996e49
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo