Skip to contentSkip to conversation

CVE-2026-90343: wifi: cfg80211: stop PMSR before P2P and NAN teardown

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

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: cfg80211: stop PMSR before P2P and NAN teardown

PMSR request teardown must abort active measurements while the wireless_dev is still present in the driver. cfg80211_leave_locked() and cfg80211_stop_pd() already do this before invoking the driver's stop callback, but cfg80211_stop_p2p_device() and cfg80211_stop_nan() do not.

Those helpers are also called directly by nl80211, rfkill shutdown, and wireless_dev unregister paths. If one of these paths stops a P2P device or NAN interface with a pending request, it removes the mac80211 subinterface from the driver first. Subsequent request cleanup cannot reach the lower driver's abort callback, but cfg80211 frees the request regardless. Driver state can then retain a stale request and use it when it later reports a result.

Call cfg80211_pmsr_wdev_down() before stopping the P2P device or NAN interface. This keeps lower-driver request state and cfg80211 request ownership in sync for all of the helpers' callers.

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

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

	Issue introduced in 5.0 with commit 9bb7e0f24e7e7d00daa1219b14539e2e602649b2 and fixed in 6.18.52 with commit 7a22cbc6c6bdd3c3811b4ce13875685c520f94de
	Issue introduced in 5.0 with commit 9bb7e0f24e7e7d00daa1219b14539e2e602649b2 and fixed in 7.2.6 with commit db3439ad11ac5e52decdefe784c98b21c3757848
	Issue introduced in 5.0 with commit 9bb7e0f24e7e7d00daa1219b14539e2e602649b2 and fixed in 7.3-rc1 with commit 6c5fc504d0d6934132637aa3db4b9b58148eaa78

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

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:
net/wireless/core.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/7a22cbc6c6bdd3c3811b4ce13875685c520f94de
	https://git.kernel.org/stable/c/db3439ad11ac5e52decdefe784c98b21c3757848
	https://git.kernel.org/stable/c/6c5fc504d0d6934132637aa3db4b9b58148eaa78