wifi: mac80211: reject TDLS operations when station is not associated
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 81dd2b8822410e56048b927be779d95a2b6dc186 · < 16ecdab5446f15a61ec88eb0d23d25d009821db0| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: reject TDLS operations when station is not associated
syzbot triggered a WARN in ieee80211_tdls_oper() by sending NL80211_TDLS_ENABLE_LINK immediately after NL80211_CMD_CONNECT, before association completed and without prior TDLS setup.
This left internal state like sdata->u.mgd.tdls_peer uninitialized, leading to a WARN_ON() in code paths that assumed it was valid.
Reject the operation early if not in station mode or not associated.
From the CVE record · Linux
The Linux kernel's mac80211 code could process a TDLS enable-link operation before a Wi-Fi station finished associating, leaving internal state uninitialized. Someone able to send the relevant NL80211 commands locally could trigger a kernel warning by issuing the operation immediately after a connect command, without prior TDLS setup.
Engineers running Linux kernels with mac80211 should check whether their kernel includes the fix; affected versions were not specified.