What’s Vulnerable › Vulnerabilities
CVE-2026-31645: net: lan966x: fix page pool leak in error paths
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-24 · updated 2026-10-21
- Weakness: CWE-401
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.
Affected products
- Linux kernel: from 6.2.1 before 6.12.82; from 6.13 before 6.18.23; from 6.19 before 6.19.13; 6.2, 7.0-rc1, 7.0-rc2, 7.0-rc3, 7.0-rc4, 7.0-rc5 (+2) — fixed in 6.12.82, 6.18.23, 6.19.13
How to fix
Upgrade to a fixed version: Linux kernel 6.12.82, 6.18.23, 6.19.13. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/076344a6ad9d1308faaed1402fdcfdda68b604ab
- https://git.kernel.org/stable/c/22e1ee9f22b5c3bb702bb6d4167d770002a85b2b
- https://git.kernel.org/stable/c/4941e234cfd67ac911fb259642b453f9f76aac41
- https://git.kernel.org/stable/c/73e940c4249dc5ec6422d1fae535d192fb125955
- https://git.kernel.org/stable/c/a229a4dc87302fa131f3394b09b0efd8c255a5ac
Get alerted when CVE-2026-31645 or the next vulnerability affects your stack