Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795154514; b=AxdUxMNM9ZoUWmt6L+FbDK3YcCTAbcj8AVUdiXy6fHUui/HjcCStkPf97MdJ7xdvxjdu 7Wwe2qcA2sPUYnLDPy8mQBE/MVEDU4Bhw4YO/g8r0E5kshXn4fY9v1p9pUMaOtH8M799r qGRUApO+VL3HiM7j/k1ngqzo5zduSWB58G97U/lNQpuTaT1YIeRHSKGLMV1w1iaEfCfjy hzG6lOrAUHgvWiS0A9aNOGDdtuFJrlPINIP+P1AZzSrgtl/ZtpmAiC2j8OKajyWHT3DI+ gVf2yyEnmBp8ixH4BiGH2Th7CquEhRl29t5DJNvfzi7G/jGLbeDauPG5MkxW18n5cLA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154514; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=lxSXB0oLaWfF+xRet6Zxa7WO6XlPhSpbHP9OuQXnKH8=; b=WA+AZOBcuN8nvOLABEqT7C6HAnpRsdQcFahG54ezeiUEtmBDNg8ddvKOZgYzjYcnbUQh SYcvflY5FGOxWEfYJTb5E0xNYpaMYtXZZqTkc1VLSQ1g4aGGCrN1zGO+YE/OE7qvW5GAw 2K1GHGeZyzIjkQJgUiiXCIkFempkR/YmPqtiwSOw+XsWPViY0Cak5JgP2QXhh5vJrU+0n 2DsPyySo1u//a0NPeYOiHDoU4oYINwnbB6mGieV3LOwW/wVlqAKET5GbTKA6kd1lFGQvg GQbHkCloxRXQgoFYSmNgTtzb0uLvhYqMK6D5EZqrTR9GO9LB/fUA3vmU/pgKnEFKXHw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=PWjHchtr; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C3D4F606A519 for ; Fri, 20 Nov 2026 06:01:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=PWjHchtr Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1212E1F000CA; Fri, 20 Nov 2026 06:01:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154514; bh=lxSXB0oLaWfF+xRet6Zxa7WO6XlPhSpbHP9OuQXnKH8=; h=From:To:Cc:Subject:Date:Reply-To; b=PWjHchtreA6KrXBuQ2BehS/5TfhT1sPS6toO1ya2h+vC2vL3YeVyH1oT4uAXwDz7M 7SzbjS+H/DQtfH42u/egyRA6TlHiji5RZkBhjwPLGTOKbimiMb64yaIu74CfS5U2fz kTxL5lo0sVhrC1yw4OzPlULcwxL5hXn2y6+jjNXs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99771: wifi: mac80211: reload TDLS header pointer after skb_linearize() Date: Fri, 20 Nov 2026 06:52:37 +0100 Message-ID: <2026112028-CVE-2026-99771-a25b@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3438; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=7yZiFF/tmHCrVYMIFfgnYiIrOZeB9gxEZuY0IHa2/J4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/7y9xmP3/ngxb+C7Z2bI3mjQkGoQD3wTcdJxXuJ2T7 6LyW7nzHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRbfIM84zFtl7kuniRs+l4 qnt+yHtf06WFmxgW3NiSYLrezlvh+fK1n6ue/9vsKrDXHwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-99771 to this issue. Affected and fixed versions =========================== Issue introduced in 3.19 with commit 8a4d32f30d11d6d8cc29594c7a36b9be6b0edbb5 and fixed in 6.12.118 with commit 25af938d604fa729e0d5292b4f56bc81aa8d0d25 Issue introduced in 3.19 with commit 8a4d32f30d11d6d8cc29594c7a36b9be6b0edbb5 and fixed in 6.18.64 with commit 16e23c766ecd9f378e09d29ac2ff59c88a656da5 Issue introduced in 3.19 with commit 8a4d32f30d11d6d8cc29594c7a36b9be6b0edbb5 and fixed in 7.3.5 with commit 5251ad1a6caa35e6d8378aadb909d3f0a675f321 Issue introduced in 3.19 with commit 8a4d32f30d11d6d8cc29594c7a36b9be6b0edbb5 and fixed in 7.4-rc2 with commit 35c5a5ea4418571997a7e7af3e7e8922b136f6e6 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-99771 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: net/mac80211/tdls.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/25af938d604fa729e0d5292b4f56bc81aa8d0d25 https://git.kernel.org/stable/c/16e23c766ecd9f378e09d29ac2ff59c88a656da5 https://git.kernel.org/stable/c/5251ad1a6caa35e6d8378aadb909d3f0a675f321 https://git.kernel.org/stable/c/35c5a5ea4418571997a7e7af3e7e8922b136f6e6