CVE-2022-49934
Severity CVSS v4.0:
Pending analysis
Type:
CWE-416
Use After Free
Publication date:
18/06/2025
Last modified:
14/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
wifi: mac80211: Fix UAF in ieee80211_scan_rx()<br />
<br />
ieee80211_scan_rx() tries to access scan_req->flags after a<br />
null check, but a UAF is observed when the scan is completed<br />
and __ieee80211_scan_completed() executes, which then calls<br />
cfg80211_scan_done() leading to the freeing of scan_req.<br />
<br />
Since scan_req is rcu_dereference()&#39;d, prevent the racing in<br />
__ieee80211_scan_completed() by ensuring that from mac80211&#39;s<br />
POV it is no longer accessed from an RCU read critical section<br />
before we call cfg80211_scan_done().
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 3.19 (including) | 4.9.330 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.10 (including) | 4.14.295 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.15 (including) | 4.19.260 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.20 (including) | 5.4.215 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.5 (including) | 5.10.142 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11 (including) | 5.15.66 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 5.19.8 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.0:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.0:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.0:rc3:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/4abc8c07a065ecf771827bde3c63fbbe4aa0c08b
- https://git.kernel.org/stable/c/5d20c6f932f2758078d0454729129c894fe353e7
- https://git.kernel.org/stable/c/60deb9f10eec5c6a20252ed36238b55d8b614a2c
- https://git.kernel.org/stable/c/6eb181a64fdabf10be9e54de728876667da20255
- https://git.kernel.org/stable/c/78a07732fbb0934d14827d8f09b9aa6a49ee1aa9
- https://git.kernel.org/stable/c/9ad48cbf8b07f10c1e4a7a262b32a9179ae9dd2d
- https://git.kernel.org/stable/c/c0445feb80a4d0854898118fa01073701f8d356b
- https://git.kernel.org/stable/c/e0ff39448cea654843744c72c6780293c5082cb1



