---
id: CVE-2026-31658
title: |-
  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 freei…
summary: |-
  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 freei…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-401
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 3.15.1, < 5.10.253'
  - 'linux_kernel >= 5.11, < 5.15.203'
  - 'linux_kernel >= 5.16, < 6.1.169'
  - 'linux_kernel >= 6.2, < 6.6.135'
  - 'linux_kernel >= 6.7, < 6.12.82'
  - 'linux_kernel >= 6.13, < 6.18.23'
  - 'linux_kernel >= 6.19, < 6.19.13'
  - linux_kernel = 3.15
  - linux_kernel = 7.0
patched:
  - linux_kernel 6.19.13
published: '2026-04-24'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T02:19:15.150'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-31658'
references:
  - url: 'https://git.kernel.org/stable/c/2eb9d67704ca8f1101f7435b85f113ede471f9f2'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/3aca300e88afe56afb000cdc4c65383014fb17f9'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/60f462cd2716d86bd2174f9d5e035c9278f30480'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6dede3967619b5944003227a5d09fdc21ed57d10'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9f3ec44aeb58501d11834048d5d0dbaeacb6d4e7'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ae2cd46f57f422b51aedd406ff5d75cbff401d5d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/cb1d318702fdf643061350d164250198df4116f2'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d5ec406f0543bd6cdfd563b08015fdec8c4d5712'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-019113.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-082556.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-457936.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.0012
epssPercentile: 0.01802
ingestedAt: '2026-09-08T15:33:26.990Z'
---

## Overview

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

- `linux_kernel >= 3.15.1, < 5.10.253`
- `linux_kernel >= 5.11, < 5.15.203`
- `linux_kernel >= 5.16, < 6.1.169`
- `linux_kernel >= 6.2, < 6.6.135`
- `linux_kernel >= 6.7, < 6.12.82`
- `linux_kernel >= 6.13, < 6.18.23`
- `linux_kernel >= 6.19, < 6.19.13`
- `linux_kernel = 3.15`
- `linux_kernel = 7.0`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.19.13`
