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 exists in the Linux kernel's GFS2 filesystem code in the gfs2_qd_dealloc function. The issue arises because the function accesses a superblock object after it may have been freed, leading to potential memory corruption. The vulnerability is related to the handling of RCU callbacks during unmount operations. This flaw has been resolved by adding an rcu_barrier() call to ensure all RCU callbacks complete before freeing the superblock.
AI Analysis
Technical Summary
The Linux kernel's GFS2 filesystem had a use-after-free vulnerability (CVE-2026-63804) in the gfs2_qd_dealloc() function, which is called as an RCU callback from gfs2_qd_dispose(). The function accesses the superblock object (sdp) via qd->qd_sbd after qd has been freed. Since gfs2_put_super() may free the superblock via free_sbd() while RCU callbacks are still pending, this leads to use-after-free. The vulnerability occurs during unmount when gfs2_quota_cleanup() disposes quota objects with call_rcu() and waits on sd_kill_wait. If the wait times out or additional RCU callbacks are scheduled after the wait, the superblock can be freed prematurely. The fix adds an rcu_barrier() before free_sbd() in gfs2_put_super() to ensure all RCU callbacks complete before freeing the superblock.
Potential Impact
This vulnerability allows a use-after-free condition in the Linux kernel's GFS2 filesystem code, which can lead to memory corruption. The CVSS vector indicates high impact on confidentiality, integrity, and availability (C:H/I:H/A:H), meaning an attacker with local privileges could potentially execute arbitrary code, cause denial of service, or compromise system integrity.
Mitigation Recommendations
A fix has been implemented that adds an rcu_barrier() call before freeing the superblock in gfs2_put_super(), ensuring all pending RCU callbacks complete before the superblock is freed. Users should apply the official Linux kernel updates that include this fix once available. Patch status is not yet confirmed from vendor advisory; check the Linux kernel vendor advisory for current remediation guidance.
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 exists in the Linux kernel's GFS2 filesystem code in the gfs2_qd_dealloc function. The issue arises because the function accesses a superblock object after it may have been freed, leading to potential memory corruption. The vulnerability is related to the handling of RCU callbacks during unmount operations. This flaw has been resolved by adding an rcu_barrier() call to ensure all RCU callbacks complete before freeing the superblock.
CVSS v3.1
Score 7.8high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's GFS2 filesystem had a use-after-free vulnerability (CVE-2026-63804) in the gfs2_qd_dealloc() function, which is called as an RCU callback from gfs2_qd_dispose(). The function accesses the superblock object (sdp) via qd->qd_sbd after qd has been freed. Since gfs2_put_super() may free the superblock via free_sbd() while RCU callbacks are still pending, this leads to use-after-free. The vulnerability occurs during unmount when gfs2_quota_cleanup() disposes quota objects with call_rcu() and waits on sd_kill_wait. If the wait times out or additional RCU callbacks are scheduled after the wait, the superblock can be freed prematurely. The fix adds an rcu_barrier() before free_sbd() in gfs2_put_super() to ensure all RCU callbacks complete before freeing the superblock.
Potential Impact
This vulnerability allows a use-after-free condition in the Linux kernel's GFS2 filesystem code, which can lead to memory corruption. The CVSS vector indicates high impact on confidentiality, integrity, and availability (C:H/I:H/A:H), meaning an attacker with local privileges could potentially execute arbitrary code, cause denial of service, or compromise system integrity.
Mitigation Recommendations
A fix has been implemented that adds an rcu_barrier() call before freeing the superblock in gfs2_put_super(), ensuring all pending RCU callbacks complete before the superblock is freed. Users should apply the official Linux kernel updates that include this fix once available. Patch status is not yet confirmed from vendor advisory; check the Linux kernel vendor advisory for current remediation guidance.
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
- 3.1
Threat ID: 6a5d27ad2a4a8d59891318ef
Added to database: 07/19/2026, 19:38:21 UTC
Last enriched: 07/30/2026, 11:28:11 UTC
Last updated: 09/01/2026, 22:52:13 UTC
Views: 70
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.