CVE
CVE-2026-53050
CNA 原文 · 原文(英文)
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.
受影响版本
- ≥ 6.19, < 7.0.10修复版本 7.0.10
- ≥ 6.13, < 6.18.33修复版本 6.18.33
- ≥ 6.7, < 6.12.91修复版本 6.12.91
- ≥ 6.6.1, < 6.6.141修复版本 6.6.141
- 6.6仅此版本
- 6.6-rc7仅此版本
- 6.6-rc6仅此版本
- ≥ 6.5.8, < 6.6修复版本 6.6
- ≥ 6.1.59, < 6.1.175修复版本 6.1.175
- ≥ 5.15.136, < 5.15.209修复版本 5.15.209
- ≥ 5.10.199, < 5.10.258修复版本 5.10.258
- ≥ 5.4.259, < 5.5修复版本 5.5
- ≥ 4.19.297, < 4.20修复版本 4.20
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- git.kernel.org/stable/c/2bdc80f4619411e5bd4a3ef23f51e14021ed457c · Patch
- git.kernel.org/stable/c/61e25f664dc2a08299e07d84c85776abc2350f75 · Patch
- git.kernel.org/stable/c/6678dde265708003c2b42551af4a2e3cb05decd5 · Patch
- git.kernel.org/stable/c/82cbdb4c1ebb5ea7d7bd45c18d3483b5bd32ebc1 · Patch
- git.kernel.org/stable/c/ac8a2e0d287ebf35e5d7e51e260b4e146648ba4a · Patch
- git.kernel.org/stable/c/e93ab401da4b2e2c1b8ef2424de2f238d51c8b2d · Patch
- git.kernel.org/stable/c/f9438cb8c8ec3adc84b2b450a3aab0123d074c3b · Patch
- git.kernel.org/stable/c/fdd424d7c35633ac577fd87d1b043d1b8a6cd350 · Patch
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。