{"id":"CVE-2022-49942","summary":"wifi: mac80211: Don't finalize CSA in IBSS mode if state is disconnected","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mac80211: Don't finalize CSA in IBSS mode if state is disconnected\n\nWhen we are not connected to a channel, sending channel \"switch\"\nannouncement doesn't make any sense.\n\nThe BSS list is empty in that case. This causes the for loop in\ncfg80211_get_bss() to be bypassed, so the function returns NULL\n(check line 1424 of net/wireless/scan.c), causing the WARN_ON()\nin ieee80211_ibss_csa_beacon() to get triggered (check line 500\nof net/mac80211/ibss.c), which was consequently reported on the\nsyzkaller dashboard.\n\nThus, check if we have an existing connection before generating\nthe CSA beacon in ieee80211_ibss_finish_csa().","modified":"2026-05-18T05:56:22.254662055Z","published":"2025-06-18T10:59:57.610Z","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"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49942.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/15bc8966b6d3a5b9bfe4c9facfa02f2b69b1e5f0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1691a48aef0a82d1754b9853dae7e3f5cacdf70b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/552ba102a6898630a7d16887f29e606d6fabe508"},{"type":"WEB","url":"https://git.kernel.org/stable/c/66689c5c02acd4d76c28498fe220998610aec61e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/864e280cb3a9a0f5212b16ef5057c4e692f7039d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cdb9a8da9b84800eb15506cd9363cf0cf059e677"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d9eb37db6a28b59a95a3461450ee209654c5f95b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dd649b49219a0388cc10fc40e4c2ea681566a780"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49942.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49942"},{"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":"cd7760e62c2ac8581f050b2d36501d1a60beaf83"},{"fixed":"cdb9a8da9b84800eb15506cd9363cf0cf059e677"},{"fixed":"1691a48aef0a82d1754b9853dae7e3f5cacdf70b"},{"fixed":"d9eb37db6a28b59a95a3461450ee209654c5f95b"},{"fixed":"66689c5c02acd4d76c28498fe220998610aec61e"},{"fixed":"dd649b49219a0388cc10fc40e4c2ea681566a780"},{"fixed":"552ba102a6898630a7d16887f29e606d6fabe508"},{"fixed":"864e280cb3a9a0f5212b16ef5057c4e692f7039d"},{"fixed":"15bc8966b6d3a5b9bfe4c9facfa02f2b69b1e5f0"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49942.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.13.0"},{"fixed":"4.9.328"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.10.0"},{"fixed":"4.14.293"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.19.258"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.213"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.142"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.19.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49942.json"}}],"schema_version":"1.7.5"}