CVE-2026-31645 Details
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.
A vulnerability exists in the Linux kernel's LAN966X Ethernet driver, where a page pool is created but not properly destroyed in the event of an error. This issue arises in the 'lan966x_fdma_rx_alloc()' function, which fails to release the page pool if the 'fdma_alloc_coherent()' call does not succeed, leading to a memory leak. Similarly, the 'lan966x_fdma_init()' function correctly frees coherent DMA memory when 'lan966x_fdma_tx_alloc()' fails, but it neglects to destroy the page pool created by the receive allocation function, causing another leak. The vulnerability affects several versions of the Linux kernel.
The vulnerability has been addressed by adding the missing 'page_pool_destroy()' calls in both error paths of the affected functions. Users should upgrade to the latest version of the Linux kernel where this fix has been applied.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/076344a6ad9d1308faaed1402fdcfdda68b604ab | kernel.org | Patch |
| https://git.kernel.org/stable/c/22e1ee9f22b5c3bb702bb6d4167d770002a85b2b | kernel.org | Patch |
| https://git.kernel.org/stable/c/4941e234cfd67ac911fb259642b453f9f76aac41 | kernel.org | Patch |
| https://git.kernel.org/stable/c/73e940c4249dc5ec6422d1fae535d192fb125955 | kernel.org | Patch |
| https://git.kernel.org/stable/c/a229a4dc87302fa131f3394b09b0efd8c255a5ac | kernel.org |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.2.1, < 6.12.82 >= 6.13, < 6.18.23 >= 6.19, < 6.19.13 6.2 - 7.0 rc1 7.0 rc2 7.0 rc3 7.0 rc4 7.0 rc5 7.0 rc6 7.0 rc7 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 11, 2026 | CVE Translated | [email protected] |
| Oct 21, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Apr 27, 2026 | Initial Analysis | [email protected] |
| Apr 24, 2026 | New CVE Received | kernel.org |