In the Linux kernel, the following vulnerability has been resolved: blk-cgroup: fix UAF in __blkcg_rstat_flush() When multiple blkgs in the same… (CVE-2026-63802)
A use-after-free (UAF) vulnerability was identified and resolved in the Linux kernel's blk-cgroup subsystem. The flaw occurs when multiple block group (blkg) objects within the same block control group (blkcg) are released concurrently, leading to a race condition in __blkcg_rstat_flush(). This can cause one blkg to free itself while another is still accessing its entries. The fix involved moving the flush operation to ensure proper synchronization with RCU grace periods, preventing premature freeing of memory.
AI Analysis
Technical Summary
The Linux kernel blk-cgroup subsystem had a use-after-free vulnerability in the __blkcg_rstat_flush() function. When multiple blkgs in the same blkcg are released concurrently, a race condition occurs: one blkg's flush removes another blkg's iostat entries, causing the second blkg to see an empty list and free itself while the first is still iterating. The fix moves the flush from the RCU callback __blkg_release() to blkg_release() before call_rcu, ensuring the RCU grace period waits for any concurrent flush's rcu_read_lock() to complete before freeing memory.
Potential Impact
This vulnerability could lead to use-after-free conditions in the kernel, potentially causing system instability or crashes. No known exploits in the wild have been reported. The impact is limited to concurrent release scenarios within blk-cgroup and may affect kernel reliability or security depending on exploitation context.
Mitigation Recommendations
A fix has been implemented in the Linux kernel by changing the timing of the flush operation to ensure proper synchronization with RCU grace periods. Users should update to the fixed kernel version once available. Patch status is not yet confirmed from the vendor advisory; check the official Linux kernel advisories or distribution updates for the fixed version and apply updates accordingly.
In the Linux kernel, the following vulnerability has been resolved: blk-cgroup: fix UAF in __blkcg_rstat_flush() When multiple blkgs in the same… (CVE-2026-63802)
Description
A use-after-free (UAF) vulnerability was identified and resolved in the Linux kernel's blk-cgroup subsystem. The flaw occurs when multiple block group (blkg) objects within the same block control group (blkcg) are released concurrently, leading to a race condition in __blkcg_rstat_flush(). This can cause one blkg to free itself while another is still accessing its entries. The fix involved moving the flush operation to ensure proper synchronization with RCU grace periods, preventing premature freeing of memory.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel blk-cgroup subsystem had a use-after-free vulnerability in the __blkcg_rstat_flush() function. When multiple blkgs in the same blkcg are released concurrently, a race condition occurs: one blkg's flush removes another blkg's iostat entries, causing the second blkg to see an empty list and free itself while the first is still iterating. The fix moves the flush from the RCU callback __blkg_release() to blkg_release() before call_rcu, ensuring the RCU grace period waits for any concurrent flush's rcu_read_lock() to complete before freeing memory.
Potential Impact
This vulnerability could lead to use-after-free conditions in the kernel, potentially causing system instability or crashes. No known exploits in the wild have been reported. The impact is limited to concurrent release scenarios within blk-cgroup and may affect kernel reliability or security depending on exploitation context.
Mitigation Recommendations
A fix has been implemented in the Linux kernel by changing the timing of the flush operation to ensure proper synchronization with RCU grace periods. Users should update to the fixed kernel version once available. Patch status is not yet confirmed from the vendor advisory; check the official Linux kernel advisories or distribution updates for the fixed version and apply updates accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-22rm-57qw-fv2w
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-63802"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a5d27ad2a4a8d5989131f43
Added to database: 07/19/2026, 19:38:21 UTC
Last enriched: 07/19/2026, 20:22:32 UTC
Last updated: 07/20/2026, 17:26:47 UTC
Views: 13
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.