Bug 2461535 (CVE-2026-31658) - CVE-2026-31658 kernel: net: altera-tse: fix skb leak on DMA mapping error in tse_start_xmit()
Summary: CVE-2026-31658 kernel: net: altera-tse: fix skb leak on DMA mapping error in ...
Keywords:
Status: NEW
Alias: CVE-2026-31658
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-24 15:07 UTC by OSIDB Bzimport
Modified: 2026-04-24 22:14 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-04-24 15:07:09 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.