Linux Kernel Altera TSE Driver SKB Memory Leak Vulnerability

Vulnerability

A memory leak vulnerability has been identified in the Linux kernel's Altera TSE Ethernet driver. This issue arises in the 'tse_start_xmit()' function when 'dma_map_single()' fails. The function returns 'NETDEV_TX_OK', indicating that the packet was successfully processed, but fails to free the associated socket buffer (SKB). As a result, the SKB is never released, causing a memory leak with each DMA mapping failure. The vulnerability affects the Linux kernel stable tree.

Impact

The vulnerability leads to a memory leak, where the socket buffer is not freed after a DMA mapping error, causing increased memory usage over time.

Reproduction

The vulnerability can be reproduced by triggering a DMA mapping error in the 'tse_start_xmit()' function of the Altera TSE Ethernet driver. This can be done by simulating a failure in the 'dma_map_single()' function, which will cause the 'tse_start_xmit()' function to return 'NETDEV_TX_OK' without freeing the SKB, thus creating a memory leak.

Remediation

The vulnerability has been addressed by modifying the 'tse_start_xmit()' function to include a call to 'dev_kfree_skb_any()' before returning. This change ensures that the SKB is properly freed in the event of a DMA mapping error.

Added: Apr 24, 2026, 3:58 PM
Updated: Apr 24, 2026, 3:58 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
3.9
remediation
0.0
relevance
6.6
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.