Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2280E23C8AE for ; Fri, 24 Apr 2026 14:47:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777042067; cv=none; b=stPBtAZjiVwW8uXzccIjFOY7eorT1C2xeCpPsqh8MreNO2keWdGCb1XkEmSGOKImutp4bHRlDnA8FvOvW/Pg4mMIjypBi1wzf9Oc6T9F/6ReO6shs/dl9/MpbyW04aZZN8KIzuCTYrAyFWy+RHy9sujMFOEtjVsyM25JS8Is/tw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777042067; c=relaxed/simple; bh=SrIaVWwqnmNBdBkUkOe2+lyI43pGQbA/+nVZRuN8VLA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qkk7C0d8db7QrIOEGUwCcP4YLx+H8CvDPWV96d4Ol/ZlrEy8tbZNmkMbVDsGhZqhuZP2yjTucVmUUmuv7ScY/t0fw7w1oPRSoLqdixEVTbQDhldUNULPskni2DNh1FjdF9o5I9OW+wM9Iz99uYO4Z4f/4F0QIuxezG9icslFmkc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EtIKWtJ0; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="EtIKWtJ0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ABA50C19425; Fri, 24 Apr 2026 14:47:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777042067; bh=SrIaVWwqnmNBdBkUkOe2+lyI43pGQbA/+nVZRuN8VLA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=EtIKWtJ0il/3KQilWcbPE+vH7oRbTKk6yePO/Gfgfe6oYTx/rAA5umbx5ZqkCsJjN Nrva/90dyXINcb13B4W1VG2A+rhPm5R0JTvljwJK1Bgfk0vs/MTnwVakpwmL5bUvm3 4/c8GMpVdHJ1eBtbWwNY7btaYQwQVYkjwc56WEbw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31646: net: lan966x: fix page_pool error handling in lan966x_fdma_rx_alloc_page_pool() Date: Fri, 24 Apr 2026 16:46:08 +0200 Message-ID: <2026042458-CVE-2026-31646-0187@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2835; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=R+YYt0KPKBSfSZ+OXhTg3lLWb59ueOSo7+cGl6K957c=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmvm9Rndy311okwL1bbsr+mhjXm0+xbDRqv5GMmxV4Se xPm8v1bRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwkRpJhvq/Inq460WNOEYwp bov2BT3RyRSJYpin/2fvaz/PHwdFCgK/hiyeG3mek/UJAA== 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: fix page_pool error handling in lan966x_fdma_rx_alloc_page_pool() page_pool_create() can return an ERR_PTR on failure. The return value is used unconditionally in the loop that follows, passing the error pointer through xdp_rxq_info_reg_mem_model() into page_pool_use_xdp_mem(), which dereferences it, causing a kernel oops. Add an IS_ERR check after page_pool_create() to return early on failure. The Linux kernel CVE team has assigned CVE-2026-31646 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit 11871aba19748b3387e83a2db6360aa7119e9a1a and fixed in 6.6.135 with commit e63265f188ea39dcf5f546770650027528f3bd0f Issue introduced in 6.2 with commit 11871aba19748b3387e83a2db6360aa7119e9a1a and fixed in 6.12.82 with commit 305832c53551cfbe6e5b81ca7ee765e60f4fe8e9 Issue introduced in 6.2 with commit 11871aba19748b3387e83a2db6360aa7119e9a1a and fixed in 6.18.23 with commit b5dcb41ba891b55157006cac79825c78a32b409e Issue introduced in 6.2 with commit 11871aba19748b3387e83a2db6360aa7119e9a1a and fixed in 6.19.13 with commit 7caf90d9ab97951a58d1de85ab7e7d7cca7a4513 Issue introduced in 6.2 with commit 11871aba19748b3387e83a2db6360aa7119e9a1a and fixed in 7.0 with commit 3fd0da4fd8851a7e62d009b7db6c4a05b092bc19 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-31646 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/e63265f188ea39dcf5f546770650027528f3bd0f https://git.kernel.org/stable/c/305832c53551cfbe6e5b81ca7ee765e60f4fe8e9 https://git.kernel.org/stable/c/b5dcb41ba891b55157006cac79825c78a32b409e https://git.kernel.org/stable/c/7caf90d9ab97951a58d1de85ab7e7d7cca7a4513 https://git.kernel.org/stable/c/3fd0da4fd8851a7e62d009b7db6c4a05b092bc19