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 EECDE3DFC80 for ; Tue, 6 Oct 2026 10:25:43 +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=1791282345; cv=none; b=a0RH8jIdUll764ksIZWhfv2ZKAR1bD7StMDeYwClV/HmmtPchfPAXFM23wHL/GRhxI5PuBbcdL43JjHMAut+vn7xGDC7FwXcx80/1E3V8xXQLefxYrlEZwcb6Pf3sl1U8BkioggHBmUJNHENxsZjIGTjScawyJ4g1J88L/vnYYs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282345; c=relaxed/simple; bh=s5z0J+jhoEch7Kn48IR9TjflAnEX7m/rcSsfMC3ZG2I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pnhEoJq5Z4ZTpc6uVU6rkAYa6PDcP/qkRrGM/W4L7xygmyOBxMzc3Hlyy4AfPWbhfHWtCMMsrHUmhNS+ae/xJX/D38vPznE3Z7GRVzCjJZEKPzq8X0VAHxvIrsyUOwshys72czaYDNdhozOaqVKAmM9l21d7PpwqBn85J8KpZrs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QTs4Qzxy; 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="QTs4Qzxy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 59D6F1F000FF; Tue, 6 Oct 2026 10:25:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282343; bh=M3Wzq7K9rzb2kV00ITtmmRR8SnkOgqXT3vNfad2sIsk=; h=From:To:Cc:Subject:Date:Reply-To; b=QTs4QzxyuaHrxQU6lnza5SjhTLEil1IYBh+UIAejSg9cCdTg31KruelKPIfjc45t8 WFV+bvYfqpg+fAIxiPEawVqxwuqYeJ+EfUvzc/MO1XNpJymAoHLlM1Qz8oin/Dv6BY 293c3hMcV8nOOBWcCbc+UrV/oqY926HqkRzZRbqE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98279: btrfs: handle lack of space when cleaning up verity items Date: Tue, 6 Oct 2026 10:46:20 +0200 Message-ID: <2026100604-CVE-2026-98279-2fd6@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=2790; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wF9MIyTHpz6JJ6q1pBy0I1RdtuEs7jtB8866JeH9Pys=; b=kA0DAAIRMUfUDdst+ykByyZiAGrEtRCiTvq2HhQAkfzkCDn6RI8q7Xdi25Ic9nnLkKLw8Tyzd ohdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmrEtRAACgkQMUfUDdst+ymemQCgqmwW nY4N3XXbGX8RqGmIr7SrNKUAoKNEpSKsRCn0hvaspzcJso1Alruj 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: handle lack of space when cleaning up verity items When enable_verity() hits the qgroup limit, rollback_verity() needs its own metadata reservation. When the qgroup limit or lack of space refuses the rollback, the whole filesystem is forced read-only even though the qgroup limit was for one subvolume only. Also orphan cleanup at the next mount fails the same way, so the leftover items are never removed: with -EDQUOT the subvolume stays unreachable, and with -ENOSPC on a full filesystem the next read-write mount fails. Start transactions with btrfs_start_transaction_fallback_global_rsv() in btrfs_orphan_cleanup(), drop_verity_items() and rollback_verity(). Those calls only delete items and free the space in the end, so they may use the global reserve and skip the qgroup limit, which avoids -ENOSPC and -EDQUOT. The Linux kernel CVE team has assigned CVE-2026-98279 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit 146054090b0859b28fc39015c7704ccc3c3a347f and fixed in 6.18.54 with commit 4b7ecabd87dc40998fe7870d7975279649229a3b Issue introduced in 5.15 with commit 146054090b0859b28fc39015c7704ccc3c3a347f and fixed in 7.2.8 with commit efa5780b84f066f419a667f6b9542368b2f62074 Issue introduced in 5.15 with commit 146054090b0859b28fc39015c7704ccc3c3a347f and fixed in 7.3-rc4 with commit 76bf149cd0298544631e756670b89c399c7acbca 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-98279 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/inode.c fs/btrfs/verity.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/4b7ecabd87dc40998fe7870d7975279649229a3b https://git.kernel.org/stable/c/efa5780b84f066f419a667f6b9542368b2f62074 https://git.kernel.org/stable/c/76bf149cd0298544631e756670b89c399c7acbca