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=1796048075; b=fs2MFyn6uzfh7sReB2m/5AZ2t6yzBOqeA61ND9ZcQ1BcnwWLqLvVQr4rPe4hX3Wx7Xwt ezG5lrxdeHI0oAZ3lXbl0GK5LL5GeWAJTiKaar8xSFFLIY1PZkbkjDyXOFWsIy6VRDtyu A9RcaW6uTFk+vazvroYMVtrb5cjgfLtPbN30JiMDCpkdsxQffL9kqYsfcCIGqa9OKh+mg LzHfuaEzXfaW2DCm2dCYAocrJvUQM0nEwQBEaBeBnwtGzoRglPhL0ZBvN9rT6rk1XtWUZ YR/7b4Idjrcx7zdFKOYp85P0Ii3bsuU3Def8sIAJYNrqyqzz7nYPbUFE/RXM/CBlcug== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796048075; 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=T1gOZas6pPzwSN/bC9c80IqYJw4/RYXcYo7gPjNLf8c=; b=aC8Hjp6XQoPYex8A7Z4XTNj/10Ug1spOij3meMFuN6nQSvPmsf12Cj++VQvAXaRld6eC Ot2H2BxSBQFf/1xIgxj52ZCEJRNA6aC3TWGpyhIUdwE7k8yI9gCaAJGHXT0Z/mf7YxsSR CnubJI22taPmdhNFoRi8HJbOI6cU5P48akEUGZ4pjrhCeye5hy6GpnRlk0d4fGSTGGxao zRpc9iGdG2GRZFtPIipGukaqZ0bPOdJj68yEVekw6h/l0OxFhE4XxxOwUqQ6JgQsfGw0o /QmfQc8WLA69RJfPjlTiX6SuG7PlO6AZdALHBY4mJfcLfYp7FgCjDOH5Xx/bRID426w== 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=NZgKzjrc; 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 0AF5D606A32A for ; Mon, 30 Nov 2026 14:14:35 +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=NZgKzjrc Received: by smtp.kernel.org (Postfix) with ESMTPSA id D836C1F00896; Mon, 30 Nov 2026 14:14:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796048074; bh=T1gOZas6pPzwSN/bC9c80IqYJw4/RYXcYo7gPjNLf8c=; h=From:To:Cc:Subject:Date:Reply-To; b=NZgKzjrcCrXsXzj+kdKF6ChW89Nzr0nf+aKBeRRm/xFiXUER5og80xMz+yj7UTZKP zLvIgKU1+huEzvrwEPkF5Ov3F5VTm4WCV+H0QV/RMHFHDJgfbmsuOfHWK3R7OOD6mU 1AXQ9eBOGpFAWF3C8sWcJnT/xSJjVSsyvNyD5+GM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-139485: wifi: mt76: mt7996: disable the RX NAPIs before the DMA cleanup Date: Mon, 30 Nov 2026 14:38:14 +0100 Message-ID: <2026113044-CVE-2026-139485-e18e@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=2909; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2+lBK0obUv4MJr/W9u7vHreD8o3Oex79gOe394y/tIM=; b=owGbwMvMwCRo6H6F97bub03G02pJDNm8VX8mVnBxcDapR3oftb1tEBySs8QpcPLb5Uy3l5smy Ec9r27tiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIk0WDIsOCdmcV/gvXf2d6WE y9GHJwu9fmF8iWHBkTdX9M+0m23KvbxOy2Cudu7E10ffAQA= 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: disable the RX NAPIs before the DMA cleanup mt7996_unregister_device() leaves the RX NAPIs enabled, so mt76_dma_cleanup() deletes enabled NAPIs and destroys page pools that are still bound to them. On rmmod, the kernel warns in __netif_napi_del_locked() for every RX queue and in page_pool_disable_direct_recycling(). Until the IRQ tasklet is disabled, an interrupt can still schedule a NAPI that was already deleted. Disable every RX NAPI that was added before the MCU exit and the DMA cleanup. This includes the host RRO queues: mt76_dma_init() skips them, but mt7996_dma_rro_start() adds their NAPIs later when WED is not active, so a check for mt76_queue_is_wed_rro() would miss them. The Linux kernel CVE team has assigned CVE-2026-139485 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit 98686cd21624c75a043e96812beadddf4f6f48e5 and fixed in 6.12.119 with commit 5a1f0b14b5848fdb98f5247e136b856949a19ca9 Issue introduced in 6.2 with commit 98686cd21624c75a043e96812beadddf4f6f48e5 and fixed in 6.18.65 with commit 2444e9827eeda37d9adbe169478fcbf131ab12b9 Issue introduced in 6.2 with commit 98686cd21624c75a043e96812beadddf4f6f48e5 and fixed in 7.3.6 with commit f70275b7e45de9cf21e4de87e8405057ed6bcca9 Issue introduced in 6.2 with commit 98686cd21624c75a043e96812beadddf4f6f48e5 and fixed in 7.4-rc1 with commit 7a5a3843178c61d99d939b231318692d08fff79b 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-139485 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/init.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/5a1f0b14b5848fdb98f5247e136b856949a19ca9 https://git.kernel.org/stable/c/2444e9827eeda37d9adbe169478fcbf131ab12b9 https://git.kernel.org/stable/c/f70275b7e45de9cf21e4de87e8405057ed6bcca9 https://git.kernel.org/stable/c/7a5a3843178c61d99d939b231318692d08fff79b