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=1793187498; b=cbC+hjdBBxgIDE6mTji2XwwTbuaZo5/Seo6rBq6mNCWHnQ6CJyt+E41yWy3mGDFnlOCB fwE616MjmgLufAMtYDIvvCyrGPc9YaxmhzeXVEyOc3HkJEJfaHeJd97p5+IF5HITmBZeW L6shNoFErW79pGbAcz67KfvaHViqPIpnepdsZduAvgInY3YbO8ROLNg1M4kv5HuUKJk6o OjrkLoPCE+id9+j/hDb8pJ2hplE39i5JWzvUID51AbYxqJzOW37t/AxXAqKA/g+9h9HzL 4kII5gNuUujfnVimiCqv17r9CG6pxB2fPBHIJPG4XI7/iIPsGQ0AiGo78lgbGhAB6WQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793187498; 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=mfQQNB0wL/x2CKQxoWvAXC6mul3xg4mC9eIJeYVyg+o=; b=ows4a93Tgb3Od4B2R950LQN+fomdoOVCg3KG/Z1Ds/LDYLjVRiuuFOfHxnUqngxTxPax F1mI6sZhJGRSLCrpivoWxzSe5dhLB+8l10614neDY0kazpeHBT+H9Rya0jEsoYSUrn333 ZdNCpH7rflQRdot3wh0Ll7Sd/kDvuwltsUx5hFGnbzTh7Y668mxyskmTgTmwaQ/ChwZAC uOEe4Ojw5NxpHrT79D4Ly1ij2U63Kos8Aa+BQPEgdMc4Ngy13lPOtW1nN/cr+lnKAKGdt /Z1CZGSaO/KHMhH3zd17WEQiIVzaMmxroQ0FTlJWojiHTOLq4CbkjgmtrZqu7tY53BQ== 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=n197Bf1g; 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 DA2F0606A31A for ; Wed, 28 Oct 2026 11:38:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=n197Bf1g Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA9D91F01825; Wed, 28 Oct 2026 11:38:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793187497; bh=mfQQNB0wL/x2CKQxoWvAXC6mul3xg4mC9eIJeYVyg+o=; h=From:To:Cc:Subject:Date:Reply-To; b=n197Bf1gSICr6Fwi0kv+p2KhjhmME5RFoInEg6hrtq/Gk3HkReSJft2wH2wrfh6zG BWFcMwJDwO6L3lE59D1P9PcTVWuoqifcxFfpK+11mU7J53Tb9JuZwkFOqGDMrghJW8 7cih0Grx9gtNTM/OEu/0q+y0K+KebgSPDL82bmb4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99132: xfs: don't hold buffer locks across sync transaction commit in xfs_sync_sb_buf Date: Wed, 28 Oct 2026 11:35:19 +0100 Message-ID: <2026102859-CVE-2026-99132-0ac9@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=2633; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=mzRVNAxgG40g2sF+Zyvkyj0A2H2cZspJzstwU3SKYm4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkPz1+2jq5fYvVZMMb7r9qWhxuNLGst3KSvc9hJLfpSf 6FeqZKpI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaS8pBhQatnXH3ubWV19Sld O7avFH63t/8DK8P8ss4VMh1LLm92+1dztHf1XNuVnlN/AQA= 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 hold buffer locks across sync transaction commit in xfs_sync_sb_buf xfs_sync_sb_buf() holds sb/rtsb buffer locks across a synchronous xfs_trans_commit(), which flushes the CIL push workqueue internally. If shutdown occurs during the CIL push, xfs_buf_item_unpin() needs to lock these buffers to fail them, causing a deadlock: setlabel: holds buf lock -> flush_workqueue(xfs-cil) CIL push worker: xfs_buf_item_unpin -> xfs_buf_lock(same buf) Remove the xfs_trans_bhold() calls so that commit releases the buffer locks normally. After the sync commit, re-acquire the buffers via mp->m_sb_bp / mp->m_rtsb_bp for the on-disk writeback. The Linux kernel CVE team has assigned CVE-2026-99132 to this issue. Affected and fixed versions =========================== Issue introduced in 4.18 with commit f7664b31975bd893190708e76b2c424328f0c49b and fixed in 6.18.59 with commit e5456dec79c71c8ef8f9f9adb77d320f113b34db Issue introduced in 4.18 with commit f7664b31975bd893190708e76b2c424328f0c49b and fixed in 7.2.13 with commit 6353e5cd8c43d6e805cacbfbfecf4103571a7ff8 Issue introduced in 4.18 with commit f7664b31975bd893190708e76b2c424328f0c49b and fixed in 7.3 with commit 41a28c865d1d5843f8cb9e0af17a8f4d9e2961ff 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-99132 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_rtgroup.h fs/xfs/libxfs/xfs_sb.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/e5456dec79c71c8ef8f9f9adb77d320f113b34db https://git.kernel.org/stable/c/6353e5cd8c43d6e805cacbfbfecf4103571a7ff8 https://git.kernel.org/stable/c/41a28c865d1d5843f8cb9e0af17a8f4d9e2961ff