# CVE-2026-74319: btrfs: zoned: fix deadlock waiting for ticket during data relocation

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-08-15T05:58:16.142Z
- Modified: 2026-08-17T06:19:26.320Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from e2a7fd22378f6500bcf979edc71e6837271eacfd before f84dbbaa988e1344634a20ddf6c7d51a99f12477; from e2a7fd22378f6500bcf979edc71e6837271eacfd before 814c3b4ea357297c507158bceb07bcdc5fbe9808; 7.1 (not affected: before 7.1; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/f84dbbaa988e1344634a20ddf6c7d51a99f12477>
- <https://git.kernel.org/stable/c/814c3b4ea357297c507158bceb07bcdc5fbe9808>

## Sources

- CVE List: [CVE-2026-74319](https://www.cve.org/CVERecord?id=CVE-2026-74319), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-74319](https://nvd.nist.gov/vuln/detail/CVE-2026-74319), Public domain, modified 2026-08-17

---

Page: https://cve.day/CVE-2026-74319 · Whole record: https://cve.day/CVE-2026-74319.json · Rebuilt by cve.day 2026-11-25T22:59:33.169Z
