Skip to main content

Linux Kernel ext4 EUVDEUVD-2026-24786

| CVE-2026-31449 HIGH
Out-of-bounds Read (CWE-125)
2026-04-22 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

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

  1. Recon
    Craft malicious ext4 image with corrupted extent headers
  2. Delivery
    Deliver via USB/email/cloud storage
  3. Exploit
    Social engineer victim to mount filesystem
  4. Install
    Kernel processes extent tree metadata
  5. C2
    ext4_ext_correct_indexes() accesses unbounded p_idx
  6. Execute
    Trigger slab-out-of-bounds read
  7. Impact
    Leak kernel memory or corrupt adjacent structures
  8. Step 8
    Execute arbitrary code at kernel privilege level

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

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

Exploitation Conditions

Requires victim to mount a maliciously crafted ext4 filesystem image, either manually via mount command or automatically through desktop automount features when inserting removable media (USB drives, external hard drives, SD cards). The attacker must have capability to deliver the crafted filesystem image to the target system and convince the user to access it, satisfying the CVSS UI:R (user interaction required) condition. No special kernel configuration or non-default settings required - ext4 support is enabled by default in all mainstream Linux distributions. Exploitation does NOT require authenticated access to the target system prior to the attack, but physical access or social engineering to introduce the malicious storage media is necessary. The vulnerability is triggered during extent tree operations when the kernel processes file metadata, which occurs automatically upon mounting or when accessing affected files. Exploitation is limited to local attack vector (AV:L) - this is not remotely exploitable over network protocols. Kernel memory protection features like SLAB/SLUB allocator hardening, KASLR, and SMEP/SMAP increase exploitation complexity but do not prevent the initial out-of-bounds read that could leak sensitive kernel memory addresses.

Impact

Real-world risk is moderate despite high CVSS score. The CVSS vector AV:L/AC:L/PR:N/UI:R indicates local attack requiring user interaction - specifically, a user must mount or access a maliciously crafted ext4 filesystem image. The 0.02% EPSS score (5th percentile) confirms minimal observed exploitation attempts in the wild. Not present in CISA KEV, indicating no confirmed active exploitation. The attack requires social engineering to trick users into mounting untrusted filesystems or inserting malicious storage media, significantly limiting practical exploitation compared to remote network vulnerabilities. However, the C:H/I:H/A:H impact ratings are accurate - successful exploitation grants full kernel code execution with complete system compromise. Priority for patching should focus on systems that regularly mount untrusted filesystems: forensic workstations, file recovery systems, cloud environments processing user-uploaded disk images, and multi-tenant systems where users can attach virtual disks. Standard desktop and server environments with controlled storage have lower practical risk. The availability of patches across all active stable kernel branches (6.12.80, 6.18.21, 6.19.11, 7.0) provides clear remediation path without need for workarounds.

Exploit ScenarioDerived

An attacker crafts a malicious ext4 filesystem image with corrupted extent tree metadata, specifically setting invalid eh_entries values in extent headers to cause out-of-bounds index pointer calculations. The attacker delivers this image via USB drive, email attachment, or cloud storage upload, socially engineering a victim to mount the filesystem (e.g., labeled as important documents or system recovery media). When the victim mounts the crafted image or when the kernel accesses affected files during normal operations, ext4_ext_correct_indexes() processes the corrupted extent tree without validating p_idx bounds. This triggers a slab-out-of-bounds read that can be leveraged for information disclosure or, with additional heap grooming techniques, escalated to arbitrary kernel code execution, granting the attacker full root-level system control. No public proof-of-concept exists at time of analysis, but the patch commits provide sufficient technical detail for experienced exploit developers to reproduce the vulnerability.

Act Now Prioritize within 24-48h. Why: Active threat signals + CRITICAL/HIGH 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

Buffer overflow in Linux kernel ext4 filesystem allows local attackers with user interaction to achieve arbitrary code execution via crafted extent tree metadata. The ext4_ext_correct_indexes() function fails to validate index pointer bounds when walking up the extent tree, enabling slab-out-of-bounds memory reads when processing malicious filesystem images. With CVSS 7.8 (high severity) but only 0.02% EPSS (5th percentile), this represents elevated theoretical risk with minimal observed real-world exploitation. Vendor patches available across multiple stable kernel branches (6.12.80, 6.18.21, 6.19.11, 7.0), and no public exploit code or active exploitation confirmed at time of analysis.

RemediationAI

Update to patched Linux kernel versions: 6.12.80 or later for the 6.12.x stable series, 6.18.21+ for 6.18.x, 6.19.11+ for 6.19.x, or 7.0+ for mainline kernels. Patches available at https://git.kernel.org/stable/c/01bf1e0b997d82c0e353b51ed74ef99698043c33 (7.0), https://git.kernel.org/stable/c/2acb5c12ebd860f30e4faf67e6cc8c44ddfe5fe8 (6.19.11), https://git.kernel.org/stable/c/93f2e975ed658ce09db4d4c2877ca2c06540df83 (6.18.21), and https://git.kernel.org/stable/c/407c944f217c17d4343148011acafebc604d55e1 (6.12.80). For systems unable to immediately patch, implement strict controls on filesystem mounting: disable automount of removable media via udev rules, restrict mount privileges to trusted administrators only (remove setuid from mount binaries, enforce PolicyKit restrictions), implement mandatory filesystem integrity checking before mount (fsck with strict validation), and deploy kernel security modules (SELinux, AppArmor) with policies denying unprivileged mount operations. Note that disabling ext4 support entirely via kernel module blacklisting breaks most Linux systems as ext4 is the default root filesystem format. Compensating controls significantly impact usability (users cannot mount USB drives, access external storage) and should be considered temporary measures only until patching is completed.

Affected VersionsENISA

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <01bf1e0b997d82c0e353b51ed74ef99698043c33
Linux patch: 6.19.11
Linux patch: 7.0
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2acb5c12ebd860f30e4faf67e6cc8c44ddfe5fe8
Linux patch: 6.18.21
Linux patch: 6.12.80
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <93f2e975ed658ce09db4d4c2877ca2c06540df83
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <407c944f217c17d4343148011acafebc604d55e1

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

The ext4 filesystem uses extent trees to track file block mappings, with index nodes pointing to child extent nodes. The ext4_ext_correct_indexes() function traverses this tree upward to update index entries when leaf extents are modified. The vulnerability occurs because the function accesses path[k].p_idx->ei_block without first verifying that p_idx points within the valid range defined by the extent header's eh_entries field. An attacker controlling on-disk filesystem metadata (via a maliciously crafted ext4 image) can set corrupted eh_entries values causing p_idx to reference memory beyond the allocated buffer. This is a classic bounds check omission in kernel memory management code. The fix validates p_idx against EXT_LAST_INDEX() before dereferencing, returning -EFSCORRUPTED for invalid pointers. This class of vulnerability affects kernel filesystem parsers that trust on-disk metadata without thorough validation, a common attack surface when mounting untrusted storage devices or filesystem images.

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 (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
SUSE HIGH
Red Hat 6.1 MEDIUM

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

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

Lifecycle Timeline

4
CVSS changed
Apr 27, 2026 - 14:22 NVD
7.8 (HIGH)
Patch released
Apr 27, 2026 - 14:16 nvd
Patch available
Patch available
Apr 22, 2026 - 16:02 EUVD
CVE Published
Apr 22, 2026 - 14:16 nvd
HIGH 7.8

DescriptionCVE.org

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

ext4: validate p_idx bounds in ext4_ext_correct_indexes

ext4_ext_correct_indexes() walks up the extent tree correcting index entries when the first extent in a leaf is modified. Before accessing path[k].p_idx->ei_block, there is no validation that p_idx falls within the valid range of index entries for that level.

If the on-disk extent header contains a corrupted or crafted eh_entries value, p_idx can point past the end of the allocated buffer, causing a slab-out-of-bounds read.

Fix this by validating path[k].p_idx against EXT_LAST_INDEX() at both access sites: before the while loop and inside it. Return -EFSCORRUPTED if the index pointer is out of range, consistent with how other bounds violations are handled in the ext4 extent tree code.

Executive ViewAI

Why It Matters

CVE-2026-31449 is a high-severity buffer overflow in the Linux kernel ext4 filesystem that allows local users to execute arbitrary code through crafted filesystem images. This vulnerability requires user interaction and local access, creating risk primarily for multi-user systems, shared hosting environments, and systems handling untrusted storage media. Organizations running vulnerable kernel versions should prioritize patching to eliminate a potential privilege escalation vector.

Business Impact: High
Compensating Controls

Apply vendor patch. Interim mitigations pending patch deployment: restrict filesystem mounting privileges to trusted administrators only; disable auto-mounting of untrusted external media; implement file integrity monitoring on ext4 filesystems; segregate multi-user access on affected systems where feasible.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Threat Intel
2
1 source
Data Quality
7 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 Yes
Deciding rule
Active threat signals + CRITICAL/HIGH 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
Small
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

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

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

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