CVE-2022-49942

wifi: mac80211: Don't finalize CSA in IBSS mode if state is disconnected

MEDIUM
5.5
CVSS Score
Published: June 18, 2025 at 10:59 AM UTC
Updated: June 17, 2026 at 05:19 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

Description

In 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().

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.13 ≤ v < 4.14.2933.13 ≤ v < 4.19.2583.13 ≤ v < 4.9.3283.13 ≤ v < 5.10.1423.13 ≤ v < 5.15.663.13 ≤ v < 5.19.83.13 ≤ v < 5.4.2133.13 ≤ v < 6.04.10 ≤ v < 4.14.2934.15 ≤ v < 4.19.2584.20 ≤ v < 5.4.2135.11 ≤ v < 5.15.665.16 ≤ v < 5.19.85.5 ≤ v < 5.10.1423.136.0 rc16.0 rc26.0 rc3cd7760e62c2ac8581f050b2d36501d1a60beaf83
Vendor states this is fixed in 15bc8966b6d3a5b9bfe4c9facfa02f2b69b1e5f0 (fixed)
Vendor states this is fixed in 1691a48aef0a82d1754b9853dae7e3f5cacdf70b (fixed)
Vendor states this is fixed in 552ba102a6898630a7d16887f29e606d6fabe508 (fixed)
Vendor states this is fixed in 66689c5c02acd4d76c28498fe220998610aec61e (fixed)
Vendor states this is fixed in 864e280cb3a9a0f5212b16ef5057c4e692f7039d (fixed)
Vendor states this is fixed in cdb9a8da9b84800eb15506cd9363cf0cf059e677 (fixed)
Vendor states this is fixed in d9eb37db6a28b59a95a3461450ee209654c5f95b (fixed)
Vendor states this is fixed in dd649b49219a0388cc10fc40e4c2ea681566a780 (fixed)
Vendor states this is fixed in 3.13 (unaffected)
Vendor states this is fixed in 4.14.293 (unaffected)
Vendor states this is fixed in 4.19.258 (unaffected)
Vendor states this is fixed in 4.9.328 (unaffected)
Vendor states this is fixed in 5.10.142 (unaffected)
Vendor states this is fixed in 5.15.66 (unaffected)
Vendor states this is fixed in 5.19.8 (unaffected)
Vendor states this is fixed in 5.4.213 (unaffected)
Vendor states this is fixed in 6.0 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/15bc8966b6d3a5b9bfe4c9facfa02f2b69b1e5f0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1691a48aef0a82d1754b9853dae7e3f5cacdf70b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/552ba102a6898630a7d16887f29e606d6fabe508
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/66689c5c02acd4d76c28498fe220998610aec61e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/864e280cb3a9a0f5212b16ef5057c4e692f7039d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cdb9a8da9b84800eb15506cd9363cf0cf059e677
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d9eb37db6a28b59a95a3461450ee209654c5f95b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/dd649b49219a0388cc10fc40e4c2ea681566a780

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card