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 0E19A3B8D40 for ; Tue, 6 Oct 2026 10:23:56 +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=1791282238; cv=none; b=omMVHIZdKrTuXPh6Lobn5r6sjSchBbxXfoXA+bpiWZZXDr3isWjFjShxkLsnFGxvty35ILG4ChLY2D1DIrJJbTQuxbDnlz5nyNS/hJd+bV4PSin71tFSD7DtTPkrMc8Gn6iaW2V17jt7kcJYCY3GCn7WkNpCvo0tC6krHRwTUt0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282238; c=relaxed/simple; bh=V0sG9OXVLQ8Aha0l7NL/RY5ATgfzr7yvKohEa3RVDPY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SqvwQbUo5SWxNcgcS1b6AhwxUIzUwAHtJFNEv6wgtvTBe4YSvtFvxNRCrNA0CAsrwAYtw0ry/cCGlDVULUsp3t9iEVWsG2nz3FKBl2JoyEOR/fFf9YXKiXS2i542ClKsDqLIRZVwTNWERTJ4LNKn3cYDMsUHjaNYuM/8Efh59gM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ERZt8SNb; 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="ERZt8SNb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 184881F000FF; Tue, 6 Oct 2026 10:23:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282236; bh=1rO4bjgDPLva2cSKjzdNWaPccAiM5KicFVcD2JTu7g8=; h=From:To:Cc:Subject:Date:Reply-To; b=ERZt8SNbJj3+Hheli8RET+hcqTGkeB3qeBzTNcsEy5h7+7f5BzXz/vGDnZ3nGniVo hfw1v7CToXZoDFLb0NJbhWY5mS8CpWxXUpdKWCTABar5rHBWAS3tfOEaSedAcq254w ZY21u5kttB5w421pUU71KRClVAUpZX+s8KGcAqyM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98244: btrfs: clear free space tree creation state on rebuild failure Date: Tue, 6 Oct 2026 10:45:45 +0200 Message-ID: <2026100651-CVE-2026-98244-b7b0@gregkh> X-Mailer: git-send-email 2.56.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=2520; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=N8V8OThvUv4qZS3w9ZfNwsid8+yVCdxX2Nrh/UHBkCg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtjIzba26HVbP9uxJS/HkzZVak6+9vJaV9ePh3FV65 d6hes/3dcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEyr8wLNg9lW0F2zX/jSbT S/3NNpmU7Pz7fDnDfJesd5dfHf5ywKrzo2XszgZuZ6YqJQA= 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: clear free space tree creation state on rebuild failure btrfs_rebuild_free_space_tree() sets BTRFS_FS_CREATING_FREE_SPACE_TREE before rebuilding the free space tree. Several error paths return without clearing this flag. The transaction restart failure path can leave the flag set on a live filesystem, causing delayed reference processing to be skipped. Clear it on all free space tree rebuild failure paths. Keep BTRFS_FS_FREE_SPACE_TREE_UNTRUSTED set, since a failed rebuild leaves the free space tree untrusted. Callers must fall back to extent-tree caching. The Linux kernel CVE team has assigned CVE-2026-98244 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit 882af9f13e830c0a4ef696bb72cd5998a5067a93 and fixed in 6.18.54 with commit a32bedab8ece9d1f90a1476a5b486a1804dc78ba Issue introduced in 6.14 with commit 882af9f13e830c0a4ef696bb72cd5998a5067a93 and fixed in 7.2.8 with commit b1df2997d0cd2be7bef7b4ab64ccfd1019dedc81 Issue introduced in 6.14 with commit 882af9f13e830c0a4ef696bb72cd5998a5067a93 and fixed in 7.3-rc4 with commit 3565893cc72cdf6b795cf6a33e7ff9605322334d 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-98244 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/free-space-tree.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/a32bedab8ece9d1f90a1476a5b486a1804dc78ba https://git.kernel.org/stable/c/b1df2997d0cd2be7bef7b4ab64ccfd1019dedc81 https://git.kernel.org/stable/c/3565893cc72cdf6b795cf6a33e7ff9605322334d