Memory Leak in Linux Kernel's TXGBE Driver
CVE-2025-37872
Summary
In the Linux kernel, a memory leak occurs in the TXGBE driver during the initialization path. When the txgbe_sw_init() function is called, it allocates memory for wx->rss_key within wx_init_rss_key(). However, if an error arises during the invocation of txgbe_probe(), this allocated memory is not properly released, leading to memory leaks. The updated implementation ensures that both the rss_key and wx->mac_table are deallocated appropriately during the error handling phase, preventing conditions that could further lead to double free issues when mac_table allocation fails.
Affected Version(s)
Linux 937d46ecc5f941b26270bdf7ce37495f12b25955 < 635863d93deb8e352d63a8eba852efeaf1ac3539
Linux 937d46ecc5f941b26270bdf7ce37495f12b25955 < 837197a722919f5b0eeb967fe7cb0cc1e83173b9
Linux 937d46ecc5f941b26270bdf7ce37495f12b25955
References
Timeline
Vulnerability published
Vulnerability Reserved