CVE-2026-31658

Source
https://cve.org/CVERecord?id=CVE-2026-31658
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31658.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-31658
Downstream
Related
Published
2026-04-24T14:45:09.566Z
Modified
2026-06-18T03:57:05.069271567Z
Summary
net: altera-tse: fix skb leak on DMA mapping error in tse_start_xmit()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

When dmamapsingle() fails in tsestartxmit(), the function returns NETDEVTXOK without freeing the skb. Since NETDEVTXOK tells the stack the packet was consumed, the skb is never freed, leaking memory on every DMA mapping failure.

Add devkfreeskb_any() before returning to properly free the skb.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31658.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bbd2190ce96d8fce031f0526c1f970b68adc9d1a
Fixed
ae2cd46f57f422b51aedd406ff5d75cbff401d5d
Fixed
cb1d318702fdf643061350d164250198df4116f2
Fixed
d5ec406f0543bd6cdfd563b08015fdec8c4d5712
Fixed
2eb9d67704ca8f1101f7435b85f113ede471f9f2
Fixed
9f3ec44aeb58501d11834048d5d0dbaeacb6d4e7
Fixed
60f462cd2716d86bd2174f9d5e035c9278f30480
Fixed
3aca300e88afe56afb000cdc4c65383014fb17f9
Fixed
6dede3967619b5944003227a5d09fdc21ed57d10

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31658.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.15.0
Fixed
5.10.253
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.203
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.169
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.135
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.82
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.23
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.13

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31658.json"