What’s Vulnerable › Vulnerabilities

CVE-2026-31645: net: lan966x: fix page pool leak in error paths

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

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

Get alerted when CVE-2026-31645 or the next vulnerability affects your stack