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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-04-24T14:45:09.566Z
- Modified: 2026-11-11T23:10:00.263Z
- Weaknesses: CWE-401
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from bbd2190ce96d8fce031f0526c1f970b68adc9d1a before ae2cd46f57f422b51aedd406ff5d75cbff401d5d; from bbd2190ce96d8fce031f0526c1f970b68adc9d1a before cb1d318702fdf643061350d164250198df4116f2; from bbd2190ce96d8fce031f0526c1f970b68adc9d1a before d5ec406f0543bd6cdfd563b08015fdec8c4d5712; from bbd2190ce96d8fce031f0526c1f970b68adc9d1a before 2eb9d67704ca8f1101f7435b85f113ede471f9f2; from bbd2190ce96d8fce031f0526c1f970b68adc9d1a before 9f3ec44aeb58501d11834048d5d0dbaeacb6d4e7; from bbd2190ce96d8fce031f0526c1f970b68adc9d1a before 60f462cd2716d86bd2174f9d5e035c9278f30480; from bbd2190ce96d8fce031f0526c1f970b68adc9d1a before 3aca300e88afe56afb000cdc4c65383014fb17f9; from bbd2190ce96d8fce031f0526c1f970b68adc9d1a before 6dede3967619b5944003227a5d09fdc21ed57d10; 3.15 (not affected: before 3.15; from 5.10.253 up to 5.10.*; from 5.15.203 up to 5.15.*; from 6.1.169 up to 6.1.*; from 6.6.135 up to 6.6.*; from 6.12.82 up to 6.12.*; from 6.18.23 up to 6.18.*; from 6.19.13 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 3.15.1 before 5.10.253; from 5.11 before 5.15.203; from 5.16 before 6.1.169; from 6.2 before 6.6.135; from 6.7 before 6.12.82; from 6.13 before 6.18.23; from 6.19 before 6.19.13; 3.15; 7.0

## References

- <https://git.kernel.org/stable/c/ae2cd46f57f422b51aedd406ff5d75cbff401d5d> (patch)
- <https://git.kernel.org/stable/c/cb1d318702fdf643061350d164250198df4116f2> (patch)
- <https://git.kernel.org/stable/c/d5ec406f0543bd6cdfd563b08015fdec8c4d5712> (patch)
- <https://git.kernel.org/stable/c/2eb9d67704ca8f1101f7435b85f113ede471f9f2> (patch)
- <https://git.kernel.org/stable/c/9f3ec44aeb58501d11834048d5d0dbaeacb6d4e7> (patch)
- <https://git.kernel.org/stable/c/60f462cd2716d86bd2174f9d5e035c9278f30480> (patch)
- <https://git.kernel.org/stable/c/3aca300e88afe56afb000cdc4c65383014fb17f9> (patch)
- <https://git.kernel.org/stable/c/6dede3967619b5944003227a5d09fdc21ed57d10> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Sources

- CVE List: [CVE-2026-31658](https://www.cve.org/CVERecord?id=CVE-2026-31658), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2026-31658](https://nvd.nist.gov/vuln/detail/CVE-2026-31658), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31658 · Whole record: https://cve.day/CVE-2026-31658.json · Rebuilt by cve.day 2026-11-25T22:59:19.537Z
