{"id":"CVE-2026-74319","aliases":["CVE-2026-74319"],"related":[],"kind":"vulnerability","state":"published","title":"btrfs: zoned: fix deadlock waiting for ticket during data relocation","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: zoned: fix deadlock waiting for ticket during data relocation\n\nWhen performing data relocation on a zoned filesystem, BTRFS can deadlock\nin handle_reserve_tickets(). The relocation process is waiting on a space\nreservation ticket that can never be fulfilled, because the relocation\nitself is the operation responsible for freeing up that space.\n\nFix this by introducing a new flush state,\nBTRFS_RESERVE_FLUSH_ZONED_RELOCATION, specifically for data chunk\nallocation during zoned relocation. Like\nBTRFS_RESERVE_FLUSH_FREE_SPACE_INODE, this state uses\npriority_reclaim_data_space() instead of the normal flushing path, which\navoids re-entering the relocation code and breaking the deadlock cycle.\n\nIn btrfs_alloc_data_chunk_ondemand(), select this new flush state when the\ninode belongs to a data relocation root on a zoned filesystem.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: zoned: fix deadlock waiting for ticket during data relocation\n\nWhen performing data relocation on a zoned filesystem, BTRFS can deadlock\nin handle_reserve_tickets(). The relocation process is waiting on a space\nreservation ticket that can never be fulfilled, because the relocation\nitself is the operation responsible for freeing up that space.\n\nFix this by introducing a new flush state,\nBTRFS_RESERVE_FLUSH_ZONED_RELOCATION, specifically for data chunk\nallocation during zoned relocation. Like\nBTRFS_RESERVE_FLUSH_FREE_SPACE_INODE, this state uses\npriority_reclaim_data_space() instead of the normal flushing path, which\navoids re-entering the relocation code and breaking the deadlock cycle.\n\nIn btrfs_alloc_data_chunk_ondemand(), select this new flush state when the\ninode belongs to a data relocation root on a zoned filesystem.","source":"cvelist"}],"published":"2026-08-15T05:58:16.142Z","modified":"2026-08-17T06:19:26.320Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e2a7fd22378f6500bcf979edc71e6837271eacfd","fixed":"f84dbbaa988e1344634a20ddf6c7d51a99f12477","status":"affected"},{"type":"git","introduced":"e2a7fd22378f6500bcf979edc71e6837271eacfd","fixed":"814c3b4ea357297c507158bceb07bcdc5fbe9808","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.1","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/f84dbbaa988e1344634a20ddf6c7d51a99f12477","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/814c3b4ea357297c507158bceb07bcdc5fbe9808","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74319","url":"https://www.cve.org/CVERecord?id=CVE-2026-74319","licence":"CVE Terms of Use","modified":"2026-08-17T05:17:09.243Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74319","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74319","licence":"Public domain","modified":"2026-08-17T06:19:26.320Z"}],"updatedAt":"2026-11-25T22:59:33.169Z","epss":{"score":0.00155,"percentile":0.04936,"date":"2026-12-01T12:00:22.000Z"}}