Linux
wifi: cfg80211: stop PMSR before P2P and NAN teardown
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 9bb7e0f24e7e7d00daa1219b14539e2e602649b2, < af158188ef7b4e89d0a3c04680a98d90b3822ec5
- >= 9bb7e0f24e7e7d00daa1219b14539e2e602649b2, < 9374943fc5a45915e4ea8b597b6a17d3b571bcbf
- >= 9bb7e0f24e7e7d00daa1219b14539e2e602649b2, < dc1e41df6e683ff9522bf40dd3125ed7ccd8a4e4
- >= 9bb7e0f24e7e7d00daa1219b14539e2e602649b2, < 7a22cbc6c6bdd3c3811b4ce13875685c520f94de
- >= 9bb7e0f24e7e7d00daa1219b14539e2e602649b2, < db3439ad11ac5e52decdefe784c98b21c3757848
- >= 9bb7e0f24e7e7d00daa1219b14539e2e602649b2, < 6c5fc504d0d6934132637aa3db4b9b58148eaa78
Fixed in af158188ef7b4e89d0a3c04680a98d90b3822ec5, 9374943fc5a45915e4ea8b597b6a17d3b571bcbf, dc1e41df6e683ff9522bf40dd3125ed7ccd8a4e4, 7a22cbc6c6bdd3c3811b4ce13875685c520f94de, db3439ad11ac5e52decdefe784c98b21c3757848, 6c5fc504d0d6934132637aa3db4b9b58148eaa78
- 5.0
Fixed in 0, 6.1.191, 6.6.160, 6.12.114, 6.18.52, 7.2.6, 7.3
Mitigation
Upgrade Linux to af158188ef7b4e89d0a3c04680a98d90b3822ec5 or 9374943fc5a45915e4ea8b597b6a17d3b571bcbf or dc1e41df6e683ff9522bf40dd3125ed7ccd8a4e4 or 7a22cbc6c6bdd3c3811b4ce13875685c520f94de or db3439ad11ac5e52decdefe784c98b21c3757848 or 6c5fc504d0d6934132637aa3db4b9b58148eaa78 or later.
Upgrade Linux to 0 or 6.1.191 or 6.6.160 or 6.12.114 or 6.18.52 or 7.2.6 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.