Skip to main content

Linux Kernel EUVDEUVD-2026-25557

| CVE-2026-31664 MEDIUM
2026-04-24 Linux GHSA-5fvv-6wpc-9mr7
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Open NETLINK_XFRM socket as local low-privilege user
  2. Delivery
    Subscribe to XFRMNLGRP_EXPIRE multicast group
  3. Exploit
    Trigger or wait for xfrm security policy lifetime expiry
  4. Execution
    Kernel calls build_polexpire() without memset_after()
  5. Persist
    Receive struct xfrm_user_polexpire with uninitialized heap padding over netlink
  6. Impact
    Extract sensitive kernel heap contents from trailing bytes

Vulnerability Assessment

Exploitation Conditions

The target system must be actively using the Linux xfrm (IPsec) subsystem with at least one security policy configured with a finite lifetime so that a policy expiry event can be triggered. The attacker must have local system access with privileges sufficient to open a NETLINK_XFRM socket and join the XFRMNLGRP_EXPIRE multicast group - this typically requires a low-privilege local user account (PR:L) and is further limited by LSM policies (SELinux, AppArmor) that may block netlink socket creation for unprivileged users. Systems without any xfrm security policies, or systems where all policies have infinite lifetimes, cannot trigger the vulnerable code path. Strict seccomp profiles that deny socket(AF_NETLINK, ...) syscalls also prevent exploitation. The leaked heap bytes are received passively; no write or race-condition exploitation is required beyond receiving the multicast notification.

Impact

A significant inconsistency exists in the provided CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H): Availability:High is assigned, but the vulnerability description unambiguously describes kernel heap memory disclosure - a Confidentiality impact, not an Availability one. The C:N/A:H scoring appears to be a scoring error; the true risk profile is Confidentiality:High, Availability:None. Setting aside that discrepancy, real-world risk is constrained by the requirement for local access (AV:L) and an active IPsec deployment with expiring policies - many systems run without xfrm policies, reducing the exposed population. EPSS at 0.02% (7th percentile) confirms very limited automated exploitation interest. The vulnerability is not in CISA KEV and no POC has been identified. While the ability to read kernel heap contents is genuinely sensitive (pointers, cryptographic material, or credentials could be present), practical exploitation requires a motivated, local threat actor on a system actively using IPsec - a more targeted scenario than a remote, unauthenticated flaw. Priority should be governed by whether IPsec/xfrm is actively deployed and whether privileged-but-untrusted local users exist on the system.

Exploit ScenarioDerived

A local unprivileged user on a Linux server running IPsec opens a NETLINK_XFRM socket and subscribes to the XFRMNLGRP_EXPIRE multicast group, then waits for a configured security policy's lifetime to elapse. When the kernel fires a policy expiry event, build_polexpire() sends a struct xfrm_user_polexpire whose trailing padding bytes contain uninitialized kernel heap data; the attacker captures this netlink message and inspects the padding to infer kernel heap layout, extract pointer values useful for KASLR bypass, or recover in-memory sensitive data. No public proof-of-concept has been identified at time of analysis.

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

Kernel heap memory disclosure in the Linux kernel's xfrm (IPsec) subsystem exposes uninitialized heap bytes to local unprivileged users via netlink multicast. The build_polexpire() function omits the memset_after() call that its counterpart build_expire() correctly applies, leaving trailing padding bytes of struct xfrm_user_polexpire uninitialized before broadcasting the structure to XFRMNLGRP_EXPIRE listeners. Any local user able to subscribe to that netlink multicast group on a system running IPsec with expiring policies can capture these notifications and read arbitrary kernel heap contents. No public exploit has been identified at time of analysis, and EPSS is extremely low at 0.02% (7th percentile), indicating negligible automated exploitation activity.

RemediationAI

Upgrade to a patched stable Linux kernel release: 6.1.169, 6.6.135, 6.12.82, 6.18.23, 6.19.13, or 7.0. Upstream fix commits are available at git.kernel.org/stable - for example ac6985903db047eaff54db929e4bf6b06782788e (6.6 series), e1af65c669ebb1666c54576614c01a7f9ffcfff6, 71a98248c63c535eaa4d4c22f099b68d902006d0, b1dfd6b27df35ef4f87825aa5f607378d23ff0f2, eda30846ea54f8ed218468e5480c8305ca645e37, and c221ed63a2769a0af8bd849dfe25740048f34ef4. Ubuntu users should apply USN-8567-1; Siemens product users should follow SSA-019113 and SSA-082556. Where immediate patching is not possible, restricting CAP_NET_ADMIN and blocking unprivileged processes from creating NETLINK_XFRM sockets (via seccomp policy or SELinux/AppArmor rules) eliminates the attack surface - note this will break legitimate IPsec management tools such as strongSwan or racoon and requires testing before deployment. Disabling xfrm policy lifetime limits (so policies never expire) prevents build_polexpire() from being invoked, but this is operationally disruptive to IPsec lifecycle management.

Affected VersionsENISA

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <71a98248c63c535eaa4d4c22f099b68d902006d0
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <b1dfd6b27df35ef4f87825aa5f607378d23ff0f2
Linux patch: 0
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <ac6985903db047eaff54db929e4bf6b06782788e
Linux patch: 7.0
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <e1af65c669ebb1666c54576614c01a7f9ffcfff6
Linux patch: 6.1.169
Linux patch: 6.6.135
Linux patch: 6.19.13
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <eda30846ea54f8ed218468e5480c8305ca645e37
Linux patch: 6.18.23
Linux patch: 6.12.82
Linux 2.6.12
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c221ed63a2769a0af8bd849dfe25740048f34ef4

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

The Linux kernel's xfrm subsystem implements IPsec transforms and security policy management, using NETLINK_XFRM sockets and multicast groups to notify userspace daemons (racoon, strongSwan, etc.) of lifecycle events. When a security policy expires, build_polexpire() constructs a struct xfrm_user_polexpire and sends it via netlink to the XFRMNLGRP_EXPIRE group. That struct contains a __u8 hard field near its end, followed by compiler-inserted padding bytes for alignment. The kernel allocates this struct from the heap (kmalloc), sets the hard field, but never zeroes the trailing padding - unlike build_expire(), which explicitly calls memset_after(hard, ...) after setting the same field in the analogous SA-expiry struct. The root cause class is uninitialized kernel memory disclosure (analogous to CWE-200/CWE-909), mediated by a missing memset call. Affected CPE: cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:* across all stable series from initial commit (1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, Linux 2.6.12) through the patched releases.

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 5.5 MEDIUM

Local low-privilege user can read kernel heap via netlink; pure confidentiality impact with no integrity or availability effect, contradicting the provided C:N/A:H vector.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/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:07 NVD
5.5 (MEDIUM)
Patch released
Apr 27, 2026 - 19:59 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: clear trailing padding in build_polexpire()

build_expire() clears the trailing padding bytes of struct xfrm_user_expire after setting the hard field via memset_after(), but the analogous function build_polexpire() does not do this for struct xfrm_user_polexpire.

The padding bytes after the __u8 hard field are left uninitialized from the heap allocation, and are then sent to userspace via netlink multicast to XFRMNLGRP_EXPIRE listeners, leaking kernel heap memory contents.

Add the missing memset_after() call, matching build_expire().

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Prevalence
Ubiquitous
Linux kernel underpins nearly all servers, cloud instances, containers, and embedded devices
Threat Intel
2
1 source
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS CISA Vendor GitHub VulDB

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 Yes
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
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
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