Skip to main content

Linux Kernel EUVDEUVD-2026-32285

| CVE-2026-45989 HIGH
Use After Free (CWE-416)
2026-05-27 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-26rf-29mw-gf9h
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Gain local low-priv shell on host
  2. Delivery
    Ensure CONFIG_OF_UNITTEST driver is loaded
  3. Exploit
    Trigger testdrv_probe via overlay application
  4. Install
    of_node_put frees device_node early
  5. C2
    Spray kernel slab to reclaim object
  6. Execute
    of_platform_default_populate dereferences UAF
  7. Impact
    Escalate to kernel/root code execution

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

Requires CONFIG_OF_UNITTEST=y in the running kernel so the of/unittest testdrv driver is present, plus a code path that causes testdrv_probe() to be invoked on a PCI device whose of_node is reachable - typically only on developer, CI or test kernels, not stock distro production kernels. The attacker must already have local access with low privileges (PR:L) sufficient to influence driver probe or device-tree overlay application; no user interaction is required (UI:N) and no network exposure exists (AV:L). Limiting factors: production kernels almost universally disable OF unittest, kernel module loading may be restricted, and reliable exploitation requires winning a slab-reclaim race after the of_node_put().

Impact

The CVSS 3.1 vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H scores 7.8 (High) and reflects a classic local privilege-escalation profile: an attacker with low local privileges can trigger UAF leading to high impact on confidentiality, integrity and availability. EPSS, however, is only 0.02% (5th percentile) and the issue is not on CISA KEV, which is consistent with the fact that the vulnerable code path lives in the OF unittest driver - code that is only built and loaded when CONFIG_OF_UNITTEST is enabled, which is a developer/test option, not a production default. There is a real signal/context conflict worth flagging: the CVSS High score assumes the vulnerable driver is reachable, but in most production kernels it is not compiled in, so realistic risk is markedly lower than 7.8 suggests. No public exploit identified at time of analysis, and exploitation requires local code execution plus the ability to load/probe the unittest driver.

Exploit ScenarioDerived

A local user with the ability to trigger probing of the OF unittest PCI test driver (for example on a developer or CI kernel built with CONFIG_OF_UNITTEST=y) causes testdrv_probe() to run, drop the device_node refcount to zero, and then re-use the freed pointer in of_platform_default_populate(). By spraying the kernel slab to reclaim the freed struct device_node with attacker-controlled data, the attacker turns the UAF into arbitrary kernel read/write and escalates to root. No public exploit identified at time of analysis, but UAFs of this shape are a well-known kernel LPE primitive.

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

AnalysisAIv1 – Jun 16, 2026

Use-after-free in the Linux kernel's Open Firmware (OF) device tree unittest driver (testdrv_probe) allows local low-privileged attackers to corrupt memory and potentially escalate privileges. The flaw stems from an erroneous of_node_put() call that releases a device_node reference owned by the device model, which can then be dereferenced later in of_platform_default_populate(). EPSS is very low (0.02%) and no public exploit identified at time of analysis, but a vendor patch is available.

RemediationAI

Vendor-released patch: upgrade to Linux 6.6.140, 6.12.86, 6.18.27, 7.0.4, or 7.1-rc1 (or later) on the corresponding stable branch, pulling the fix commits 07fd339b2c25, 5b6122a67a29, 6b2023286d2c, 0ba03e06f037 and d68347b07b98 from https://git.kernel.org/stable/. If immediate kernel update is not feasible, the most effective compensating control is to ensure CONFIG_OF_UNITTEST is disabled in the kernel build (it should never be set in production kernels) and that the of-unittest test module is not loadable; the side effect is loss of in-tree device-tree overlay self-tests, which is acceptable outside dev/CI environments. Restrict the ability of unprivileged users to load kernel modules (modules_disabled=1 or signed-module enforcement) to reduce the chance that a low-privileged local user can pull the vulnerable driver into a running kernel.

Affected VersionsENISA

Linux patch: 7.1-rc1
Linux patch: 6.12.86
Linux 6.6
Linux patch: 0
Linux patch: 7.0.4
Linux patch: 6.18.27
Linux 26409dd045892904b059dc411403e9c8ce7543ca <07fd339b2c253205794bea5d9b4b7548a4546c56
Linux 26409dd045892904b059dc411403e9c8ce7543ca <5b6122a67a295f8a08b7c18d908a1bd974dfaec8
Linux patch: 6.6.140
Linux 26409dd045892904b059dc411403e9c8ce7543ca <6b2023286d2c6ed3bf964fb92e34c9c14d42eb69
Linux 26409dd045892904b059dc411403e9c8ce7543ca <0ba03e06f037df704d9b032e36d417633e2326bc
Linux 26409dd045892904b059dc411403e9c8ce7543ca <d68347b07b9801791c9eaab8f772770b52b8cd5c

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 bug lives in drivers/of/unittest.c, the kernel self-test code for the Open Firmware / Device Tree (OF/DT) overlay subsystem. testdrv_probe() obtains pdev->dev.of_node - a reference owned and managed by the PCI / device-model core - then incorrectly calls of_node_put() on it before passing the same pointer to of_platform_default_populate(). Because the device model still believes it owns the reference, the refcount can drop to zero and the struct device_node be freed, leaving 'dn' a dangling pointer that is subsequently dereferenced - a textbook CWE-416 Use-After-Free in kernel-space struct device_node lifetime management. The CPE data identifies the Linux kernel (cpe:2.3:o:linux:linux_kernel) as the only affected product, and the EUVD version data shows fixes backported into stable branches 6.6.140, 6.12.86, 6.18.27 and mainline 7.0.4 / 7.1-rc1.

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
vuln.today AI 7.0 HIGH

Local access and low privileges suffice (AV:L/PR:L), but exploitation requires CONFIG_OF_UNITTEST and winning a slab-reclaim race, so AC:H; successful UAF yields full kernel C/I/A impact.

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

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
CVSS changed
Jun 16, 2026 - 14:07 NVD
7.8 (HIGH)
Patch available
May 27, 2026 - 19:46 EUVD
CVE Published
May 27, 2026 - 14:17 nvd
HIGH 7.8
CVE Published
May 27, 2026 - 14:17 nvd
UNKNOWN (no severity yet)

DescriptionNVD

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

of: unittest: fix use-after-free in testdrv_probe()

The function testdrv_probe() retrieves the device_node from the PCI device, applies an overlay, and then immediately calls of_node_put(dn). This releases the reference held by the PCI core, potentially freeing the node if the reference count drops to zero. Later, the same freed pointer 'dn' is passed to of_platform_default_populate(), leading to a use-after-free.

The reference to pdev->dev.of_node is owned by the device model and should not be released by the driver. Remove the erroneous of_node_put() to prevent premature freeing.

Executive ViewAI

Why It Matters

A privilege escalation vulnerability in the Linux kernel's Open Firmware device tree driver (CVE-2026-45989) allows low-privileged local users to corrupt memory and elevate privileges. Although the exploit probability remains minimal (0.02% EPSS), any unprivileged account with system access poses a lateral movement risk if left unpatched. Organizations must prioritize patching systems where local user access is permitted.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Data Quality
4 sources
Confidence: Medium

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.

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

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected

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