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=1795099277; b=4XUc1yb5cOStmsJIhJ0dND/dK4SsykCrNakQSlsp86ML/Wixtr7fKmEyw0xmosz7pTYx 3zG3HZy2XdEFluY2hSqKcDQ6rIJQmKVKVrnO2SW0yXY93dTvP2zOj+8lF0gAPT1iaauTr jJ+u3zMLAFd7LuL3n14fGhh76C8ZCWNd/ImSaTgaE905lGuTdY1FJf9rtWZhHn3ODZOEj jDzg2cmJBO3iwX/YBbBoertgpwSPRNLp9e7Ndwb2Iy13PHw3iahtdZVnoNYgW26/BTI/U 4vP+qN5xqJSfA88inMP39VexCrNChZpVhy8ri7ZGOGsNuw4+ZYfZcXK7RIVjcfWxDlA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795099277; 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=eVoHX1MYLSEtJGy772zIVWE1NrS2XHjD+B0MhWRinQM=; b=O+RY49cz3h5rTjAQTLo70hyxgNPqgAH7s8tiuhY3J+CZD9plT/DLN1XcJ66Lpj/3wuwD bnnOuLIizYevAB+Blt//SF8CEEt5LZt6Nky+izVQFNRDR69Glt4KLM7ULZmxH1uFSz0wX Zt6pOm4s9BxGFvjf/BAZQBB7uc/udqyHuzelEj9C1DSZPGT3ya0T9/+NUgxG+JoKM/pVP 3k47biJGhzpy1XyuQQW4I3SWPYckRzeABhAabJdJ0XVST026se6YFdWd0+KD0i+mgRZgR 2n+chenuc/WTl7GZFU7g4YrhT5ecuLJRr71kMToe9eBUDDtpKeafjoPxX7RIRPpGgyg== 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=UGAGcnHc; 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 67AAF606A320 for ; Thu, 19 Nov 2026 14:41:17 +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=UGAGcnHc Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5DEF81F000C4; Thu, 19 Nov 2026 14:41:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795099277; bh=eVoHX1MYLSEtJGy772zIVWE1NrS2XHjD+B0MhWRinQM=; h=From:To:Cc:Subject:Date:Reply-To; b=UGAGcnHcQ8g8I67nUKX+Z9Gn08QPyHnzmhSnQ8GTeb7Ww/ARqZFHPySYqkXmk7wFE 1pZxH0TvQuw4YYWGmugxZd2vQNtl2q9e2EzBcwIYtUCEFa3NuE6+1O8VOKjZM3w30a BuMFyXYOgDPcnfvnIK1Ngfgtr6txu3MhIm/QllGs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99391: xfs: don't try to scrub self-referential dirent in metapath checker Date: Thu, 19 Nov 2026 15:24:49 +0100 Message-ID: <2026111955-CVE-2026-99391-8a61@gregkh> X-Mailer: git-send-email 2.56.0 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=2313; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=82/FKbvfPrUpcZ6aD4+h5Ky11f4/IiSZJiYF0CIedrk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2aqnMrlbvp3fFhN4MHTRygTOqLy1fB36j+X4hOZ4b O0+FHS/I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACayNIphwZYja873CBvtizwZ X3xGUuKtc6XQC4YFq+arrnexmPf5utnrhEtvn8nP4e7KAAA= 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 try to scrub self-referential dirent in metapath checker LOLLM observes that the _ilock_both helper will loop forever trying to double-lock the same inode if mpath->dp == sc->ip. Callers are not supposed to call us with parent == child because that makes no sense. Trigger an assertion, mark the scan incomplete, and return IO error so that this fails noisily. The Linux kernel CVE team has assigned CVE-2026-99391 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit b3c03efa5972f084e40104307dbe432359279cf2 and fixed in 6.18.61 with commit 1bde9463d75244ade3f870e34e9e60f2cb686c44 Issue introduced in 6.13 with commit b3c03efa5972f084e40104307dbe432359279cf2 and fixed in 7.3.2 with commit 4fe6d43988e98c25e592b560b63d055c01a0046d Issue introduced in 6.13 with commit b3c03efa5972f084e40104307dbe432359279cf2 and fixed in 7.4-rc1 with commit 1e7337a3ecebab1bb2ba02187d88b94e5146e4f0 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-99391 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/metapath.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/1bde9463d75244ade3f870e34e9e60f2cb686c44 https://git.kernel.org/stable/c/4fe6d43988e98c25e592b560b63d055c01a0046d https://git.kernel.org/stable/c/1e7337a3ecebab1bb2ba02187d88b94e5146e4f0