wifi: brcmfmac: Fix potential kernel oops when probe fails
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.18.16, Kernel 6.19.6, Kernel 379aac7ee8240848aa35f605b06addb4617c863e and 2 more.
In the Linux kernel, the following vulnerability has been resolved: wifi: brcmfmac: Fix potential kernel oops when probe fails When probe of the sdio brcmfmac device fails for some reasons (i.e. missing firmware), the sdiodev->bus is set to error instead of NULL, thus the cleanup later in brcmf_sdio_remove() tries to free resources via invalid bus pointer. This happens because sdiodev->bus is set 2 times: first in brcmf_sdio_probe() and second time in brcmf_sdiod_probe(). Fix this by chaning the brcmf_sdio_probe() function to return the error code and set sdio->bus only there.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.13 <6.18.16, >=6.19 <6.19.6, =7.0, >=0ff0843310b74e565901d85f849fb308c3b1f220 <379aac7ee8240848aa35f605b06addb4617c863e, >=0ff0843310b74e565901d85f849fb308c3b1f220 <64ccb0aac41c5055780c2a58bbe2c1b362ceccde, =6.13, >=0ff0843310b74e565901d85f849fb308c3b1f220 <243307a0d1b0d01538e202c00454c28b21d4432e | 6.18.16, 6.19.6, 379aac7ee8240848aa35f605b06addb4617c863e, 64ccb0aac41c5055780c2a58bbe2c1b362ceccde, 243307a0d1b0d01538e202c00454c28b21d4432e |
| linux-kernel: Kernel | >=6.13.0 <6.18.16, >=6.19.0 <6.19.6 | 6.18.16, 6.19.6 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket