CVE-2026-43089
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Linux kernel xfrm_user info leak in build_mapping() due to uninitialized padding in struct xfrm_usersa_id, allowing kernel memory disclosure.
Vulnerability
In the Linux kernel's xfrm_user module, the build_mapping() function copies a struct xfrm_usersa_id to userspace without initializing the one-byte padding hole that exists after the proto field. This uninitialized padding can leak kernel stack memory to unprivileged userspace processes.
Exploitation
The vulnerability is reachable via netlink sockets (AF_NETLINK) by any process with CAP_NET_ADMIN capability. An attacker can craft a netlink message that triggers the XFRM_MSG_NEWSA or related operations, causing build_mapping() to be called. No additional authentication is required beyond the netlink socket permissions.
Impact
A local attacker can repeatedly trigger this info leak to read one byte of uninitialized kernel memory per call. Over multiple calls, this could be used to defeat kernel address space layout randomization (KASLR) or leak other sensitive kernel data.
Mitigation
The fix, which zeroes the entire struct xfrm_usersa_id before use, has been applied to the stable kernel trees [1][2][3][4]. Users should update to a patched kernel version.
AI Insight generated on May 18, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- git.kernel.org/stable/c/1beb76b2053b68c491b78370794b8ff63c8f8c02nvd
- git.kernel.org/stable/c/5a1a4b049ddde41466ccac0daeec326254b133f2nvd
- git.kernel.org/stable/c/700c9622b23c33b5933e6dcea816492c064e4e10nvd
- git.kernel.org/stable/c/d3125c541a96fb3c0fc7210112684baf22b6c24dnvd
- git.kernel.org/stable/c/f779a6b6cdb6e12baa0663063ac59ab2a8f20c0cnvd
News mentions
0No linked articles in our index yet.