Skip to main content
Vulnerability Database/CVE-2026-93268

CVE-2026-93268: Linux Kernel ext4 Race Condition Vulnerability

CVE-2026-93268 is a race condition flaw in the Linux kernel ext4 filesystem that causes deadlocks during mount operations. This post explains the technical details, affected versions, impact, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-93268 Overview

CVE-2026-93268 is a Linux kernel vulnerability in the ext4 filesystem that triggers a circular lock dependency during mount operations. The flaw resides in ext4_try_to_expand_extra_isize(), which is invoked from __ext4_mark_inode_dirty() while an active jbd2 handle is held. When the superblock is not yet active (!SB_ACTIVE), the expansion path can move extended attributes to external blocks and release ea_inodes through iput(), acquiring s_writepages_rwsem and creating a deadlock chain.

Critical Impact

The deadlock can be reached through ext4_process_orphan() or ext4_evict_inode() paths during mount, resulting in a filesystem hang that disrupts system availability.

Affected Products

  • Linux kernel ext4 filesystem driver
  • Stable kernel branches referenced in the patch series
  • Distributions shipping unpatched upstream ext4 code

Discovery Timeline

  • 2026-09-24 - CVE-2026-93268 published to NVD
  • 2026-09-24 - Last updated in NVD database

Technical Details for CVE-2026-93268

Vulnerability Analysis

The defect is a kernel deadlock [CWE-833] in the ext4 inode-dirty path. When ext4_mark_inode_dirty() runs during mount, it holds a jbd2 journal handle and may call ext4_try_to_expand_extra_isize() to grow the inode's extra size region. If this expansion needs to migrate xattrs into external blocks, it releases ea_inodes via iput().

Under !SB_ACTIVE, iput() dispatches to write_inode_now(), which takes s_writepages_rwsem. The resulting lock ordering becomes s_writepages_rwsem --> jbd2_handle --> xattr_sem --> s_writepages_rwsem, forming a circular dependency. The fix skips extra isize expansion while the superblock is not active, accepting that affected inodes will not grow their extra isize until e2fsck resolves it later.

Root Cause

The root cause is unsafe lock acquisition order during the mount phase. The ext4 code path assumed iput() of ea_inodes was safe inside a jbd2 handle, but when the superblock is marked inactive, iput() escalates to a synchronous writeback that acquires a lock already in the dependency chain.

Attack Vector

The condition is triggered through standard mount-time code paths: ext4_process_orphan() -> ext4_truncate() -> ext4_mark_inode_dirty() -> ext4_try_to_expand_extra_isize(), or ext4_evict_inode() -> ext4_mark_inode_dirty() -> ext4_try_to_expand_extra_isize(). A crafted or corrupted filesystem image containing orphan inodes with xattrs sized to force external block allocation could reliably trigger the deadlock during mount.

The vulnerability manifests in kernel locking logic. See the referenced upstream commits for the exact patch diff.

Detection Methods for CVE-2026-93268

Indicators of Compromise

  • Kernel task hangs during ext4 mount with stack traces showing ext4_try_to_expand_extra_isize, write_inode_now, and jbd2_journal_start.
  • hung_task watchdog warnings referencing s_writepages_rwsem or xattr_sem contention on an ext4 filesystem.
  • Mount operations that never complete when processing orphan lists on untrusted ext4 images.

Detection Strategies

  • Monitor kernel ring buffer (dmesg) for INFO: task ... blocked for more than X seconds entries tied to ext4 mount threads.
  • Correlate filesystem mount failures with the specific call stacks noted in the upstream commit messages.
  • Audit systems that mount user-supplied or removable ext4 volumes for abnormal mount latency.

Monitoring Recommendations

  • Enable CONFIG_DETECT_HUNG_TASK and forward hung-task alerts to centralized logging.
  • Track running kernel versions across the fleet and flag hosts still on vulnerable ext4 code.
  • Alert on repeated mount failures of removable media or image files on servers and workstations.

How to Mitigate CVE-2026-93268

Immediate Actions Required

  • Apply the vendor kernel updates incorporating the upstream fix that skips ext4_try_to_expand_extra_isize() when !SB_ACTIVE.
  • Restrict mounting of untrusted ext4 filesystem images until patched kernels are deployed.
  • Reboot into the patched kernel after installation to ensure the fixed ext4 module is loaded.

Patch Information

The upstream fix is distributed across multiple stable branches. Reference commits include Linux Kernel Commit 1dd4882d, Linux Kernel Commit 2fb8ff81, Linux Kernel Commit 41897f1b, Linux Kernel Commit 7461c60b, Linux Kernel Commit 7ace189b, Linux Kernel Commit 7ba09330, Linux Kernel Commit 9c346937, and Linux Kernel Commit c5e6434c.

Workarounds

  • Avoid mounting ext4 images that were created or modified with large xattr sets likely to trigger isize expansion.
  • Run e2fsck on suspect filesystems from a patched system before mounting them read-write on production hosts.
  • Where feasible, use ro mount options for untrusted media to reduce the chance of hitting the orphan-processing path.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.