Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: check tdls flag in ieee80211_tdls_oper When NL80211_TDLS_ENABLE_LINK is called, the code only checks if the station exists but not whether it is actually a TDLS station. This allows the operation to proceed for non-TDLS stations, causing unintended side effects like modifying channel context and HT protection before failing. Add a check for sta->sta.tdls early in the ENABLE_LINK case, before any side effects occur, to ensure the operation is only allowed for actual TDLS peers.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 941c93cd039852b7ab02c74f4698c99d82bd6cfe before e602246235fc2ef06c39b2e9cf147d84d0896b73; affected 941c93cd039852b7ab02c74f4698c99d82bd6cfe before 6813a8b1b240756dad4375f3e020ce10e4e3871b; affected 941c93cd039852b7ab02c74f4698c99d82bd6cfe before 44839ea7e96b3659a1606f3d5267063135479b7c; affected 941c93cd039852b7ab02c74f4698c99d82bd6cfe before ba5b43db126a5e7378553869e3f7954d9187349f; affected 941c93cd039852b7ab02c74f4698c99d82bd6cfe before 8148c2fda4ebb17104a573649c9b699208ad10ee; affected 941c93cd039852b7ab02c74f4698c99d82bd6cfe before be81f17151fcb8546a95f35ca8f4231b065985de; affected 941c93cd039852b7ab02c74f4698c99d82bd6cfe before e77b2937aaa20264e4bd699d3244bdb50e7e3343; affected 941c93cd039852b7ab02c74f4698c99d82bd6cfe before 7d73872d949c488a1d7c308031d6a9d89b5e0a8b |
| Linux / Linux | affected 3.2; unaffected 0 before 3.2; unaffected 5.10.259 through 5.10.*; unaffected 5.15.209 through 5.15.*; unaffected 6.1.175 through 6.1.*; unaffected 6.6.142 through 6.6.*; unaffected 6.12.81 through 6.12.*; unaffected 6.18.22 through 6.18.*; unaffected 6.19.12 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/e602246235fc2ef06c39b2e9cf147d84d0896b73
- https://git.kernel.org/stable/c/6813a8b1b240756dad4375f3e020ce10e4e3871b
- https://git.kernel.org/stable/c/44839ea7e96b3659a1606f3d5267063135479b7c
- https://git.kernel.org/stable/c/ba5b43db126a5e7378553869e3f7954d9187349f
- https://git.kernel.org/stable/c/8148c2fda4ebb17104a573649c9b699208ad10ee
- https://git.kernel.org/stable/c/be81f17151fcb8546a95f35ca8f4231b065985de
- https://git.kernel.org/stable/c/e77b2937aaa20264e4bd699d3244bdb50e7e3343
- https://git.kernel.org/stable/c/7d73872d949c488a1d7c308031d6a9d89b5e0a8b
ADP enrichment
No English description supplied.