Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5D544305675 for ; Wed, 24 Jun 2026 16:37:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782319036; cv=none; b=Z16ef6HQrGfZJ/fuuX44+2cAnqwiTVo3ide3ioeBrIFA/VwCbpw/GeEZTfnoF5iV1VYkzhq0pYHP/mMJueqbpUNXBqIajzPkui22nLHe0MB/3/5tDc8mkRZq38zq/G61o2hnNSmlh7iuVbrsq6QsnN/g29C5qOhNQq5v97kgpYE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782319036; c=relaxed/simple; bh=w4OJ0Ex5nF+0ISC13zb+ulLjXN9gRPgx/2GRoIKsffQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ZFfht4hPKJeUhxJbEeJiU+nI7c+euAlzuBxG39JoAxu3MzeFOXy77IxiI8vPm9aGcQh+uv9eqKUJTcXAbKbfZKjINfbjqCugGSuVwuKCNDcv4HKcOA/U9e2V3ujIZeIGezQWcnU4voZZv/E8nU8YmjbxHWW0tf2x484C3oTgrhY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pxt9NNb4; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="pxt9NNb4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A31361F000E9; Wed, 24 Jun 2026 16:37:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782319035; bh=f6bu9vi9lIHTgGJAGlwLZ6URQzNHzUHfE25XcLizfeg=; h=From:To:Cc:Subject:Date:Reply-To; b=pxt9NNb4DunJesdewR31htTRhkAR2+hs1GeUE3FczVvpazI4BUCU8tGRYKIq+mpwp Iee6pglGglM3sLWPkkKvjY7QlcTD4OSZgobMtHwbyZwqqyj8LiKWdYl80hjU5xNhPt /q/A8mJA5ocCwpiKKidzpx5QQizRS1qqz0Q0pXqE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53050: quota: Fix race of dquot_scan_active() with quota deactivation Date: Wed, 24 Jun 2026 17:31:14 +0100 Message-ID: <2026062459-CVE-2026-53050-d4d4@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4740; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=8BwUyicf/eAGisuE2eluighg7y/zN+Cjsi/KRMmJJLk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2bOwz4nZ1z3OdcmyN3unL/tPuFZtFvtuU75ly52ue8 qu2wv/bO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi774xLNghccf55gznuUJH JpbxbreRajSvzGCYp/909nKHOWx5N9cFXlyn8/Gn/MXnrQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-53050 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10.199 with commit 22c06bf1f99ec3ec16b1a81342becba4c59a1f16 and fixed in 5.10.258 with commit 2bdc80f4619411e5bd4a3ef23f51e14021ed457c Issue introduced in 5.15.136 with commit 56e96b38d2f7cd95b3c30eb70decac7233915e0a and fixed in 5.15.209 with commit f9438cb8c8ec3adc84b2b450a3aab0123d074c3b Issue introduced in 6.1.59 with commit 12a820a9923c11e8e898da9f82c8aded70cdcd16 and fixed in 6.1.175 with commit ac8a2e0d287ebf35e5d7e51e260b4e146648ba4a Issue introduced in 6.6 with commit 869b6ea1609f655a43251bf41757aa44e5350a8f and fixed in 6.6.141 with commit 6678dde265708003c2b42551af4a2e3cb05decd5 Issue introduced in 6.6 with commit 869b6ea1609f655a43251bf41757aa44e5350a8f and fixed in 6.12.91 with commit 61e25f664dc2a08299e07d84c85776abc2350f75 Issue introduced in 6.6 with commit 869b6ea1609f655a43251bf41757aa44e5350a8f and fixed in 6.18.33 with commit fdd424d7c35633ac577fd87d1b043d1b8a6cd350 Issue introduced in 6.6 with commit 869b6ea1609f655a43251bf41757aa44e5350a8f and fixed in 7.0.10 with commit 82cbdb4c1ebb5ea7d7bd45c18d3483b5bd32ebc1 Issue introduced in 6.6 with commit 869b6ea1609f655a43251bf41757aa44e5350a8f and fixed in 7.1 with commit e93ab401da4b2e2c1b8ef2424de2f238d51c8b2d Issue introduced in 4.19.297 with commit bb7e3a019b52d829949d02b64ebab37838148fbf Issue introduced in 5.4.259 with commit 061a18239ced5eb086967a2b4451cb1cc5ce0702 Issue introduced in 6.5.8 with commit 2a1ddddba6541143c8f73962f3021f1789114284 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-53050 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: fs/quota/dquot.c include/linux/quotaops.h Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/2bdc80f4619411e5bd4a3ef23f51e14021ed457c https://git.kernel.org/stable/c/f9438cb8c8ec3adc84b2b450a3aab0123d074c3b https://git.kernel.org/stable/c/ac8a2e0d287ebf35e5d7e51e260b4e146648ba4a https://git.kernel.org/stable/c/6678dde265708003c2b42551af4a2e3cb05decd5 https://git.kernel.org/stable/c/61e25f664dc2a08299e07d84c85776abc2350f75 https://git.kernel.org/stable/c/fdd424d7c35633ac577fd87d1b043d1b8a6cd350 https://git.kernel.org/stable/c/82cbdb4c1ebb5ea7d7bd45c18d3483b5bd32ebc1 https://git.kernel.org/stable/c/e93ab401da4b2e2c1b8ef2424de2f238d51c8b2d