CVE-2025-71194
kernel: btrfs: fix deadlock in wait_current_trans() due to ignored transaction type
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 4, 2026
Updated · June 28, 2026
Description
A deadlock vulnerability was found in the Linux kernel's Btrfs filesystem. The wait_current_trans() function unconditionally waits for blocked transactions without checking the btrfs_blocked_trans_types[] array to determine if the specific transaction type should actually wait. This causes TRANS_JOIN operations to incorrectly wait for TRANS_STATE_COMMIT_START, creating a circular dependency where Transaction B waits for an ordered extent that is itself waiting for Transaction B.
Statement
This deadlock affects Btrfs filesystems under specific workload patterns involving concurrent ordered extent processing and transaction commits, such as during fdatasync operations. When triggered, the system hangs with processes stuck in uninterruptible sleep. The issue requires local filesystem access and specific timing conditions to manifest.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-821 · Incorrect Synchronization