Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 53DD933DEFB for ; Wed, 18 Feb 2026 14:54:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771426468; cv=none; b=aTWawy7ubiLw5NR5YpX5HFcqekIIcSsJKleLRzc095iEfxOjIwo0xaKpdXOqJP2eFlbDsz02mYGg2r6dwS80Z50urWWnYY2CUJdj1O2VNrEXH169QYcQetjxKqOM5l8MczPhLyQcW5dzZNG6QzkgI9NeatfkeUcRHrwRNFk6Yd4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771426468; c=relaxed/simple; bh=Tr3IItvXGBMXEgBG8gm/0QG0Nyz/InyActkwTtwLuJs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GIrdFQtCZflG/WlQ6Wce11441NBhwEvc790vDx5J+dN4NN16W7h/z4OrAF0OQPeRFksdvTGU/VUxNrfbKkMJDAKQng8uwv5qYahMg7wQts/PcBuUU5ADuQ9/P4NAISiXn+Lc9z8eRhpFUYjcaY8VW9vCUg39swwTBjojhhZ9SRw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ggbOczPV; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ggbOczPV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A553C116D0; Wed, 18 Feb 2026 14:54:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771426467; bh=Tr3IItvXGBMXEgBG8gm/0QG0Nyz/InyActkwTtwLuJs=; h=From:To:Cc:Subject:Date:Reply-To:From; b=ggbOczPV2ZiDqTAXvnZz664w36ow5010mOnbdFQLa0lPXx5E+dfwBy9NmiWWq/tBE S3Qn48dbUD34W3fnu0vXWWgOj8oONc1ndrg2+n6r3RxbogzuGYwob90LRCfc6Akfbx tJD0DtAB56iy2hEu+VzfhpX3iXzI0PRqo+vCoJao= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23223: xfs: fix UAF in xchk_btree_check_block_owner Date: Wed, 18 Feb 2026 15:54:12 +0100 Message-ID: <2026021806-CVE-2026-23223-e3d3@gregkh> X-Mailer: git-send-email 2.53.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=2080; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=BpYDPnmRBynhXuEjbuRMJkwvyGBmdt1kGGInOXAdHb8=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlTL/ULyjNd7C+IrHikJ3lrvmOMj9wkhnl/27te+0RJK q6x3RnZEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABM5osWwYKeoCIuWws+bP71d t387FDD/j+CTDoZ5tjFaAl80yyLTFt6+NX+rTL6W7Ck/AA== 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 UAF in xchk_btree_check_block_owner We cannot dereference bs->cur when trying to determine if bs->cur aliases bs->sc->sa.{bno,rmap}_cur after the latter has been freed. Fix this by sampling before type before any freeing could happen. The correct temporal ordering was broken when we removed xfs_btnum_t. The Linux kernel CVE team has assigned CVE-2026-23223 to this issue. Affected and fixed versions =========================== Fixed in 6.12.72 with commit 1d411278dda293a507cb794db7d9ed3511c685c6 Fixed in 6.18.11 with commit ed82e7949f5cac3058f4100f3cd670531d41a266 Fixed in 6.19.1 with commit ba5264610423d9653aa36920520902d83841bcfd 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-23223 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/btree.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/1d411278dda293a507cb794db7d9ed3511c685c6 https://git.kernel.org/stable/c/ed82e7949f5cac3058f4100f3cd670531d41a266 https://git.kernel.org/stable/c/ba5264610423d9653aa36920520902d83841bcfd https://git.kernel.org/stable/c/1c253e11225bc5167217897885b85093e17c2217