CVE-2022-49942
MEDIUM 5.5CVSS 3.1In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: Don't finalize CSA in IBSS mode if state is disconnected
When we are not connected to a channel, sending channel "switch"
announcement doesn't make any sense.
The BSS list is empty in that case. This causes the for loop in
cfg80211_get_bss() to be bypassed, so the function returns NULL
(check line 1424 of net/wireless/scan.c), causing the WARN_ON()
in ieee80211_ibss_csa_beacon() to get triggered (check line 500
of net/mac80211/ibss.c), which was consequently reported on the
syzkaller dashboard.
Thus, check if we have an existing connection before generating
the CSA beacon in ieee80211_ibss_finish_csa().
- Published
- 18 Jun 2025
- Last modified
- 17 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Analyzed
- Weakness
- CWE-476
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 3.13, < 4.9.328 | 4.9.328 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.10, < 4.14.293 | 4.14.293 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.15, < 4.19.258 | 4.19.258 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.20, < 5.4.213 | 5.4.213 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.5, < 5.10.142 | 5.10.142 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.11, < 5.15.66 | 5.15.66 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.16, < 5.19.8 | 5.19.8 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.0:rc1:*:*:*:*:*:* |
= 6.0 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.0:rc2:*:*:*:*:*:* |
= 6.0 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.0:rc3:*:*:*:*:*:* |
= 6.0 |
References
- https://git.kernel.org/stable/c/15bc8966b6d3a5b9bfe4c9facfa02f2b69b1e5f0 · Patch
- https://git.kernel.org/stable/c/1691a48aef0a82d1754b9853dae7e3f5cacdf70b · Patch
- https://git.kernel.org/stable/c/552ba102a6898630a7d16887f29e606d6fabe508 · Patch
- https://git.kernel.org/stable/c/66689c5c02acd4d76c28498fe220998610aec61e · Patch
- https://git.kernel.org/stable/c/864e280cb3a9a0f5212b16ef5057c4e692f7039d · Patch
- https://git.kernel.org/stable/c/cdb9a8da9b84800eb15506cd9363cf0cf059e677 · Patch
- https://git.kernel.org/stable/c/d9eb37db6a28b59a95a3461450ee209654c5f95b · Patch
- https://git.kernel.org/stable/c/dd649b49219a0388cc10fc40e4c2ea681566a780 · Patch
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 18 Jun 2025)