Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-31658

net: altera-tse: fix skb leak on DMA mapping error in tse_start_xmit()

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • bbd2190ce96d8fce031f0526c1f970b68adc9d1a to < ae2cd46f57f422b51aedd406ff5d75cbff401d5daffected
  • bbd2190ce96d8fce031f0526c1f970b68adc9d1a to < cb1d318702fdf643061350d164250198df4116f2affected
  • bbd2190ce96d8fce031f0526c1f970b68adc9d1a to < d5ec406f0543bd6cdfd563b08015fdec8c4d5712affected
  • bbd2190ce96d8fce031f0526c1f970b68adc9d1a to < 2eb9d67704ca8f1101f7435b85f113ede471f9f2affected
  • bbd2190ce96d8fce031f0526c1f970b68adc9d1a to < 9f3ec44aeb58501d11834048d5d0dbaeacb6d4e7affected
  • bbd2190ce96d8fce031f0526c1f970b68adc9d1a to < 60f462cd2716d86bd2174f9d5e035c9278f30480affected
  • bbd2190ce96d8fce031f0526c1f970b68adc9d1a to < 3aca300e88afe56afb000cdc4c65383014fb17f9affected
  • bbd2190ce96d8fce031f0526c1f970b68adc9d1a to < 6dede3967619b5944003227a5d09fdc21ed57d10affected

Linux Linux

Default version status: affected

  • 3.15affected
  • 0 to < 3.15unaffected
  • 5.10.253 to ≤ 5.10.*unaffected
  • 5.15.203 to ≤ 5.15.*unaffected
  • 6.1.169 to ≤ 6.1.*unaffected
  • 6.6.135 to ≤ 6.6.*unaffected
  • 6.12.82 to ≤ 6.12.*unaffected
  • 6.18.23 to ≤ 6.18.*unaffected
  • 6.19.13 to ≤ 6.19.*unaffected
  • 7.0 to ≤ *unaffected

References