CVE-2026-31556

MEDIUM

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

Title source: cna
STIX 2.1

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

CVSS v3 5.5
EPSS 0.0012
EPSS Percentile 2.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

Status published
Products (16)
linux/Kernel 6.13.0 - 6.18.21linux
linux/Kernel 6.19.0 - 6.19.11linux
linux/Kernel 6.8.0 - 6.12.80linux
Linux/Linux < 6.8
Linux/Linux 6.12.80 - 6.12.*
Linux/Linux 6.18.21 - 6.18.*
Linux/Linux 6.19.11 - 6.19.*
Linux/Linux 6.8
Linux/Linux 7.0
Linux/Linux 7d1f0e167a067ed741dec08b7614d76893422b04 - 268378b6ad20569af0d1957992de1c8b16c6e900
... and 6 more
Published Apr 24, 2026
Tracked Since Apr 24, 2026