{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "7d1f0e167a067ed741dec08b7614d76893422b04"
            },
            {
              "fixed": "e822f535273af0e8968eab7acc0cea0b90dd25af"
            },
            {
              "fixed": "3b0c3414b308e6822cda90bf99f7eac94d4cca2b"
            },
            {
              "fixed": "d128fc0c5c2b19224927d4fd2a46c2fe6a1f606f"
            },
            {
              "fixed": "268378b6ad20569af0d1957992de1c8b16c6e900"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.8.0"
            },
            {
              "fixed": "6.12.80"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.21"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "6.19.11"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31556.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: scrub: unlock dquot before early return in quota scrub\n\nxchk_quota_item can return early after calling xchk_fblock_process_error.\nWhen that helper returns false, the function returned immediately without\ndropping dq-\u003eq_qlock, which can leave the dquot lock held and risk lock\nleaks or deadlocks in later quota operations.\n\nFix this by unlocking dq-\u003eq_qlock before the early return.",
  "id": "CVE-2026-31556",
  "modified": "2026-07-15T01:49:01.761680860Z",
  "published": "2026-04-24T14:35:39.880Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/268378b6ad20569af0d1957992de1c8b16c6e900"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3b0c3414b308e6822cda90bf99f7eac94d4cca2b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d128fc0c5c2b19224927d4fd2a46c2fe6a1f606f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e822f535273af0e8968eab7acc0cea0b90dd25af"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31556.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31556"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.8.0",
  "summary": "xfs: scrub: unlock dquot before early return in quota scrub"
}