Skip to contentSkip to conversation

CVE-2026-43089: xfrm_user: fix info leak in build_mapping()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 6

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_user: fix info leak in build_mapping()

struct xfrm_usersa_id has a one-byte padding hole after the proto field, which ends up never getting set to zero before copying out to userspace. Fix that up by zeroing out the whole structure before setting individual variables.

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

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

	Issue introduced in 2.6.29 with commit 3a2dfbe8acb154905fdc2fd03ec56df42e6c4cc4 and fixed in 6.6.136 with commit d3125c541a96fb3c0fc7210112684baf22b6c24d
	Issue introduced in 2.6.29 with commit 3a2dfbe8acb154905fdc2fd03ec56df42e6c4cc4 and fixed in 6.12.83 with commit 5a1a4b049ddde41466ccac0daeec326254b133f2
	Issue introduced in 2.6.29 with commit 3a2dfbe8acb154905fdc2fd03ec56df42e6c4cc4 and fixed in 6.18.24 with commit f779a6b6cdb6e12baa0663063ac59ab2a8f20c0c
	Issue introduced in 2.6.29 with commit 3a2dfbe8acb154905fdc2fd03ec56df42e6c4cc4 and fixed in 6.19.14 with commit 700c9622b23c33b5933e6dcea816492c064e4e10
	Issue introduced in 2.6.29 with commit 3a2dfbe8acb154905fdc2fd03ec56df42e6c4cc4 and fixed in 7.0 with commit 1beb76b2053b68c491b78370794b8ff63c8f8c02

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-43089

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_user.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/d3125c541a96fb3c0fc7210112684baf22b6c24d
	https://git.kernel.org/stable/c/5a1a4b049ddde41466ccac0daeec326254b133f2
	https://git.kernel.org/stable/c/f779a6b6cdb6e12baa0663063ac59ab2a8f20c0c
	https://git.kernel.org/stable/c/700c9622b23c33b5933e6dcea816492c064e4e10
	https://git.kernel.org/stable/c/1beb76b2053b68c491b78370794b8ff63c8f8c02