CVE 7.8 HIGH

quota: Fix race of dquot_scan_active() with quota deactivation_CVE-2026-53050

7.8 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Description

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

quota: Fix race of dquot_scan_active() with quota deactivation

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.

Basic Information

ID CVE-2026-53050
Source Linux
Published Jun 24, 2026 at 16:29
Modified Jun 28, 2026 at 06:38

Affected Product

Vendor Linux
Product Linux
Version 22c06bf1f99ec3ec16b1a81342becba4c59a1f16
Affected Versions Linux Linux 22c06bf1f99ec3ec16b1a81342becba4c59a1f16
Linux Linux 56e96b38d2f7cd95b3c30eb70decac7233915e0a
Linux Linux 12a820a9923c11e8e898da9f82c8aded70cdcd16
Linux Linux 869b6ea1609f655a43251bf41757aa44e5350a8f
Linux Linux 869b6ea1609f655a43251bf41757aa44e5350a8f
Linux Linux 869b6ea1609f655a43251bf41757aa44e5350a8f
Linux Linux 869b6ea1609f655a43251bf41757aa44e5350a8f
Linux Linux 869b6ea1609f655a43251bf41757aa44e5350a8f
Linux Linux bb7e3a019b52d829949d02b64ebab37838148fbf
Linux Linux 061a18239ced5eb086967a2b4451cb1cc5ce0702
Linux Linux 2a1ddddba6541143c8f73962f3021f1789114284
Linux Linux 5.10.199
Linux Linux 5.15.136
Linux Linux 6.1.59
Linux Linux 4.19.297
Linux Linux 5.4.259
Linux Linux 6.5.8
Linux Linux 6.6

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.