Remote denial of service via leaked packet buffers
Published Jun 18, 2025 · Updated Aug 5, 2026
Memory leak in Linux kernel ESP-in-TCP processing allows remote attackers to exhaust kernel memory via crafted tunnel traffic. The IPv4 and IPv6 esp_output_tcp_finish paths fail to free an skb when TCP socket lookup fails, while espintcp_queue_out also leaves it allocated when the outbound queue exceeds max_backlog. Exploitation requires a configured ESP-in-TCP security association; a remote peer can close its TCP connection or drive reply traffic until the host reaches OOM, and retained references can hang network-namespace teardown.
Summary
What happened
Memory leak in Linux kernel ESP-in-TCP processing allows remote attackers to exhaust kernel memory via crafted tunnel traffic. The IPv4 and IPv6 esp_output_tcp_finish paths fail to free an skb when TCP socket lookup fails, while espintcp_queue_out also leaves it allocated when the outbound queue exceeds max_backlog. Exploitation requires a configured ESP-in-TCP security association; a remote peer can close its TCP connection or drive reply traffic until the host reaches OOM, and retained references can hang network-namespace teardown.
The record
- CVE
- CVE-2025-38057
- Published
- Jun 18, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-401, T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 18, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.6
- Affected versionversion=e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 <05db2b850a2b8b17f3d1799f563ea1d550e05ed5
- Affected versionversion=e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 <28756f22de48d25256ed89234b66b9037a3f0157
- Affected versionversion=e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 <63c1f19a3be3169e51a5812d22a6d0c879414076
- Affected versionversion=e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 <d8d79cf8c2b7475c22f9874eb844bcc80f858b13
- Affected versionversion=e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 <e2e1f50fc5ebd2826c4e8c558dc65434382d0c0b
- Affected versionversion=e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 <eb058693dfc93ed7a9c365adb899fedd648b9d9f
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo