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 032D848FF6B for ; Fri, 25 Sep 2026 10:23:42 +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=1790331824; cv=none; b=ra03qwPYdoLpJ44id6pnsZYryDp5jRurWzO4I5uyJrx06M5ajUUt6w0Rto4R/biv+6Gl2RKFoa0rWcJEM/Xjluxu0wmHbWUedksJYcFgDSvFctTqJS0V8nQ02+ZHMgN4aqePGRRDt/j9TgHn7xov7587e+H7ToLaDmdgdV2lU6s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790331824; c=relaxed/simple; bh=OB5M4rxKKh4tOK8HnFBfUYXSlKD7hGnrT1GG0gmJX9I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mDN7SkkP8FrRBa3fKwcAnf+/zTK9eZyaljBEpgsOzbLWBmb8WMoGoSRtrm88bWgwFgO4MkmxzlFx2bNgfK0CtMa2g32qP8JvgPyf3sSPx5JfixQOoVsVxIAYi6+yjvNiNoiQv9itDgdhBMOGAC3wcK96FzSv0ySJXrXiNWWEGMc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WTH/YHKa; 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="WTH/YHKa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1B5C71F000FF; Fri, 25 Sep 2026 10:23:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790331822; bh=T7uFqU5B/YTaGz71hKH/DJLPHN/WuVaRvDLBnDiuDeU=; h=From:To:Cc:Subject:Date:Reply-To; b=WTH/YHKautDt69mLvuz7BFEn0c6zraC2hFGgovRJygU0yyj6KOH/WC8AQlDIqOVAM ZV2PKlQsUGuXgBs+kxIujLUrRtFE2+HExvV3qAK0nt9cGg0d4b3cAMv4C5R63Bmy+U iAXiIz4mJmfZDEmp+/jKdewhPf3jNioCy89pwT8I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97546: xfs: don't spin forever on zero-length dirents when salvaging them Date: Fri, 25 Sep 2026 12:22:06 +0200 Message-ID: <2026092550-CVE-2026-97546-a1c4@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=2441; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=QVeUmhVjQsaJA4cTfk+GSEBK/+udaMbj78bM5eJt/JU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvO2il3wz29HB9XXS8gbO8lLH45MORJ7YcnfjNpMJe 35xpF1c2hHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATWT+FYcHpB0u3J//hONih 9ufsIcGKln8XLa8wzM/S+bhEM2J3pJx6vn/D3DtHWr0/xgIA 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 spin forever on zero-length dirents when salvaging them LOLLM noticed that xrep_dir_recover_data can spin forever if it encounters an unused dirent that claims to have length zero. Fix that, and prevent the same thing from happening with a zero-length entry. The Linux kernel CVE team has assigned CVE-2026-97546 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit b1991ee3e7cf852e95a3498801303cfbb4468681 and fixed in 6.12.111 with commit 5442f0c56445618544a801fb4dae35aed87a1aaa Issue introduced in 6.10 with commit b1991ee3e7cf852e95a3498801303cfbb4468681 and fixed in 6.18.53 with commit 08754ebfa5c28e8d57316b1bd7a5a921a5e2e762 Issue introduced in 6.10 with commit b1991ee3e7cf852e95a3498801303cfbb4468681 and fixed in 7.2.7 with commit a455c83ce5dc1a2da33b1b84253d298372a8dfbd Issue introduced in 6.10 with commit b1991ee3e7cf852e95a3498801303cfbb4468681 and fixed in 7.3-rc3 with commit 9f84792b40d0c96833341602144574bf0bd14a6a 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-97546 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/dir_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/5442f0c56445618544a801fb4dae35aed87a1aaa https://git.kernel.org/stable/c/08754ebfa5c28e8d57316b1bd7a5a921a5e2e762 https://git.kernel.org/stable/c/a455c83ce5dc1a2da33b1b84253d298372a8dfbd https://git.kernel.org/stable/c/9f84792b40d0c96833341602144574bf0bd14a6a