CVE-2026-99529: wifi: b43: fix use-after-free in b43_bcma_remove()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: b43: fix use-after-free in b43_bcma_remove()
b43_one_core_detach() frees the struct b43_wldev it is given the bus device of. b43_bcma_remove() then reads wldev->dev again to free the bus device, which is a read of freed memory.
b43_ssb_remove() does not have the problem: it takes a copy of wldev->dev at the start. Do the same here.
The Linux kernel CVE team has assigned CVE-2026-99529 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.7 with commit 96838d61102a0fca20a7bda7289e0492aaf11896 and fixed in 6.12.117 with commit 9389b2a21223032ab7d873806d283cc33bc34b01 Issue introduced in 4.7 with commit 96838d61102a0fca20a7bda7289e0492aaf11896 and fixed in 6.18.61 with commit ac7558126767d26198c94d21cdfe8a920ccccb79 Issue introduced in 4.7 with commit 96838d61102a0fca20a7bda7289e0492aaf11896 and fixed in 7.3.2 with commit f6a3ccfc8d6f6d0fb8a20bfb49ede223f151b8e8 Issue introduced in 4.7 with commit 96838d61102a0fca20a7bda7289e0492aaf11896 and fixed in 7.4-rc1 with commit c6c8bc355657115664131b38c53c5ddf7d93b072
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-99529
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/net/wireless/broadcom/b43/main.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/9389b2a21223032ab7d873806d283cc33bc34b01 https://git.kernel.org/stable/c/ac7558126767d26198c94d21cdfe8a920ccccb79 https://git.kernel.org/stable/c/f6a3ccfc8d6f6d0fb8a20bfb49ede223f151b8e8 https://git.kernel.org/stable/c/c6c8bc355657115664131b38c53c5ddf7d93b072