CVE-2026-31658: net: altera-tse: fix skb leak on DMA mapping error in tse_start_xmit()
In the Linux kernel, the following vulnerability has been resolved:
net: altera-tse: fix skb leak on DMA mapping error in tsestartxmit()
When dmamapsingle() fails in tsestartxmit(), the function returns NETDEVTXOK without freeing the skb. Since NETDEVTXOK tells the stack the packet was consumed, the skb is never freed, leaking memory on every DMA mapping failure.
Add devkfreeskbany() before returning to properly free the skb.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-31658?
CVE-2026-31658 has a severity rating that indicates a potential impact on system stability due to a memory leak.
How do I fix CVE-2026-31658?
To fix CVE-2026-31658, it is recommended to update your Linux kernel to the version that contains the patch for this vulnerability.
Which versions of the Linux kernel are affected by CVE-2026-31658?
CVE-2026-31658 affects certain versions of the Linux kernel that utilize the altera-tse device driver.
What is the impact of CVE-2026-31658?
The impact of CVE-2026-31658 is that it can lead to a memory leak during DMA mapping errors, potentially affecting system performance.
Is CVE-2026-31658 actively exploited in the wild?
As of now, there is no evidence that CVE-2026-31658 is being actively exploited in the wild.