wifi: mac80211: disconnect on CSA to channel 0
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: disconnect on CSA to channel 0
The refactor for the CSA parsing erroneously equates channel zero and no information present, leading it to ignore a CSA on an AP that advertises a switch to that (invalid) channel. This leads to not disconnecting, which we should. For Intel devices, this can lead to a firmware crash.
Fix this by using an int type for the channel number as well as the opclass, and using a (negative) value that cannot be encoded in the element to indicate it's not present.
From the CVE record · Linux
Linux mac80211 can ignore a channel-switch announcement from an AP that specifies invalid channel 0, rather than disconnecting. If a device is connected to an AP advertising that switch, the failure to disconnect can lead to a firmware crash on Intel devices.
Engineers running Linux kernels with mac80211, particularly on Intel Wi-Fi devices, should check whether their kernel includes the fix.