Skip to main content

Linux Kernel EUVDEUVD-2026-35145

| CVE-2026-46280 HIGH
Use After Free (CWE-416)
2026-06-08 Linux GHSA-vjjg-r28q-g2g4
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Recon
    Obtain local shell on test kernel
  2. Delivery
    Open /dev/hmm_dmirror device
  3. Exploit
    Allocate device-private pages via dmirror
  4. Install
    Close fd to free dmirror struct
  5. C2
    Trigger fault on stale pages (coredump)
  6. Execute
    dmirror_devmem_fault dereferences freed memory
  7. Impact
    Kernel panic or potential privilege escalation

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 (1) a Linux kernel built with CONFIG_TEST_HMM enabling lib/test_hmm.c - not present in default builds of major distributions; (2) local access to the host with permission to open the test_hmm character device (/dev/hmm_dmirror*), which is typically root or a developer group; (3) the attacker must allocate device-private pages via the dmirror interface, close the fd, and then induce a page fault on the orphaned pages (the reported trigger is a coredump walking the VMA). Limiting factors: AV:L (no remote vector), PR:L authentication required per the CVSS vector, the niche test-only module, and the specific ordering of fd-close followed by a fault on the now-stale ZONE_DEVICE page - not reachable on production distro kernels without an out-of-tree decision to enable the selftest module.

Impact

The CVSS 3.1 score of 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) reflects worst-case use-after-free impact, but the realistic risk is substantially lower: the vulnerable code lives in lib/test_hmm, a selftest driver gated behind CONFIG_TEST_HMM that is not compiled into mainstream distribution kernels (RHEL, Ubuntu GA, SLES). EPSS of 0.02% (5th percentile) and the absence of KEV listing align with this - exploitation requires a kernel with the test module loaded, local access to /dev/hmm_dmirror*, and an attacker able to trigger a fault on freed device-private pages (the reported trigger was a coredump). No public exploit is identified at time of analysis. The 'Information Disclosure' tag in the input appears inconsistent with the underlying UAF, which is more naturally an availability/integrity problem and only secondarily a possible disclosure vector; treat the tag with caution. Practical priority: low for production fleets, moderate for kernel-developer workstations and CI runners that build debug/test kernels.

Exploit ScenarioDerived

On a developer or CI host running a kernel built with CONFIG_TEST_HMM, a local user opens /dev/hmm_dmirror0, allocates device-private pages, closes the file descriptor, and then triggers a fault on the still-mapped pages - for example by causing a SIGABRT and letting the coredump handler walk the VMAs, as observed in the original arm64 mm/ksft_hmm.sh failure. The fault path calls dmirror_devmem_fault() against a freed dmirror struct, producing a use-after-free dereference that panics the kernel and, with careful heap grooming, could in principle be steered toward code execution in kernel context. No public exploit is 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

AnalysisAIv1 – Jun 14, 2026

Use-after-free in the Linux kernel's HMM (Heterogeneous Memory Management) test driver (lib/test_hmm) allows local users to trigger a kernel panic and potentially escalate privileges when device private pages are faulted in after the dmirror file descriptor is closed. The flaw was discovered during arm64 selftest runs where a SIGABRT coredump walked stale VMAs and dereferenced a dangling zone_device_data pointer. EPSS is very low (0.02%) and there is no public exploit identified at time of analysis, but the bug is fixed upstream across multiple stable trees.

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) depending on your stable series, per the kernel.org stable commits at https://git.kernel.org/stable/c/9de1eb0aac2862d6144b8db0ec1388e79f8bc3e1, https://git.kernel.org/stable/c/38f113f81d3f0adc658a4475dd3ecaec985e21d3, https://git.kernel.org/stable/c/bf477abd448c76bb8ea51c9b4f63a3a17c4b6239, https://git.kernel.org/stable/c/744dd97752ef1076a8d8672bb0d8aa2c7abc1144, and https://git.kernel.org/stable/c/5846715b6382dd4c6a69b35a56ca6115d33bc2a0. As a compensating control until rebuild, set CONFIG_TEST_HMM=n and rebuild the kernel - this removes the vulnerable module entirely at the cost of losing HMM selftest coverage on that host; if rebuilding is not possible, blacklist the test_hmm module via /etc/modprobe.d and restrict permissions on /dev/hmm_dmirror* device nodes to root only, with the side effect of breaking any local HMM test tooling. Avoid generating coredumps from processes that have mapped HMM device-private pages on unpatched test kernels, since coredump-triggered faults are the specific path that surfaces the UAF.

Affected VersionsENISA

Linux b2ef9f5a5cb37643ca5def3516c546457074b882 <9de1eb0aac2862d6144b8db0ec1388e79f8bc3e1
Linux patch: 6.12.86
Linux patch: 7.1-rc1
Linux patch: 6.6.140
Linux patch: 6.18.27
Linux b2ef9f5a5cb37643ca5def3516c546457074b882 <38f113f81d3f0adc658a4475dd3ecaec985e21d3
Linux 5.8
Linux b2ef9f5a5cb37643ca5def3516c546457074b882 <bf477abd448c76bb8ea51c9b4f63a3a17c4b6239
Linux patch: 7.0.4
Linux patch: 0
Linux b2ef9f5a5cb37643ca5def3516c546457074b882 <744dd97752ef1076a8d8672bb0d8aa2c7abc1144
Linux b2ef9f5a5cb37643ca5def3516c546457074b882 <5846715b6382dd4c6a69b35a56ca6115d33bc2a0

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 affected component is lib/test_hmm.c, the kernel selftest module for HMM device private memory used to validate the migrate_to_ram fault path for ZONE_DEVICE pages. On dmirror_fops_release(), the dmirror struct was being freed without first calling dmirror_device_evict_chunk() to migrate device private pages back to system memory, so the page->zone_device_data pointer continued to reference freed memory. A later page fault - for example during coredump VMA walking - invoked dmirror_devmem_fault() on those stale pages, dereferencing the dangling pointer. This is a classic CWE-416 (Use After Free) condition rooted in resource lifecycle mismanagement between file release and device-memory page ownership. Affected CPE strings are cpe:2.3:a:linux:linux:*, and the bug is present in kernels that build the HMM selftest module (CONFIG_TEST_HMM), which is typically only enabled on test/QA kernels rather than production distributions.

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

Vendor (Linux) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 5.8 MEDIUM

Local access to a test-only module with low privileges (PR:L); race-like fault ordering raises AC:H; availability is the dominant impact (panic), with limited C/I from UAF.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:L/VI:L/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
Red Hat 5.5 MEDIUM

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

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 14, 2026 - 06:22 NVD
7.8 (HIGH)
Patch available
Jun 08, 2026 - 18:01 EUVD
CVE Published
Jun 08, 2026 - 15:41 cve.org
HIGH 7.8
CVE Published
Jun 08, 2026 - 15:41 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

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

lib: test_hmm: evict device pages on file close to avoid use-after-free

Patch series "Minor hmm_test fixes and cleanups".

Two bugfixes a cleanup for the HMM kernel selftests. These were mostly reported by Zenghui Yu with special thanks to Lorenzo for analysing and pointing out the problems.

This patch (of 3):

When dmirror_fops_release() is called it frees the dmirror struct but doesn't migrate device private pages back to system memory first. This leaves those pages with a dangling zone_device_data pointer to the freed dmirror.

If a subsequent fault occurs on those pages (eg. during coredump) the dmirror_devmem_fault() callback dereferences the stale pointer causing a kernel panic. This was reported [1] when running mm/ksft_hmm.sh on arm64, where a test failure triggered SIGABRT and the resulting coredump walked the VMAs faulting in the stale device private pages.

Fix this by calling dmirror_device_evict_chunk() for each devmem chunk in dmirror_fops_release() to migrate all device private pages back to system memory before freeing the dmirror struct. The function is moved earlier in the file to avoid a forward declaration.

Executive ViewAI

Why It Matters

A kernel-level privilege escalation vulnerability in Linux's memory management test driver allows local users with low privileges to gain administrative access to affected systems. No public exploit has been identified at time of analysis, but the bug requires immediate patching; the flaw is particularly concerning on systems where the test driver is active, including development and quality assurance infrastructure.

Business Impact: High
Compensating Controls

Apply vendor patch. For interim mitigation on systems not requiring the test driver, disable the lib/test_hmm kernel module.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

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 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected

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