CVEvulnerability
CVE-2022-49934
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2025-06-18
- Last modified
- 2026-08-04
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 8.8 HIGH — CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-416
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().
Affected configurations
• linux linux kernel (>= 3.19 < 4.9.330)
• linux linux kernel (>= 4.10 < 4.14.295)
• linux linux kernel (>= 4.15 < 4.19.260)
• linux linux kernel (>= 4.20 < 5.4.215)
• linux linux kernel (>= 5.5 < 5.10.142)
• linux linux kernel (>= 5.11 < 5.15.66)
• linux linux kernel (>= 5.16 < 5.19.8)
• linux linux kernel 6.0
Related
Weakness · CWE (1)
- CWE-416 Use After Free weakness
References
- https://git.kernel.org/stable/c/4abc8c07a065ecf771827bde3c63fbbe4aa0c08b Patch
- https://git.kernel.org/stable/c/5d20c6f932f2758078d0454729129c894fe353e7 Patch
- https://git.kernel.org/stable/c/60deb9f10eec5c6a20252ed36238b55d8b614a2c Patch
- https://git.kernel.org/stable/c/6eb181a64fdabf10be9e54de728876667da20255 Patch
- https://git.kernel.org/stable/c/78a07732fbb0934d14827d8f09b9aa6a49ee1aa9 Patch
- https://git.kernel.org/stable/c/9ad48cbf8b07f10c1e4a7a262b32a9179ae9dd2d Patch
- https://git.kernel.org/stable/c/c0445feb80a4d0854898118fa01073701f8d356b Patch
- https://git.kernel.org/stable/c/e0ff39448cea654843744c72c6780293c5082cb1 Patch