Memory Leak Vulnerability in Altera TSE Driver for Linux Kernel
CVE-2026-31658
What is CVE-2026-31658?
A memory leak vulnerability exists in the Altera TSE driver for the Linux kernel due to improper handling of DMA mapping errors. Specifically, when the function tse_start_xmit() encounters a failure with dma_map_single(), it incorrectly returns NETDEV_TX_OK, signaling that the packet has been processed while leaving the socket buffer (skb) unfreed. This oversight results in memory not being reclaimed during every DMA mapping failure, leading to potential memory exhaustion in the system. The vulnerability has been addressed by implementing a proper skb deallocation before the function returns, thus ensuring memory integrity and stability.
Affected Version(s)
Linux bbd2190ce96d8fce031f0526c1f970b68adc9d1a
Linux bbd2190ce96d8fce031f0526c1f970b68adc9d1a
Linux bbd2190ce96d8fce031f0526c1f970b68adc9d1a