All reports
Medium

kernel: wifi: mac80211: Fix UAF in ieee80211_scan_rx()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-49934

Probability of exploitation in the next 30 days: 0.25%

FIRST EPSS · 2026-11-23

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

A flaw was found in the Linux kernel's mac80211 wireless subsystem. A race condition can occur between packet reception and scan completion routines, allowing scan request memory to be accessed after being released. An attacker within radio range or a local user could exploit this timing window during active Wi-Fi scanning to trigger a use-after-free (UAF) condition, leading to a system crash and denial of service (DoS) or potential memory corruption.