Skip to contentSkip to conversation

CVE-2026-46180: wifi: brcmfmac: Fix potential use-after-free issue when stopping watchdog task

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 28

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 potential use-after-free issue when stopping watchdog task

Watchdog task might end between send_sig() and kthread_stop() calls, what results in the use-after-free issue. Fix this by increasing watchdog task reference count before calling send_sig() and dropping it by switching to kthread_stop_put().

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

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

	Issue introduced in 3.3 with commit a9ffda88be7416b8336f644806c2b3ed3ce08b26 and fixed in 6.6.140 with commit ed4168d1a50fef5be8eca947fbbf05a28507d265
	Issue introduced in 3.3 with commit a9ffda88be7416b8336f644806c2b3ed3ce08b26 and fixed in 6.12.88 with commit d16827cb1d3936f7627d0da6044483f743ebde03
	Issue introduced in 3.3 with commit a9ffda88be7416b8336f644806c2b3ed3ce08b26 and fixed in 6.18.30 with commit 658d2e46c2e9a8eb9b80c5e803ce3c89885b3366
	Issue introduced in 3.3 with commit a9ffda88be7416b8336f644806c2b3ed3ce08b26 and fixed in 7.0.7 with commit 908b92231e1ded53e43fcfad5e0704d83e1b803c
	Issue introduced in 3.3 with commit a9ffda88be7416b8336f644806c2b3ed3ce08b26 and fixed in 7.1-rc3 with commit c623b63580880cc742255eaed3d79804c1b91143

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

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/sdio.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/ed4168d1a50fef5be8eca947fbbf05a28507d265
	https://git.kernel.org/stable/c/d16827cb1d3936f7627d0da6044483f743ebde03
	https://git.kernel.org/stable/c/658d2e46c2e9a8eb9b80c5e803ce3c89885b3366
	https://git.kernel.org/stable/c/908b92231e1ded53e43fcfad5e0704d83e1b803c
	https://git.kernel.org/stable/c/c623b63580880cc742255eaed3d79804c1b91143