CVE-2022-49942

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

No CVSS score yet EPSS 0.27%

Published 18 Jun 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2022-49942

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49942 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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

Exploitation

EPSS 0.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 21.1% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from cd7760e62c2ac8581f050b2d36501d1a60beaf83, before cdb9a8da9b84800eb15506cd9363cf0cf059e677
affected from cd7760e62c2ac8581f050b2d36501d1a60beaf83, before 1691a48aef0a82d1754b9853dae7e3f5cacdf70b
affected from cd7760e62c2ac8581f050b2d36501d1a60beaf83, before d9eb37db6a28b59a95a3461450ee209654c5f95b
affected from cd7760e62c2ac8581f050b2d36501d1a60beaf83, before 66689c5c02acd4d76c28498fe220998610aec61e
affected from cd7760e62c2ac8581f050b2d36501d1a60beaf83, before dd649b49219a0388cc10fc40e4c2ea681566a780
affected from cd7760e62c2ac8581f050b2d36501d1a60beaf83, before 552ba102a6898630a7d16887f29e606d6fabe508
affected from cd7760e62c2ac8581f050b2d36501d1a60beaf83, before 864e280cb3a9a0f5212b16ef5057c4e692f7039d
affected from cd7760e62c2ac8581f050b2d36501d1a60beaf83, before 15bc8966b6d3a5b9bfe4c9facfa02f2b69b1e5f0
Other versions: unaffected
Linux
affected 3.13
unaffected before 3.13
unaffected from 4.9.328 up to and including 4.9.*
unaffected from 4.14.293 up to and including 4.14.*
unaffected from 4.19.258 up to and including 4.19.*
unaffected from 5.4.213 up to and including 5.4.*
unaffected from 5.10.142 up to and including 5.10.*
unaffected from 5.15.66 up to and including 5.15.*
unaffected from 5.19.8 up to and including 5.19.*
unaffected 6.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49942 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49942

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-49942
trivy image --scanners vuln IMAGE | grep CVE-2022-49942

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-49942 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.