# CVE-2022-49934: wifi: mac80211: Fix UAF in ieee80211\_scan\_rx()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.38% (percentile 23, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-06-18T10:54:36.161Z
- **Modified:** 2026-08-05T08:56:46.037Z

## Who should check

- Anyone running Linux \>= 6ea0a69ca21bbddab5b3979c2190013b0263e749, \< 6eb181a64fdabf10be9e54de728876667da20255; \>= 6ea0a69ca21bbddab5b3979c2190013b0263e749, \< e0ff39448cea654843744c72c6780293c5082cb1; \>= 6ea0a69ca21bbddab5b3979c2190013b0263e749, \< 78a07732fbb0934d14827d8f09b9aa6a49ee1aa9; \>= 6ea0a69ca21bbddab5b3979c2190013b0263e749, \< 9ad48cbf8b07f10c1e4a7a262b32a9179ae9dd2d; \>= 6ea0a69ca21bbddab5b3979c2190013b0263e749, \< 4abc8c07a065ecf771827bde3c63fbbe4aa0c08b; \>= 6ea0a69ca21bbddab5b3979c2190013b0263e749, \< 5d20c6f932f2758078d0454729129c894fe353e7; \>= 6ea0a69ca21bbddab5b3979c2190013b0263e749, \< c0445feb80a4d0854898118fa01073701f8d356b; \>= 6ea0a69ca21bbddab5b3979c2190013b0263e749, \< 60deb9f10eec5c6a20252ed36238b55d8b614a2c
- Anyone running Linux 3.19

## 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 and fixed versions

- Linux: \>= 6ea0a69ca21bbddab5b3979c2190013b0263e749, \< 6eb181a64fdabf10be9e54de728876667da20255; \>= 6ea0a69ca21bbddab5b3979c2190013b0263e749, \< e0ff39448cea654843744c72c6780293c5082cb1; \>= 6ea0a69ca21bbddab5b3979c2190013b0263e749, \< 78a07732fbb0934d14827d8f09b9aa6a49ee1aa9; \>= 6ea0a69ca21bbddab5b3979c2190013b0263e749, \< 9ad48cbf8b07f10c1e4a7a262b32a9179ae9dd2d; \>= 6ea0a69ca21bbddab5b3979c2190013b0263e749, \< 4abc8c07a065ecf771827bde3c63fbbe4aa0c08b; \>= 6ea0a69ca21bbddab5b3979c2190013b0263e749, \< 5d20c6f932f2758078d0454729129c894fe353e7; \>= 6ea0a69ca21bbddab5b3979c2190013b0263e749, \< c0445feb80a4d0854898118fa01073701f8d356b; \>= 6ea0a69ca21bbddab5b3979c2190013b0263e749, \< 60deb9f10eec5c6a20252ed36238b55d8b614a2c (cvelist)
- Linux: 3.19 (cvelist)

## Mitigation

- Upgrade Linux to 60deb9f10eec5c6a20252ed36238b55d8b614a2c or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49934. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49934.md
Affected: Linux >= 6ea0a69ca21bbddab5b3979c2190013b0263e749, < 6eb181a64fdabf10be9e54de728876667da20255; >= 6ea0a69ca21bbddab5b3979c2190013b0263e749, < e0ff39448cea654843744c72c6780293c5082cb1; >= 6ea0a69ca21bbddab5b3979c2190013b0263e749, < 78a07732fbb0934d14827d8f09b9aa6a49ee1aa9; >= 6ea0a69ca21bbddab5b3979…
Fixed in: Linux 6eb181a64fdabf10be9e54de728876667da20255, Linux 78a07732fbb0934d14827d8f09b9aa6a49ee1aa9, Linux 9ad48cbf8b07f10c1e4a7a262b32a9179ae9dd2d, Linux 4abc8c07a065ecf771827bde3c63fbbe4aa0c08b, Linux 5d20c6f932f2758078d0454729129c894fe353e7, Linux 60deb9f10eec5c6a20252ed36238b55d8b614a2c

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49934 being exploited?

There is no confirmed exploitation: CVE-2022-49934 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.38% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49934?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49934?

Linux \>= 6ea0a69ca21bbddab5b3979c2190013b0263e749, \< 6eb181a64fdabf10be9e54de728876667da20255; \>= 6ea0a69ca21bbddab5b3979c2190013b0263e749, \< e0ff39448cea654843744c72c6780293c5082cb1; \>= 6ea0a69ca21bbddab5b3979c2190013b0263e749, \< 78a07732fbb0934d14827d8f09b9aa6a49ee1aa9; \>= 6ea0a69ca21bbddab5b3979c2190013b0263e749, \< 9ad48cbf8b07f10c1e4a7a262b32a9179ae9dd2d; \>= 6ea0a69ca21bbddab5b3979c2190013b0263e749, \< 4abc8c07a065ecf771827bde3c63fbbe4aa0c08b; \>= 6ea0a69ca21bbddab5b3979c2190013b0263e749, \< 5d20c6f932f2758078d0454729129c894fe353e7; \>= 6ea0a69ca21bbddab5b3979c2190013b0263e749, \< c0445feb80a4d0854898118fa01073701f8d356b; \>= 6ea0a69ca21bbddab5b3979c2190013b0263e749, \< 60deb9f10eec5c6a20252ed36238b55d8b614a2c; Linux 3.19.

### Is there a fix for CVE-2022-49934?

Yes. Fixed in Linux 6eb181a64fdabf10be9e54de728876667da20255, Linux 78a07732fbb0934d14827d8f09b9aa6a49ee1aa9, Linux 9ad48cbf8b07f10c1e4a7a262b32a9179ae9dd2d, Linux 4abc8c07a065ecf771827bde3c63fbbe4aa0c08b, Linux 5d20c6f932f2758078d0454729129c894fe353e7, Linux 60deb9f10eec5c6a20252ed36238b55d8b614a2c. Upgrade Linux to 60deb9f10eec5c6a20252ed36238b55d8b614a2c or later.

### How do I check if I'm affected by CVE-2022-49934?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/6eb181a64fdabf10be9e54de728876667da20255>
- patch: <https://git.kernel.org/stable/c/e0ff39448cea654843744c72c6780293c5082cb1>
- patch: <https://git.kernel.org/stable/c/78a07732fbb0934d14827d8f09b9aa6a49ee1aa9>
- patch: <https://git.kernel.org/stable/c/9ad48cbf8b07f10c1e4a7a262b32a9179ae9dd2d>
- patch: <https://git.kernel.org/stable/c/4abc8c07a065ecf771827bde3c63fbbe4aa0c08b>
- patch: <https://git.kernel.org/stable/c/5d20c6f932f2758078d0454729129c894fe353e7>
- patch: <https://git.kernel.org/stable/c/c0445feb80a4d0854898118fa01073701f8d356b>
- patch: <https://git.kernel.org/stable/c/60deb9f10eec5c6a20252ed36238b55d8b614a2c>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49934>

HTML: <https://flawdb.com/CVE-2022-49934> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49934>
