net: lan966x: fix page pool leak in error paths
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel a229a4dc87302fa131f3394b09b0efd8c255a5ac, Kernel 6.19.13, Kernel 6.12.82 and 6 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=11871aba19748b3387e83a2db6360aa7119e9a1a <a229a4dc87302fa131f3394b09b0efd8c255a5ac, >=6.19 <6.19.13, >=6.2.1 <6.12.82, =6.2, =7.0, >=11871aba19748b3387e83a2db6360aa7119e9a1a <22e1ee9f22b5c3bb702bb6d4167d770002a85b2b, >=11871aba19748b3387e83a2db6360aa7119e9a1a <4941e234cfd67ac911fb259642b453f9f76aac41, >=11871aba19748b3387e83a2db6360aa7119e9a1a <73e940c4249dc5ec6422d1fae535d192fb125955, >=6.13 <6.18.23, >=11871aba19748b3387e83a2db6360aa7119e9a1a <076344a6ad9d1308faaed1402fdcfdda68b604ab | a229a4dc87302fa131f3394b09b0efd8c255a5ac, 6.19.13, 6.12.82, 22e1ee9f22b5c3bb702bb6d4167d770002a85b2b, 4941e234cfd67ac911fb259642b453f9f76aac41, 73e940c4249dc5ec6422d1fae535d192fb125955, 6.18.23, 076344a6ad9d1308faaed1402fdcfdda68b604ab |
| linux-kernel: Kernel | >=6.13.0 <6.18.23, >=6.19.0 <6.19.13, >=6.2.0 <6.6.160, >=6.7.0 <6.12.82 | 6.18.23, 6.19.13, 6.6.160, 6.12.82 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket