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.
Published: 2026-05-06
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A one‑byte padding gap in the kernel structure used by the xfrm_user interface was left uninitialized. When the kernel routine build_mapping copies that structure to userspace, the padding remains uninitialized and is read by the caller, leaking kernel memory contents. This constitutes an information exposure that would allow a process with local access to read otherwise protected data, potentially aiding further attacks. The flaw arises from the use of uninitialized memory, a weakness identified by CWE-908, and leads to a modest confidentiality impact as indicated by the CVSS score of 5.5.

Affected Systems

Any Linux kernel that still contains the uninitialized padding in struct xfrm_usersa_id before the build_mapping routine runs is affected. The patch that clears the structure has been merged into recent kernel releases, so versions predating that merge remain vulnerable. The specific vulnerable kernel releases are not enumerated in the advisory, but the vulnerability applies to any kernel builds that have not yet been updated to include the zero‑initialization change.

Risk and Exploitability

The CVSS score of 5.5, indicating a moderate impact, and an EPSS score of less than 1% signal a low probability of discovery and exploitation. The attack requires a local execution context or a process that can trigger the appropriate ioctl; it is not remotely triggered and does not provide elevated privileges, though the disclosed data could enable follow‑on exploits. The vulnerability is not listed in the CISA KEV catalog. Exploitability is therefore limited to local users who have the ability to use the xfrm_user interface.

Generated by OpenCVE AI on May 26, 2026 at 15:54 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release incorporating the patch that zeroes the padding in struct xfrm_usersa_id before exporting it to userspace.
  • If an operating‑system update is unavailable, download the patch changes from the supplied Git commit URLs, apply them to the kernel source, and rebuild the kernel.
  • Reboot the system with the patched kernel selected by default in the bootloader to ensure all services run against the corrected kernel.

Generated by OpenCVE AI on May 26, 2026 at 15:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 26 May 2026 13:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401
CPEs cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Thu, 07 May 2026 04:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200
CWE-457

Thu, 07 May 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-908
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate


Wed, 06 May 2026 13:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200
CWE-457

Wed, 06 May 2026 09:30:00 +0000

Type Values Removed Values Added
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.
Title xfrm_user: fix info leak in build_mapping()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-11T22:17:30.710Z

Reserved: 2026-05-01T14:12:55.984Z

Link: CVE-2026-43089

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-05-06T10:16:22.200

Modified: 2026-05-22T19:47:53.240

Link: CVE-2026-43089

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-05-06T00:00:00Z

Links: CVE-2026-43089 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-26T16:00:11Z

Weaknesses