CVE-2024-38575: Linux kernel · wifi: brcmfmac: pcie: handle randbuf allocation failure
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in 6.8.0-1013.14~22.04.1 : update Linux kernel when convenient.
Data as of 24 Nov 2026, 19:27 UTC
- Patch
- Available – fixed in 6.8.0-1013.14~22.04.1, 6.8.0-1012.14~22.04.1, 6.8.0-1012.13~22.04.1 +16
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 19 Jun 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gkepkg:deb/ubuntu/linux-gke?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-ibmpkg:deb/ubuntu/linux-ibm?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2024-38575 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-38575 (opens in a new tab)
- git.kernel.org/linus/316f790ebcf94bdf59f794b7cdea4068dc676d4c (opens in a new tab)
- git.kernel.org/stable/c/0eb2c0528e232b3c32cde9d5e1c9f80ba2996e49 (opens in a new tab)
- git.kernel.org/stable/c/c37466406f075476c2702ecc01917928af871f3b (opens in a new tab)
- git.kernel.org/stable/c/7c15eb344b0d4d3468c9b2a7591ad2b859b29b88 (opens in a new tab)
- git.kernel.org/stable/c/3729ca9e48d19a03ae049e2bde510e161c2f3720 (opens in a new tab)
- git.kernel.org/stable/c/316f790ebcf94bdf59f794b7cdea4068dc676d4c (opens in a new tab)
- ubuntu.com/security/notices/USN-6949-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6952-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6955-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6949-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6952-2 (opens in a new tab)