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 D2B242F1FF4 for ; Sun, 18 Oct 2026 15:20:07 +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=1792336808; cv=none; b=B6pWnQK3+xjfQJO7f0zJyd0QgEWx5LYAn1GCSK9BJ1+kyl8oXTxoniQcg9+dPFR8jyu5XD4dz8OoUUwwx/I8mF4CghwQTa88tHmzZMCyKdLRtjktkO0v19anKHtLCSOp7N1/HVzLZNE3fNOeXTo4FO5O1nASHZw0eh+CCtN7zCQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792336808; c=relaxed/simple; bh=HfRItm9XcGvYA484uFbGy8o8PzRZSwWHHlmD8Q/CTOA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=erYRfB3moitsccVygHyQhGj1S2/hd6Jj0qdciU8ewvB0mDhTVwN2GIzowcEQ6K1gcyPRxPqgzy2QYRiVRA/y5WMGfSMiXKWaQ4/NmAvK/3kmCQ5xoYRAq4VJH+bSDiA0tM6tgYBoSu3pj3IiIlCr6bUiK6a5+GxvtpvkNhABJ8M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nD6mzvJK; 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="nD6mzvJK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 792B11F000C4; Sun, 18 Oct 2026 15:20:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792336807; bh=EGP58g00p9bfUsyAAIKxHeorYKNKxi8Pl5k1F1Knuzg=; h=From:To:Cc:Subject:Date:Reply-To; b=nD6mzvJKm9JlESBvW3Kk5e/+/R3BBi6j9BC99gON4aFSqtmiCT9LuUvPXVQp7kjoY 1zpIKLVFrzAPUkSZWDrW2wOFjrF2K9FgaYxHOoqp0BNWtK1A5Sq4xrpd2LhyXiHHoi a2v/4HQfKGIZWYK6XOBtVjgN5iweEZrgK05vI9do= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98443: xfs: fix cursor and pointer handling when recovering iunlink buckets Date: Sun, 18 Oct 2026 17:15:07 +0200 Message-ID: <2026101807-CVE-2026-98443-6477@gregkh> X-Mailer: git-send-email 2.56.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=2979; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=o6bR8qAm0hNTgdzkqibbApOpkGKQeI/JRWZMzbcCrVM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHlVzn06/m3C55vCsu5olASElj6JUd9sKlf64/j6sa Y3jiWcmHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRXcsYFsy7Nun84f9Mk1YU yvtetr5r7/9281GGBSvZ2GrvWBo4hyjve+XzLHnKuclmawA= 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: fix cursor and pointer handling when recovering iunlink buckets LOLLM pointed out a bug in xlog_recover_iunlink_bucket: 1. We don't null out prev_ip after releasing it, which can lead to UAF problems if the inodegc flush call in the loop fails. at which point I noticed even more bugs: 2. If the inodegc flush inside the loop fails, we also leak @ip. 3. We set prev_agino to agino having already advanced agino, which results in inodes with i_prev_unlinked set to itself. 4. If we exit the bottom of the loop with prev_ip set, then prev_ip aliases ip and we also set its i_prev_unlinked to itself. Bugs 3 and 4 introduce loops into the unlinked list, though these loops don't surface because we immediately flush each unlinked inode after loading it. Fix all of these issues. The Linux kernel CVE team has assigned CVE-2026-98443 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit 04755d2e5821b3afbaadd09fe5df58d04de36484 and fixed in 6.12.113 with commit 8c9d5b8a96d6b93eb24e07b4163c89341ba29bd1 Issue introduced in 6.0 with commit 04755d2e5821b3afbaadd09fe5df58d04de36484 and fixed in 6.18.55 with commit 66a2179d02668f8df44b1a249899006f3ba38ea0 Issue introduced in 6.0 with commit 04755d2e5821b3afbaadd09fe5df58d04de36484 and fixed in 7.2.9 with commit 961c717e6bf0e53c2c2b1fe4aef1add9390fedab Issue introduced in 6.0 with commit 04755d2e5821b3afbaadd09fe5df58d04de36484 and fixed in 7.3-rc5 with commit 65f39d09d73718611cee40399179323b5d4ead00 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-98443 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/xfs_log_recover.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/8c9d5b8a96d6b93eb24e07b4163c89341ba29bd1 https://git.kernel.org/stable/c/66a2179d02668f8df44b1a249899006f3ba38ea0 https://git.kernel.org/stable/c/961c717e6bf0e53c2c2b1fe4aef1add9390fedab https://git.kernel.org/stable/c/65f39d09d73718611cee40399179323b5d4ead00