In the Linux kernel, the following vulnerability has been resolved: writeback: fix race between cgroup_writeback_umount() and inode_switch_wbs()… (CVE-2026-64378)
A race condition vulnerability in the Linux kernel's writeback subsystem has been resolved. The issue occurs due to a race between cgroup_writeback_umount() and inode_switch_wbs()/cleanup_offline_cgwb() during container exit, which can trigger a kernel BUG related to busy inodes after unmount. The root cause involves a timing window where inode references are mishandled, potentially leading to use-after-free conditions. The fix extends the RCU read-side critical section and adds synchronization to ensure proper ordering of operations during unmount. No known exploits are reported. No specific affected versions are provided.
AI Analysis
Technical Summary
This vulnerability in the Linux kernel involves a race condition between cgroup_writeback_umount() and inode_switch_wbs()/cleanup_offline_cgwb() functions. When a container exits, a kernel BUG_ON() may be triggered due to busy inodes after unmounting an ext4 filesystem. The race occurs because there is a window between inode_prepare_wbs_switch() returning true and the subsequent wb_queue_isw() call, leading to a use-after-free scenario during inode reference counting and eviction. The fix involves extending the RCU read-side critical section to cover the entire window and adding a synchronize_rcu() call in cgroup_writeback_umount() to ensure all in-flight switchers complete before flush_workqueue() is called. This fix is designed to be backported to stable kernels and removes the race condition without impacting normal operation.
Potential Impact
The vulnerability can cause kernel crashes (BUG_ON) due to busy inodes after unmount, which may lead to system instability or denial of service. The root cause is a race condition that can result in use-after-free during inode reference handling in the writeback subsystem. There is no indication of privilege escalation or data corruption beyond system instability. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix for this race condition has been implemented in the Linux kernel by extending RCU critical sections and adding synchronization calls to ensure proper ordering during unmount operations. Users should apply the official kernel updates that include this fix. Since no affected versions or patch links are provided, check the vendor or Linux kernel mailing lists for the relevant stable kernel updates (including 5.10.y, 6.6.y, and later). Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: writeback: fix race between cgroup_writeback_umount() and inode_switch_wbs()… (CVE-2026-64378)
Description
A race condition vulnerability in the Linux kernel's writeback subsystem has been resolved. The issue occurs due to a race between cgroup_writeback_umount() and inode_switch_wbs()/cleanup_offline_cgwb() during container exit, which can trigger a kernel BUG related to busy inodes after unmount. The root cause involves a timing window where inode references are mishandled, potentially leading to use-after-free conditions. The fix extends the RCU read-side critical section and adds synchronization to ensure proper ordering of operations during unmount. No known exploits are reported. No specific affected versions are provided.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in the Linux kernel involves a race condition between cgroup_writeback_umount() and inode_switch_wbs()/cleanup_offline_cgwb() functions. When a container exits, a kernel BUG_ON() may be triggered due to busy inodes after unmounting an ext4 filesystem. The race occurs because there is a window between inode_prepare_wbs_switch() returning true and the subsequent wb_queue_isw() call, leading to a use-after-free scenario during inode reference counting and eviction. The fix involves extending the RCU read-side critical section to cover the entire window and adding a synchronize_rcu() call in cgroup_writeback_umount() to ensure all in-flight switchers complete before flush_workqueue() is called. This fix is designed to be backported to stable kernels and removes the race condition without impacting normal operation.
Potential Impact
The vulnerability can cause kernel crashes (BUG_ON) due to busy inodes after unmount, which may lead to system instability or denial of service. The root cause is a race condition that can result in use-after-free during inode reference handling in the writeback subsystem. There is no indication of privilege escalation or data corruption beyond system instability. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix for this race condition has been implemented in the Linux kernel by extending RCU critical sections and adding synchronization calls to ensure proper ordering during unmount operations. Users should apply the official kernel updates that include this fix. Since no affected versions or patch links are provided, check the vendor or Linux kernel mailing lists for the relevant stable kernel updates (including 5.10.y, 6.6.y, and later). Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-325c-m2q7-75hg
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64378"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a65420b9c2644c7f8084d27
Added to database: 07/25/2026, 23:08:59 UTC
Last enriched: 07/25/2026, 23:30:32 UTC
Last updated: 07/26/2026, 03:45:40 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.