CVE-2023-54231
Description
In the Linux kernel, the following vulnerability has been resolved:
net: libwx: fix memory leak in wx_setup_rx_resources
When wx_alloc_page_pool() failed in wx_setup_rx_resources(), it doesn't release DMA buffer. Add dma_free_coherent() in the error path to release the DMA buffer.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A memory leak in the Linux kernel's wx_setup_rx_resources() occurs when page pool allocation fails, leaving DMA buffers unreleased.
Vulnerability
Description
In the Linux kernel's net/libwx driver, the function wx_setup_rx_resources() allocates DMA buffers for RX rings. If the subsequent call to wx_alloc_page_pool() fails, the previously allocated DMA buffer is not freed, resulting in a memory leak [1].
Exploitation
The vulnerability is triggered during RX resource setup when memory allocation for the page pool fails. An attacker would need to cause memory pressure or otherwise trigger the error path, potentially leading to resource exhaustion. No special privileges are required beyond the ability to trigger the driver's initialization.
Impact
The memory leak can lead to depletion of DMA memory, potentially causing system instability or denial of service. The fix adds a dma_free_coherent() call in the error path to release the buffer.
Mitigation
The fix has been applied in the Linux kernel stable tree. Users should update to a patched kernel version to prevent the leak.
AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2Patches
22371e1ecd445e315e7b83a22Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
2News mentions
0No linked articles in our index yet.