CVE-2026-31645
JSON

5.5medium

net: lan966x: fix page pool leak in error paths

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.16% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 11871aba19748b3387e83a2db6360aa7119e9a1a before a229a4dc87302fa131f3394b09b0efd8c255a5ac, from 11871aba19748b3387e83a2db6360aa7119e9a1a before 73e940c4249dc5ec6422d1fae535d192fb125955, from 11871aba19748b3387e83a2db6360aa7119e9a1a before 22e1ee9f22b5c3bb702bb6d4167d770002a85b2b, from 11871aba19748b3387e83a2db6360aa7119e9a1a before 4941e234cfd67ac911fb259642b453f9f76aac41, from 11871aba19748b3387e83a2db6360aa7119e9a1a before 076344a6ad9d1308faaed1402fdcfdda68b604ab, 6.2
Not affected: before 6.2, from 6.6.160 up to 6.6.*, from 6.12.82 up to 6.12.*, from 6.18.23 up to 6.18.*, from 6.19.13 up to 6.19.*, from 7.0 up to *
CVE List
linux linux_kernelfrom 6.2.1 before 6.12.82, from 6.13 before 6.18.23, from 6.19 before 6.19.13, 6.2, 7.0NVD

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net: lan966x: corregir fuga de pool de páginas en rutas de error lan966x_fdma_rx_alloc() crea un pool de páginas pero no lo destruye si la llamada subsiguiente a fdma_alloc_coherent() falla, fugando el pool. De manera similar, lan966x_fdma_init() libera la memoria DMA coherente cuando lan966x_fdma_tx_alloc() falla pero no destruye el pool de páginas que fue creado exitosamente por lan966x_fdma_rx_alloc(), fugándolo. Añadir las llamadas faltantes a page_pool_destroy() en ambas rutas de error.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31645 changed 2026-10-21CVE Terms of Use
NVDCVE-2026-31645 changed 2026-11-11Public domain