CVE-2026-74319
btrfs: zoned: fix deadlock waiting for ticket during data relocation
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.
INFO
Published Date :
Aug. 15, 2026, 6:22 a.m.
Last Modified :
Aug. 17, 2026, 6:19 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Update the Linux kernel to a version with the Btrfs zoned deadlock fix.
- Ensure data relocation uses the BTRFS_RESERVE_FLUSH_ZONED_RELOCATION state.
- Apply the patch for handle_reserve_tickets() in Btrfs.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-74319.
| URL | Resource |
|---|---|
| https://git.kernel.org/stable/c/814c3b4ea357297c507158bceb07bcdc5fbe9808 | |
| https://git.kernel.org/stable/c/f84dbbaa988e1344634a20ddf6c7d51a99f12477 |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-74319 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-74319
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-74319 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-74319 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'e2a7fd22378f6500bcf979edc71e6837271eacfd', 'lessThan': 'f84dbbaa988e1344634a20ddf6c7d51a99f12477', 'versionType': 'git'}, {'status': 'affected', 'version': 'e2a7fd22378f6500bcf979edc71e6837271eacfd', 'lessThan': '814c3b4ea357297c507158bceb07bcdc5fbe9808', 'versionType': 'git'}], 'programFiles': ['fs/btrfs/delalloc-space.c', 'fs/btrfs/space-info.c', 'fs/btrfs/space-info.h'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '7.1'}, {'status': 'unaffected', 'version': '0', 'lessThan': '7.1', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/btrfs/delalloc-space.c', 'fs/btrfs/space-info.c', 'fs/btrfs/space-info.h'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'e2a7fd22378f6500bcf979edc71e6837271eacfd', 'lessThan': 'f84dbbaa988e1344634a20ddf6c7d51a99f12477', 'versionType': 'git'}, {'status': 'affected', 'version': 'e2a7fd22378f6500bcf979edc71e6837271eacfd', 'lessThan': '814c3b4ea357297c507158bceb07bcdc5fbe9808', 'versionType': 'git'}], 'programFiles': ['fs/btrfs/delalloc-space.c', 'fs/btrfs/space-info.c', 'fs/btrfs/space-info.h'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '7.1'}, {'status': 'unaffected', 'version': '0', 'lessThan': '7.1', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/btrfs/delalloc-space.c', 'fs/btrfs/space-info.c', 'fs/btrfs/space-info.h'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 15, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'e2a7fd22378f6500bcf979edc71e6837271eacfd', 'lessThan': 'f84dbbaa988e1344634a20ddf6c7d51a99f12477', 'versionType': 'git'}, {'status': 'affected', 'version': 'e2a7fd22378f6500bcf979edc71e6837271eacfd', 'lessThan': '814c3b4ea357297c507158bceb07bcdc5fbe9808', 'versionType': 'git'}], 'programFiles': ['fs/btrfs/delalloc-space.c', 'fs/btrfs/space-info.c', 'fs/btrfs/space-info.h'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '7.1'}, {'status': 'unaffected', 'version': '0', 'lessThan': '7.1', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/btrfs/delalloc-space.c', 'fs/btrfs/space-info.c', 'fs/btrfs/space-info.h'], 'defaultStatus': 'affected'}] Added 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. Added Reference https://git.kernel.org/stable/c/814c3b4ea357297c507158bceb07bcdc5fbe9808 Added Reference https://git.kernel.org/stable/c/f84dbbaa988e1344634a20ddf6c7d51a99f12477