Memory Leak in Linux Kernel WiFi Module Affecting rtl8180
CVE-2025-68759
What is CVE-2025-68759?
A vulnerability has been identified in the WiFi module of the Linux kernel, specifically within the rtl8180 component. The issue arises from a failure to free memory allocated for skb packets and DMA allocations in the rtl8180_init_rx_ring() function during a loop. In instances where memory allocation fails, previously successful allocations remain unfreed, leading to potential memory leaks. Modifications have been made to ensure that upon memory allocation failure, the code will now jump to the error handling section, invoking rtl8180_free_rx_ring() to properly release memory resources, thus preventing leaks and avoiding double free errors.
Affected Version(s)
Linux f653211197f3841f383fa9757ef8ce182c6cf627
Linux f653211197f3841f383fa9757ef8ce182c6cf627
Linux f653211197f3841f383fa9757ef8ce182c6cf627