wifi: brcmfmac: pcie: handle randbuf allocation failure
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0eb2c0528e232b3c32cde9d5e1c9f80ba2996e49, Kernel 6.4, Kernel 316f790ebcf94bdf59f794b7cdea4068dc676d4c and 7 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=c35105f375b530bc27e03ea9250b1c26dd4cae86 <0eb2c0528e232b3c32cde9d5e1c9f80ba2996e49, >=6.3.4 <6.4, >=91918ce88d9fef408bb12c46a27c73d79b604c20 <316f790ebcf94bdf59f794b7cdea4068dc676d4c, >=91918ce88d9fef408bb12c46a27c73d79b604c20 <3729ca9e48d19a03ae049e2bde510e161c2f3720, >=91918ce88d9fef408bb12c46a27c73d79b604c20 <7c15eb344b0d4d3468c9b2a7591ad2b859b29b88, >=91918ce88d9fef408bb12c46a27c73d79b604c20 <c37466406f075476c2702ecc01917928af871f3b, =6.4, =ba72baed066f3bfa8b489e4b58f1fcaf51c04f83, >=6.1.30 <6.1.93 | 0eb2c0528e232b3c32cde9d5e1c9f80ba2996e49, 6.4, 316f790ebcf94bdf59f794b7cdea4068dc676d4c, 3729ca9e48d19a03ae049e2bde510e161c2f3720, 7c15eb344b0d4d3468c9b2a7591ad2b859b29b88, c37466406f075476c2702ecc01917928af871f3b, 6.1.93 |
| linux-kernel: Kernel | >=6.3.4 <6.4, >=6.4.0 <6.6.33, >=6.7.0 <6.8.12, >=6.9.0 <6.9.3, >=6.1.30 <6.1.93 | 6.4, 6.6.33, 6.8.12, 6.9.3, 6.1.93 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket