Skip to main content

Linux Kernel CVE-2026-31671

| EUVDEUVD-2026-25564 MEDIUM
Memory Leak (CWE-401)
2026-04-24 Linux GHSA-rv96-q2g6-r95w
5.5
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI
3.3 LOW

Local user with Netlink/XFRM access leaks 3 padding bytes; confidentiality-only impact, no integrity or availability effect.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
SUSE
MEDIUM
qualitative
Red Hat
5.5 LOW
qualitative

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

6
Analysis Generated
Jul 24, 2026 - 02:23 vuln.today
CVSS changed
Apr 27, 2026 - 20:22 NVD
5.5 (MEDIUM)
Patch released
Apr 27, 2026 - 20:11 nvd
Patch available
Patch available
Apr 24, 2026 - 16:16 EUVD
EUVD ID Assigned
Apr 24, 2026 - 15:00 euvd
EUVD-2026-25564
CVE Published
Apr 24, 2026 - 14:45 nvd
MEDIUM 5.5

DescriptionNVD

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

xfrm_user: fix info leak in build_report()

struct xfrm_user_report is a __u8 proto field followed by a struct xfrm_selector which means there is three "empty" bytes of padding, but the padding is never zeroed before copying to userspace. Fix that up by zeroing the structure before setting individual member variables.

AnalysisAI

Uninitialized kernel memory leaks to userspace through the xfrm_user subsystem's build_report() function in the Linux kernel, exposing three bytes of alignment padding in struct xfrm_user_report via Netlink before it is copied to userspace. The flaw affects virtually all Linux kernel versions from initial commit through the recently issued stable-tree patches (5.10.253, 5.15.203, 6.1.169, 6.6.135, 6.12.82, 6.18.23, 6.19.13, and 7.0). No public exploit has been identified at time of analysis, EPSS sits at just 0.02% (7th percentile), and it is not listed in CISA KEV; however, the breadth of affected systems is enormous given the Linux kernel's ubiquitous deployment.

Technical ContextAI

The affected code resides in net/xfrm/xfrm_user.c, specifically the build_report() function within the Linux kernel's XFRM (IP transform) subsystem, which manages IPsec policies and states exposed to userspace via Netlink sockets. The struct xfrm_user_report layout places a single-byte __u8 proto field immediately before a struct xfrm_selector; C compiler alignment rules insert three implicit padding bytes between these fields. Because the code populated the structure by assigning individual members rather than zero-initializing it first, those three padding bytes retained whatever stale kernel stack or heap data resided at that address at call time - constituting a classic uninitialized-memory information disclosure. The fix is to zero the entire structure (e.g., memset or = {0}) before filling in fields. CWE-401 (Missing Release of Memory) is applied in the NVD data, though CWE-908 (Use of Uninitialized Resource) or CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) more precisely describes this root cause. Affected CPE: cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*.

RemediationAI

Update the Linux kernel to a patched stable release: 5.10.253, 5.15.203, 6.1.169, 6.6.135, 6.12.82, 6.18.23, 6.19.13, or 7.0 in the respective stable series. Upstream fix commits are available at git.kernel.org/stable/c/ (commit refs: d27c02eec529f7, 716c546e88cfe4, 0616314b3b34f2, e0c8542c3d097e, ff5ee5073023, 6c55714c9310, 0a30dceb0e1f, d10119968d0e). Ubuntu users should apply the update provided in USN-8567-1 via standard package management. Siemens product operators should consult SSA-019113 and SSA-082556 for product-specific guidance. Where immediate patching is not feasible, restrict access to XFRM Netlink operations by setting kernel.unprivileged_userns_clone=0 (disables unprivileged user namespace creation, reducing the attack surface at the cost of breaking some container and sandboxing workflows) or enforcing CAP_NET_ADMIN via LSM policies (AppArmor, SELinux) to limit which processes can invoke xfrm operations. These mitigations reduce exploitation opportunity but do not eliminate the underlying flaw.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

Share

CVE-2026-31671 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy