net: lan966x: fix page pool leak in error paths
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.82, 6.18.23, 6.19.13
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 11871aba19748b3387e83a2db6360aa7119e9a1a · fixed in a229a4dc87302fa131f3394b09b0efd8c255a5ac; From 11871aba19748b3387e83a2db6360aa7119e9a1a · fixed in 73e940c4249dc5ec6422d1fae535d192fb125955; From 11871aba19748b3387e83a2db6360aa7119e9a1a · fixed in 22e1ee9f22b5c3bb702bb6d4167d770002a85b2b; From 11871aba19748b3387e83a2db6360aa7119e9a1a · fixed in 4941e234cfd67ac911fb259642b453f9f76aac41; From 11871aba19748b3387e83a2db6360aa7119e9a1a · fixed in 076344a6ad9d1308faaed1402fdcfdda68b604ab
- Linux Linux
6.2
- KernelLinux
From 6.2.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.82; From 6.13.0 · fixed in 6.18.23; From 6.19.0 · fixed in 6.19.13