CVE-2025-38057 espintcp: fix skb leaks

High 7.5 Published Updated

Missing memory frees in error paths of the Linux kernel ESP-in-TCP module can lead to memory leaks and potential denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-38057?

CVE-2025-38057 is a high-severity denial of service vulnerability in Linux kernel, published on 18 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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

espintcp: fix skb leaks

A few error paths are missing a kfree_skb.

Weakness: CWE-401

Which versions are affected by CVE-2025-38057?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-38057?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-38057 being exploited?

There is no known exploitation of CVE-2025-38057 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-38057, DEBIAN-CVE-2025-38057, GHSA-3fw5-3pqr-8c82, ROOT-OS-DEBIAN-11-CVE-2025-38057, ROOT-OS-DEBIAN-12-CVE-2025-38057, ROOT-OS-UBUNTU-2204-CVE-2025-38057 and 2 more.

Is CVE-2025-38057 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free