Skip to main content

Linux Kernel CVE-2026-64378

| EUVDEUVD-2026-48922 HIGH
Race Condition (CWE-362)
2026-07-25 Linux GHSA-325c-m2q7-75hg
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Recon
    Local user exits container with dirty inodes in writeback
  2. Delivery
    inode_prepare_wbs_switch() passes SB_ACTIVE check, takes inode ref
  3. Exploit
    umount concurrently clears SB_ACTIVE, rcu_barrier() and flush_workqueue() miss in-flight switch
  4. Install
    put_super() destroys percpu counters
  5. C2
    deferred switch work runs iput()
  6. Execute
    eviction calls percpu_counter_dec() on freed memory
  7. Impact
    kernel UAF crash or BUG_ON

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

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

Exploitation Conditions

Exploitation requires three concurrent conditions: (1) the system runs Linux kernel 4.5 or later with cgroupv2 and cgroup writeback active (the default configuration in modern Linux distributions including Ubuntu, Fedora, and Debian with default kernel configs); (2) an inode writeback-context switch is in-flight - specifically, inode_prepare_wbs_switch() has passed the SB_ACTIVE check and incremented isw_nr_in_flight but wb_queue_isw() has not yet been called - which occurs naturally during container workloads with dirty-inode writeback across cgroup boundaries; (3) the filesystem is concurrently being unmounted (container exit triggers this via deactivate_super path). The attack is limited to local access, requires the ability to run and exit containers (PR:L), and depends on a narrow race window that becomes more probable under high container churn. Remote unauthenticated exploitation is not possible. No special non-default configuration beyond cgroupv2 with writeback (default in modern kernels) is required.

Impact

The provided CVSS 7.8 (AV:L/AC:L/PR:L) correctly identifies local access and low-privilege requirements, but AC:L understates the exploitability barrier - this is a timing-dependent race condition requiring precise concurrency between container exit and in-flight inode writeback switching, making AC:H more accurate. The primary real-world impact is kernel availability (BUG_ON crash or UAF-induced instability), with marginal confidentiality and integrity implications from the UAF. The 'Information Disclosure' tag in the input metadata is mislabeled; no information disclosure vector is described or apparent. EPSS at 0.21% (12th percentile) and absence from CISA KEV both indicate low exploitation interest. This vulnerability is realistic in high-churn container workloads (Kubernetes nodes, container runtimes like containerd) but requires a narrow timing window, constraining practical exploitation. The risk profile is best characterized as a local denial-of-service in container-dense Linux environments running unpatched kernels.

Exploit ScenarioDerived

On a Kubernetes or container runtime node running an unpatched kernel, a high-churn workload simultaneously exits multiple containers that have dirty inodes with pending writeback-context switches. At the precise moment cgroup_writeback_umount() calls rcu_barrier() and flush_workqueue(), an in-flight switch has already taken an inode reference but not yet called wb_queue_isw() - causing the umount path to miss it entirely, destroy percpu counters, and later crash the kernel when the deferred switch work invokes percpu_counter_dec() on freed memory. No public exploit code is identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 16, 2026

The Linux kernel writeback subsystem crashes with a use-after-free during container exit due to a race between cgroup_writeback_umount() and inode_switch_wbs(). An in-flight writeback-context switch can pass the SB_ACTIVE check and take an inode reference before the filesystem unmount clears SB_ACTIVE, but delay queuing its work item - causing the umount path to flush a workqueue that has nothing pending, destroy percpu counters via put_super(), and then have the deferred switch work invoke percpu_counter_dec() on freed memory, triggering a BUG_ON or silent UAF. No public exploit is identified at time of analysis; EPSS stands at 0.21% (12th percentile) with no CISA KEV listing.

RemediationAI

Upgrade to a patched Linux stable kernel: 5.10.261 or later, 6.1.178 or later, 6.6.145 or later, 6.12.96 or later, 6.18.39 or later, or 7.1.4 or later. Ubuntu users should apply updates from USN-8726-1 and USN-8727-1 (https://ubuntu.com/security/notices/USN-8726-1). Upstream fixes are available at git.kernel.org in commits 087d5b8b501c570f84bf655164e6698c3ce146e0, 3c9c9648f77e4d14e50676bc51c2174ba9c8d361, 5c3265f3252b2ee50707adaaa3f9bd0df3df72de, c923cc3cb5cd8945ceaf08252754110643446593, 685fc15a410885b6d4dee64de0dce721b9428b12, 53eeaf4d63068dbc7708b0c7adb20151c812feca, and cba38ec4cbd3a7b8b942a8d52531a05be8a9ff0d. There is no configuration knob to disable the affected code path without disabling cgroup writeback entirely; as a partial mitigation on unpatched systems, reducing container churn rate (sequential rather than concurrent container termination) lowers race probability but does not eliminate it.

Affected VersionsENISA

Linux patch: 7.1.4
Linux a1a0e23e49037c23ea84bc8cc146a03584d13577 <087d5b8b501c570f84bf655164e6698c3ce146e0
Linux a1a0e23e49037c23ea84bc8cc146a03584d13577 <53eeaf4d63068dbc7708b0c7adb20151c812feca
Linux 4.5
Linux c5cbbec54fe71c4de2d34f8c0ec8fbfdd7f17339
Linux patch: 7.2-rc1
Linux patch: 6.1.178
Linux a1a0e23e49037c23ea84bc8cc146a03584d13577 <5c3265f3252b2ee50707adaaa3f9bd0df3df72de
Linux a1a0e23e49037c23ea84bc8cc146a03584d13577 <cba38ec4cbd3a7b8b942a8d52531a05be8a9ff0d
Linux patch: 6.6.145
Linux patch: 6.18.39
Linux 4.4.5 <4.5
Linux a1a0e23e49037c23ea84bc8cc146a03584d13577 <685fc15a410885b6d4dee64de0dce721b9428b12
Linux patch: 6.12.96
Linux a1a0e23e49037c23ea84bc8cc146a03584d13577 <3c9c9648f77e4d14e50676bc51c2174ba9c8d361
Linux a1a0e23e49037c23ea84bc8cc146a03584d13577 <c923cc3cb5cd8945ceaf08252754110643446593
Linux patch: 0
Linux patch: 5.10.261

Affected Packages

euvd linux fix: 4.5

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 Linux kernel's cgroup writeback (cgwb) mechanism, enabled by default with cgroupv2, coordinates writeback of dirty inodes to their cgroup's associated writeback context. When an inode's writeback context is switched (inode_switch_wbs or cleanup_offline_cgwb), the code increments isw_nr_in_flight and calls inode_prepare_wbs_switch(), which checks SB_ACTIVE and calls __iget() to pin the inode. The critical race window exists between inode_prepare_wbs_switch() completing and the subsequent wb_queue_isw() call that actually enqueues the work. During this window, no RCU read-side lock is held, so cgroup_writeback_umount() can execute its rcu_barrier() and flush_workqueue(isw_wq) and observe nothing pending - proceeding to evict_inodes() (which skips the still-referenced inode), destroy percpu counters in put_super(), and crash when the delayed work eventually runs iput() and eviction calls percpu_counter_dec() on freed memory. CWE-362 (Concurrent Execution Using Shared Resource with Improper Synchronization) correctly identifies the root cause. Affected CPE: cpe:2.3:a:linux:linux, introduced at kernel 4.5.

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 (Linux) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 5.8 MEDIUM

Race condition requires narrow timing window (AC:H); local container privilege needed (PR:L); primary impact is kernel crash (A:H) with minor UAF-derived C:L/I:L.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat 7.0 HIGH

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

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

Lifecycle Timeline

4
CVSS changed
Jul 27, 2026 - 05:22 NVD
7.8 (HIGH)
Patch available
Jul 25, 2026 - 11:18 EUVD
CVE Published
Jul 25, 2026 - 08:50 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 25, 2026 - 08:50 cve.org
HIGH 7.8

DescriptionCVE.org

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

writeback: fix race between cgroup_writeback_umount() and inode_switch_wbs()

When a container exits, the following BUG_ON() is occasionally triggered:

============== VFS: Busy inodes after unmount of sdb (ext4) ------------[ cut here ]------------ kernel BUG at fs/super.c:695! CPU: 3 PID: 6 Comm: containerd-shim Tainted: G OE K 6.6 #1 pstate: 63400009 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : generic_shutdown_super+0xf0/0x100 lr : generic_shutdown_super+0xf0/0x100 Call trace: generic_shutdown_super+0xf0/0x100 kill_block_super+0x20/0x48 ext4_kill_sb+0x28/0x60 deactivate_locked_super+0x54/0x130 deactivate_super+0x84/0xa0 cleanup_mnt+0xa4/0x140 __cleanup_mnt+0x18/0x28 task_work_run+0x78/0xe0 do_notify_resume+0x204/0x240 ==============

The root cause is a race between cgroup_writeback_umount() and inode_switch_wbs()/cleanup_offline_cgwb(). There is a window between inode_prepare_wbs_switch() returning true and the subsequent wb_queue_isw() call. Following is the process that triggers the issue:

CPU A (umount) | CPU B (writeback) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inode_switch_wbs/cleanup_offline_cgwb atomic_inc(&isw_nr_in_flight) inode_prepare_wbs_switch -> passes SB_ACTIVE check __iget(inode) generic_shutdown_super sb->s_flags &= ~SB_ACTIVE cgroup_writeback_umount(sb) smp_mb() atomic_read(&isw_nr_in_flight) rcu_barrier() -> no pending RCU callbacks flush_workqueue(isw_wq) -> nothing queued, returns evict_inodes(sb) -> Inode skipped as isw still holds a ref. sop->put_super(sb) /* destroys percpu counters */ -> VFS: Busy inodes after unmount! wb_queue_isw() queue_work(isw_wq, ...) /* later in work function */ inode_switch_wbs_work_fn process_inode_switch_wbs iput() -> evict percpu_counter_dec() // UAF!

Fix this by extending the RCU read-side critical section in inode_switch_wbs() and cleanup_offline_cgwb() to cover from inode_prepare_wbs_switch() through wb_queue_isw(). Since there is no sleep in this window, rcu_read_lock() can be used. Then add a synchronize_rcu() in cgroup_writeback_umount() before the existing rcu_barrier(), so that all in-flight switchers that have passed the SB_ACTIVE check have completed queue_work() before flush_workqueue() is called.

The existing rcu_barrier() is intentionally retained so this fix can be backported unchanged to stable kernels (5.10.y, 6.6.y, ...) that still queue switches via queue_rcu_work(). It is a no-op on current mainline (since commit e1b849cfa6b6 ("writeback: Avoid contention on wb->list_lock when switching inodes")) and is removed in a follow-up patch.

Executive ViewAI

Why It Matters

A vulnerability in the Linux kernel writeback system (CVE-2026-64378) can cause kernel crashes when containers exit, potentially impacting application availability. Although officially rated HIGH severity (CVSS 7.8), actual exploitation risk is low-no public exploits exist and real-world probability stands at 0.2%-making this a medium-priority patch for containerized infrastructure.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Ubiquitous
core Linux kernel deployed in virtually all Linux server and container environments
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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

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

Attack Technique

Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy