CVE-2026-31737
Awaiting Analysis Awaiting Analysis - Queue
Memory Leak in Linux Kernel ftgmac100 Driver

Publication date: 2026-05-01

Last updated on: 2026-05-01

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: net: ftgmac100: fix ring allocation unwind on open failure ftgmac100_alloc_rings() allocates rx_skbs, tx_skbs, rxdes, txdes, and rx_scratch in stages. On intermediate failures it returned -ENOMEM directly, leaking resources allocated earlier in the function. Rework the failure path to use staged local unwind labels and free allocated resources in reverse order before returning -ENOMEM. This matches common netdev allocation cleanup style.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-01
Last Modified
2026-05-01
Generated
2026-05-07
AI Q&A
2026-05-01
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 3 associated CPEs
Vendor Product Version / Range
linux kernel *
linux_kernel linux_kernel *
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability exists in the Linux kernel's ftgmac100 network driver. The function ftgmac100_alloc_rings() allocates several resources in stages, including rx_skbs, tx_skbs, rxdes, txdes, and rx_scratch. If an intermediate allocation fails, the function returned an error (-ENOMEM) immediately without freeing the resources allocated earlier, causing a resource leak.

The fix involves reworking the failure path to properly free allocated resources in reverse order before returning the error, preventing resource leaks and aligning with common network device allocation cleanup practices.


How can this vulnerability impact me? :

This vulnerability can lead to resource leaks in the Linux kernel's network driver. Resource leaks may cause increased memory usage and potentially degrade system performance or stability over time if the leaked resources accumulate.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart