CVE-2022-49934

wifi: mac80211: Fix UAF in ieee80211_scan_rx()

8.8 high EPSS 0.25%

Published 18 Jun 2025 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2022-49934

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49934 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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().

Severity (CVSS)

8.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
adjacent: the attacker has to be on the same local network or link
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.7% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 6ea0a69ca21bbddab5b3979c2190013b0263e749, before 6eb181a64fdabf10be9e54de728876667da20255
affected from 6ea0a69ca21bbddab5b3979c2190013b0263e749, before e0ff39448cea654843744c72c6780293c5082cb1
affected from 6ea0a69ca21bbddab5b3979c2190013b0263e749, before 78a07732fbb0934d14827d8f09b9aa6a49ee1aa9
affected from 6ea0a69ca21bbddab5b3979c2190013b0263e749, before 9ad48cbf8b07f10c1e4a7a262b32a9179ae9dd2d
affected from 6ea0a69ca21bbddab5b3979c2190013b0263e749, before 4abc8c07a065ecf771827bde3c63fbbe4aa0c08b
affected from 6ea0a69ca21bbddab5b3979c2190013b0263e749, before 5d20c6f932f2758078d0454729129c894fe353e7
affected from 6ea0a69ca21bbddab5b3979c2190013b0263e749, before c0445feb80a4d0854898118fa01073701f8d356b
affected from 6ea0a69ca21bbddab5b3979c2190013b0263e749, before 60deb9f10eec5c6a20252ed36238b55d8b614a2c
Other versions: unaffected
Linux
affected 3.19
unaffected before 3.19
unaffected from 4.9.330 up to and including 4.9.*
unaffected from 4.14.295 up to and including 4.14.*
unaffected from 4.19.260 up to and including 4.19.*
unaffected from 5.4.215 up to and including 5.4.*
unaffected from 5.10.142 up to and including 5.10.*
unaffected from 5.15.66 up to and including 5.15.*
unaffected from 5.19.8 up to and including 5.19.*
unaffected 6.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49934 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49934

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-49934
trivy image --scanners vuln IMAGE | grep CVE-2022-49934

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-49934 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.