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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
9bb7e0f24e7e7d00daa1219b14539e2e602649b2 to < af158188ef7b4e89d0a3c04680a98d90b3822ec5affected9bb7e0f24e7e7d00daa1219b14539e2e602649b2 to < 9374943fc5a45915e4ea8b597b6a17d3b571bcbfaffected9bb7e0f24e7e7d00daa1219b14539e2e602649b2 to < dc1e41df6e683ff9522bf40dd3125ed7ccd8a4e4affected9bb7e0f24e7e7d00daa1219b14539e2e602649b2 to < 7a22cbc6c6bdd3c3811b4ce13875685c520f94deaffected9bb7e0f24e7e7d00daa1219b14539e2e602649b2 to < db3439ad11ac5e52decdefe784c98b21c3757848affected9bb7e0f24e7e7d00daa1219b14539e2e602649b2 to < 6c5fc504d0d6934132637aa3db4b9b58148eaa78affected
Linux Linux
Default version status: affected
5.0affected0 to < 5.0unaffected6.1.191 to ≤ 6.1.*unaffected6.6.160 to ≤ 6.6.*unaffected6.12.114 to ≤ 6.12.*unaffected6.18.52 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/af158188ef7b4e89d0a3c04680a98d90b3822ec5 ↗
- https://git.kernel.org/stable/c/9374943fc5a45915e4ea8b597b6a17d3b571bcbf ↗
- https://git.kernel.org/stable/c/dc1e41df6e683ff9522bf40dd3125ed7ccd8a4e4 ↗
- https://git.kernel.org/stable/c/7a22cbc6c6bdd3c3811b4ce13875685c520f94de ↗
- https://git.kernel.org/stable/c/db3439ad11ac5e52decdefe784c98b21c3757848 ↗
- https://git.kernel.org/stable/c/6c5fc504d0d6934132637aa3db4b9b58148eaa78 ↗