From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796290109; b=Z2ENPQRGG3fyloYhd280oXe0OxyXnKUBT9BkbzbkcTKXhGdTnnWdkBMzTNUUuFWhzrDr iiAjkXHPiI54HpWiL1KH82S4BF7uo6J3e3z9d5P6h6dFEWHmjXHroB1pj+hDVoKxRC6/B drFSCFSAnIUFC0tw7MYOjK53J2gB8DMWRqaddIDKpkU2Tpe+aWM6IVkYR2HZijJYoouvH Ian4fK7pStmticgqmRnlshCda28v29fTNT04m7DL5YTCpQymCOS5IrbEENpBJwg2j1la5 Y2c1Q2ezgG3t571fHhn6r4XYQAbTxK/01k5U/VXExQw3EATQpS9QTyAoXgmswyzhxvg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796290109; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=mLDn4TPnMV+1odG8dKQPpI3w9dUhpDevRV3K4wckkAA=; b=jFAxmX5X82GlRJz+bJvXdinCEKf+lEchG7vPinmi9LLfAosdowujlCFPVK8CYuny+cNn OXaZV/PGLbl2QDfpUtptNtdKy30g/r8weHnndtxHCITs4YBc8UKo9dVvlUNL8xo4HOyOb Ee7ObHT9J0NAjjEXn2FQDdAGWcvRmSj1ydHBsM8pSG96SoKdCLDld3YFBI1V3LZxQEisQ MzWE+jNxnHvLBA/qcZRyPiwRELbN+qNB463bNAzd8y43hO4ScL8up8OYqktstV0US24Cb Iqu3Ku295GlQh7yxQ0edLfPYSkxtP16hg2FNZ+mzZsB6r9+MaYFJrVQUVEhqNLncdTg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b="B6/W55gj"; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E5DD2606A32C for ; Thu, 3 Dec 2026 09:28:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=B6/W55gj Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3375D1F000C1; Thu, 3 Dec 2026 09:28:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796290108; bh=mLDn4TPnMV+1odG8dKQPpI3w9dUhpDevRV3K4wckkAA=; h=From:To:Cc:Subject:Date:Reply-To; b=B6/W55gjVnJFRyw+q46rZSllPwUeSb/y2xkZc1fNIQM3Po3jKH0cOAPmWktxYpDp7 /oKV2y7qfM2vn9V+XWkfA8QS8tNn63s2PPHXsPVtXJ/KbTL6/lKeU0O8eZ9T7zmFWS k8Got0GKb4vNmWXo/nl47tNMZxuNVgWVjNU4dPrY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-143110: dcache: wait for a racing eviction of a secondary root Date: Thu, 3 Dec 2026 10:19:06 +0100 Message-ID: <2026120357-CVE-2026-143110-dc68@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3659; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=W13BHr6eNyKqySnntprOldJLVmqARlETaXJ9KNKOMqw=; b=owGbwMvMwCRo6H6F97bub03G02pJDNmCxl0Vzhsn+9RWrznNsORGcLpnajVXjv5lG7PWM2yGC 2sazCZ1xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwERSCxkWbF/GvbN/+U0/K55J 7A8OVKb3dMR0M8xmr6gw+c6VILNPp31P4N+6Ku7bqv8A 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: dcache: wait for a racing eviction of a secondary root Commit e9895609cb7f ("wind ->s_roots via ->d_sib instead of ->d_hash") keeps a secondary root on ->s_roots until dentry_unlist() so that shrink_dcache_for_umount() can find one that another thread is evicting and wait for it. But do_one_tree() takes every root off the list before its dput() which breaks that: thread A umount dentry_kill(root), refcount is 0 lock_for_kill() spin_trylock(->i_lock) fails spin_unlock(->d_lock) shrink_dcache_for_umount() dget_dlock(root) do_one_tree(root) unlink_secondary_root(root) spin_lock(->i_lock) dput(root), refcount is 0 lock_for_kill() trylock fails, waits spin_lock(->d_lock) refcount is 0 again, go on lockref_mark_dead() dentry_unlink_inode() drops both locks root is dead, give up ->s_roots is empty, done evict_inodes() "Busy inodes after unmount" iput() Thread A evicts without pinning the superblock. namespace_unlock() does that for old mountpoints after dropping namespace_sem, and a secondary root goes with its last child. So only take busy roots off the list. Leave the others to dentry_unlist() so that shrink_dcache_for_umount() finds them and waits for an eviction in progress. A root that becomes busy after the check is picked up again and taken off the list then. The Linux kernel CVE team has assigned CVE-2026-143110 to this issue. Affected and fixed versions =========================== Issue introduced in 7.3 with commit 78db93943210df61c8446aae35af6836e2cf04aa and fixed in 7.3.7 with commit 47f4eabefeea071d628969a072265dd4c9b55f73 Issue introduced in 7.3 with commit 78db93943210df61c8446aae35af6836e2cf04aa and fixed in 7.4-rc3 with commit 649918e04e0ead9bfc861aacdd2e5b39b5bdf869 Issue introduced in 7.2.6 with commit 20e9cbd3be1e3f753e81960eb4cc6c80b8520ee9 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-143110 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/dcache.c 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/47f4eabefeea071d628969a072265dd4c9b55f73 https://git.kernel.org/stable/c/649918e04e0ead9bfc861aacdd2e5b39b5bdf869