CVE-2026-31556

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

State
Published
Severity
Not scored
Published
Apr 24, 2026
Updated
May 11, 2026
Reserved
Mar 9, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7d1f0e167a067ed741dec08b7614d76893422b04 to before e822f535273af0e8968eab7acc0cea0b90dd25afAffected
  • 7d1f0e167a067ed741dec08b7614d76893422b04 to before 3b0c3414b308e6822cda90bf99f7eac94d4cca2bAffected
  • 7d1f0e167a067ed741dec08b7614d76893422b04 to before d128fc0c5c2b19224927d4fd2a46c2fe6a1f606fAffected
  • 7d1f0e167a067ed741dec08b7614d76893422b04 to before 268378b6ad20569af0d1957992de1c8b16c6e900Affected
LinuxLinux
  • 6.8Affected
  • before 6.8Not affected
  • 6.12.80 through 6.12.*Not affected
  • 6.18.21 through 6.18.*Not affected
  • 6.19.11 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.