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=1792756493; b=ymTN+XdpByXj0hv08tVbU7MR8QZZWkqdCsyQg9p17LlsG8CjT1SaZuKHvGeEameECqzb Pz+EuQiKbAFZHVl4K7pyX4AaUHSZJb4UJ+u9Z4Y3PlRG/VXEOrotPQVetvmscVCeLw7C2 HQN8cWaDaP4SLrevlIGuNfLUo9i16KDZutjs2hE7orFNtXQfVMTK1ESwENisixcVpAbtT jLliHlVYwcZ4+ozBrcNMo6XpsbZBBldjFJ7851T3BTdl1ad6QQBQdjd7FO+1rnsxSTAsS eWgjM4W/ShbnEtxO5cf0Cy3jAN+fSEFRUIJGUXnNw6uFNKTg567dXV7JOSEFwbmgomg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792756493; 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=3+z7t3O7RgeIa0QLZP5/Y+xHGMJvgVGsNQf67dvCp48=; b=OwmsKCFv1oJHzEsUfqrBKw9sumNHEjS1KIeNoSHMuIxDtPj+Hox6Yvunm5j+zl4QvU9s aGqFvFu2HeP9szvWDFncxfC3jK6CGc1RW8e7ckIrO7QsINofW+R/sq1Bx7AKlKFTIZyYe d38mc3GQMHygo0VkRbEJihW8padQ5hSvgg4hKqpb1ycjm2qR+J1Jg98d2VPeO6+i4vlbk BD1JXtfodQdhkGyrknR2JThG6FpIzF1L1O3UEGvb7gEFrg1vRHvZlQXFf8CMEISBZsxJd LMNsrDX5YAEMy9oSchyZdU8Pnjzh9g8eQYW4zMBdVxLeuJKP1G6r1+9saoKOu8ph1ug== 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=gqUvJtVT; 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 E616B606A322 for ; Fri, 23 Oct 2026 11:54:52 +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=gqUvJtVT Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0D371F01829; Fri, 23 Oct 2026 11:54:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792756492; bh=3+z7t3O7RgeIa0QLZP5/Y+xHGMJvgVGsNQf67dvCp48=; h=From:To:Cc:Subject:Date:Reply-To; b=gqUvJtVT9KE4FeXuVy1Lqz6XuADfDuRvdsJFVwSm5N8jDTwZvp6hIy6pbqCutB3tt 588WUR/wyYJZ7go+FKXJ7V0i8GgLStPuxQm1kyzCwpEoSFcJDPvqGcEHL5BUf76aZW ihLEisTfBd+X0PC/ssk1HAjFWcSJIfbVxPnafLWs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98907: btrfs: protect sb_write_pointer() with invalidate lock Date: Fri, 23 Oct 2026 13:54:20 +0200 Message-ID: <2026102313-CVE-2026-98907-4ea6@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=2531; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=nXUnXs24Nhzv0CZjA08PbAIkgITM3HN6XCWg9p1Kz2s=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3vZ6KcUvmKEzQ81ky7WfZvo+6SltbtrhcWLIiu0HT4 aPtsgDbjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIVCHD/KKY0wenPt24WUh4 ysp7fxsi/RmSSxnml609ukLwyv2Nnze9mzj37Tvt/y81jAE= 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: btrfs: protect sb_write_pointer() with invalidate lock sb_write_pointer() reads the super block from the block device page cache using read_cache_page_gfp(). This has the same race with BLKBSZSET as the one fixed by commit 3f29d661e568 ("btrfs: sync read disk super and set block size"). Take the mapping invalidate lock around read_cache_page_gfp() to serialize the read against block size changes. The Linux kernel CVE team has assigned CVE-2026-98907 to this issue. Affected and fixed versions =========================== Fixed in 5.15.222 with commit c9b38f2eab5a9bd74087390318d93ccdd8d2deff Fixed in 6.1.189 with commit a0dc28359a8a26f970ccd250b126a2e0bd4118a5 Fixed in 6.6.158 with commit 1a6c92aa7242a04e4349c0ea213dbf703a1c9891 Fixed in 6.12.111 with commit a58cab4535f085adc0f93d7efd7952ef437371da Fixed in 6.18.53 with commit 80cd97c5e90096d040a623851795eac92fbd0ff1 Fixed in 7.2 with commit 123b9a545f4d0348e81f558a032bf2a93ee5722f 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-98907 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/btrfs/zoned.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/c9b38f2eab5a9bd74087390318d93ccdd8d2deff https://git.kernel.org/stable/c/a0dc28359a8a26f970ccd250b126a2e0bd4118a5 https://git.kernel.org/stable/c/1a6c92aa7242a04e4349c0ea213dbf703a1c9891 https://git.kernel.org/stable/c/a58cab4535f085adc0f93d7efd7952ef437371da https://git.kernel.org/stable/c/80cd97c5e90096d040a623851795eac92fbd0ff1 https://git.kernel.org/stable/c/123b9a545f4d0348e81f558a032bf2a93ee5722f