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 8778923C8AE for ; Fri, 24 Apr 2026 14:47:44 +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=1777042064; cv=none; b=rHEeSHOZucLi5B1h/mG54KN4f/LHmJoAhUzwbh23kOpRO+bUc8jzf8X7cFq4VbtDhHAkUjzVRTC9i8KWsdvN9JhlTGSyvRzjgqye51DGF8fFcURCGPRcTNNHfxQcS3yvypAtYUoqGYZPgf2eI6X8YakZl7clXoGxtdHo/Fwpybg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777042064; c=relaxed/simple; bh=8+gcQIfh2ZAcMm+oghnKpHshKNNQWnoR1KWyjbl+VY8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YntnT5/UKcOxutMQAiDsI3EkjnOR0sVb/QZuqZhGZZ8tWjRdrVts3+1t1AIx13QZ7syI8ww6EV+mcnLQDhNUmkbbkTOF1Y8OJlYpvjUCxSbMDE9oW4V/eAd1gkDcd1je+eS6HIjue+X/cg1+cQyLkfysNzIFwTMPksBP+5gCWuc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2disakn2; 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="2disakn2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1D67EC19425; Fri, 24 Apr 2026 14:47:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777042064; bh=8+gcQIfh2ZAcMm+oghnKpHshKNNQWnoR1KWyjbl+VY8=; h=From:To:Cc:Subject:Date:Reply-To:From; b=2disakn21cR/tn0kO5l/EQevE2ZaIWl5+SwCPBbEy/repietmGzvwSJCCl7Ye9MJw InkNYCTk292ccswb2ZAqSjdz4kSw/ybLFNPRiFg2zQWYNgAyMMFeNXJRUHN6iZ+g/J XjYVq1BTjFrnjPLvaINtPEIiUwGAiqMG/0Lmb9cY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31645: net: lan966x: fix page pool leak in error paths Date: Fri, 24 Apr 2026 16:46:07 +0200 Message-ID: <2026042458-CVE-2026-31645-812d@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=2648; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=sU3jNDHNJHw8UDVugim+BYTNd8OxeCTBRLy+ReOw7Ik=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmvm9T6FfmnzRcquX7tpMDKoqyZzD+nyVa4yPxkuj7x3 4pTRpO7OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiexQZ5nCn/blUuGZi3Z1N DDczZrzQPf4u9SjDgnNmz7wm1sy7HLPwLP81FZGfUamvFwMA 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 leak in error paths lan966x_fdma_rx_alloc() creates a page pool but does not destroy it if the subsequent fdma_alloc_coherent() call fails, leaking the pool. Similarly, lan966x_fdma_init() frees the coherent DMA memory when lan966x_fdma_tx_alloc() fails but does not destroy the page pool that was successfully created by lan966x_fdma_rx_alloc(), leaking it. Add the missing page_pool_destroy() calls in both error paths. The Linux kernel CVE team has assigned CVE-2026-31645 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit 11871aba19748b3387e83a2db6360aa7119e9a1a and fixed in 6.12.82 with commit 73e940c4249dc5ec6422d1fae535d192fb125955 Issue introduced in 6.2 with commit 11871aba19748b3387e83a2db6360aa7119e9a1a and fixed in 6.18.23 with commit 22e1ee9f22b5c3bb702bb6d4167d770002a85b2b Issue introduced in 6.2 with commit 11871aba19748b3387e83a2db6360aa7119e9a1a and fixed in 6.19.13 with commit 4941e234cfd67ac911fb259642b453f9f76aac41 Issue introduced in 6.2 with commit 11871aba19748b3387e83a2db6360aa7119e9a1a and fixed in 7.0 with commit 076344a6ad9d1308faaed1402fdcfdda68b604ab 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-31645 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/73e940c4249dc5ec6422d1fae535d192fb125955 https://git.kernel.org/stable/c/22e1ee9f22b5c3bb702bb6d4167d770002a85b2b https://git.kernel.org/stable/c/4941e234cfd67ac911fb259642b453f9f76aac41 https://git.kernel.org/stable/c/076344a6ad9d1308faaed1402fdcfdda68b604ab