# CVE-2022-49942: wifi: mac80211: Don't finalize CSA in IBSS mode if state is disconnected

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-06-18T10:59:57.610Z
- **Modified:** 2026-06-17T05:19:35.127Z

## Who should check

- Anyone running Linux \>= cd7760e62c2ac8581f050b2d36501d1a60beaf83, \< cdb9a8da9b84800eb15506cd9363cf0cf059e677; \>= cd7760e62c2ac8581f050b2d36501d1a60beaf83, \< 1691a48aef0a82d1754b9853dae7e3f5cacdf70b; \>= cd7760e62c2ac8581f050b2d36501d1a60beaf83, \< d9eb37db6a28b59a95a3461450ee209654c5f95b; \>= cd7760e62c2ac8581f050b2d36501d1a60beaf83, \< 66689c5c02acd4d76c28498fe220998610aec61e; \>= cd7760e62c2ac8581f050b2d36501d1a60beaf83, \< dd649b49219a0388cc10fc40e4c2ea681566a780; \>= cd7760e62c2ac8581f050b2d36501d1a60beaf83, \< 552ba102a6898630a7d16887f29e606d6fabe508; \>= cd7760e62c2ac8581f050b2d36501d1a60beaf83, \< 864e280cb3a9a0f5212b16ef5057c4e692f7039d; \>= cd7760e62c2ac8581f050b2d36501d1a60beaf83, \< 15bc8966b6d3a5b9bfe4c9facfa02f2b69b1e5f0
- Anyone running Linux 3.13

## 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 and fixed versions

- Linux: \>= cd7760e62c2ac8581f050b2d36501d1a60beaf83, \< cdb9a8da9b84800eb15506cd9363cf0cf059e677; \>= cd7760e62c2ac8581f050b2d36501d1a60beaf83, \< 1691a48aef0a82d1754b9853dae7e3f5cacdf70b; \>= cd7760e62c2ac8581f050b2d36501d1a60beaf83, \< d9eb37db6a28b59a95a3461450ee209654c5f95b; \>= cd7760e62c2ac8581f050b2d36501d1a60beaf83, \< 66689c5c02acd4d76c28498fe220998610aec61e; \>= cd7760e62c2ac8581f050b2d36501d1a60beaf83, \< dd649b49219a0388cc10fc40e4c2ea681566a780; \>= cd7760e62c2ac8581f050b2d36501d1a60beaf83, \< 552ba102a6898630a7d16887f29e606d6fabe508; \>= cd7760e62c2ac8581f050b2d36501d1a60beaf83, \< 864e280cb3a9a0f5212b16ef5057c4e692f7039d; \>= cd7760e62c2ac8581f050b2d36501d1a60beaf83, \< 15bc8966b6d3a5b9bfe4c9facfa02f2b69b1e5f0 (cvelist)
- Linux: 3.13 (cvelist)

## Mitigation

- Upgrade Linux to 15bc8966b6d3a5b9bfe4c9facfa02f2b69b1e5f0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49942. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49942.md
Affected: Linux >= cd7760e62c2ac8581f050b2d36501d1a60beaf83, < cdb9a8da9b84800eb15506cd9363cf0cf059e677; >= cd7760e62c2ac8581f050b2d36501d1a60beaf83, < 1691a48aef0a82d1754b9853dae7e3f5cacdf70b; >= cd7760e62c2ac8581f050b2d36501d1a60beaf83, < d9eb37db6a28b59a95a3461450ee209654c5f95b; >= cd7760e62c2ac8581f050b2…
Fixed in: Linux 1691a48aef0a82d1754b9853dae7e3f5cacdf70b, Linux 66689c5c02acd4d76c28498fe220998610aec61e, Linux 552ba102a6898630a7d16887f29e606d6fabe508, Linux 864e280cb3a9a0f5212b16ef5057c4e692f7039d, Linux 15bc8966b6d3a5b9bfe4c9facfa02f2b69b1e5f0

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49942 being exploited?

There is no confirmed exploitation: CVE-2022-49942 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49942?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49942?

Linux \>= cd7760e62c2ac8581f050b2d36501d1a60beaf83, \< cdb9a8da9b84800eb15506cd9363cf0cf059e677; \>= cd7760e62c2ac8581f050b2d36501d1a60beaf83, \< 1691a48aef0a82d1754b9853dae7e3f5cacdf70b; \>= cd7760e62c2ac8581f050b2d36501d1a60beaf83, \< d9eb37db6a28b59a95a3461450ee209654c5f95b; \>= cd7760e62c2ac8581f050b2d36501d1a60beaf83, \< 66689c5c02acd4d76c28498fe220998610aec61e; \>= cd7760e62c2ac8581f050b2d36501d1a60beaf83, \< dd649b49219a0388cc10fc40e4c2ea681566a780; \>= cd7760e62c2ac8581f050b2d36501d1a60beaf83, \< 552ba102a6898630a7d16887f29e606d6fabe508; \>= cd7760e62c2ac8581f050b2d36501d1a60beaf83, \< 864e280cb3a9a0f5212b16ef5057c4e692f7039d; \>= cd7760e62c2ac8581f050b2d36501d1a60beaf83, \< 15bc8966b6d3a5b9bfe4c9facfa02f2b69b1e5f0; Linux 3.13.

### Is there a fix for CVE-2022-49942?

Yes. Fixed in Linux 1691a48aef0a82d1754b9853dae7e3f5cacdf70b, Linux 66689c5c02acd4d76c28498fe220998610aec61e, Linux 552ba102a6898630a7d16887f29e606d6fabe508, Linux 864e280cb3a9a0f5212b16ef5057c4e692f7039d, Linux 15bc8966b6d3a5b9bfe4c9facfa02f2b69b1e5f0. Upgrade Linux to 15bc8966b6d3a5b9bfe4c9facfa02f2b69b1e5f0 or later.

### How do I check if I'm affected by CVE-2022-49942?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/cdb9a8da9b84800eb15506cd9363cf0cf059e677>
- patch: <https://git.kernel.org/stable/c/1691a48aef0a82d1754b9853dae7e3f5cacdf70b>
- patch: <https://git.kernel.org/stable/c/d9eb37db6a28b59a95a3461450ee209654c5f95b>
- patch: <https://git.kernel.org/stable/c/66689c5c02acd4d76c28498fe220998610aec61e>
- patch: <https://git.kernel.org/stable/c/dd649b49219a0388cc10fc40e4c2ea681566a780>
- patch: <https://git.kernel.org/stable/c/552ba102a6898630a7d16887f29e606d6fabe508>
- patch: <https://git.kernel.org/stable/c/864e280cb3a9a0f5212b16ef5057c4e692f7039d>
- patch: <https://git.kernel.org/stable/c/15bc8966b6d3a5b9bfe4c9facfa02f2b69b1e5f0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49942>

HTML: <https://flawdb.com/CVE-2022-49942> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49942>
