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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-04-24T14:44:58.868Z
- Modified: 2026-11-11T23:10:00.263Z
- Weaknesses: CWE-401
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux 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

## References

- <https://git.kernel.org/stable/c/a229a4dc87302fa131f3394b09b0efd8c255a5ac>
- <https://git.kernel.org/stable/c/73e940c4249dc5ec6422d1fae535d192fb125955> (patch)
- <https://git.kernel.org/stable/c/22e1ee9f22b5c3bb702bb6d4167d770002a85b2b> (patch)
- <https://git.kernel.org/stable/c/4941e234cfd67ac911fb259642b453f9f76aac41> (patch)
- <https://git.kernel.org/stable/c/076344a6ad9d1308faaed1402fdcfdda68b604ab> (patch)

## Sources

- CVE List: [CVE-2026-31645](https://www.cve.org/CVERecord?id=CVE-2026-31645), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2026-31645](https://nvd.nist.gov/vuln/detail/CVE-2026-31645), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31645 · Whole record: https://cve.day/CVE-2026-31645.json · Rebuilt by cve.day 2026-11-25T22:59:19.530Z
