{"id":"CVE-2022-49934","summary":"wifi: mac80211: Fix UAF in ieee80211_scan_rx()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mac80211: Fix UAF in ieee80211_scan_rx()\n\nieee80211_scan_rx() tries to access scan_req-\u003eflags after a\nnull check, but a UAF is observed when the scan is completed\nand __ieee80211_scan_completed() executes, which then calls\ncfg80211_scan_done() leading to the freeing of scan_req.\n\nSince scan_req is rcu_dereference()'d, prevent the racing in\n__ieee80211_scan_completed() by ensuring that from mac80211's\nPOV it is no longer accessed from an RCU read critical section\nbefore we call cfg80211_scan_done().","modified":"2026-04-03T13:14:24.634085Z","published":"2025-06-18T10:54:36.161Z","related":["SUSE-SU-2025:02264-1","SUSE-SU-2025:02308-1","SUSE-SU-2025:02320-1","SUSE-SU-2025:02321-1","SUSE-SU-2025:02322-1","SUSE-SU-2025:02537-1","SUSE-SU-2025:02846-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49934.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4abc8c07a065ecf771827bde3c63fbbe4aa0c08b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5d20c6f932f2758078d0454729129c894fe353e7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/60deb9f10eec5c6a20252ed36238b55d8b614a2c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6eb181a64fdabf10be9e54de728876667da20255"},{"type":"WEB","url":"https://git.kernel.org/stable/c/78a07732fbb0934d14827d8f09b9aa6a49ee1aa9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9ad48cbf8b07f10c1e4a7a262b32a9179ae9dd2d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c0445feb80a4d0854898118fa01073701f8d356b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e0ff39448cea654843744c72c6780293c5082cb1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49934.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49934"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6ea0a69ca21bbddab5b3979c2190013b0263e749"},{"fixed":"6eb181a64fdabf10be9e54de728876667da20255"},{"fixed":"e0ff39448cea654843744c72c6780293c5082cb1"},{"fixed":"78a07732fbb0934d14827d8f09b9aa6a49ee1aa9"},{"fixed":"9ad48cbf8b07f10c1e4a7a262b32a9179ae9dd2d"},{"fixed":"4abc8c07a065ecf771827bde3c63fbbe4aa0c08b"},{"fixed":"5d20c6f932f2758078d0454729129c894fe353e7"},{"fixed":"c0445feb80a4d0854898118fa01073701f8d356b"},{"fixed":"60deb9f10eec5c6a20252ed36238b55d8b614a2c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49934.json"}}],"schema_version":"1.7.5"}