Skip to main content

Linux Kernel ext4 CVE-2026-31448

| EUVDEUVD-2026-24784 CRITICAL
Loop with Unreachable Exit Condition (Infinite Loop) (CWE-835)
2026-04-22 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Critical
Disputed · 9.4 Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

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

  1. Recon
    Gain filesystem write access
  2. Delivery
    Execute mkdir/mknod to trigger extent allocation
  3. Exploit
    Induce huge-file-feature disable during metadata update
  4. Install
    Extent insertion fails leaving stale tree entries
  5. C2
    Subsequent mkdir reuses freed blocks
  6. Execute
    Block collision with xattr allocation
  7. Impact
    Infinite loop in ext4_xattr_block_set holds inode lock
  8. Step 8
    System-wide filesystem denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Loop termination conditions
MITRE ATT&CK

1 technique across 1 tactic: Impact

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 execute mkdir or mknod system calls on an ext4 filesystem, either as authenticated local user or via network filesystem protocols (NFS, SMB) if ext4 is exported. Triggering also requires specific filesystem state: the huge file feature must be toggled off during inode metadata updates, which occurs when ext4_ext_map_blocks() fails extent insertion after physical block allocation. This is NOT a default configuration state but can occur during quota enforcement, filesystem full conditions, or metadata corruption scenarios. Attack vector marked as AV:N in CVSS suggests remote exploitation possibility via network filesystems, though description focuses on local filesystem operations - verify with vendor whether NFS/remote-mount attack scenarios are confirmed. No special user interaction (UI:N) or elevated privileges (PR:N) required beyond basic filesystem access, but attacker must control timing/sequence of directory operations to induce the failure condition. Limiting factor: exploitation requires either local access or exposed network filesystem with write permissions.

Impact

CVSS 9.4 with network attack vector (AV:N) contradicts the local filesystem nature of ext4 exploitation, suggesting potential misclassification or NFS/remote-mount attack scenario not detailed in the description. The AC:L/PR:N/UI:N vector implies trivial exploitation, yet EPSS 0.02% (percentile 7) indicates security researchers assess real-world exploitation probability as extremely low - likely because triggering requires specific filesystem state transitions (huge file feature toggling during inode operations) not easily controlled remotely. Impact is purely availability (infinite loop/lock holding causing 143+ second hangs), with limited confidentiality/integrity impact (C:L/I:H rating not explained by description). Not in CISA KEV and no public POC identified, reducing urgency. Patches available across all supported stable branches since early kernel.org commits, indicating vendor-confirmed issue with straightforward fixes. Priority depends on deployment: critical for multi-tenant Linux systems with untrusted local users or NFS servers exposing ext4, low priority for single-user workstations or non-ext4 deployments. VERIFY ACTUAL ATTACK VECTOR WITH VENDOR - network classification may be erroneous.

Exploit ScenarioDerived

An attacker with the ability to perform mkdir/mknod operations on an ext4 filesystem (either as local user or via network filesystem like NFS) creates directories in a pattern that triggers the huge file feature disable during inode metadata updates. When extent insertion fails, the kernel reclaims physical blocks but leaves stale extent tree entries. Subsequent mkdir calls reuse these block numbers, colliding with xattr allocations and triggering infinite loops in ext4_xattr_block_set(). The system becomes unresponsive as inode locks are held indefinitely (143+ seconds observed), causing denial of service for all processes accessing the affected filesystem. No public proof-of-concept exists at time of analysis, but the attack primitive (controlled mkdir operations) is trivial.

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

Denial of service in Linux kernel ext4 filesystem allows remote attackers to trigger infinite loops and system hangs (143+ second inode lock blocking) via crafted mkdir/mknod operations. The vulnerability stems from incomplete cleanup when extent insertion fails - ext4_ext_map_blocks() reclaims physical blocks without deleting stale extent tree entries, causing reuse of blocks already allocated to xattrs. This triggers infinite loops in ext4_xattr_block_set() that hold inode locks indefinitely. With CVSS 9.4 (AV:N/AC:L/PR:N/UI:N) but EPSS only 0.02% (percentile 7), the network attack vector rating appears inconsistent with typical local filesystem exploitation. Patches available across stable kernel branches 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11, and mainline 7.0. No active exploitation confirmed (not in CISA KEV), but tagged for denial-of-service impact.

RemediationAI

Upgrade to patched Linux kernel versions: 6.1.168+ for 6.1.x series, 6.6.131+ for 6.6.x, 6.12.80+ for 6.12.x, 6.18.21+ for 6.18.x, 6.19.11+ for 6.19.x, or 7.0+ for mainline. Patches available from kernel.org stable tree (commits listed in references). If immediate patching is infeasible, consider these compensating controls with noted trade-offs: (1) Disable ext4 huge file feature globally via tune2fs -O ^huge_file on affected filesystems - prevents triggering condition but limits maximum file sizes to 2TB and may impact performance for large files; (2) Restrict mkdir/mknod system calls for untrusted users via seccomp or SELinux policies - reduces attack surface but breaks legitimate directory creation workflows; (3) Monitor for inode lock wait times exceeding 60 seconds and configure automatic kernel panic/reboot via hung task timeout - contains DoS impact but causes service disruption. No effective mitigation exists without kernel patch for systems requiring full ext4 functionality. Advisory URLs: https://git.kernel.org/stable/c/64f425b06b3b (6.1.168), https://git.kernel.org/stable/c/416c86f30f91 (6.6.131), https://git.kernel.org/stable/c/c66545e83a80 (6.12.80), https://git.kernel.org/stable/c/5422fe71d26d (6.18.21), https://git.kernel.org/stable/c/ecc50bfca9b5 (6.19.11), https://git.kernel.org/stable/c/3a7667595bca (7.0).

Affected VersionsENISA

Linux patch: 6.19.11
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <64f425b06b3bea9abc8977fd3982779b3ad070c9
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <416c86f30f91b4fb2642ef6b102596ca898f41a5
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c66545e83a802c3851d9be27a41c0479dd29ff0c
Linux patch: 7.0
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <5422fe71d26d42af6c454ca9527faaad4e677d6c
Linux patch: 6.1.168
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <ecc50bfca9b5c2ee6aeef998181689b80477367b
Linux patch: 6.18.21
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <3a7667595bcad84da53fc156a418e110267c3412
Linux patch: 6.12.80
Linux patch: 6.6.131

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 map logical file blocks to physical disk blocks. During directory creation (mkdir/mknod), ext4_ext_map_blocks() attempts to insert new extents into this tree. When insertion fails - specifically when the huge file feature is disabled during inode dirtying - the function calls ext4_free_blocks() to reclaim the allocated physical block but leaves residual metadata in the extent tree. This creates a dangling reference where the freed block number remains mapped. Subsequent mkdir operations read this stale mapping and attempt to reuse the physical block, which may now be allocated to extended attribute (xattr) storage. The collision causes ext4_xattr_block_set() to enter an infinite loop while holding the inode lock, as both the directory entry and xattr block reference the same buffer head. The patch distinguishes filesystem-consistent errors (ENOSPC/EDQUOT, occurring before extent insertion) from metadata corruption errors (other failures, after partial insertion), implementing selective cleanup to prevent cascading damage to quota accounting and extent tree integrity.

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

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

Lifecycle Timeline

4
CVSS changed
Apr 27, 2026 - 14:22 NVD
9.4 (CRITICAL)
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
CRITICAL 9.4

DescriptionCVE.org

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

ext4: avoid infinite loops caused by residual data

On the mkdir/mknod path, when mapping logical blocks to physical blocks, if inserting a new extent into the extent tree fails (in this example, because the file system disabled the huge file feature when marking the inode as dirty), ext4_ext_map_blocks() only calls ext4_free_blocks() to reclaim the physical block without deleting the corresponding data in the extent tree. This causes subsequent mkdir operations to reference the previously reclaimed physical block number again, even though this physical block is already being used by the xattr block. Therefore, a situation arises where both the directory and xattr are using the same buffer head block in memory simultaneously.

The above causes ext4_xattr_block_set() to enter an infinite loop about "inserted" and cannot release the inode lock, ultimately leading to the 143s blocking problem mentioned in [1].

If the metadata is corrupted, then trying to remove some extent space can do even more harm. Also in case EXT4_GET_BLOCKS_DELALLOC_RESERVE was passed, remove space wrongly update quota information. Jan Kara suggests distinguishing between two cases:

  1. The error is ENOSPC or EDQUOT - in this case the filesystem is fully

consistent and we must maintain its consistency including all the accounting. However these errors can happen only early before we've inserted the extent into the extent tree. So current code works correctly for this case.

  1. Some other error - this means metadata is corrupted. We should strive to

do as few modifications as possible to limit damage. So I'd just skip freeing of allocated blocks.

[1] INFO: task syz.0.17:5995 blocked for more than 143 seconds. Call Trace: inode_lock_nested include/linux/fs.h:1073 [inline] __start_dirop fs/namei.c:2923 [inline] start_dirop fs/namei.c:2934 [inline]

Executive ViewAI

Why It Matters

CVE-2026-31448 is a critical denial-of-service vulnerability in the Linux kernel ext4 filesystem that allows remote attackers to remotely trigger system hangs lasting over 2 minutes through crafted filesystem operations, potentially impacting availability of Linux-based infrastructure. The CVSS 9.4 rating reflects network-accessible attack capability with no authentication required, making this a significant risk to any organization running affected kernel versions on exposed systems.

Business Impact: High
Compensating Controls

Apply vendor patch. Interim mitigation if immediate patching impossible: restrict filesystem access to trusted local users only and disable remote filesystem mounting protocols (NFS, SMB) on affected systems; monitor for unusual filesystem lock contention using kernel performance tools (e.g., lockstat, ftrace); implement network segmentation to limit exposure of affected systems to untrusted networks.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% 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 CRITICAL
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
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

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

Attack Technique

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

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

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