{"id":"CVE-2026-53050","published":"2026-06-24T16:29:56Z","modified":"2026-11-10T12:48:07Z","title":"quota: Fix race of dquot_scan_active() with quota deactivation","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nquota: Fix race of dquot_scan_active() with quota deactivation\n\ndquot_scan_active() can race with quota deactivation in\nquota_release_workfn() like:\n\n  CPU0 (quota_release_workfn)         CPU1 (dquot_scan_active)\n  ==============================      ==============================\n  spin_lock(&dq_list_lock);\n  list_replace_init(\n    &releasing_dquots, &rls_head);\n    /* dquot X on rls_head,\n       dq_count == 0,\n       DQ_ACTIVE_B still set */\n  spin_unlock(&dq_list_lock);\n  synchronize_srcu(&dquot_srcu);\n                                      spin_lock(&dq_list_lock);\n                                      list_for_each_entry(dquot,\n                                          &inuse_list, dq_inuse) {\n                                        /* finds dquot X */\n                                        dquot_active(X) -> true\n                                        atomic_inc(&X->dq_count);\n                                      }\n                                      spin_unlock(&dq_list_lock);\n  spin_lock(&dq_list_lock);\n  dquot = list_first_entry(&rls_head);\n  WARN_ON_ONCE(atomic_read(&dquot->dq_count));\n\nThe problem is not only a cosmetic one as under memory pressure the\ncaller of dquot_scan_active() can end up working on freed dquot.\n\nFix the problem by making sure the dquot is removed from releasing list\nwhen we acquire a reference to it.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00142,"percentile":0.01779,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/2bdc80f4619411e5bd4a3ef23f51e14021ed457c","tags":[]},{"url":"https://git.kernel.org/stable/c/f9438cb8c8ec3adc84b2b450a3aab0123d074c3b","tags":[]},{"url":"https://git.kernel.org/stable/c/ac8a2e0d287ebf35e5d7e51e260b4e146648ba4a","tags":[]},{"url":"https://git.kernel.org/stable/c/6678dde265708003c2b42551af4a2e3cb05decd5","tags":[]},{"url":"https://git.kernel.org/stable/c/61e25f664dc2a08299e07d84c85776abc2350f75","tags":[]},{"url":"https://git.kernel.org/stable/c/fdd424d7c35633ac577fd87d1b043d1b8a6cd350","tags":[]},{"url":"https://git.kernel.org/stable/c/82cbdb4c1ebb5ea7d7bd45c18d3483b5bd32ebc1","tags":[]},{"url":"https://git.kernel.org/stable/c/e93ab401da4b2e2c1b8ef2424de2f238d51c8b2d","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[]}],"priority":{"score":5.8,"factors":[{"name":"EPSS percentile","points":0.36},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 22c06bf1f99ec3ec16b1a81342becba4c59a1f16, < 2bdc80f4619411e5bd4a3ef23f51e14021ed457c",">= 56e96b38d2f7cd95b3c30eb70decac7233915e0a, < f9438cb8c8ec3adc84b2b450a3aab0123d074c3b",">= 12a820a9923c11e8e898da9f82c8aded70cdcd16, < ac8a2e0d287ebf35e5d7e51e260b4e146648ba4a",">= 869b6ea1609f655a43251bf41757aa44e5350a8f, < 6678dde265708003c2b42551af4a2e3cb05decd5",">= 869b6ea1609f655a43251bf41757aa44e5350a8f, < 61e25f664dc2a08299e07d84c85776abc2350f75",">= 869b6ea1609f655a43251bf41757aa44e5350a8f, < fdd424d7c35633ac577fd87d1b043d1b8a6cd350",">= 869b6ea1609f655a43251bf41757aa44e5350a8f, < 82cbdb4c1ebb5ea7d7bd45c18d3483b5bd32ebc1",">= 869b6ea1609f655a43251bf41757aa44e5350a8f, < e93ab401da4b2e2c1b8ef2424de2f238d51c8b2d","bb7e3a019b52d829949d02b64ebab37838148fbf","061a18239ced5eb086967a2b4451cb1cc5ce0702"]},{"vendor":"Linux","product":"Linux","versions":["6.6"]}],"euvd":{"id":"EUVD-2026-38918","exploited":false,"provenance":"source"}}