← Database

CVE-2026-31658

MEDIUM CVSS: 5.5 Published: 2026-04-24 Modified: 2026-07-14

Description

In the Linux kernel, the following vulnerability has been resolved: net: altera-tse: fix skb leak on DMA mapping error in tse_start_xmit() When dma_map_single() fails in tse_start_xmit(), the function returns NETDEV_TX_OK without freeing the skb. Since NETDEV_TX_OK tells the stack the packet was consumed, the skb is never freed, leaking memory on every DMA mapping failure. Add dev_kfree_skb_any() before returning to properly free the skb.

Affected Platforms

Linux Linux Kernel

Weakness Type

CWE-401

References