wifi: nl80211: fix NULL-ptr deref in offchan check
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 |
6.0
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: nl80211: fix NULL-ptr deref in offchan check
If, e.g. in AP mode, the link was already created by userspace but not activated yet, it has a chandef but the chandef isn't valid and has no channel. Check for this and ignore this link.
From the CVE record · Linux
The Linux kernel’s nl80211 off-channel check can dereference a NULL pointer when userspace has created a Wi-Fi link, such as in AP mode, but has not activated it. The inactive link can have a channel definition with no channel; the input does not specify attacker access requirements or a confirmed impact beyond the NULL pointer dereference.
Anyone running the Linux kernel should check their version; affected versions are not specified.