cbcvebase.
CVE-2025-71194
published 2026-02-04

CVE-2025-71194: In the Linux kernel, the following vulnerability has been resolved: btrfs: fix deadlock in wait_current_trans() due to ignored transaction type When…

PriorityP420high7.8
EPSS
0.17%
7.0th percentile
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix deadlock in wait_current_trans() due to ignored transaction type When wait_current_trans() is called during start_transaction(), it currently waits for a blocked transaction without considering whether the given transaction type actually needs to wait for that particular transaction state. The btrfs_blocked_trans_types[] array already defines which transaction types should wait for which transaction states, but this check was missing in wait_current_trans(). This can lead to a deadlock scenario involving two transactions and pending ordered extents: 1. Transaction A is in TRANS_STATE_COMMIT_DOING state 2. A worker processing an ordered extent calls start_transaction() with TRANS_JOIN 3. join_transaction() returns -EBUSY because Transaction A is in TRANS_STATE_COMMIT_DOING 4. Transaction A moves to TRANS_STATE_UNBLOCKED and completes 5. A new Transaction B is created (TRANS_STATE_RUNNING) 6. The ordered extent from step 2 is added to Transaction B's pending ordered extents 7. Transaction B immediately starts commit by another task and enters TRANS_STATE_COMMIT_START 8. The worker finally reaches wait_current_trans(), sees Transaction B in TRANS_STATE_COMMIT_START (a blocked state), and waits unconditionally 9. However, TRANS_JOIN should NOT wait for TRANS_STATE_COMMIT_START according to btrfs_blocked_trans_types[] 10. Transaction B is waiting for pending ordered extents to complete 11. Deadlock: Transaction B waits for ordered extent, ordered extent waits for Transaction B This can be illustrated by the following call stacks: CPU0 CPU1 btrfs_finish_ordered_io() start_transaction(TRANS_JOIN) join_transaction() # -EBUSY (Transaction A is # TRANS_STATE_COMMIT_DOING) # Transaction A completes # Transaction B created # ordered extent added to # Transaction B's pending list btrfs_commit_transaction() # Transaction B enters # TRANS_STATE_COMMIT_START # waiting for pending ordered #

Affected

61 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.162-1 (bookworm)linux 6.1.162-1 (bookworm)
debianlinux-6.1< linux 6.1.162-1 (bookworm)linux 6.1.162-1 (bookworm)
linuxlinux
linuxlinux>= 4a9d8bdee368de78ace8b36da4eb2186afea162d < e563f59395981fcd69d130761290929806e728d6e563f59395981fcd69d130761290929806e728d6
linuxlinux>= 4a9d8bdee368de78ace8b36da4eb2186afea162d < dc84036c173cff6a432d9ab926298850b1d2a659dc84036c173cff6a432d9ab926298850b1d2a659
linuxlinux>= 4a9d8bdee368de78ace8b36da4eb2186afea162d < d7b04b40ac8e6d814e35202a0e1568809b818295d7b04b40ac8e6d814e35202a0e1568809b818295
linuxlinux>= 4a9d8bdee368de78ace8b36da4eb2186afea162d < 99da896614d17e8a84aeb2b2d464ac046cc8633d99da896614d17e8a84aeb2b2d464ac046cc8633d
linuxlinux>= 4a9d8bdee368de78ace8b36da4eb2186afea162d < 8b0bb145d3bc264360f525c9717653be3522e5288b0bb145d3bc264360f525c9717653be3522e528
linuxlinux>= 4a9d8bdee368de78ace8b36da4eb2186afea162d < 9ac63333d600732a56b35ee1fa46836da671eb509ac63333d600732a56b35ee1fa46836da671eb50
linuxlinux>= 4a9d8bdee368de78ace8b36da4eb2186afea162d < 5037b342825df7094a4906d1e2a9674baab50cb25037b342825df7094a4906d1e2a9674baab50cb2
linuxlinux_kernel>= 0 < 5.10.249-15.10.249-1
linuxlinux_kernel>= 0 < 6.1.162-16.1.162-1
linuxlinux_kernel>= 0 < 6.12.69-16.12.69-1
linuxlinux_kernel>= 0 < 6.18.8-16.18.8-1
linuxlinux_kernel>= 3.11.0 < 5.10.2495.10.249
linuxlinux_kernel>= 5.11.0 < 5.15.1995.15.199
linuxlinux_kernel>= 5.16.0 < 6.1.1626.1.162
linuxlinux_kernel>= 6.13.0 < 6.18.76.18.7
linuxlinux_kernel>= 6.2.0 < 6.6.1226.6.122
linuxlinux_kernel>= 6.7.0 < 6.12.676.12.67
ubuntulinux
ubuntulinux-aws
ubuntulinux-aws-fips
ubuntulinux-azure
ubuntulinux-azure-5.15

CVSS provenance

vendor_ubuntu7.8HIGH
vendor_redhat5.5LOW
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.