Skip to main content

Linux Kernel ext4 CVE-2026-31446

| EUVDEUVD-2026-24781 HIGH
Use After Free (CWE-416)
2026-04-22 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-wwvq-j7g5-3qrf
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
    Gain local filesystem access
  2. Delivery
    Mount ext4 filesystem
  3. Exploit
    Trigger error conditions queuing update_super_work
  4. Install
    Initiate filesystem unmount racing kobject_del()
  5. C2
    Hit race window accessing freed kernfs_node
  6. Execute
    Corrupt kernel memory structures
  7. Impact
    Achieve privilege escalation or denial of service

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 local access with ability to mount/unmount ext4 filesystems, typically requiring root or CAP_SYS_ADMIN capabilities in most Linux configurations. Attack requires triggering filesystem unmount operations concurrently with ext4 error notification work queue execution. The race condition window is narrow, occurring specifically between kobject_del() execution in ext4_unregister_sysfs() and completion of flush_work(&sbi->s_sb_upd_work) in ext4_journal_destroy(). CVSS vector PR:N (no privileges required) appears inconsistent with actual exploitation requirements - filesystem mount/unmount operations typically require elevated privileges. User interaction (UI:R) suggests manual unmount triggering. Exploitation probability limited by narrow race window timing and need for concurrent error notification path activation during unmount sequence.

Impact

CVSS 7.8 reflects local attack vector with low complexity but requires user interaction (UI:R) and no privileges (PR:N), enabling high impact across confidentiality, integrity, and availability. However, real-world risk is constrained by multiple factors. EPSS score of 0.02% (7th percentile) indicates extremely low probability of active exploitation, consistent with the lack of CISA KEV listing and no reported exploit code. The vulnerability requires specific timing conditions during filesystem unmount operations, making exploitation non-trivial despite low attack complexity rating. The race window is narrow and exploitation would need to trigger concurrent unmount and error notification paths. Tags indicate information disclosure as primary concern, though CVSS suggests broader impact potential. CVSS PR:N appears inconsistent with the local attack requiring filesystem mount/unmount operations typically needing elevated privileges - verify whether standard user can trigger umount on mounted ext4 filesystems in target environment. Given patch availability across all maintained kernel branches and low exploitation probability, this is moderate priority for systems running affected versions, elevated only if systems have unusual mount permission configurations or face insider threat scenarios.

Exploit ScenarioDerived

Local attacker with filesystem mount permissions triggers ext4 filesystem unmount while simultaneously forcing error conditions that queue update_super_work handlers. During the narrow race window when ext4_put_super() executes kobject_del() to tear down sysfs structures, a pending update_super_work() executes ext4_notify_error_sysfs() attempting sysfs_notify() on the freed kernfs_node. Successful exploitation corrupts kernel memory structures, potentially leading to privilege escalation or denial of service. No public exploit code identified at time of analysis.

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

Use-after-free in Linux kernel ext4 filesystem allows local attackers to potentially execute arbitrary code or cause denial of service during unmount operations. The vulnerability stems from a race condition between ext4_put_super() teardown and update_super_work() error notification, where sysfs_notify() accesses a freed kernfs_node object after kobject_del() has released it. Fixed in stable kernel releases 5.15.203, 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11, and mainline 7.0. EPSS score of 0.02% (7th percentile) suggests low probability of exploitation in the wild, though CVSS vector indicates straightforward local exploitation requiring user interaction.

RemediationAI

Upgrade to patched Linux kernel versions: 5.15.203+ for 5.15.x series, 6.1.168+ for 6.1.x series, 6.6.131+ for 6.6.x series, 6.12.80+ for 6.12.x series, 6.18.21+ for 6.18.x series, 6.19.11+ for 6.19.x series, or 7.0+ for mainline. Patch commits are available at https://git.kernel.org/stable/c/c97e282f7bfd0c3554c63d289964a5ca6a1d2ffe and related stable branch commits in NVD references. For environments unable to immediately patch, potential workarounds include avoiding concurrent ext4 filesystem unmount operations during high error notification activity, though this is impractical for production systems. Disabling ext4 error notification via sysfs is not recommended as it removes critical filesystem health monitoring capabilities. Consider prioritizing systems with untrusted local users or those running kernel versions in the affected range (5.18 through unpatched 6.x/7.x). Standard kernel update procedures apply with reboot required for activation. No known side effects from applying these patches beyond normal kernel update considerations.

Affected VersionsENISA

Linux patch: 6.18.21
Linux b98535d091795a79336f520b0708457aacf55c67 <c97e282f7bfd0c3554c63d289964a5ca6a1d2ffe
Linux afe490e48d47df1b3f64012835c1bc2f075a8c8b
Linux 5.18
Linux 52c3a04f9ec2a16a4204d6274db338cb8d5b2d74 <c8fe17a1b308c3d8c703ebfb049b325f844342c3
Linux patch: 6.1.168
Linux patch: 0
Linux 585ef03c9e79672781f954daae730dfe24bf3a46
Linux b98535d091795a79336f520b0708457aacf55c67 <9449f99ba04f5dd1c8423ad8a90b3651d7240d1d
Linux patch: 6.6.131
Linux patch: 5.15.203
Linux patch: 6.19.11
Linux b98535d091795a79336f520b0708457aacf55c67 <c4d829737329f2290dd41e290b7d75effdb2a7ff
Linux b98535d091795a79336f520b0708457aacf55c67 <034053378dd81837fd6c7a43b37ee2e58d4f0b4e
Linux patch: 7.0
Linux b98535d091795a79336f520b0708457aacf55c67 <08b10e6f37fc533a759e9833af0692242e8b3f93
Linux b98535d091795a79336f520b0708457aacf55c67 <d15e4b0a418537aafa56b2cb80d44add83e83697
Linux patch: 6.12.80

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 ext4 filesystem's error notification mechanism uses a kobject-based sysfs interface for reporting errors. During filesystem unmount, ext4_put_super() calls ext4_unregister_sysfs() which invokes kobject_del() to remove the sysfs directory, freeing the associated kernfs_node structure via RCU. Concurrently, update_super_work() (a delayed work queue handler) may call ext4_notify_error_sysfs() which attempts sysfs_notify() on the same kobject. The race window exists between kobject_del() setting kobj->sd = NULL and the actual RCU-delayed free of the kernfs_node. When ext4_notify_error_sysfs() dereferences kobj->sd and calls kernfs_get(), it accesses freed memory. This issue was introduced by commit b98535d09179 which reordered teardown operations to prevent new error work submission via /proc/fs/ext4/xx/mb_groups. The fix adds s_error_notify_mutex serialization and checks s_kobj.state_in_sysfs before attempting sysfs_notify(), preventing TOCTOU races.

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 5.5 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: fix use-after-free in update_super_work when racing with umount

Commit b98535d09179 ("ext4: fix bug_on in start_this_handle during umount filesystem") moved ext4_unregister_sysfs() before flushing s_sb_upd_work to prevent new error work from being queued via /proc/fs/ext4/xx/mb_groups reads during unmount. However, this introduced a use-after-free because update_super_work calls ext4_notify_error_sysfs() -> sysfs_notify() which accesses the kobject's kernfs_node after it has been freed by kobject_del() in ext4_unregister_sysfs():

update_super_work ext4_put_super ----------------- -------------- ext4_unregister_sysfs(sb) kobject_del(&sbi->s_kobj) __kobject_del() sysfs_remove_dir() kobj->sd = NULL sysfs_put(sd) kernfs_put() // RCU free ext4_notify_error_sysfs(sbi) sysfs_notify(&sbi->s_kobj) kn = kobj->sd // stale pointer kernfs_get(kn) // UAF on freed kernfs_node ext4_journal_destroy() flush_work(&sbi->s_sb_upd_work)

Instead of reordering the teardown sequence, fix this by making ext4_notify_error_sysfs() detect that sysfs has already been torn down by checking s_kobj.state_in_sysfs, and skipping the sysfs_notify() call in that case. A dedicated mutex (s_error_notify_mutex) serializes ext4_notify_error_sysfs() against kobject_del() in ext4_unregister_sysfs() to prevent TOCTOU races where the kobject could be deleted between the state_in_sysfs check and the sysfs_notify() call.

Executive ViewAI

Why It Matters

A use-after-free vulnerability in the Linux kernel ext4 filesystem (CVE-2026-31446) allows local attackers to execute arbitrary code or crash systems during filesystem unmount operations. This affects Linux systems running vulnerable kernel versions and requires local access, posing risk to multi-user systems and environments where untrusted users have shell access. Organizations should prioritize patching production infrastructure, particularly servers handling sensitive data or critical services.

Business Impact: High
Compensating Controls

Vendor-released patch: kernel versions 5.15.203, 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11, or 7.0+. If immediate patching is not feasible, implement: (1) restrict local user access via PAM/SSH configuration to trusted accounts only; (2) disable ext4 automount for untrusted filesystems; (3) monitor syslog for ext4 errors and kernel oops messages; (4) isolate multi-user systems until patches are applied.

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 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

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: 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