CVE-2026-31556 PUBLISHED

xfs: scrub: unlock dquot before early return in quota scrub

Assigner: Linux
Reserved: 09.03.2026 Published: 24.04.2026 Updated: 24.04.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 7d1f0e167a067ed741dec08b7614d76893422b04 to e822f535273af0e8968eab7acc0cea0b90dd25af (excl.)
  • affected from 7d1f0e167a067ed741dec08b7614d76893422b04 to 3b0c3414b308e6822cda90bf99f7eac94d4cca2b (excl.)
  • affected from 7d1f0e167a067ed741dec08b7614d76893422b04 to d128fc0c5c2b19224927d4fd2a46c2fe6a1f606f (excl.)
  • affected from 7d1f0e167a067ed741dec08b7614d76893422b04 to 268378b6ad20569af0d1957992de1c8b16c6e900 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.8 is affected
  • unaffected from 0 to 6.8 (excl.)
  • unaffected from 6.12.80 to 6.12.* (incl.)
  • unaffected from 6.18.21 to 6.18.* (incl.)
  • unaffected from 6.19.11 to 6.19.* (incl.)
  • unaffected from 7.0 to * (incl.)

References