Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2024-38575

wifi: brcmfmac: pcie: handle randbuf allocation failure

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • c35105f375b530bc27e03ea9250b1c26dd4cae86 to < 0eb2c0528e232b3c32cde9d5e1c9f80ba2996e49affected
  • 91918ce88d9fef408bb12c46a27c73d79b604c20 to < c37466406f075476c2702ecc01917928af871f3baffected
  • 91918ce88d9fef408bb12c46a27c73d79b604c20 to < 7c15eb344b0d4d3468c9b2a7591ad2b859b29b88affected
  • 91918ce88d9fef408bb12c46a27c73d79b604c20 to < 3729ca9e48d19a03ae049e2bde510e161c2f3720affected
  • 91918ce88d9fef408bb12c46a27c73d79b604c20 to < 316f790ebcf94bdf59f794b7cdea4068dc676d4caffected
  • ba72baed066f3bfa8b489e4b58f1fcaf51c04f83affected
  • 6.1.30 to < 6.1.93affected
  • 6.3.4 to < 6.4affected

Linux Linux

Default version status: affected

  • 6.4affected
  • 0 to < 6.4unaffected
  • 6.1.93 to ≤ 6.1.*unaffected
  • 6.6.33 to ≤ 6.6.*unaffected
  • 6.8.12 to ≤ 6.8.*unaffected
  • 6.9.3 to ≤ 6.9.*unaffected
  • 6.10 to ≤ *unaffected

References