Bug 2373399 (CVE-2022-49934) - CVE-2022-49934 kernel: wifi: mac80211: Fix UAF in ieee80211_scan_rx()
Summary: CVE-2022-49934 kernel: wifi: mac80211: Fix UAF in ieee80211_scan_rx()
Keywords:
Status: NEW
Alias: CVE-2022-49934
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-18 11:01 UTC by OSIDB Bzimport
Modified: 2025-08-21 09:54 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-06-18 11:01:15 UTC
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().

Comment 1 Avinash Hanwate 2025-06-20 13:20:11 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025061845-CVE-2022-49934-108e@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.