All vulnerabilities

Servers and applications

CVE-2026-53050

quota: Fix race of dquot_scan_active() with quota deactivation

Severity
High 7.8
Published
24 Jun 2026
Last changed
10 Nov 2026
Added to UpHeron
10 Nov 2026
Fixed in
6.1.175, 6.6, 6.6.141, 6.12.91, 6.18.33, 7.0.10
Exploit chance
0.1% in the next 30 daysHigher than 1% of CVEs. EPSS by FIRST, 19 Nov 2026
Attack
Needs local access · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Sources
CVE Program

Description

In the Linux kernel, the following vulnerability has been resolved:

dquot_scan_active() can race with quota deactivation in quota_release_workfn() like:

CPU0 (quota_release_workfn) CPU1 (dquot_scan_active) spin_lock(&dq_list_lock); list_replace_init( &releasing_dquots, &rls_head); /* dquot X on rls_head, dq_count == 0, DQ_ACTIVE_B still set / spin_unlock(&dq_list_lock); synchronize_srcu(&dquot_srcu); spin_lock(&dq_list_lock); list_for_each_entry(dquot, &inuse_list, dq_inuse) { / finds dquot X */ dquot_active(X) -> true atomic_inc(&X->dq_count); } spin_unlock(&dq_list_lock); spin_lock(&dq_list_lock); dquot = list_first_entry(&rls_head); WARN_ON_ONCE(atomic_read(&dquot->dq_count));

The problem is not only a cosmetic one as under memory pressure the caller of dquot_scan_active() can end up working on freed dquot.

Fix the problem by making sure the dquot is removed from releasing list when we acquire a reference to it.

From the CVE Program.

Affected software

SoftwareAffected versions
Linux kernelServers and applications · cna:linux|linux
  • From 6.19 before 7.0.10
  • From 6.13 before 6.18.33
  • From 6.7 before 6.12.91
  • From 6.6 before 5.10.258
All 13 release lines
  • From 4.19.297 before 4.20
  • From 5.4.259 before 5.5
  • From 5.10.199 before 5.10.258
  • From 5.11 before 5.15.209
  • From 5.15.136 before 5.15.209
  • From 5.16 before 6.1.175
  • From 6.1.59 before 6.1.175
  • From 6.2 before 6.6.141
  • From 6.5.8 before 6.6
  • From 6.6 before 5.10.258
  • From 6.7 before 6.12.91
  • From 6.13 before 6.18.33
  • From 6.19 before 7.0.10

About Linux kernel

Unix-like operating system kernel, basis for all Linux operating systems

From Wikidata, CC0 1.0.
GitHub stars
255,726GitHub, 15 Nov 2026
Forks
67,394GitHub, 15 Nov 2026
Developer
Linus TorvaldsWikidata
License
GNU General Public License, version 2.0Wikidata
Written in
CWikidata
First released
25 Aug 1991Wikidata
First published on GitHub
4 Sept 2011GitHub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-53050