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.
Product status
11871aba19748b3387e83a2db6360aa7119e9a1a (git) before 73e940c4249dc5ec6422d1fae535d192fb125955
11871aba19748b3387e83a2db6360aa7119e9a1a (git) before 22e1ee9f22b5c3bb702bb6d4167d770002a85b2b
11871aba19748b3387e83a2db6360aa7119e9a1a (git) before 4941e234cfd67ac911fb259642b453f9f76aac41
11871aba19748b3387e83a2db6360aa7119e9a1a (git) before 076344a6ad9d1308faaed1402fdcfdda68b604ab
6.2
Any version before 6.2
6.12.82 (semver)
6.18.23 (semver)
6.19.13 (semver)
7.0 (original_commit_for_fix)
References
git.kernel.org/...c/73e940c4249dc5ec6422d1fae535d192fb125955
git.kernel.org/...c/22e1ee9f22b5c3bb702bb6d4167d770002a85b2b
git.kernel.org/...c/4941e234cfd67ac911fb259642b453f9f76aac41
git.kernel.org/...c/076344a6ad9d1308faaed1402fdcfdda68b604ab