CVE-2024-38575: wifi: brcmfmac: pcie: handle randbuf allocation failure
Vulnerability summary
CVE-2024-38575 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 13.2% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 15 · Related 10Timeline
- 19-06-2024PublishedVulnerability first disclosed.
- 23-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: brcmfmac: pcie: handle randbuf allocation failure The kzalloc() in brcmf_pcie_download_fw_nvram() will return null if the physical memory has run out. As a result, if we use get_random_bytes() to generate random bytes in the randbuf, the null pointer dereference bug will happen. In order to prevent allocation failure, this patch adds a separate function using buffer on kernel stack to generate random bytes in the randbuf, which could prevent the kernel stack from overflow.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
13%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.22% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu92 products
- linux< 6.8.0-40.40
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 6.8.0-1013.14
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ c35105f375b530bc27e03ea9250b1c26dd4cae86, < 0eb2c0528e232b3c32cde9d5e1c9f80ba2996e49 | ≥ 91918ce88d9fef408bb12c46a27c73d79b604c20, < c37466406f075476c2702ecc01917928af871f3b | ≥ 91918ce88d9fef408bb12c46a27c73d79b604c20, < 7c15eb344b0d4d3468c9b2a7591ad2b859b29b88 | ≥ 91918ce88d9fef408bb12c46a27c73d79b604c20, < 3729ca9e48d19a03ae049e2bde510e161c2f3720 | ≥ 91918ce88d9fef408bb12c46a27c73d79b604c20, < 316f790ebcf94bdf59f794b7cdea4068dc676d4c | ba72baed066f3bfa8b489e4b58f1fcaf51c04f83 | ≥ 6.1.30, < 6.1.93 | ≥ 6.3.4, < 6.4 | 6.4
- linux_kernel≥ 6.1.30, < 6.1.93 | ≥ 6.3.4, < 6.6.33 | ≥ 6.7, < 6.8.12 | ≥ 6.9, < 6.9.3
Debian1 product
- linux< 6.1.94-1 | < 6.8.12-1
3 vendors · 95 products