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 723CB48F832 for ; Fri, 25 Sep 2026 10:23:48 +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=1790331829; cv=none; b=kmF6ZfH6rEFhWCDXUdS3vHu7tVuHfo0/0Z/c03SfDw32PctDdCTQ20QQb7AJskDUG1eXFb1fZtEcqMr2Ci1lJIVrj41FYQqZdMzdmJ6GFRpDZhKfrJM/mEbzgamZ8e9vu0QtDxiKTg+sgbiMY6Pdu5xPPYAm3Snj9szpE0T3iBg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790331829; c=relaxed/simple; bh=3KT3j+vS3ZzjVzM1aK3dENyi1k8ujRNeHzXjeNoHY7k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SzZ+pZpt06pzEv3aeD/oiTHj38Pc237aCSsqvbbIYYg2HkROpqcvxtrlBBUmfLOb+esjz+ChbH9A7zlNDdPMZJonAFEBvpxyG04jwx5nhW6D44GiGIcohWssS2qdPK/03TgmP70VMz9UFNzgYSNp2vEmyj20JA3HeDL3hfU2ojI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Jcheai6R; 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="Jcheai6R" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CAF8B1F00893; Fri, 25 Sep 2026 10:23:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790331828; bh=BUQFidZBLJbQGTlgVLEPCYqBUByE4LvoSlAl713+dWQ=; h=From:To:Cc:Subject:Date:Reply-To; b=Jcheai6RuzGDLliB8sfTBmS/qMN/i57R3/EkbPoW5EW1HdnGXxYptaOTJwcVZlUWT kitnougDuKx9B2l1h/e7fEA1SBVlDJ8xK8Qkrqfc1TMrQxQEtaBck5Kz2/r7ygC6nF GRcqXvm44ZIYx6CI7sTzpg69FZ4ZRQD2iZ1YzgBw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97548: xfs: fix the rtrmap and rtrefcount _maxlevels_ondisk functions Date: Fri, 25 Sep 2026 12:22:08 +0200 Message-ID: <2026092550-CVE-2026-97548-62e7@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=2395; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=+eikCaDeHtcnOY4uWFFnHQgxyY000GSEizad06YN78g=; b=kA0DAAIRMUfUDdst+ykByyZiAGq2Sz6h6FoImxI44bE0KGHApx5+7WE0JT2cl/RZyp/MgDbCc ohdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmq2Sz4ACgkQMUfUDdst+ymPMQCfRvpQ 74GcpvDBDrSeeG3pbElddSAAoMdQh0YbcVFKO79z58iRuT0W71B3 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 the rtrmap and rtrefcount _maxlevels_ondisk functions The _maxlevels_ondisk functions are used to compute the size of in-memory btree cursors for each btree type. Unfortunately, LOLLM noticed that the rtrmap and rtrefcount versions of these functions forget to account for the inode root, which means that we could access beyond the end of the cursor given a sufficiently large btree. Fix this. The Linux kernel CVE team has assigned CVE-2026-97548 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit 9abe03a0e4f978615a2b1b484b8d09ca84c16ea0 and fixed in 6.18.53 with commit 108114437915e61e8f88d1cbcc442c3f886a347e Issue introduced in 6.14 with commit 9abe03a0e4f978615a2b1b484b8d09ca84c16ea0 and fixed in 7.2.7 with commit 84316cb25af95a60e655ccc8fe646bb5ad631b71 Issue introduced in 6.14 with commit 9abe03a0e4f978615a2b1b484b8d09ca84c16ea0 and fixed in 7.3-rc3 with commit aa301322f72f82f26e4ba0826018d41388ab9896 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-97548 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_rtrefcount_btree.c fs/xfs/libxfs/xfs_rtrmap_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/108114437915e61e8f88d1cbcc442c3f886a347e https://git.kernel.org/stable/c/84316cb25af95a60e655ccc8fe646bb5ad631b71 https://git.kernel.org/stable/c/aa301322f72f82f26e4ba0826018d41388ab9896