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=1792756915; b=RAangHbkvxoAj8/24vNtFXKwsPLyUpieV/SsQvQxSLiMwAs+WnmoFfzggsVllFiHqKhZ uWLil/wOGz+SpFWJpepP5bosXx35Rkg5iIpeEMfNeH5ULK+3d+0kvVQpX0QvJmdomezwY rjpZvYfpagDh05v4hSOE6W/22rwHBKWcYSCD2B8THtzXsTTJMMbnsMZqhM4UL0n7Onl5S TLlJndWZ+ZvLbeutSKcuRfVbVhuGRZsSK2/7ohij0oeFXOzjZTRI35CM3ir5C3Oik3VzV /YCjfZ5GBRGZ0Pe82VRTejOyv+OsOuIfds93o2Clcb1MUzd82/L11KrhqnmcEtAEVAQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792756915; 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=9czQCCiszV61VCAtkANJARemOoI+fGfTi0RIS008Gu8=; b=U8zlEekApgiHXHp2KZLi3AbYPLx8LSl4ByDIjqXGkRg8g4kFafvQFBqz4GFEhnoxron5 dx345FIFetvYPvbg7nblpQxFTlI3RSvYgLgLclxCqQNHsGxc4ZUofinNEUnRp9fIW2hbV gfhWWQUt9bdFKCMm6wOd1EIgXaOvy6QiXKV8o+YQOnJtXJICizZymh4RbS7zWAUR9KRms ZkFudPy1bTxw7rRiLZRV9nbWgxfBFqLmsUWTTobgm82gv/BHXxqSniFiEcx7w50/vk/un R6RyQZl6iy/cDn2t+3j1Yz0eMtk7WCjDO9QXtQRzUE+2++ZNEEjK2Yx2uy+79EvZ5/Q== 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=iQ35ne2n; 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 BB642606A31B for ; Fri, 23 Oct 2026 12:01:54 +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=iQ35ne2n Received: by smtp.kernel.org (Postfix) with ESMTPSA id CC3941F01825; Fri, 23 Oct 2026 12:01:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792756914; bh=9czQCCiszV61VCAtkANJARemOoI+fGfTi0RIS008Gu8=; h=From:To:Cc:Subject:Date:Reply-To; b=iQ35ne2nawuVi6c7fgO04krjiZOciNRNcJwrhAvx8KFMLOvHL5rTdBqHT709f9fH6 l4OvSJss23MKMV4L1r/SA216bCOKtdI2hJB6T4LYkfUJ7846cK0tqLntIVpAFJXzEh lcerhOP9k5Bbvu/Y1AbyINUg1YrPXjWpaUwHnwcU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98906: net: lan966x: restore RX state on reload failure Date: Fri, 23 Oct 2026 13:54:19 +0200 Message-ID: <2026102313-CVE-2026-98906-0c1a@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=3061; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YZQ0XGnWLIaDZPgN0yQktUZcwGOjENks96qfL/APP1o=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3vZ4+kb6albBLpWbp6mj7mvWf0vadqP6Z0/t140KJD /kJ3Fp8HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARzVaGeUa1VspmkcbbE87t td/h/Tb5msTDWIb5RV/bw6ufvjVwFzU+++XHaaO5J76tBQA= 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: net: lan966x: restore RX state on reload failure lan966x_fdma_reload() backs up rx->page_pool and rx->fdma before reallocating the RX resources for the new MTU. If the allocation fails, the restore path puts these fields back before restarting RX. However, the reload path also updates rx->page_order and rx->max_mtu before calling lan966x_fdma_rx_alloc(). These fields are not restored on failure, so RX can be restarted with the old pages, old FDMA state and old page pool, but with the page geometry from the failed new MTU. This can make the XDP path advertise a frame size derived from the new page_order while the actual RX pages still come from the old allocation. For example, after a failed reload to a jumbo MTU, xdp_init_buff() may be called with a frame size larger than the restored RX pages. lan966x_fdma_rx_alloc_page_pool() also registers the newly allocated page pool with each port's XDP RXQ before fdma_alloc_coherent() is called. If fdma_alloc_coherent() fails, the new page pool is destroyed, but the rollback path does not restore the per-port XDP RXQ mem model registration either. Save and restore rx->page_order and rx->max_mtu, and restore the old page pool registration for each port's XDP RXQ before RX is started again. This keeps the restored RX state consistent after a failed reload. The Linux kernel CVE team has assigned CVE-2026-98906 to this issue. Affected and fixed versions =========================== Fixed in 6.12.111 with commit 3883898ddc26308497dbba8068951ab5eddbd111 Fixed in 6.18.53 with commit b5a6462f4646687c922931133a2478da94addc87 Fixed in 7.2 with commit aa97f11a76e545ed73cc455bcdd1ece4b480b507 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-98906 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/ethernet/microchip/lan966x/lan966x_fdma.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/3883898ddc26308497dbba8068951ab5eddbd111 https://git.kernel.org/stable/c/b5a6462f4646687c922931133a2478da94addc87 https://git.kernel.org/stable/c/aa97f11a76e545ed73cc455bcdd1ece4b480b507