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 09F3A2D6E5A for ; Wed, 18 Mar 2026 17:01:59 +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=1773853319; cv=none; b=ZkCJeHcgTZusWtT9DtIASoajpEmj6mOD0DGGrVAvvc8Nb1i0SjQNSPiyYugdjDvR7KPGfOTMcQjNNO1SvNF9QwH5speXE64I1R5VwLAp1ak7pUxYwGn0UUvhwDGH5eiSU6hC98nszB7/HE/qTeKd5tJUjqNfLpWn3UFlr9rPBNg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773853319; c=relaxed/simple; bh=E7pztPNByDb3wCG7WKvigcRSA6YzKIVj+eTk2BHNnw8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ewM7o8plnFb/UKX1hiBUUWrj5Ou8cLk4TQLKiaEUpe+EvrT9JMjSvzZbrSgjR6oNLDXNnFUbBClouARoxDqZlrJzTzzTQgEEAy8Wm4KavYNBqcPUFRQ6OTqgxxFThkkaF8IP3B1rDTW67QLLEtJB+jU07WBQZM4UJI2Cs/7YtSc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=K07tTrUz; 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="K07tTrUz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6D82CC2BCB0; Wed, 18 Mar 2026 17:01:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1773853318; bh=E7pztPNByDb3wCG7WKvigcRSA6YzKIVj+eTk2BHNnw8=; h=From:To:Cc:Subject:Date:Reply-To:From; b=K07tTrUzNAnEe2E/KG5vqcXH7sPOA9ePRIaVTI+EvXGqKWchuGjmkIgwcN6jFYOd9 ++84/D7DnFHk9pT1nNScZVbQ5IG8LJCCN7EuirdW+19+9t25uDCW5PjgKhA3gJKTk+ yBh73sxGT1+XWqLF39tDaSKMnR01o9sflNAw9Loo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23251: xfs: only call xf{array,blob}_destroy if we have a valid pointer Date: Wed, 18 Mar 2026 18:01:46 +0100 Message-ID: <2026031845-CVE-2026-23251-259a@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=2571; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=U3V9ziZuQ1A537l8fapolSoPiN/g8KHdH6IM9c9NaHc=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm7blXpJu60CWf4ZPhKOYrh0n2Tri3iem3nm58wTtlSK GLqJ53cEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPpKmWYp8j54atbp6dosNBN k0tibjEHrP4kMyzYzL5xl8TuyQZqwhrrzV603pPjjOkFAA== 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: only call xf{array,blob}_destroy if we have a valid pointer Only call the xfarray and xfblob destructor if we have a valid pointer, and be sure to null out that pointer afterwards. Note that this patch fixes a large number of commits, most of which were merged between 6.9 and 6.10. The Linux kernel CVE team has assigned CVE-2026-23251 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit ab97f4b1c030750f2475bf4da8a9554d02206640 and fixed in 6.12.75 with commit 5de5be3ed7e7fa4ebde4f4b58fb9a629644f9202 Issue introduced in 6.10 with commit ab97f4b1c030750f2475bf4da8a9554d02206640 and fixed in 6.18.16 with commit c9ccefacae0d8091683447bc338bd7741417039d Issue introduced in 6.10 with commit ab97f4b1c030750f2475bf4da8a9554d02206640 and fixed in 6.19.6 with commit d827612c81a26cc1dd83a211cfcb5ad8765da0c4 Issue introduced in 6.10 with commit ab97f4b1c030750f2475bf4da8a9554d02206640 and fixed in 7.0-rc1 with commit ba408d299a3bb3c5309f40c5326e4fb83ead4247 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-23251 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/agheader_repair.c fs/xfs/scrub/attr_repair.c fs/xfs/scrub/dir_repair.c fs/xfs/scrub/dirtree.c fs/xfs/scrub/nlinks.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/5de5be3ed7e7fa4ebde4f4b58fb9a629644f9202 https://git.kernel.org/stable/c/c9ccefacae0d8091683447bc338bd7741417039d https://git.kernel.org/stable/c/d827612c81a26cc1dd83a211cfcb5ad8765da0c4 https://git.kernel.org/stable/c/ba408d299a3bb3c5309f40c5326e4fb83ead4247