{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2"
            },
            {
              "fixed": "7fdcf16e5e14e11028f5bcaa6d25075eb5e876a0"
            },
            {
              "fixed": "812a766e2b0a8f4d094393fad13475c57f5f86db"
            },
            {
              "fixed": "b99a1f0f18ee50445907f55069e88bcfd8947383"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6.12.111"
            },
            {
              "fixed": "6.18.53"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6.12.111"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.53"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97521.json"
  },
  "details": "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.",
  "id": "CVE-2026-97521",
  "modified": "2026-09-26T03:30:42.682619690Z",
  "published": "2026-09-24T16:05:21.667Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7fdcf16e5e14e11028f5bcaa6d25075eb5e876a0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/812a766e2b0a8f4d094393fad13475c57f5f86db"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b99a1f0f18ee50445907f55069e88bcfd8947383"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97521.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-97521"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "gfs2: fix quota init duplicate scan"
}