CVE-2026-63804
gfs2: fix use-after-free in gfs2_qd_dealloc
Reported by linux · Published July 19, 2026
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 callback from gfs2_qd_dispose(), accesses the superblock object sdp through qd->qd_sbd after freeing qd. It does so to decrement sd_quota_count and wake up sd_kill_wait. However, by the time the RCU callback runs, gfs2_put_super() may have already freed sdp via free_sbd(). This can happen when gfs2_quota_cleanup() is called during unmount: it disposes of quota objects via call_rcu() and then waits on sd_kill_wait with a 60-second timeout. If the timeout expires, or if gfs2_gl_hash_clear() triggers additional qd_put() calls that schedule more RCU callbacks after the wait completes, gfs2_put_super() will proceed to free the superblock while RCU callbacks referencing it are still pending. Add an rcu_barrier() before free_sbd() in gfs2_put_super() to ensure all pending RCU callbacks (including gfs2_qd_dealloc) have completed before the superblock is freed.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 7.1.3, 6.18.38, 6.12.95, 6.6.144 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a475c5dd16e57c570113eccba51955b5df8bb052, a475c5dd16e57c570113eccba51955b5df8bb052, a475c5dd16e57c570113eccba51955b5df8bb052 |
| Linux | Linux | 6.6, 0, 6.6.144 |
| linux | linux_kernel | 6.6, 6.6, 6.6 |
| Linux | Linux | *, *, * |
Timeline
- Jul 19, 2026 CVE Published
- Jul 20, 2026 Security Advisory (31 in total, the first dated here)
- Aug 7, 2026 EPSS Score (9 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (30 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-63804
vulnetix vdb fixes CVE-2026-63804
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-63804/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart