Skip to main content

Linux Kernel EUVDEUVD-2026-25482

| CVE-2026-31589 CRITICAL
Use After Free (CWE-416)
2026-04-24 Linux GHSA-mg7h-q7hw-m596
Critical
Disputed · 9.8 Vendor: Linux
View

Attack ChainAIDerived

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

  1. Recon
    Gain local or network access
  2. Delivery
    Trigger memory-mapped file operations
  3. Exploit
    Race folio unmap with mapping free
  4. Install
    Dereference freed mapping->a_ops
  5. C2
    Corrupt kernel memory
  6. Execute
    Execute arbitrary kernel code
  7. Impact
    Full system compromise

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 ability to trigger specific kernel memory management codepaths involving file-backed memory folios and cache invalidation - typically accessible to local users through normal filesystem operations (mmap, file writes, cache pressure). Despite CVSS indicating AV:N (network vector), the technical nature suggests local or local-adjacent access is more realistic unless network-facing kernel services (NFS server, CIFS, iSCSI) can trigger the vulnerable folio unmapping code without authentication. The AC:L (low complexity) and PR:N (no privileges) ratings conflict with typical kernel exploitation requirements. Race condition timing adds practical exploitation complexity beyond CVSS AC rating. Actual prerequisites depend on whether the vulnerable codepath is reachable through unprivileged system calls or requires specific filesystem types, memory pressure conditions, or kernel configuration options - this detail is not confirmed from available data.

Impact

Contradictory risk signals require careful analysis. The CVSS vector AV:N/AC:L/PR:N/UI:N indicates trivial remote unauthenticated exploitation, yielding a critical 9.8 score. However, the technical description indicates a kernel memory management race condition in folio unmapping code - these typically require local access to trigger specific kernel codepaths through filesystem operations or memory-mapped files, not direct network exploitation. EPSS probability is very low at 0.02% (5th percentile), suggesting automated scanners and exploit frameworks are not targeting this. No CISA KEV listing confirms no validated active exploitation. No public POC identified. The CVSS vector appears to be incorrectly assigned or represents worst-case theoretical impact rather than realistic attack vector - kernel memory corruption bugs typically have local or adjacent network attack vectors, not AV:N. Real-world risk depends heavily on whether network-facing kernel services can trigger the vulnerable codepath without authentication. Operators should prioritize based on patch availability (confirmed in 6.19.14 and 7.0.1) and local deployment exposure rather than raw CVSS score alone. Verify actual attack vector requirements with Red Hat, Ubuntu, or SUSE security advisories before assessment.

Exploit ScenarioDerived

An attacker triggers memory-mapped file operations or filesystem cache invalidation through crafted system calls or file I/O patterns, racing the kernel's folio unmapping logic. By timing operations to cause concurrent folio removal and mapping structure deallocation, the attacker causes folio_unmap_invalidate() to dereference the freed mapping->a_ops pointer. Successful exploitation corrupts kernel memory, potentially allowing arbitrary code execution in kernel context with full system privileges. No public POC exists at time of analysis.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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 – Apr 27, 2026

Use-after-free in Linux kernel memory management allows remote code execution when the folio_unmap_invalidate() function incorrectly accesses freed mapping structures. Kernel versions between 1da177e4c3f4 and patches 6.19.14/7.0.1 are affected. Exploitation probability is low (EPSS 2%, percentile 5%), with no confirmed active exploitation or public POC at time of analysis. Despite the critical CVSS 9.8 score indicating network-based unauthenticated attack, the description suggests this is a kernel memory corruption bug requiring local kernel code paths to trigger, not direct remote network exploitation - CVSS vector conflicts with technical nature and should be validated against vendor guidance.

RemediationAI

Upgrade to patched Linux kernel versions 6.19.14, 7.0.1, or later stable releases incorporating fix commits c330e65ea59c4805d6ab6757c4ddfe8c63acef31 or b667df39d98a7a24be7c2a40ff0863dac1ad2cd7. Distribution users should apply vendor-provided kernel updates from their package repositories (yum/dnf update kernel for RHEL/CentOS/Fedora, apt upgrade linux-image for Debian/Ubuntu, zypper update kernel-default for SUSE). Upstream fix details at https://git.kernel.org/stable/c/615d9bb2ccad42f9e21d837431e401db2e471195 and NVD advisory at https://nvd.nist.gov/vuln/detail/CVE-2026-31589. No effective workaround exists for kernel memory management bugs short of full patching. Compensating controls are not applicable - this requires code-level fix. Organizations unable to patch immediately should prioritize systems with untrusted local users or those exposing kernel attack surface through containers, virtualization, or network filesystem services. Rebooting into the patched kernel is required for remediation to take effect.

Affected VersionsENISA

Linux patch: 6.19.14
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c330e65ea59c4805d6ab6757c4ddfe8c63acef31
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <b667df39d98a7a24be7c2a40ff0863dac1ad2cd7
Linux patch: 7.0.1

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

This vulnerability affects the Linux kernel's memory management (mm) subsystem, specifically the folio_unmap_invalidate() function which handles cleanup of file-backed memory pages. The issue is a use-after-free condition where the code calls filemap_free_folio() after releasing locks on the address space mapping structure. Because folios (multi-page memory objects) pin their parent mapping, removing the folio from the mapping allows the mapping structure itself to be freed. Subsequent access to mapping->a_ops (address space operations function pointer table) then dereferences freed memory. The CPE identifies this as affecting the core Linux kernel codebase. The fix mirrors the pattern used in __remove_mapping() by loading the free_folio function pointer before releasing the mapping lock, eliminating the race window.

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

Sources disagree (Medium–Critical)
Vendor (Linux) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SUSE CRITICAL
Red Hat 6.6 MEDIUM

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: Linux

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

Lifecycle Timeline

2
CVSS changed
Apr 27, 2026 - 15:22 NVD
9.8 (CRITICAL)
CVE Published
Apr 24, 2026 - 14:42 nvd
CRITICAL 9.8

DescriptionCVE.org

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

mm: call ->free_folio() directly in folio_unmap_invalidate()

We can only call filemap_free_folio() if we have a reference to (or hold a lock on) the mapping. Otherwise, we've already removed the folio from the mapping so it no longer pins the mapping and the mapping can be removed, causing a use-after-free when accessing mapping->a_ops.

Follow the same pattern as __remove_mapping() and load the free_folio function pointer before dropping the lock on the mapping. That lets us make filemap_free_folio() static as this was the only caller outside filemap.c.

Executive ViewAI

Why It Matters

CVE-2026-31589 is a critical use-after-free vulnerability in the Linux kernel memory management subsystem affecting versions 1da177e4c3f4 through 6.19.13/7.0.0. While assigned CVSS 9.8, exploitation requires local kernel code path execution rather than direct remote network access, meaning the threat is limited to authenticated users or processes with kernel interaction capability on affected systems. Organizations running vulnerable Linux kernel versions should prioritize assessment and mitigation planning, as the kernel is foundational to all Linux-based infrastructure.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict SSH/console access to authorized administrators only; disable unprivileged user namespaces via kernel parameters (user.max_user_namespaces=0); implement application-level access controls to kernel interfaces; monitor kernel logs for folio_unmap_invalidate errors. Escalate to kernel vendor for patch timeline and consider temporary workload migration to unaffected kernel versions where operationally feasible.

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
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: Critical
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