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 562894B04A5 for ; Sat, 15 Aug 2026 06:34: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=1786775684; cv=none; b=Eqxswso4BWHbUFMze2gWmX2WF0hHRT0oTez+0x+oSGlf4WqPurK/YjcppyYZfMDL/+md5nVclZw5fzI7UJGzbSkBJhAfi9VeyjzyKY5GqXqPC9w4VL3MvI85Dpj9vnNNq2vMUE62CNqlsaGTNqjKz/d4V0FDVtBUcfZPd2hnm78= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775684; c=relaxed/simple; bh=TDqGbNsS6E4Z8aRpGOZOMuz2NJAIMeUO5bp0Oi6gjaU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Oi5Rjd+vzQID3oRIp0bDb9NegqEX7GDKDjMECvsXR4kf4YFFPnWOHFHkdIP1SxFkEB5FDNobutgo8IGCFWXmtcBr9tB/Mp60VJTg1FrWjlToWQI5LNpyKgVNIW8C+6joW7tjeIkif6PQumyTZPeZLYAdf4x1I+0LrA/UIxXN7DE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZAKJHVqz; 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="ZAKJHVqz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 644AB1F000E9; Sat, 15 Aug 2026 06:34:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775683; bh=X0ip+DhgZB7IZEVs8Xs5A0QLiHky45juGDpVLBC0mnM=; h=From:To:Cc:Subject:Date:Reply-To; b=ZAKJHVqz88IEqUz4FjBh2wLTMSkysm7XfbT5mlTXJTiSqMOrZfLkbTgqQXak3UF6F GlwrRjLRlwRABIzSvz5mjuxrSdd0v97yzJqsr5+3oqznkYjSa4XBAIScLv2VkfVb/5 d4UAzuye6id0PLELWyHmLvNpLSbhPqb5i2wzBlPs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74319: btrfs: zoned: fix deadlock waiting for ticket during data relocation Date: Sat, 15 Aug 2026 15:10:46 +0900 Message-ID: <2026081553-CVE-2026-74319-b914@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=2608; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=0uIcSPjy/1F8lB7aPOUFYAPXieSE9AZXSOkeLi2O2BY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNjLyCi5Pu746/bCtSZ2nIrn5XZP8To8LVx0+9m85Qc GTVZFnpjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIyGGG+RGdlUWS3RvuGmfm bi9bsfbhosQ77xgW9Hambdy85plc3AFzXYujr+M1VIviAQ== 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: zoned: fix deadlock waiting for ticket during data relocation When performing data relocation on a zoned filesystem, BTRFS can deadlock in handle_reserve_tickets(). The relocation process is waiting on a space reservation ticket that can never be fulfilled, because the relocation itself is the operation responsible for freeing up that space. Fix this by introducing a new flush state, BTRFS_RESERVE_FLUSH_ZONED_RELOCATION, specifically for data chunk allocation during zoned relocation. Like BTRFS_RESERVE_FLUSH_FREE_SPACE_INODE, this state uses priority_reclaim_data_space() instead of the normal flushing path, which avoids re-entering the relocation code and breaking the deadlock cycle. In btrfs_alloc_data_chunk_ondemand(), select this new flush state when the inode belongs to a data relocation root on a zoned filesystem. The Linux kernel CVE team has assigned CVE-2026-74319 to this issue. Affected and fixed versions =========================== Issue introduced in 7.1 with commit e2a7fd22378f6500bcf979edc71e6837271eacfd and fixed in 7.1.5 with commit f84dbbaa988e1344634a20ddf6c7d51a99f12477 Issue introduced in 7.1 with commit e2a7fd22378f6500bcf979edc71e6837271eacfd and fixed in 7.2-rc1 with commit 814c3b4ea357297c507158bceb07bcdc5fbe9808 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-74319 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/delalloc-space.c fs/btrfs/space-info.c fs/btrfs/space-info.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/f84dbbaa988e1344634a20ddf6c7d51a99f12477 https://git.kernel.org/stable/c/814c3b4ea357297c507158bceb07bcdc5fbe9808