Skip to main content
← All vulnerabilities
CVE-2024-38575

wifi: brcmfmac: pcie: handle randbuf allocation failure

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.1.93, 6.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 6.1.30 · fixed in 6.1.93; From 6.3.4 · fixed in 6.4

  • Linux Linux

    6.4

References 5

git.kernel.org