xfs: scrub: unlock dquot before early return in quota scrub (Linux Linux)

CVE-2026-31556
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.12 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 7d1f0e167a067ed741dec08b7614d76893422b04 < e822f535273af0e8968eab7acc0cea0b90dd25af ; affected 7d1f0e167a067ed741dec08b7614d76893422b04 < 3b0c3414b308e6822cda90bf99f7eac94d4cca2b ; affected 7d1f0e167a067ed741dec08b7614d76893422b04 < d128fc0c5c2b19224927d4fd2a46c2fe6a1f606f ; affected 7d1f0e167a067ed741dec08b7614d76893422b04 < 268378b6ad20569af0d1957992de1c8b16c6e900
Linux · Linuxaffected 6.8 ; unaffected 0 < 6.8 ; unaffected 6.12.80 ≤ 6.12.* ; unaffected 6.18.21 ≤ 6.18.* ; unaffected 6.19.11 ≤ 6.19.* ; unaffected 7.0 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD