In the Linux kernel, the following vulnerability has been resolved: gfs2: fix use-after-free in gfs2_qd_dealloc gfs2_qd_dealloc(), called as an RCU… (CVE-2026-63804)
A use-after-free vulnerability in the Linux kernel's GFS2 filesystem was resolved by ensuring all RCU callbacks complete before freeing the superblock. The issue occurs in the gfs2_qd_dealloc() function, which accesses a freed superblock object during unmount operations. This can lead to unsafe memory access due to delayed RCU callbacks referencing freed memory. The fix adds an rcu_barrier() call to synchronize and prevent premature freeing.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's GFS2 filesystem involves a use-after-free condition in the gfs2_qd_dealloc() function. This function is called as an RCU callback and accesses the superblock object (sdp) through qd->qd_sbd after the qd structure has been freed. Because gfs2_put_super() may free the superblock via free_sbd() while RCU callbacks are still pending, there is a risk of accessing freed memory. This occurs during unmount when gfs2_quota_cleanup() disposes of quota objects with call_rcu() and waits on sd_kill_wait. The fix introduces an rcu_barrier() before free_sbd() in gfs2_put_super() to ensure all RCU callbacks complete before freeing the superblock, eliminating the use-after-free condition.
Potential Impact
The vulnerability can cause use-after-free memory access in the Linux kernel's GFS2 filesystem during unmount operations. This could lead to kernel instability or crashes if the freed superblock memory is accessed by pending RCU callbacks. No known exploits in the wild have been reported. The impact is limited to systems using the GFS2 filesystem and performing unmount operations involving quota cleanup.
Mitigation Recommendations
A fix is available that adds an rcu_barrier() call before freeing the superblock in gfs2_put_super(), ensuring all pending RCU callbacks complete before memory is freed. Users should update their Linux kernel to a version that includes this patch. Since this is a kernel-level fix, applying the official kernel update from the vendor or distribution is the recommended remediation.
In the Linux kernel, the following vulnerability has been resolved: gfs2: fix use-after-free in gfs2_qd_dealloc gfs2_qd_dealloc(), called as an RCU… (CVE-2026-63804)
Description
A use-after-free vulnerability in the Linux kernel's GFS2 filesystem was resolved by ensuring all RCU callbacks complete before freeing the superblock. The issue occurs in the gfs2_qd_dealloc() function, which accesses a freed superblock object during unmount operations. This can lead to unsafe memory access due to delayed RCU callbacks referencing freed memory. The fix adds an rcu_barrier() call to synchronize and prevent premature freeing.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's GFS2 filesystem involves a use-after-free condition in the gfs2_qd_dealloc() function. This function is called as an RCU callback and accesses the superblock object (sdp) through qd->qd_sbd after the qd structure has been freed. Because gfs2_put_super() may free the superblock via free_sbd() while RCU callbacks are still pending, there is a risk of accessing freed memory. This occurs during unmount when gfs2_quota_cleanup() disposes of quota objects with call_rcu() and waits on sd_kill_wait. The fix introduces an rcu_barrier() before free_sbd() in gfs2_put_super() to ensure all RCU callbacks complete before freeing the superblock, eliminating the use-after-free condition.
Potential Impact
The vulnerability can cause use-after-free memory access in the Linux kernel's GFS2 filesystem during unmount operations. This could lead to kernel instability or crashes if the freed superblock memory is accessed by pending RCU callbacks. No known exploits in the wild have been reported. The impact is limited to systems using the GFS2 filesystem and performing unmount operations involving quota cleanup.
Mitigation Recommendations
A fix is available that adds an rcu_barrier() call before freeing the superblock in gfs2_put_super(), ensuring all pending RCU callbacks complete before memory is freed. Users should update their Linux kernel to a version that includes this patch. Since this is a kernel-level fix, applying the official kernel update from the vendor or distribution is the recommended remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-h7c8-wrgv-c7f2
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-63804"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a5d27ad2a4a8d59891318ef
Added to database: 07/19/2026, 19:38:21 UTC
Last enriched: 07/19/2026, 20:20:46 UTC
Last updated: 07/20/2026, 17:26:47 UTC
Views: 12
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.