Skip to contentSkip to conversation

CVE-2026-52932: xfrm: ipcomp: Free destination pages on acomp errors

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 24

lore
Share & tools
lore
#0 lore raw

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

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

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

xfrm: ipcomp: Free destination pages on acomp errors

Move the out_free_req label up by a couple of lines so that the allocated dst SG list gets freed on error as well as success.

The Linux kernel CVE team has assigned CVE-2026-52932 to this issue.

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

	Issue introduced in 6.15 with commit eb2953d26971f3083bbf95de4bc997b5bedf0b6e and fixed in 6.18.35 with commit dc6dcba80d72a27ab61831ad3d253316e0c9b9d5
	Issue introduced in 6.15 with commit eb2953d26971f3083bbf95de4bc997b5bedf0b6e and fixed in 7.0.12 with commit b30aa173c3809f6af4c83a86099be1be19aa48eb
	Issue introduced in 6.15 with commit eb2953d26971f3083bbf95de4bc997b5bedf0b6e and fixed in 7.1 with commit 7dbac7680eb629b3b4dc7e98c34f943b8814c0c8

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-2026-52932

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/xfrm/xfrm_ipcomp.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/dc6dcba80d72a27ab61831ad3d253316e0c9b9d5
	https://git.kernel.org/stable/c/b30aa173c3809f6af4c83a86099be1be19aa48eb
	https://git.kernel.org/stable/c/7dbac7680eb629b3b4dc7e98c34f943b8814c0c8