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=1795099864; b=LJbh4oDe0VsuhIegzxgQyJRlQAFWlfhhsg6Zv6Lv/whAYrQI7DGN784UzPaQzbz0oSs3 JvPLANM+8bjrrGxYUAoj0FfojWL81m7OjIxadPv61dvxUQsSteWZPk4q11xaFqMR9sT3a f8HDmELPCeqYFExmstcu8aiReFPKhAd99yUJ9yod3JnbqOa/shn4arhca0HJYR9QR2zlG HPCGFx8nKouqvgD95dLP5//X/328DwDAoOpkmaiAw00+7dI43qok5aon0k1rpcGqTPH/k yPQ/IjRbrJGWZPqnb20FYqOrcfwuGaiiNnJN9c+xUDE6+dU8GGQ2Qu0ycm2UQUNOuzg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795099864; 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=JbBD6t/vqWUL3vKzkSEO6hQ7QRAevSESnno5hUpJ+vA=; b=BtNtfR2lE6xatlBkfPIIQEo5qeHVKhAGbLK0xHhO4DhShVKHvlB1IKicc633IIwX5aW0 08dHtxerbaHui3XqjBmVu/oF8CUh7FLdNMJ2HAM3RWBDqRoNPK1IZ1kcKQw2DI67IwVeL V6UnTU9+w+lY000H8kbIv6oCAiDjURSpW3l8GcD7krZa6fL8JYjjd2O4PaNgEoYqZ8FDN X0GHkMxgCSGqQiSO5sqmlqKt07JgiAoVKP0JN+dk1zQjhur5LNX3mp4mDaVM4jC0M/7LY UrYrGjHReQJpaBQks2ORdWtIVb4JA2YnoIP9sShxc0n6ZUC2lxj0b5Kr1/3dgRVP2Xg== 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=tI6jKYqu; 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 A8F54606BA90 for ; Thu, 19 Nov 2026 14:51:04 +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=tI6jKYqu Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8753B1F000C7; Thu, 19 Nov 2026 14:51:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795099864; bh=JbBD6t/vqWUL3vKzkSEO6hQ7QRAevSESnno5hUpJ+vA=; h=From:To:Cc:Subject:Date:Reply-To; b=tI6jKYqubJv4r2my7TYuL7z0LrYfmmnpPF0gUH+eHDT3zRerbXlGRqLfQmwDWnd06 0hkYrLDY0uUeo7oxa5cDI3S1Y8VOKVFyftNra7KbOy/l9GTe2QWv7hsHeBokE5TBum odZXLPihVwDGIkjjiUvkI1sdIXWmsGW7s53av7+c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99451: wifi: mt76: mt7996: unlink TWT flow if the MCU rejects the agreement Date: Thu, 19 Nov 2026 15:25:49 +0100 Message-ID: <2026111907-CVE-2026-99451-8a7c@gregkh> X-Mailer: git-send-email 2.56.0 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=3136; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=giyeP3Qn8DirGO656XW7TtfS+4gs4ohKSfSJpyjEe0c=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2dp/rA0QsLc8xqswq7PLQvuykoFJTb2uwl6HvbNzV mesbZrbEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABOJmMuwYNU91WpZRZ3wuVmW Pb8vF/IsYFFeDxTVSHm9+mZoQ5nT2dBvP/IkdP33ZwIA 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: mt76: mt7996: unlink TWT flow if the MCU rejects the agreement mt7996_mac_add_twt_setup() links a new flow into dev->twt_list before asking the MCU to add the agreement, but exits without unlinking the flow if the request fails. The flow-ID and table masks are only committed after MCU success, so the still-linked flow is invisible to the mask-gated teardown paths. If the station retries the setup, the same slot is cleared and its embedded list node reinitialized while it is still linked, corrupting dev->twt_list. If the station disassociates instead, teardown skips the flow and station storage can be freed while the node remains linked. A later scheduling or debugfs twt_stats walk can then dereference the freed flow, resulting in a use-after-free. Unlink the flow when the MCU rejects the agreement. This restores the list to its pre-request state while leaving the unchanged mask and agreement accounting untouched. The Linux kernel CVE team has assigned CVE-2026-99451 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit 98686cd21624c75a043e96812beadddf4f6f48e5 and fixed in 6.12.117 with commit dd0978ebf56ee9dda9fc0ff36db91511c01fa716 Issue introduced in 6.2 with commit 98686cd21624c75a043e96812beadddf4f6f48e5 and fixed in 6.18.61 with commit 26dc15da08f15e8320514d700d6a4c449d1bb047 Issue introduced in 6.2 with commit 98686cd21624c75a043e96812beadddf4f6f48e5 and fixed in 7.3.2 with commit 40e3d300cc7e27b12e3307099247d6c5cc1fa009 Issue introduced in 6.2 with commit 98686cd21624c75a043e96812beadddf4f6f48e5 and fixed in 7.4-rc1 with commit 022f5f8b7a0580da50fcbc34da853d03d4321fe2 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-99451 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: drivers/net/wireless/mediatek/mt76/mt7996/mac.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/dd0978ebf56ee9dda9fc0ff36db91511c01fa716 https://git.kernel.org/stable/c/26dc15da08f15e8320514d700d6a4c449d1bb047 https://git.kernel.org/stable/c/40e3d300cc7e27b12e3307099247d6c5cc1fa009 https://git.kernel.org/stable/c/022f5f8b7a0580da50fcbc34da853d03d4321fe2