Skip to main content

Linux Kernel CVE-2026-31399

| EUVDEUVD-2026-18780 HIGH
Use After Free (CWE-416)
2026-04-03 Linux GHSA-j3fg-h3r6-7945
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain local shell as low-privileged user
  2. Delivery
    Induce memory pressure or fault injection
  3. Exploit
    Trigger NVDIMM async device registration failure
  4. Execution
    Win race on freed parent device object
  5. Persist
    Corrupt kernel memory via dangling reference
  6. Impact
    Escalate to root privileges

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires local authenticated access (PR:L) to a Linux system with the libnvdimm subsystem active and NVDIMM/persistent memory hardware present or simulated, plus the ability to trigger a failure in device_add() during nd_async_device_register() - typically an allocation failure under memory pressure or via fault injection. The vulnerable code path is only reached on the error branch of asynchronous NVDIMM device registration, which is not exercised in normal operation. Limiting factors: kernel must be from 4.20 through the affected stable branches before the listed patch versions, NVDIMM hardware/driver must be in use, attacker must already have local low-privilege code execution, and the race window between the freed device refcount and parent pointer dereference must be won reliably.

Impact

The CVSS 3.1 score of 7.8 reflects local attack vector (AV:L), low complexity (AC:L), low privileges required (PR:L), no user interaction (UI:N), and high impact on confidentiality, integrity, and availability - consistent with kernel memory corruption that could enable privilege escalation. However, the EPSS score of 0.02% (7th percentile) indicates extremely low real-world exploitation probability, and the vulnerability is not on the CISA KEV list. Triggering the bug requires the rare condition that device_add() fails during NVDIMM asynchronous registration (typically an allocation failure), making reliable exploitation difficult - this is realistically a stability/hardening fix rather than a high-priority exploitation risk. The high CVSS reflects worst-case theoretical impact of a kernel UAF, but practical risk is limited to systems actively using NVDIMM hardware and is bounded by the narrow trigger window.

Exploit ScenarioDerived

A local user with low privileges on a system using NVDIMM hardware would need to induce an allocation failure during NVDIMM device registration (for example, via memory pressure or fault injection) precisely when nd_async_device_register() runs, then race to reclaim and groom the freed parent device structure before the dangling reference is decremented. Successful exploitation could corrupt kernel memory and potentially lead to privilege escalation, but the narrow timing window and required hardware/configuration make this highly impractical. No public exploit identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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

AnalysisAIv2 – May 20, 2026

Use-after-free in the Linux kernel's nvdimm/bus subsystem allows local privileged users to potentially trigger memory corruption when device_add() fails during nd_async_device_register() asynchronous initialization. The flaw stems from the parent device reference being dropped before the parent pointer is accessed on allocation failure paths. No public exploit identified at time of analysis, and EPSS exploitation probability is very low at 0.02%.

Earlier versions of this analysis (1)
v1 Apr 03, 2026 - 15:30

Use-after-free in Linux kernel nvdimm/bus asynchronous device registration allows local denial of service when device_add() fails during nd_async_device_register(). The vulnerability occurs because a device reference is dropped before the parent pointer is safely accessed, causing a kernel crash or memory corruption. No authenticated access required; only local access with ability to trigger device registration failures.

RemediationAI

Vendor-released patch is available - upgrade to a fixed Linux kernel: 6.1.167, 6.6.130, 6.12.78, 6.18.20, 6.19.10, or mainline 7.0-rc5 (or any later stable release containing the fix). Patch commits are available at https://git.kernel.org/stable/c/9a0fb16ba5b372465a3a1ecd761c6fa911a4ab4d and the related stable-tree commits listed in the advisory. For distribution kernels, apply the security update from your vendor (Red Hat, SUSE, Ubuntu, Debian, etc.) once published. As a compensating control where patching is delayed, unloading or blacklisting the libnvdimm and nfit modules (modprobe -r nfit libnvdimm; add to /etc/modprobe.d/blacklist) eliminates the attack surface entirely on systems that do not use persistent memory - the trade-off is loss of NVDIMM functionality, which is acceptable on systems without NVDIMM hardware. Restricting local shell access and tightening user privilege boundaries also limits the exposure given the AV:L vector.

Affected VersionsENISA

Linux 3e63a7f25cc85d3d3e174b9b0e3489ebb7eaf4ab
Linux 1490de2bb0836fc0631c04d0559fdf81545b672f
Linux b6eae0f61db27748606cc00dafcfd1e2c032f0a5 <e48bf8f1d2b12c1c5ba1f609edbd4cde5dadc20e
Linux patch: 6.1.167
Linux b6eae0f61db27748606cc00dafcfd1e2c032f0a5 <2c638259ad750833fd46a0cf57672a618542d84c
Linux b6eae0f61db27748606cc00dafcfd1e2c032f0a5 <84af19855d1abdee3c9d57c0684e2868e391793c
Linux b6eae0f61db27748606cc00dafcfd1e2c032f0a5 <9a0fb16ba5b372465a3a1ecd761c6fa911a4ab4d
Linux patch: 0
Linux e31a8418c8df7e6771414f99ed3d95ba8aca4e05
Linux b6eae0f61db27748606cc00dafcfd1e2c032f0a5 <a226e5b49e5fe8c98b14f8507de670189d191348
Linux 4f1a55a4f990016406147cf3e0c9487bf83e50f0
Linux 8954771abdea5c34280870e35592c7226a816d95
Linux patch: 7.0-rc5
Linux b6eae0f61db27748606cc00dafcfd1e2c032f0a5 <a8aec14230322ed8f1e8042b6d656c1631d41163
Linux 4.20
Linux patch: 6.18.20
Linux patch: 6.6.130
Linux patch: 6.12.78
Linux patch: 6.19.10

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 vulnerability resides in the libnvdimm (Non-Volatile DIMM) subsystem of the Linux kernel, specifically in drivers/nvdimm/bus.c, which manages persistent memory devices exposed through NVDIMM hardware. The root cause is a CWE-416 Use-After-Free bug introduced by commit b6eae0f61db2 ('libnvdimm: Hold reference on parent while scheduling async init'), where the parent device reference is released when device_add() fails and the underlying device refcount reaches zero, but the freed parent pointer is still subsequently dereferenced to drop the reference. The affected CPE is cpe:2.3:a:linux:linux covering kernel versions from 4.20 onward where the buggy commit was introduced. The fix saves a local reference to the parent pointer before calling device_add() so it remains valid regardless of allocation outcome.

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 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH
Red Hat 4.7 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

4
Analysis Updated
May 20, 2026 - 13:13 vuln.today
v2 - CVSS changed
CVSS changed
May 20, 2026 - 13:07 NVD
7.8 (HIGH)
Patch available
Apr 16, 2026 - 05:29 EUVD
2c638259ad750833fd46a0cf57672a618542d84c,84af19855d1abdee3c9d57c0684e2868e391793c,9a0fb16ba5b372465a3a1ecd761c6fa911a4ab4d
CVE Published
Apr 03, 2026 - 15:16 nvd
N/A

DescriptionNVD

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

nvdimm/bus: Fix potential use after free in asynchronous initialization

Dingisoul with KASAN reports a use after free if device_add() fails in nd_async_device_register().

Commit b6eae0f61db2 ("libnvdimm: Hold reference on parent while scheduling async init") correctly added a reference on the parent device to be held until asynchronous initialization was complete. However, if device_add() results in an allocation failure the ref count of the device drops to 0 prior to the parent pointer being accessed. Thus resulting in use after free.

The bug bot AI correctly identified the fix. Save a reference to the parent pointer to be used to drop the parent reference regardless of the outcome of device_add().

Executive ViewAI

Why It Matters

Linux systems with non-volatile DIMM (nvdimm) memory hardware are vulnerable to a privilege escalation attack that could corrupt system memory; however, practical risk is minimal given exploitation probability of 0.02% and the requirement for local privileged user access. Vendors have released kernel patches enabling straightforward remediation.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Social Media
1
Sightings
Data Quality
6 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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

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

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: High
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

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