cbcvebase.
CVE-2024-38575
published 2024-06-19

CVE-2024-38575: In the Linux kernel, the following vulnerability has been resolved: wifi: brcmfmac: pcie: handle randbuf allocation failure The kzalloc() in…

PriorityP421medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.22%
13.3th percentile
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

18 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.94-1 (bookworm)linux 6.1.94-1 (bookworm)
linuxlinux
linuxlinux
linuxlinux>= 6.1.30 < 6.1.936.1.93
linuxlinux>= 6.3.4 < 6.46.4
linuxlinux>= 91918ce88d9fef408bb12c46a27c73d79b604c20 < c37466406f075476c2702ecc01917928af871f3bc37466406f075476c2702ecc01917928af871f3b
linuxlinux>= 91918ce88d9fef408bb12c46a27c73d79b604c20 < 7c15eb344b0d4d3468c9b2a7591ad2b859b29b887c15eb344b0d4d3468c9b2a7591ad2b859b29b88
linuxlinux>= 91918ce88d9fef408bb12c46a27c73d79b604c20 < 3729ca9e48d19a03ae049e2bde510e161c2f37203729ca9e48d19a03ae049e2bde510e161c2f3720
linuxlinux>= 91918ce88d9fef408bb12c46a27c73d79b604c20 < 316f790ebcf94bdf59f794b7cdea4068dc676d4c316f790ebcf94bdf59f794b7cdea4068dc676d4c
linuxlinux>= c35105f375b530bc27e03ea9250b1c26dd4cae86 < 0eb2c0528e232b3c32cde9d5e1c9f80ba2996e490eb2c0528e232b3c32cde9d5e1c9f80ba2996e49
linuxlinux_kernel>= 0 < 6.1.94-16.1.94-1
linuxlinux_kernel>= 0 < 6.8.12-16.8.12-1
linuxlinux_kernel>= 0 < 6.8.12-16.8.12-1
linuxlinux_kernel>= 0 < 6.8.0-40.406.8.0-40.40
linuxlinux_kernel>= 6.1.30 < 6.1.936.1.93
linuxlinux_kernel>= 6.3.4 < 6.6.336.6.33
linuxlinux_kernel>= 6.7 < 6.8.126.8.12
linuxlinux_kernel>= 6.9 < 6.9.36.9.3

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv6.5MEDIUM
vendor_ubuntu6.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.