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=1795099284; b=eWUjrbl4+D+OnLYVDlrPVHxjPcbtl1BiiZV6Rqygto3Nj0K1jHcCJGqqWzoHIiodCMTG 9uW5b+euBcPQJGjsSKMQpaGRzeYLagT/v86A/bIs9THi0OcYYErghUAWAhEovYq+lglBK 20ca1VVJSzH1AtMw/YLtn/85WSFclmARggMhkydi2oJx2S3A7WFG1q8q5D8ez3hPZrrlt kn46hQQ2X4HZJ3uI9x9i1qGWWDF+NVpzSRTsPlwIVIQRS22npiRMOEOh9qFFGVHK8CNIx uyDwYPUzOlwrDznNshsFFgPyRbDY686vLOOi+IW8awdEFo06aWg5kIJXIN1VhkSKyMg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795099284; 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=xX5DpP3octnXnS+62xFc8wHSSIjPOJznZ0MW7tcsPx0=; b=lxL7Y9IhLOAEkqEurI1+Qknr8hVZY4BfqiZkRNcX0Hn93an+6fBrS7keiyKhCySQVyP7 erbWruvNJf1wwtA3DVJLq3H0xf1HR7LynEet9fGEsM6vTxDRNLSOE9fMk0SiooorKMODw Az4QFNY2DCzabgbBbR9uv7mDMJsjQLri7yIC3Pn6qy2oDvmv39O7/GKf51cLVdNx0KgPq oDOaSUvLSBbhl8GTuREauuqdnN5S0FXHm6RHFbz/DNe/Y98oYQRLPCuabYhIsJtsZ9A7V PyiLlB98Zx9JKBtQkmBkbt5CN8l8kH41BVngfOXJptkoZPJoSKMt8HlSIscgHT9zfCg== 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=yJgm00g0; 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 AC3CC606A320 for ; Thu, 19 Nov 2026 14:41:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=yJgm00g0 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BDAC11F000C4; Thu, 19 Nov 2026 14:41:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795099284; bh=xX5DpP3octnXnS+62xFc8wHSSIjPOJznZ0MW7tcsPx0=; h=From:To:Cc:Subject:Date:Reply-To; b=yJgm00g0WkhQ7ZXW0GoP1lekD6oPqZ05EKritINClK72DSMuiXjqcWJ5LJgz6fFvl T6PwbavcsRXBasH5cCdIY6P6I+5XpTaEIuhS1C+PXftaH41y1B+fIkyMpZzurkwB2f IXQwOPU/LvEb+GdRBlkw5qijnplUKeKh4GnHCiF0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99392: xfs: don't subtract excess usage twice when computing agf_btreeblks Date: Thu, 19 Nov 2026 15:24:50 +0100 Message-ID: <2026111955-CVE-2026-99392-7162@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=2582; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=im+FQAm8nM9fI44G7LD9CkWjDjoqD7k6H7bxfCPYru0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2aoDZ752/7fCUan/at23Z69knwW/3P7MgWWBLPPvt BBR2c3GHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARRU2GBUc6n9glCc0XZ/Hg /JZR/FsiePLifQxzuK9+P6Yuwmrurp180Dipc/P8u5+CAA== 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 subtract excess usage twice when computing agf_btreeblks LOLLM noticed that the free space btree repair code calculates agf_btreeblks from the number of blocks we wrote to rebuild the free space btrees (minus the roots). That's correct. However, it observes that we subtract the "excess" reservation, which is not correct. Fix this accounting problem. The Linux kernel CVE team has assigned CVE-2026-99392 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit 4bdfd7d15747b170ce93a06fafccaf20544b6684 and fixed in 6.12.117 with commit 7fd7a78cb5cce2a6fabd50cf77d059a10cbcf9b8 Issue introduced in 6.8 with commit 4bdfd7d15747b170ce93a06fafccaf20544b6684 and fixed in 6.18.61 with commit 3e8c3ed178c1e8a1cc93f773ed15c6e487c7885e Issue introduced in 6.8 with commit 4bdfd7d15747b170ce93a06fafccaf20544b6684 and fixed in 7.3.2 with commit 10fead7a6e6ec8ed9e2f749012163b19afc5b445 Issue introduced in 6.8 with commit 4bdfd7d15747b170ce93a06fafccaf20544b6684 and fixed in 7.4-rc1 with commit 4439b626fb5104204952aa2f169451688fb6be26 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-99392 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/alloc_repair.c fs/xfs/scrub/newbt.c fs/xfs/scrub/newbt.h 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/7fd7a78cb5cce2a6fabd50cf77d059a10cbcf9b8 https://git.kernel.org/stable/c/3e8c3ed178c1e8a1cc93f773ed15c6e487c7885e https://git.kernel.org/stable/c/10fead7a6e6ec8ed9e2f749012163b19afc5b445 https://git.kernel.org/stable/c/4439b626fb5104204952aa2f169451688fb6be26