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)
In the Linux kernel, the following vulnerability has been resolved: blk-cgroup: fix UAF in __blkcg_rstat_flush() When multiple blkgs in the same blkcg are released concurrently, a use-after-free can occur. The race happens when one blkg's __blkcg_rstat_flush() removes another blkg's iostat entries via llist_del_all(). The second blkg sees an empty list and proceeds to free itself while the first is still iterating over its entries. Move the flush from __blkg_release() (RCU callback) to blkg_release() (before call_rcu). This ensures the RCU grace period waits for any concurrent flush's rcu_read_lock() section to complete before freeing.
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
In the Linux kernel, the following vulnerability has been resolved: blk-cgroup: fix UAF in __blkcg_rstat_flush() When multiple blkgs in the same blkcg are released concurrently, a use-after-free can occur. The race happens when one blkg's __blkcg_rstat_flush() removes another blkg's iostat entries via llist_del_all(). The second blkg sees an empty list and proceeds to free itself while the first is still iterating over its entries. Move the flush from __blkg_release() (RCU callback) to blkg_release() (before call_rcu). This ensures the RCU grace period waits for any concurrent flush's rcu_read_lock() section to complete before freeing.
CVSS v3.1
Score 7.8high
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
- 3.1
Threat ID: 6a5d27ad2a4a8d5989131f43
Added to database: 07/19/2026, 19:38:21 UTC
Last enriched: 07/19/2026, 20:22:32 UTC
Last updated: 09/02/2026, 15:53:51 UTC
Views: 122
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.