CVE-2026-43144: wifi: brcmfmac: Fix potential kernel oops when probe fails
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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.
The Linux kernel CVE team has assigned CVE-2026-43144 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.13 with commit 0ff0843310b74e565901d85f849fb308c3b1f220 and fixed in 6.18.16 with commit 64ccb0aac41c5055780c2a58bbe2c1b362ceccde Issue introduced in 6.13 with commit 0ff0843310b74e565901d85f849fb308c3b1f220 and fixed in 6.19.6 with commit 379aac7ee8240848aa35f605b06addb4617c863e Issue introduced in 6.13 with commit 0ff0843310b74e565901d85f849fb308c3b1f220 and fixed in 7.0 with commit 243307a0d1b0d01538e202c00454c28b21d4432e
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-43144
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/brcm80211/brcmfmac/bcmsdh.c drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.h
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/64ccb0aac41c5055780c2a58bbe2c1b362ceccde https://git.kernel.org/stable/c/379aac7ee8240848aa35f605b06addb4617c863e https://git.kernel.org/stable/c/243307a0d1b0d01538e202c00454c28b21d4432e