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=1792758404; b=y6JtWPZzV1Vu4ff15TWnpkdZNFm9XWW91XRUE/Qsb4Kp2FcsKMRI7RJdBfaqgCx9zP0Z 1kCq+eAge3jLXRaJfghKFDr2zwL2UJhccmXTqUda1La9pPo53sHpwM325gDuDYmsuphNM cm5ZtJIrNgxpyCeYO/ye+78jW5YKsmRl9NxMXTIX01GWdZEo4jDi9617S93gIfCoGn4oD EM4sX6KhVpIYlHoqxgolRBn3WDjExCxRikKzx4kR27p/QhTlvntOxBimOpj6Jq71/eF+g jmmSXwXC//rSWy3ORNJMbb8oZZAw0ZPj1nwmq9uClF6x6d4A6lTmwIDDGw8FvJNmIVg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792758404; 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=NvfKVEmJcy+Z3fHWnqzRGLXsM8QlejXh91xg0wiPOJ0=; b=jOB9deAjLNeIH/2/sMOjDlNl94lWgxrYXXHTAslV+HWBA3v6T4HB3mV+ygOk898k1Nph lqDjvhFV1dpwhWNpzTlwhbFupsGcyJ2++YrvpIrOOphyJBcFhB9syNh4tnwagBZglYfBA SIt6tkTYVxvFSzgrevOJ06JX2mklKyGKXqPxe0BG38JwQBEnClWmJY8tBgPq1O7gsSMnv O+9x71+nionuehjdt85j82ViosOOw7gMmz/OEo9o1ZIrjrGuOCs9Str9xApw0JeL1b5yh HYf0e+dvRxxQrs3nbscIUUEp+uiIGH+5iuq0Klve9/6feH2I0l4H7henUpHi59tv/9A== 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=oDDE6z3L; 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 5CFB1606A31A for ; Fri, 23 Oct 2026 12:26:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=oDDE6z3L Received: by smtp.kernel.org (Postfix) with ESMTPSA id 782001F01825; Fri, 23 Oct 2026 12:26:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792758404; bh=NvfKVEmJcy+Z3fHWnqzRGLXsM8QlejXh91xg0wiPOJ0=; h=From:To:Cc:Subject:Date:Reply-To; b=oDDE6z3LNXBFwBOyo5rC1KT1vQjM1cEhKYW8u9RAuHN/j+1x790z49HxO/Iou2VsC 0l/FTtlKiroVLuv838dAWzCO9ytTCUoDzVyR9t5sKueScsI2mCr62WMUbunMJ0tdGC B899JkIrDE1W5G9Q+L++mK5y36veo3T13cBStrFo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98957: wifi: mt76: mt7915: disable rx napi when removing device Date: Fri, 23 Oct 2026 14:19:19 +0200 Message-ID: <2026102308-CVE-2026-98957-6ebd@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=3195; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=42xN3H33jddyH47sVVY1rqlS4hgwOpv8b/xb0b83A98=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3A/ZkL7vUlOEulul32P7Wpte6gvxr22aY5rNaKX1ct VtFN+lPRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExkOwPDgpvWC6UdsmfGbLwU a6FR0loV/zTvJsM8balnmuEhx/w8lBMNoie315w6t/QqAA== 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: mt7915: disable rx napi when removing device Unloading the mt7915e module with a MT7916 triggers multiples WARN in __netif_napi_del_locked() and in page_pool_disable_direct_recycling() because the driver does not disable the napi before destroying it. This is troublesome since on MT7916 it is required to unload the module and reinsert it with a different enable_6ghz parameter to change the frequency. The system generally becomes unstable after reinserting the module. Fix it by disabling rx napi inside mt7915e itself, even through napi rx is enabled in the mt76 generic code. Disabling it in the mt76 generic code was previously attempted and reverted because napi was disabled too late and rx handlers could access freed structures. Note that the tx side is enabled and disabled by the mt76 generic code. It is disabled in mt7915_stop_hardware() since, unlike mt7915_unregister_device(), is it also called in the probe path if an error happens after rx napi is enabled. The Linux kernel CVE team has assigned CVE-2026-98957 to this issue. Affected and fixed versions =========================== Issue introduced in 5.8 with commit e57b7901469fc0b021930b83a8094baaf3d81b09 and fixed in 6.12.113 with commit 0281dac1e213329b053fb02e612de7f1477a52d7 Issue introduced in 5.8 with commit e57b7901469fc0b021930b83a8094baaf3d81b09 and fixed in 6.18.57 with commit 0f9afe238eeb79829f0f92f376ba3a20781caccd Issue introduced in 5.8 with commit e57b7901469fc0b021930b83a8094baaf3d81b09 and fixed in 7.2.11 with commit 7199ee4b47de0b61fa6455a1587c5ab645ebe262 Issue introduced in 5.8 with commit e57b7901469fc0b021930b83a8094baaf3d81b09 and fixed in 7.3 with commit 916c484d29d82f45c281da2786fcd6a1284430ce 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-98957 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/mt7915/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/0281dac1e213329b053fb02e612de7f1477a52d7 https://git.kernel.org/stable/c/0f9afe238eeb79829f0f92f376ba3a20781caccd https://git.kernel.org/stable/c/7199ee4b47de0b61fa6455a1587c5ab645ebe262 https://git.kernel.org/stable/c/916c484d29d82f45c281da2786fcd6a1284430ce