CVE-2026-63804

Source
https://cve.org/CVERecord?id=CVE-2026-63804
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63804.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-63804
Downstream
Related
Published
2026-07-19T12:02:09.111Z
Modified
2026-07-23T09:59:47.335513809Z
Summary
gfs2: fix use-after-free in gfs2_qd_dealloc
Details

In the Linux kernel, the following vulnerability has been resolved:

gfs2: fix use-after-free in gfs2qddealloc

gfs2qddealloc(), called as an RCU callback from gfs2qddispose(), accesses the superblock object sdp through qd->qdsbd after freeing qd. It does so to decrement sdquotacount and wake up sdkill_wait.

However, by the time the RCU callback runs, gfs2putsuper() may have already freed sdp via freesbd(). This can happen when gfs2quotacleanup() is called during unmount: it disposes of quota objects via callrcu() and then waits on sdkillwait with a 60-second timeout. If the timeout expires, or if gfs2glhashclear() triggers additional qdput() calls that schedule more RCU callbacks after the wait completes, gfs2putsuper() will proceed to free the superblock while RCU callbacks referencing it are still pending.

Add an rcubarrier() before freesbd() in gfs2putsuper() to ensure all pending RCU callbacks (including gfs2qddealloc) have completed before the superblock is freed.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63804.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a475c5dd16e57c570113eccba51955b5df8bb052
Fixed
4fe388218826df8607ae41a6305df67db08a9093
Fixed
8745d9f7e1682c39f0a1578895ac74205e2a6757
Fixed
b85ef03f726b15047a6fa6d11b639bdf6c0ee4f0
Fixed
9d0d5ba20cad661f7f287d4c66d2c19022ce2fd0
Fixed
f9c9ec2c319f843b70ecdf939d48b52d189bc081

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63804.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.6.0
Fixed
6.6.144
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.95
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.38
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63804.json"