AZL-115687: CVE-2026-99771 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: reload TDLS header pointer after skblinearize()
ieee80211processtdlschannelswitch() sets tf = skb->data before it calls skblinearize(), and reads tf->actioncode afterwards.
ieee80211rxhdata() queues TDLS channel switch requests and responses to the interface after pulling only offsetof(struct ieee80211tdlsdata, 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 NL80211FEATURETDLSCHANNELSWITCH. If the remaining data does not fit into the tailroom, skblinearize() 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 WARNONONCE() 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 skblinearize(), as the request and response handlers already do.
Found by static analysis tool CodeQL.