CVE-2026-31658·Kernel vulnerability
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.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.19.13
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.17% — higher than 6% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 6.19.13
Fixed in: 6.19.13
How to fix this CVE
Update your Linux kernel to version 6.19.13 or later to patch a memory leak in the Altera TSE network driver's DMA mapping error handling. The vulnerability occurs when the driver fails to properly release socket buffers during failed DMA operations, leading to gradual memory exhaustion on systems using this network interface. Apply the kernel update through your distribution's package manager and reboot to activate the fix.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r (verify it is 6.19.13 or later if affected versions were present)
- Verify Altera TSE driver is loaded: lsmod | grep tse (check if the driver module is active on your system)
- Monitor memory usage for gradual increases: free -h and watch -n 5 'free -h' (look for persistent memory consumption growth without corresponding process growth)
- Confirm patch application by checking kernel build info: cat /proc/version (verify the kernel version matches the fixed release)
FAQ
What is CVE-2026-31658?
This vulnerability is a memory leak in the Altera TSE Ethernet driver's transmit path. When DMA mapping fails, the driver incorrectly reports successful packet transmission while failing to release the associated socket buffer, causing memory to accumulate over time on affected systems.
Is CVE-2026-31658 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available. However, it remains a denial-of-service risk through memory exhaustion.
What versions of Kernel are affected by CVE-2026-31658?
Linux kernel versions 6.19 through 6.19.12 are vulnerable. The fix is available in kernel 6.19.13 and later stable releases.
How do I check if my server is vulnerable to CVE-2026-31658?
Run 'uname -r' to check your kernel version—if it shows 6.19.x where x is less than 13, you are vulnerable. Additionally, run 'lsmod | grep tse' to confirm if the Altera TSE driver is in use on your system.
Does Defensia detect CVE-2026-31658?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-31658 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/2eb9d67704ca8f1101f7435b85f113ede471f9f2
- https://git.kernel.org/stable/c/3aca300e88afe56afb000cdc4c65383014fb17f9
- https://git.kernel.org/stable/c/60f462cd2716d86bd2174f9d5e035c9278f30480
- https://git.kernel.org/stable/c/6dede3967619b5944003227a5d09fdc21ed57d10
- https://git.kernel.org/stable/c/9f3ec44aeb58501d11834048d5d0dbaeacb6d4e7
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-31658. Free for 1 server.
Get started free