CVE-2026-99771
wifi: mac80211: reload TDLS header pointer after skb_linearize()
- CVSS
- —
- EPSS
- 0.17% (p6)
- Published
- 2026-11-20
- Age
- 14d old
- Modified
- 2026-11-23
- Product
- Linux Linux
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: reload TDLS header pointer after skb_linearize() ieee80211_process_tdls_channel_switch() sets tf = skb->data before it calls skb_linearize(), and reads tf->action_code afterwards. ieee80211_rx_h_data() queues TDLS channel switch requests and responses to the interface after pulling only offsetof(struct ieee80211_tdls_data, u) bytes, so the skb can still be non-linear when the interface work handles it. Drivers that build paged RX skbs do this for every frame that does not fit into the skb head, e.g. iwlwifi (mvm), which is also the only mac80211 driver that sets NL80211_FEATURE_TDLS_CHANNEL_SWITCH. If the remaining data does not fit into the tailroom, skb_linearize() moves the data to a new head and frees the old one, and the action code is then read from freed memory. Depending on what that memory holds by then, the frame is handled as before or ends in the WARN_ON_ONCE() of the default case. The frame only has to be a data frame with the TDLS ethertype from an authorized peer, e.g. relayed by the AP from another station in the BSS; the read happens before the sender is checked to be a TDLS peer. Load tf after skb_linearize(), as the request and response handlers already do. Found by static analysis tool CodeQL.
Fixed in
16e23c766ecd9f378e09d29ac2ff59c88a656da5 · 25af938d604fa729e0d5292b4f56bc81aa8d0d25 · 26203fea51cd17925e2838f7924cc0c93c2f7bfd · 35c5a5ea4418571997a7e7af3e7e8922b136f6e6 · 5.10.275 · 5.15.226 · 5251ad1a6caa35e6d8378aadb909d3f0a675f321 · 6.1.193 · 6.12.118 · 6.18.64 · 6.6.163 · 7.3.5 · 792b7b3ca335e0f7ed5bb94a20473d1989b97e9e · af40bd9aa14a29618aceee2184367b0ab7d2433c · e62a1b15a77bc25b465ca1561b4078d17020b077
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=3.19.0, <5.10.275 | 5.10.275 |
| Linux | Kernel | >=3.19.0, <6.12.118 | 6.12.118 |
| Linux | Kernel | >=5.11.0, <5.15.226 | 5.15.226 |
| Linux | Kernel | >=5.16.0, <6.1.193 | 6.1.193 |
| Linux | Kernel | >=6.13.0, <6.18.64 | 6.18.64 |
| Linux | Kernel | >=6.19.0, <7.3.5 | 7.3.5 |
| Linux | Kernel | >=6.2.0, <6.6.163 | 6.6.163 |
| Linux | Kernel | >=6.7.0, <6.12.118 | 6.12.118 |
| vendor | Linux | >=8a4d32f30d11d6d8cc29594c7a36b9be6b0edbb5, <16e23c766ecd9f378e09d29ac2ff59c88a656da5 | 16e23c766ecd9f378e09d29ac2ff59c88a656da5 |
| vendor | Linux | >=8a4d32f30d11d6d8cc29594c7a36b9be6b0edbb5, <25af938d604fa729e0d5292b4f56bc81aa8d0d25 | 25af938d604fa729e0d5292b4f56bc81aa8d0d25 |
| vendor | Linux | >=8a4d32f30d11d6d8cc29594c7a36b9be6b0edbb5, <26203fea51cd17925e2838f7924cc0c93c2f7bfd | 26203fea51cd17925e2838f7924cc0c93c2f7bfd |
| vendor | Linux | >=8a4d32f30d11d6d8cc29594c7a36b9be6b0edbb5, <35c5a5ea4418571997a7e7af3e7e8922b136f6e6 | 35c5a5ea4418571997a7e7af3e7e8922b136f6e6 |
| vendor | Linux | >=8a4d32f30d11d6d8cc29594c7a36b9be6b0edbb5, <5251ad1a6caa35e6d8378aadb909d3f0a675f321 | 5251ad1a6caa35e6d8378aadb909d3f0a675f321 |
| vendor | Linux | >=8a4d32f30d11d6d8cc29594c7a36b9be6b0edbb5, <792b7b3ca335e0f7ed5bb94a20473d1989b97e9e | 792b7b3ca335e0f7ed5bb94a20473d1989b97e9e |
| vendor | Linux | >=8a4d32f30d11d6d8cc29594c7a36b9be6b0edbb5, <af40bd9aa14a29618aceee2184367b0ab7d2433c | af40bd9aa14a29618aceee2184367b0ab7d2433c |
| vendor | Linux | >=8a4d32f30d11d6d8cc29594c7a36b9be6b0edbb5, <e62a1b15a77bc25b465ca1561b4078d17020b077 | e62a1b15a77bc25b465ca1561b4078d17020b077 |
Sources
- NVD · first seen 14d ago · NVD terms of use
- OSV · first seen 14d ago · CC-BY 4.0
- CVE List · first seen 14d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/25af938d604fa729e0d5292b4f56bc81aa8d0d25 other
- https://git.kernel.org/stable/c/16e23c766ecd9f378e09d29ac2ff59c88a656da5 other
- https://git.kernel.org/stable/c/5251ad1a6caa35e6d8378aadb909d3f0a675f321 other
- https://git.kernel.org/stable/c/35c5a5ea4418571997a7e7af3e7e8922b136f6e6 other
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99771.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99771 advisory
- https://git.kernel.org/stable/c/792b7b3ca335e0f7ed5bb94a20473d1989b97e9e other
- https://git.kernel.org/stable/c/26203fea51cd17925e2838f7924cc0c93c2f7bfd other
- https://git.kernel.org/stable/c/e62a1b15a77bc25b465ca1561b4078d17020b077 other
- https://git.kernel.org/stable/c/af40bd9aa14a29618aceee2184367b0ab7d2433c other