CVE-2026-31518·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: esp: fix skb leak with espintcp and async crypto When the TX queue for espintcp is full, esp_output_tail_tcp will return an error and not free the skb, because with synchronous crypto, the common xfrm output code will drop the packet for us. With async crypto (esp_output_done), we need to drop the skb when esp_output_tail_tcp returns an error.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.19.11
- 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.11
Fixed in: 6.19.11
How to fix this CVE
Update your Linux kernel to version 6.19.11 or later to resolve a memory leak affecting espintcp connections with asynchronous cryptographic operations. Systems running kernel versions 6.19 through 6.19.10 should prioritize this update to prevent resource exhaustion under sustained encrypted TCP traffic. Apply the patch immediately if your infrastructure relies on IPsec over TCP tunneling.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with: uname -r
- Step 2: Verify if espintcp is in use by checking: grep -i espintcp /proc/cmdline or checking IPsec configuration with: ip xfrm policy show
- Step 3: Search kernel logs for memory-related errors with: dmesg | grep -i 'skb\|leak\|espintcp' or journalctl -k | grep -i 'memory\|esp'
- Step 4: After patching, confirm the new kernel version with: uname -r and ensure it shows 6.19.11 or later
FAQ
What is CVE-2026-31518?
This vulnerability is a socket buffer (skb) memory leak in the Linux kernel's IPsec-over-TCP (espintcp) implementation when using asynchronous cryptographic operations. When the transmit queue fills and error handling occurs, memory allocated for network packets is not properly freed, leading to gradual resource exhaustion.
Is CVE-2026-31518 being actively exploited?
No, this vulnerability is not currently listed in CISA's Known Exploited Vulnerabilities catalog, and no public exploit code is available. However, it can be triggered by sending sustained encrypted traffic to espintcp listeners.
What versions of Kernel are affected by CVE-2026-31518?
Linux kernel versions 6.19.0 through 6.19.10 are vulnerable. The fix is included in kernel 6.19.11 and all later stable releases.
How do I check if my server is vulnerable to CVE-2026-31518?
Run `uname -r` to check your kernel version. If it returns 6.19.x where x is less than 11, your system is vulnerable. Additionally, verify if espintcp is active with `ip xfrm state show` and look for tunnel mode policies.
Does Defensia detect CVE-2026-31518?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-31518 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0c0eef8ccd2413b0a10eb6bbd3442333b1e64dd2
- https://git.kernel.org/stable/c/41aafca57de4a4c026701622bd4648f112a9edcd
- https://git.kernel.org/stable/c/4820847e036ff1035b01b69ad68dfc17e7028fe9
- https://git.kernel.org/stable/c/6a3ec6efbc4f90e0ccb2e71574f07351f19996f4
- https://git.kernel.org/stable/c/6aa9841d917532d0f2d932d1ff2f3a94305aaf47
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-31518. Free for 1 server.
Get started free