{"id":"CVE-2026-97521","aliases":["CVE-2026-97521"],"related":[],"kind":"vulnerability","state":"published","title":"gfs2: fix quota init duplicate scan","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ngfs2: fix quota init duplicate scan\n\ngfs2_quota_init() checks for duplicate quota_change IDs while holding\nqd_lock and the quota hash bucket bitlock. That path used\ngfs2_qd_search_bucket(), which takes a lockref reference via\nlockref_get_not_dead().\n\nOn PREEMPT_RT this may sleep, which is not allowed under the bucket\nbitlock, triggering \"sleeping function called from invalid context\".\n\nUse a no-ref bucket lookup in this path, then continue duplicate\nhandling without taking a lockref there.\n\nRefactor gfs2_qd_search_bucket() to build on top of the no-ref helper\nso lookup traversal stays in one place.\n\nThis patch fixes a bug reported by syzbot.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ngfs2: fix quota init duplicate scan\n\ngfs2_quota_init() checks for duplicate quota_change IDs while holding\nqd_lock and the quota hash bucket bitlock. That path used\ngfs2_qd_search_bucket(), which takes a lockref reference via\nlockref_get_not_dead().\n\nOn PREEMPT_RT this may sleep, which is not allowed under the bucket\nbitlock, triggering \"sleeping function called from invalid context\".\n\nUse a no-ref bucket lookup in this path, then continue duplicate\nhandling without taking a lockref there.\n\nRefactor gfs2_qd_search_bucket() to build on top of the no-ref helper\nso lookup traversal stays in one place.\n\nThis patch fixes a bug reported by syzbot.","source":"cvelist"}],"published":"2026-09-24T16:05:21.667Z","modified":"2026-09-28T06:16:38.160Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"de0d95c26c41c1776e4d23b1a8b3f2bcfd1dae5f","fixed":"7fdcf16e5e14e11028f5bcaa6d25075eb5e876a0","status":"affected"},{"type":"git","introduced":"de0d95c26c41c1776e4d23b1a8b3f2bcfd1dae5f","fixed":"812a766e2b0a8f4d094393fad13475c57f5f86db","status":"affected"},{"type":"git","introduced":"de0d95c26c41c1776e4d23b1a8b3f2bcfd1dae5f","fixed":"b99a1f0f18ee50445907f55069e88bcfd8947383","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.11","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","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"}],"references":[{"url":"https://git.kernel.org/stable/c/7fdcf16e5e14e11028f5bcaa6d25075eb5e876a0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/812a766e2b0a8f4d094393fad13475c57f5f86db","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b99a1f0f18ee50445907f55069e88bcfd8947383","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-97521","url":"https://www.cve.org/CVERecord?id=CVE-2026-97521","licence":"CVE Terms of Use","modified":"2026-09-28T05:30:59.436Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-97521","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97521","licence":"Public domain","modified":"2026-09-28T06:16:38.160Z"}],"updatedAt":"2026-11-25T22:59:40.876Z","epss":{"score":0.00155,"percentile":0.04828,"date":"2026-12-01T12:00:22.000Z"}}