CVE-2022-49934
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: Fix UAF in ieee80211_scan_rx() ieee80211_scan_rx() tries to access scan_req->flags after a null check, but a UAF is observed when the scan is completed and __ieee80211_scan_completed() executes, which then calls cfg80211_scan_done() leading to the freeing of scan_req. Since scan_req is rcu_dereference()'d, prevent the racing in __ieee80211_scan_completed() by ensuring that from mac80211's POV it is no longer accessed from an RCU read critical section before we call cfg80211_scan_done().
How to fix
- linux linux_kernel4.9.330, 4.14.295, 4.19.260, 5.4.215, 5.10.142, 5.15.66, 5.19.8 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | 3.19 ≤ v < 4.9.330, 4.10 ≤ v < 4.14.295, 4.15 ≤ v < 4.19.260, 4.20 ≤ v < 5.4.215, 5.5 ≤ v < 5.10.142, 5.11 ≤ v < 5.15.66, 5.16 ≤ v < 5.19.8, 6.0 | 4.9.330, 4.14.295, 4.19.260, 5.4.215, 5.10.142, 5.15.66, 5.19.8 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.