From mboxrd@z Thu Jan 1 00:00:00 1970 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=1796046229; b=ae85e7G166KQET+UbszZjKb+IIw90afWD5/IUcxEflKGwULhNqrlaL7FU42jWhkAR0MG Cv3nh1+4wJv84ZDpfKO0axNX63B/Hj5G6zJzCzi7BI54NDw2CEuDir6oqAcCODL/otUG6 W1Aue+qch1sdCRL5njqsQBNmW98Lqjr1v1suLxa14FA2aZEXIIKuvCv3jIQS4oc3UyT7k FxeQMxWYMRCR+SVs15enagYGYfo5qT1lEushv+DJp+jDVMTY7S0LRAUsrwaDgC1/sv008 9dUfVHUza4jpoK2A3JTLKj0sgmozq5lvJQau4hzlnSds6bUQ6TO1hkL3haYsvPdpkUA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796046229; 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=+TimC6AbCkJjWby0yTBOmvZgtUZQgVMinN2W9Hkw/BE=; b=ka0LIPIHo8eEw6siny4ZBNf/j5uMTQcitdgt1X93g4VMZQtcO9bJgD8zpJY5++AqP+qT mFFohf5UWuZQLVetTzq1cRApP6cxnlCXdLA65zoZ96EsfjSdQZ4ZwnIORFRWnhCBCRJYN aYXLmkpbD50LTvxqxHruuENvvbhJ69wT8DJIZkfq19LkvKTz4zpCAPclYTPzV/TXTm0OL muJZGxckfpp7dcpglCVixcZcN8v9t9KUFIunE2Iy0JZ3CDMjzjoav423csiyBfEPJEpTj mwKO1RfI5wb3Xv4FDbN3Dp5Y0H6NYnEwJ/BtbXNWkqpzR9Orhfogq3v6pTyZVWQVqGQ== 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="u/lfJHLj"; 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 E5FDC606A320 for ; Mon, 30 Nov 2026 13:43:48 +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=u/lfJHLj Received: by smtp.kernel.org (Postfix) with ESMTPSA id E32601F00898; Mon, 30 Nov 2026 13:43:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796046228; bh=+TimC6AbCkJjWby0yTBOmvZgtUZQgVMinN2W9Hkw/BE=; h=From:To:Cc:Subject:Date:Reply-To; b=u/lfJHLjI5TKvZtjBnhHc06dEYuDs73gkwRW6MU1xO6ijVelYwB+drAw2p90FaD+T SzLYCVRz46eGdU21bzxdGhcZYHJAI/rWf2fNJmfry33q+bGy3sZdTZM7M/MWozVHqH HNZRhDkQzibQ3fzYWANCPq+wfr37Qw0YUb+Md2Os= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-138885: wifi: mt76: take rcu_read_lock in the USB/SDIO tx completion path Date: Mon, 30 Nov 2026 14:26:30 +0100 Message-ID: <2026113032-CVE-2026-138885-e136@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=3475; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=w/B9h5oAyFcso5s5ui1NEuKbexzpq2eG1cJq2Vpu8/I=; b=owGbwMvMwCRo6H6F97bub03G02pJDNm8lT4zTu69bMBv0rx9w4PGBnYWx1V+8nlGPpVfLs4Xk 1pmadbeEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPp5GFYsHju7b1VDC1TFFrL vXze/bcq/SucxDC/dm1dKK/ygQq+bv2OezdWHLn+5noIAA== 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: take rcu_read_lock in the USB/SDIO tx completion path The USB and SDIO completion path reads a station pointer that RCU protects, without holding the read lock. Lockdep catches it on the first association: mt76.h:1305 suspicious rcu_dereference_check() usage! no locks held by mt76-usb-status/1254. mt7925_usb_sdio_tx_complete_skb+0x119/0x130 [mt7925_common] mt76_queue_tx_complete+0x27/0x60 [mt76] mt76u_status_worker+0xed/0x1e0 [mt76_usb] mt7925/mac.c:856 suspicious rcu_dereference_check() usage! mt7925_tx_check_aggr.part.0+0xc2/0xe0 [mt7925_common] mt7925_usb_sdio_tx_complete_skb+0xa0/0x130 [mt7925_common] mt7921 does the same, and warns once instead of twice because its aggregation check reads the default link directly. The DMA path makes the same reads but completes from softirq, so it stays quiet. Take the read lock around the lookup and the check. Tested on 7.2-rc5 with lockdep, fresh module load per arm, 4000 packets each and no change to the link: splats before after MT7925 Netgear A9000 2 0 MT7921 Alfa 1 0 mt7921e same kernel 0 0 The Linux kernel CVE team has assigned CVE-2026-138885 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.46 with commit a001c2f6a40c162f59059156b74c3831fb201ea2 and fixed in 6.12.120 with commit fa99f662158801704628e0e4efc825c9b5b77b64 Issue introduced in 6.16 with commit dc66a129adf1f25e944d0b93cd2df2ee0f0bd4d6 and fixed in 6.18.64 with commit 104acda59872786902ef4b40e50b0795bea45551 Issue introduced in 6.16 with commit dc66a129adf1f25e944d0b93cd2df2ee0f0bd4d6 and fixed in 7.3.4 with commit e31af818bf5bc66b2d170a4ed9c28175890c8f7b Issue introduced in 6.16 with commit dc66a129adf1f25e944d0b93cd2df2ee0f0bd4d6 and fixed in 7.4-rc1 with commit a7871a7ae5a8625f0ba0a89454ac734c383dd538 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-138885 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/mt7921/mac.c drivers/net/wireless/mediatek/mt76/mt7925/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/fa99f662158801704628e0e4efc825c9b5b77b64 https://git.kernel.org/stable/c/104acda59872786902ef4b40e50b0795bea45551 https://git.kernel.org/stable/c/e31af818bf5bc66b2d170a4ed9c28175890c8f7b https://git.kernel.org/stable/c/a7871a7ae5a8625f0ba0a89454ac734c383dd538