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 29F8F48F85C for ; Fri, 25 Sep 2026 10:24:03 +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=1790331844; cv=none; b=jFP1GOxZNnR8rBSPc3yEu7+34cFj23XMqbFqWV6wqPkAERp4kk91uOn1rmKubwXKnNahL24xJckOYvOkUJxr5j/J3nYKOGO+uphhWzyltITA2z/3czRX3WxGM5hcvyjFJ7ptJttQW7cyBMjNdhhm6icIXNP0/wRYoThH+w91E5k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790331844; c=relaxed/simple; bh=JRQeX1XyLLp7cmhK4OysYZRAoAb9qg0b4qLZL8qDM2c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NBp0HEw7gfgvvtTu9MyRC3QTtTZ2eMSyH/+HvfdN/YuqyPncz3tdWxPF5InAR6lVazlrELDs5rLiUpOZTY2NkzvGJ9yyZwX9di3Oylnr5KBF0LlI9VQw6Owfk6oud0ZsTuYHIroLnqMafHnWigLgFgWa5VGXxfaFeDzh+rA/J5M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=v1N3luD+; 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="v1N3luD+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 78D161F00893; Fri, 25 Sep 2026 10:24:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790331843; bh=5j5dCPG+bEEZSWmmUBJTqn+a6DDuKZYladYDVi89RNQ=; h=From:To:Cc:Subject:Date:Reply-To; b=v1N3luD+GCDDNmO1BWXLpeBeCHi7EVXcxwNgEvIhgJuXvbXE5035PBGw5CQRDdG3U Cq3Mir008akvkDe+W0OGZ1mJl2pt3p+ZwPkyKCtkOuTBIf86Dzn46uf21NyIjTLnUd 9k+OATGpeRe6ZTOuuwlqXHDllWCiWYBUBHQjOhZU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97552: xfs: initialise error in xfs_defer_finish_one() Date: Fri, 25 Sep 2026 12:22:12 +0200 Message-ID: <2026092551-CVE-2026-97552-0ecd@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=2931; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=gL9wOl6X3IfGsxk1nkVRY+28PAz63xKXggmrU0cWGlU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvO3/VCupP/nLOelOvrmlIEOUfdbRFcYMqpUnux58e bxnR456RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExkkhXDbPaJey4w8hy3P8Ty lU1mnlHzvzYDJYYFt9SLZt74zjrV4rtxzaeDuvu2b912DAA= 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: initialise error in xfs_defer_finish_one() xfs_defer_finish_one() declares error without an initialiser and only assigns it inside the loop over dfp->dfp_work. When that list is empty the loop body never runs, control falls through to the "Done with the dfp, free it" path, and the function returns an indeterminate value. An item-less pending item reaches this through xfs_defer_add_barrier(), which xfs_reap_ag_blocks() uses on any CONFIG_XFS_ONLINE_REPAIR kernel. xfs_defer_finish_noroll() treats any non-EAGAIN return as fatal, so a non-zero stack value turns a successful barrier into a SHUTDOWN_CORRUPT_INCORE in the middle of a repair. Zero is the correct result: reaching the free path means the item loop drained without a non-zero error. The Linux kernel CVE team has assigned CVE-2026-97552 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit 3f3cec031099c37513727efc978a12b6346e326d and fixed in 6.12.111 with commit 30748a24b9f04f9a83599ba907cc8fbff0729f3c Issue introduced in 6.8 with commit 3f3cec031099c37513727efc978a12b6346e326d and fixed in 6.18.53 with commit ba949a14446b7346e92e676ee3fe2bb79d9ce450 Issue introduced in 6.8 with commit 3f3cec031099c37513727efc978a12b6346e326d and fixed in 7.2.7 with commit 6b507c239884f7d4bf8339f6e9eb8bfcb540afde Issue introduced in 6.8 with commit 3f3cec031099c37513727efc978a12b6346e326d and fixed in 7.3-rc3 with commit 6176d21d7bd609632c5b7e87a3adb9be29ec1e72 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-97552 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/libxfs/xfs_defer.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/30748a24b9f04f9a83599ba907cc8fbff0729f3c https://git.kernel.org/stable/c/ba949a14446b7346e92e676ee3fe2bb79d9ce450 https://git.kernel.org/stable/c/6b507c239884f7d4bf8339f6e9eb8bfcb540afde https://git.kernel.org/stable/c/6176d21d7bd609632c5b7e87a3adb9be29ec1e72