# CVE-2026-31556: xfs: scrub: unlock dquot before early return in quota scrub

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-04-24T14:35:39.880Z
- Modified: 2026-11-05T22:18:40.313Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 7d1f0e167a067ed741dec08b7614d76893422b04 before e822f535273af0e8968eab7acc0cea0b90dd25af; from 7d1f0e167a067ed741dec08b7614d76893422b04 before 3b0c3414b308e6822cda90bf99f7eac94d4cca2b; from 7d1f0e167a067ed741dec08b7614d76893422b04 before d128fc0c5c2b19224927d4fd2a46c2fe6a1f606f; from 7d1f0e167a067ed741dec08b7614d76893422b04 before 268378b6ad20569af0d1957992de1c8b16c6e900; 6.8 (not affected: before 6.8; from 6.12.80 up to 6.12.*; from 6.18.21 up to 6.18.*; from 6.19.11 up to 6.19.*; from 7.0 up to *)
- linux 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

## References

- <https://git.kernel.org/stable/c/e822f535273af0e8968eab7acc0cea0b90dd25af> (patch)
- <https://git.kernel.org/stable/c/3b0c3414b308e6822cda90bf99f7eac94d4cca2b> (patch)
- <https://git.kernel.org/stable/c/d128fc0c5c2b19224927d4fd2a46c2fe6a1f606f> (patch)
- <https://git.kernel.org/stable/c/268378b6ad20569af0d1957992de1c8b16c6e900> (patch)

## Sources

- CVE List: [CVE-2026-31556](https://www.cve.org/CVERecord?id=CVE-2026-31556), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-31556](https://nvd.nist.gov/vuln/detail/CVE-2026-31556), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-31556 · Whole record: https://cve.day/CVE-2026-31556.json · Rebuilt by cve.day 2026-11-25T22:59:19.482Z
