What’s Vulnerable › Vulnerabilities
CVE-2026-31556: xfs: scrub: unlock dquot before early return in quota scrub
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-24 · updated 2026-06-17
Description
In the Linux kernel, the following vulnerability has been resolved: xfs: scrub: unlock dquot before early return in quota scrub xchk_quota_item can return early after calling xchk_fblock_process_error. When that helper returns false, the function returned immediately without dropping dq->q_qlock, which can leave the dquot lock held and risk lock leaks or deadlocks in later quota operations. Fix this by unlocking dq->q_qlock before the early return.
Affected products
- Linux kernel: from 6.8.1 before 6.12.80; from 6.13 before 6.18.21; from 6.19 before 6.19.11; 6.8, 7.0-rc1, 7.0-rc2, 7.0-rc3, 7.0-rc4, 7.0-rc5 (+2) — fixed in 6.12.80, 6.18.21, 6.19.11
How to fix
Upgrade to a fixed version: Linux kernel 6.12.80, 6.18.21, 6.19.11. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/268378b6ad20569af0d1957992de1c8b16c6e900
- https://git.kernel.org/stable/c/3b0c3414b308e6822cda90bf99f7eac94d4cca2b
- https://git.kernel.org/stable/c/d128fc0c5c2b19224927d4fd2a46c2fe6a1f606f
- https://git.kernel.org/stable/c/e822f535273af0e8968eab7acc0cea0b90dd25af
Get alerted when CVE-2026-31556 or the next vulnerability affects your stack