Skip to contentSkip to conversation

CVE-2025-38057: espintcp: fix skb leaks

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 18, 2025

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

espintcp: fix skb leaks

A few error paths are missing a kfree_skb.

The Linux kernel CVE team has assigned CVE-2025-38057 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.6 with commit e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 and fixed in 6.12.31 with commit 28756f22de48d25256ed89234b66b9037a3f0157
	Issue introduced in 5.6 with commit e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 and fixed in 6.14.9 with commit eb058693dfc93ed7a9c365adb899fedd648b9d9f
	Issue introduced in 5.6 with commit e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 and fixed in 6.15 with commit 63c1f19a3be3169e51a5812d22a6d0c879414076

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2025-38057

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:

	net/ipv4/esp4.c
	net/ipv6/esp6.c
	net/xfrm/espintcp.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/28756f22de48d25256ed89234b66b9037a3f0157
	https://git.kernel.org/stable/c/eb058693dfc93ed7a9c365adb899fedd648b9d9f
	https://git.kernel.org/stable/c/63c1f19a3be3169e51a5812d22a6d0c879414076