{"id":"CVE-2022-49942","aliases":["CVE-2022-49942"],"related":[],"kind":"vulnerability","state":"published","title":"wifi: mac80211: Don't finalize CSA in IBSS mode if state is disconnected","summary":"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().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: wifi: mac80211: No finalizar la CSA en modo IBSS si el estado es desconectado. Cuando no estamos conectados a un canal, enviar el anuncio de cambio de canal no tiene sentido. En ese caso, la lista BSS está vacía. Esto provoca que se omita el bucle for en cfg80211_get_bss(), por lo que la función devuelve NULL (consulte la línea 1424 de net/wireless/scan.c), lo que provoca la activación de WARN_ON() en ieee80211_ibss_csa_beacon() (consulte la línea 500 de net/mac80211/ibss.c), lo que se informó en el panel de control de syzkaller. Por lo tanto, se debe comprobar si existe una conexión antes de generar la baliza CSA en ieee80211_ibss_finish_csa().","source":"nvd"}],"published":"2025-06-18T10:59:57.610Z","modified":"2026-06-17T05:19:35.127Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"cd7760e62c2ac8581f050b2d36501d1a60beaf83","fixed":"cdb9a8da9b84800eb15506cd9363cf0cf059e677","status":"affected"},{"type":"git","introduced":"cd7760e62c2ac8581f050b2d36501d1a60beaf83","fixed":"1691a48aef0a82d1754b9853dae7e3f5cacdf70b","status":"affected"},{"type":"git","introduced":"cd7760e62c2ac8581f050b2d36501d1a60beaf83","fixed":"d9eb37db6a28b59a95a3461450ee209654c5f95b","status":"affected"},{"type":"git","introduced":"cd7760e62c2ac8581f050b2d36501d1a60beaf83","fixed":"66689c5c02acd4d76c28498fe220998610aec61e","status":"affected"},{"type":"git","introduced":"cd7760e62c2ac8581f050b2d36501d1a60beaf83","fixed":"dd649b49219a0388cc10fc40e4c2ea681566a780","status":"affected"},{"type":"git","introduced":"cd7760e62c2ac8581f050b2d36501d1a60beaf83","fixed":"552ba102a6898630a7d16887f29e606d6fabe508","status":"affected"},{"type":"git","introduced":"cd7760e62c2ac8581f050b2d36501d1a60beaf83","fixed":"864e280cb3a9a0f5212b16ef5057c4e692f7039d","status":"affected"},{"type":"git","introduced":"cd7760e62c2ac8581f050b2d36501d1a60beaf83","fixed":"15bc8966b6d3a5b9bfe4c9facfa02f2b69b1e5f0","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.13","status":"unaffected"},{"type":"semver","introduced":"4.9.328","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.293","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.258","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.213","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.142","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.66","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.19.8","lastAffected":"5.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.13","fixed":"4.9.328"},{"status":"affected","introduced":"4.10","fixed":"4.14.293"},{"status":"affected","introduced":"4.15","fixed":"4.19.258"},{"status":"affected","introduced":"4.20","fixed":"5.4.213"},{"status":"affected","introduced":"5.5","fixed":"5.10.142"},{"status":"affected","introduced":"5.11","fixed":"5.15.66"},{"status":"affected","introduced":"5.16","fixed":"5.19.8"},{"status":"affected","version":"6.0"},{"status":"affected","version":"6.0"},{"status":"affected","version":"6.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/cdb9a8da9b84800eb15506cd9363cf0cf059e677","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1691a48aef0a82d1754b9853dae7e3f5cacdf70b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d9eb37db6a28b59a95a3461450ee209654c5f95b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/66689c5c02acd4d76c28498fe220998610aec61e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dd649b49219a0388cc10fc40e4c2ea681566a780","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/552ba102a6898630a7d16887f29e606d6fabe508","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/864e280cb3a9a0f5212b16ef5057c4e692f7039d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/15bc8966b6d3a5b9bfe4c9facfa02f2b69b1e5f0","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49942","url":"https://www.cve.org/CVERecord?id=CVE-2022-49942","licence":"CVE Terms of Use","modified":"2026-05-11T19:09:39.486Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49942","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49942","licence":"Public domain","modified":"2026-06-17T05:19:35.127Z"}],"updatedAt":"2026-11-25T22:58:20.973Z","epss":{"score":0.00274,"percentile":0.21141,"date":"2026-12-01T12:00:22.000Z"}}