Skip to contentSkip to conversation

CVE-2026-53093: wifi: brcmfmac: Fix error pointer dereference

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 24

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

wifi: brcmfmac: Fix error pointer dereference

The function brcmf_chip_add_core() can return an error pointer and is not checked. Add checks for error pointer.

Detected by Smatch:
drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c:1010 brcmf_chip_recognition() error:
'core' dereferencing possible ERR_PTR()

drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c:1013 brcmf_chip_recognition() error:
'core' dereferencing possible ERR_PTR()

drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c:1016 brcmf_chip_recognition() error:
'core' dereferencing possible ERR_PTR()

drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c:1019 brcmf_chip_recognition() error:
'core' dereferencing possible ERR_PTR()

drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c:1022 brcmf_chip_recognition() error:
'core' dereferencing possible ERR_PTR()

[add missing wifi: prefix]

The Linux kernel CVE team has assigned CVE-2026-53093 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 3.15 with commit cb7cf7be9eba76f3cd6258906074c72084570c84 and fixed in 5.10.258 with commit a3b45090a91e2f0b9715870d8f8d9ca2fdfbc1af
	Issue introduced in 3.15 with commit cb7cf7be9eba76f3cd6258906074c72084570c84 and fixed in 5.15.209 with commit 99ef547659178eef6d6ba4738a9d989ce90cf909
	Issue introduced in 3.15 with commit cb7cf7be9eba76f3cd6258906074c72084570c84 and fixed in 6.1.175 with commit bd6c906e0c4af6d5d0c49c3c4ee090b4913da17d
	Issue introduced in 3.15 with commit cb7cf7be9eba76f3cd6258906074c72084570c84 and fixed in 6.6.141 with commit d3f280be48f1c672cb10e8026c236d0cca60048a
	Issue introduced in 3.15 with commit cb7cf7be9eba76f3cd6258906074c72084570c84 and fixed in 6.12.91 with commit 2e0e5a43ed126f896a4ad31ade66c90270601bae
	Issue introduced in 3.15 with commit cb7cf7be9eba76f3cd6258906074c72084570c84 and fixed in 6.18.33 with commit cbea71b4480394708f9a6e007a0385acfe5e1ec8
	Issue introduced in 3.15 with commit cb7cf7be9eba76f3cd6258906074c72084570c84 and fixed in 7.0.10 with commit 334c68750eee84c2327db1d152be83ff5ad8e20b
	Issue introduced in 3.15 with commit cb7cf7be9eba76f3cd6258906074c72084570c84 and fixed in 7.1 with commit dd8592fc6007a451c3e4b9025de365e39de8178a

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-53093

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/chip.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/a3b45090a91e2f0b9715870d8f8d9ca2fdfbc1af
	https://git.kernel.org/stable/c/99ef547659178eef6d6ba4738a9d989ce90cf909
	https://git.kernel.org/stable/c/bd6c906e0c4af6d5d0c49c3c4ee090b4913da17d
	https://git.kernel.org/stable/c/d3f280be48f1c672cb10e8026c236d0cca60048a
	https://git.kernel.org/stable/c/2e0e5a43ed126f896a4ad31ade66c90270601bae
	https://git.kernel.org/stable/c/cbea71b4480394708f9a6e007a0385acfe5e1ec8
	https://git.kernel.org/stable/c/334c68750eee84c2327db1d152be83ff5ad8e20b
	https://git.kernel.org/stable/c/dd8592fc6007a451c3e4b9025de365e39de8178a