CVE-2022-49942

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49942
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49942.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49942
Downstream
Related
Published
2025-06-18T11:15:21Z
Modified
2025-08-09T19:01:27Z
Summary
[none]
Details

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 cfg80211getbss() to be bypassed, so the function returns NULL (check line 1424 of net/wireless/scan.c), causing the WARNON() in ieee80211ibsscsabeacon() 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 ieee80211ibssfinish_csa().

References

Affected packages