CVE-2022-49934

wifi: mac80211: Fix UAF in ieee80211_scan_rx()

HIGH
7.8
CVSS Score
Published: June 18, 2025 at 10:54 AM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.19 ≤ v < 4.14.2953.19 ≤ v < 4.19.2603.19 ≤ v < 4.9.3303.19 ≤ v < 5.10.1423.19 ≤ v < 5.15.663.19 ≤ v < 5.19.83.19 ≤ v < 5.4.2153.19 ≤ v < 6.04.10 ≤ v < 4.14.2954.15 ≤ v < 4.19.2604.20 ≤ v < 5.4.2155.11 ≤ v < 5.15.665.16 ≤ v < 5.19.85.5 ≤ v < 5.10.1426.0 rc16.0 rc26.0 rc36ea0a69ca21bbddab5b3979c2190013b0263e749
Vendor states this is fixed in 4abc8c07a065ecf771827bde3c63fbbe4aa0c08b (fixed)
Vendor states this is fixed in 5d20c6f932f2758078d0454729129c894fe353e7 (fixed)
Vendor states this is fixed in 60deb9f10eec5c6a20252ed36238b55d8b614a2c (fixed)
Vendor states this is fixed in 6eb181a64fdabf10be9e54de728876667da20255 (fixed)
Vendor states this is fixed in 78a07732fbb0934d14827d8f09b9aa6a49ee1aa9 (fixed)
Vendor states this is fixed in 9ad48cbf8b07f10c1e4a7a262b32a9179ae9dd2d (fixed)
Vendor states this is fixed in c0445feb80a4d0854898118fa01073701f8d356b (fixed)
Vendor states this is fixed in e0ff39448cea654843744c72c6780293c5082cb1 (fixed)
Vendor states this is fixed in 3.19 (unaffected)
Vendor states this is fixed in 4.14.295 (unaffected)
Vendor states this is fixed in 4.19.260 (unaffected)
Vendor states this is fixed in 4.9.330 (unaffected)
Vendor states this is fixed in 5.10.142 (unaffected)
Vendor states this is fixed in 5.15.66 (unaffected)
Vendor states this is fixed in 5.19.8 (unaffected)
Vendor states this is fixed in 5.4.215 (unaffected)
Vendor states this is fixed in 6.0 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4abc8c07a065ecf771827bde3c63fbbe4aa0c08b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5d20c6f932f2758078d0454729129c894fe353e7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/60deb9f10eec5c6a20252ed36238b55d8b614a2c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6eb181a64fdabf10be9e54de728876667da20255
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/78a07732fbb0934d14827d8f09b9aa6a49ee1aa9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9ad48cbf8b07f10c1e4a7a262b32a9179ae9dd2d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c0445feb80a4d0854898118fa01073701f8d356b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e0ff39448cea654843744c72c6780293c5082cb1

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card