Skip to main content

Linux Kernel EUVDEUVD-2026-25564

| CVE-2026-31671 MEDIUM
Memory Leak (CWE-401)
2026-04-24 Linux GHSA-rv96-q2g6-r95w
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local access with CAP_NET_ADMIN or via user/network namespace
  2. Delivery
    Open XFRM Netlink socket
  3. Exploit
    Craft request triggering build_report()
  4. Execution
    Receive response containing 3 uninitialized kernel padding bytes
  5. Persist
    Extract leaked kernel memory data
  6. Impact
    Incorporate into larger exploit chain for KASLR defeat

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

Exploitation requires local system access and the ability to open and use XFRM Netlink sockets, which typically requires CAP_NET_ADMIN or operation within a user/network namespace that grants such access. The xfrm_user subsystem must be compiled in (present in virtually all distribution kernels). The leak is bounded to three bytes of alignment padding per triggered report - low informational value in isolation. Systems with kernel.unprivileged_userns_clone=0 prevent namespace-based privilege escalation to XFRM access, significantly limiting exploitation by unprivileged users. LSM enforcement (AppArmor or SELinux) on distributions such as Ubuntu and RHEL may block untrusted processes from invoking xfrm Netlink operations even where the underlying capability would otherwise be accessible.

Impact

The provided CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, score 5.5) contains a material discrepancy: the vulnerability is an information leak yet the vector records Availability:High with Confidentiality:None - directly conflicting with the described impact. Security teams should treat that A:H metric as likely erroneous and the C:N as missing the actual impact. EPSS at 0.02% (7th percentile) reflects minimal exploitation interest. The vulnerability is absent from CISA KEV and no POC has been identified. Real-world risk is low: only three bytes of uninitialized padding leak per report, exploitation requires local access and sufficient Netlink/XFRM privilege (typically CAP_NET_ADMIN or an accessible user network namespace), and patches are available across all current stable kernel branches. The primary realistic threat is use as a component in a multi-step local privilege escalation chain (ASLR bypass, kernel pointer leak chaining), not standalone exploitation.

Exploit ScenarioDerived

A local user with CAP_NET_ADMIN capability (or access via an unprivileged user network namespace on permissive configurations) opens an XFRM Netlink socket and triggers a condition that invokes build_report(), receiving a response containing the three uninitialized padding bytes from kernel memory. No public exploit has been identified at time of analysis. While three bytes of leaked data have limited standalone value, a sophisticated local attacker could incorporate this infoleak into a broader kernel exploitation chain - for example, to leak partial kernel addresses and weaken KASLR before attempting a separate code-execution primitive.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

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.

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.

Affected VersionsENISA

Linux patch: 5.15.203
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <6c55714c931051cd7f4839c19ce0867179fd22fe
Linux patch: 5.10.253
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <716c546e88cfe49d841658240e10cb57bc50a2cc
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d10119968d0e1f2b669604baf2a8b5fdb72fa6b4
Linux patch: 6.12.82
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <0a30dceb0e1f0c480d2482e6d7cebf8aebb6eb72
Linux patch: 7.0
Linux patch: 6.1.169
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d27c02eec529f78055a46a5c9e6c62684382b2d8
Linux patch: 6.18.23
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <ff5ee507302303b15859753c3e0d67d38fd12c88
Linux patch: 6.6.135
Linux patch: 6.19.13
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <e0c8542c3d097ed4205ded51868195d5d6ddac62
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <0616314b3b34f24cbb91da8c6bd8bcdc4c8592f9

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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:*:*:*:*:*:*:*:*.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

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
Red Hat 5.5 LOW

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

4
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
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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Prevalence
Ubiquitous
core component of all Linux systems, servers, embedded, and cloud
Threat Intel
2
1 source
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat Yes
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: +10
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain)

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