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 38C41446BF5 for ; Wed, 26 Aug 2026 14:40:31 +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=1787755234; cv=none; b=SU3R2rE2mM5zAh/jqPtwsJ61Rjt1DEGbl8+OtRK3QEJn/GGS9t/NGK0QXaENtZAoZv1+s1nAAU/YJq8dj/UvnOXFZymURR6Sk+hECrwpnwDfl+epYyGujO58LXFJFL3qMRBQw5MJBGmKEq9+jRN+fsM6dKtwJEmQY97T0FZ1czc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787755234; c=relaxed/simple; bh=7tBm6OAOaqG5bsH9R9B4XKOW5cktcwOoo2LoLAZa2NM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bXFf46KgEadQw5t80x4pRHF65wwdflvlwSDDOk0T7D+YZFsjU34z9vnr7TJFSCNj6UhAebs6tzPpHRaHKHkPvx45MFb2DyXLs9m3P1zjTf0ATK+gG3RbEiRq8hkh9tL3EO/a8kXeGQbRtmxBnwgKJ6epXaUiZfRJ1EcRpHMW6vo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dPKuexlb; 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="dPKuexlb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 755BF1F00A3D; Wed, 26 Aug 2026 14:40:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787755230; bh=Nxd0bC7DQU9pqKHGHU/p0Sf7ognl9/ZoJ54Dr/9Q0e4=; h=From:To:Cc:Subject:Date:Reply-To; b=dPKuexlbD2wFxGJiYRPGaweAghtqpScqKF3bxT+a8UQkSG7lgri9dDywCUf4pyXX/ j1kz3HxLYrvR/et+3A8Im80QsnXgzhTDL6wRRqLobGPZT4NgblQ8Uxw8C4+467GS7F OJK6GwDglUV80kVptnqTGD4kdBPJk+eij3cWhCC8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80535: xfs: don't double-lock when deleting a self-referential directory Date: Wed, 26 Aug 2026 16:37:31 +0200 Message-ID: <2026082604-CVE-2026-80535-abd7@gregkh> X-Mailer: git-send-email 2.55.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=2538; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=tq5vCBrwhUvm+ezqEkGs5ABgrUi48oRZPjuyEK5StcE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFl9vwQORVkxh/3pDCvRc9VY/p9p2sRW8zvngzQuuD5qT Z3enO/fEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNZJscwP/DBkyo56a4/fwQX GZR1ibf5hgvNYFhw7HPyBvNErw7emQX6fXtEU8P2nHkOAA== 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: xfs: don't double-lock when deleting a self-referential directory LOLLM notices that the dirtree scrubber can detect a directory that refers to itself. In this case, it's not correct for the directory tree repair code to try to iolock/ilock both sc->ip and dp, because they're the same inode. Fix this by detecting that corner case and handling it appropriately. The Linux kernel CVE team has assigned CVE-2026-80535 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 3f31406aef493b3f19020909d29974e28253f91c and fixed in 6.12.105 with commit 17bc347cbdfb125eddac0a815b1f6c1f6eb56676 Issue introduced in 6.10 with commit 3f31406aef493b3f19020909d29974e28253f91c and fixed in 6.18.46 with commit ce2a7006ec5ed88db1b1669124ec85bc1714ccaa Issue introduced in 6.10 with commit 3f31406aef493b3f19020909d29974e28253f91c and fixed in 7.1.10 with commit c575904471570e69bce40fa638365c6c0403e2ff Issue introduced in 6.10 with commit 3f31406aef493b3f19020909d29974e28253f91c and fixed in 7.2 with commit 5fc643fb86599e29b38e7b2c2680b4b15bf8f772 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-80535 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/xfs/scrub/dirtree_repair.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/17bc347cbdfb125eddac0a815b1f6c1f6eb56676 https://git.kernel.org/stable/c/ce2a7006ec5ed88db1b1669124ec85bc1714ccaa https://git.kernel.org/stable/c/c575904471570e69bce40fa638365c6c0403e2ff https://git.kernel.org/stable/c/5fc643fb86599e29b38e7b2c2680b4b15bf8f772