{"id":"CVE-2026-63804","aliases":["CVE-2026-63804"],"related":[],"kind":"vulnerability","state":"published","title":"gfs2: fix use-after-free in gfs2_qd_dealloc","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ngfs2: fix use-after-free in gfs2_qd_dealloc\n\ngfs2_qd_dealloc(), called as an RCU callback from gfs2_qd_dispose(),\naccesses the superblock object sdp through qd->qd_sbd after freeing qd.\nIt does so to decrement sd_quota_count and wake up sd_kill_wait.\n\nHowever, by the time the RCU callback runs, gfs2_put_super() may have\nalready freed sdp via free_sbd().  This can happen when\ngfs2_quota_cleanup() is called during unmount: it disposes of quota\nobjects via call_rcu() and then waits on sd_kill_wait with a 60-second\ntimeout.  If the timeout expires, or if gfs2_gl_hash_clear() triggers\nadditional qd_put() calls that schedule more RCU callbacks after the\nwait completes, gfs2_put_super() will proceed to free the superblock\nwhile RCU callbacks referencing it are still pending.\n\nAdd an rcu_barrier() before free_sbd() in gfs2_put_super() to ensure\nall pending RCU callbacks (including gfs2_qd_dealloc) have completed\nbefore the superblock is freed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ngfs2: fix use-after-free in gfs2_qd_dealloc\n\ngfs2_qd_dealloc(), called as an RCU callback from gfs2_qd_dispose(),\naccesses the superblock object sdp through qd->qd_sbd after freeing qd.\nIt does so to decrement sd_quota_count and wake up sd_kill_wait.\n\nHowever, by the time the RCU callback runs, gfs2_put_super() may have\nalready freed sdp via free_sbd().  This can happen when\ngfs2_quota_cleanup() is called during unmount: it disposes of quota\nobjects via call_rcu() and then waits on sd_kill_wait with a 60-second\ntimeout.  If the timeout expires, or if gfs2_gl_hash_clear() triggers\nadditional qd_put() calls that schedule more RCU callbacks after the\nwait completes, gfs2_put_super() will proceed to free the superblock\nwhile RCU callbacks referencing it are still pending.\n\nAdd an rcu_barrier() before free_sbd() in gfs2_put_super() to ensure\nall pending RCU callbacks (including gfs2_qd_dealloc) have completed\nbefore the superblock is freed.","source":"cvelist"}],"published":"2026-07-19T12:02:09.111Z","modified":"2026-11-06T17:18:34.403Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"a475c5dd16e57c570113eccba51955b5df8bb052","fixed":"4fe388218826df8607ae41a6305df67db08a9093","status":"affected"},{"type":"git","introduced":"a475c5dd16e57c570113eccba51955b5df8bb052","fixed":"8745d9f7e1682c39f0a1578895ac74205e2a6757","status":"affected"},{"type":"git","introduced":"a475c5dd16e57c570113eccba51955b5df8bb052","fixed":"b85ef03f726b15047a6fa6d11b639bdf6c0ee4f0","status":"affected"},{"type":"git","introduced":"a475c5dd16e57c570113eccba51955b5df8bb052","fixed":"9d0d5ba20cad661f7f287d4c66d2c19022ce2fd0","status":"affected"},{"type":"git","introduced":"a475c5dd16e57c570113eccba51955b5df8bb052","fixed":"f9c9ec2c319f843b70ecdf939d48b52d189bc081","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.6","status":"unaffected"},{"type":"semver","introduced":"6.6.144","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.95","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.38","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.3","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.6","fixed":"6.6.144"},{"status":"affected","introduced":"6.7","fixed":"6.12.95"},{"status":"affected","introduced":"6.13","fixed":"6.18.38"},{"status":"affected","introduced":"6.19","fixed":"7.1.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/4fe388218826df8607ae41a6305df67db08a9093","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8745d9f7e1682c39f0a1578895ac74205e2a6757","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b85ef03f726b15047a6fa6d11b639bdf6c0ee4f0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9d0d5ba20cad661f7f287d4c66d2c19022ce2fd0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f9c9ec2c319f843b70ecdf939d48b52d189bc081","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:28:49.226Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-63804","url":"https://www.cve.org/CVERecord?id=CVE-2026-63804","licence":"CVE Terms of Use","modified":"2026-11-06T16:34:24.302Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-63804","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63804","licence":"Public domain","modified":"2026-11-06T17:18:34.403Z"}],"updatedAt":"2026-11-25T22:59:28.719Z","epss":{"score":0.00132,"percentile":0.03003,"date":"2026-12-01T12:00:22.000Z"}}