Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-71194— btrfs: fix deadlock in wait_current_trans() due to ignored transaction type

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于wait_current_trans函数因忽略事务类型可能导致死锁。

AI Predicted 7.5 Difficulty: Hard EPSS 0.15% · P4

Affected Version Matrix 16

VendorProduct Version RangeStatus
Linux Linux 4a9d8bdee368de78ace8b36da4eb2186afea162d< e563f59395981fcd69d130761290929806e728d6 affected
4a9d8bdee368de78ace8b36da4eb2186afea162d< dc84036c173cff6a432d9ab926298850b1d2a659 affected
4a9d8bdee368de78ace8b36da4eb2186afea162d< d7b04b40ac8e6d814e35202a0e1568809b818295 affected
4a9d8bdee368de78ace8b36da4eb2186afea162d< 99da896614d17e8a84aeb2b2d464ac046cc8633d affected
4a9d8bdee368de78ace8b36da4eb2186afea162d< 8b0bb145d3bc264360f525c9717653be3522e528 affected
4a9d8bdee368de78ace8b36da4eb2186afea162d< 9ac63333d600732a56b35ee1fa46836da671eb50 affected
4a9d8bdee368de78ace8b36da4eb2186afea162d< 5037b342825df7094a4906d1e2a9674baab50cb2 affected
3.11 affected
… +8 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-71194

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
btrfs: fix deadlock in wait_current_trans() due to ignored transaction type
Source: CVE Program / CVE List V5
Vulnerability Description
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 # extents wait_current_trans() # waits for Transaction B # (should not wait!) Task bstore_kv_sync in btrfs_commit_transaction waiting for ordered extents: __schedule+0x2e7/0x8a0 schedule+0x64/0xe0 btrfs_commit_transaction+0xbf7/0xda0 [btrfs] btrfs_sync_file+0x342/0x4d0 [btrfs] __x64_sys_fdatasync+0x4b/0x80 do_syscall_64+0x33/0x40 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Task kworker in wait_current_trans waiting for transaction commit: Workqueue: btrfs-syno_nocow btrfs_work_helper [btrfs] __schedule+0x2e7/0x8a0 schedule+0x64/0xe0 wait_current_trans+0xb0/0x110 [btrfs] start_transaction+0x346/0x5b0 [btrfs] btrfs_finish_ordered_io.isra.0+0x49b/0x9c0 [btrfs] btrfs_work_helper+0xe8/0x350 [btrfs] process_one_work+0x1d3/0x3c0 worker_thread+0x4d/0x3e0 kthread+0x12d/0x150 ret_from_fork+0x1f/0x30 Fix this by passing the transaction type to wait_current_trans() and checking btrfs_blocked_trans_types[cur_trans->state] against the given type before deciding to wait. This ensures that transaction types which are allowed to join during certain blocked states will not unnecessarily wait and cause deadlocks.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于wait_current_trans函数因忽略事务类型可能导致死锁。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 4a9d8bdee368de78ace8b36da4eb2186afea162d ~ e563f59395981fcd69d130761290929806e728d6 -
Linux Linux 3.11 -

II. Public POCs for CVE-2025-71194

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-71194

请登录查看更多情报信息。

Same Patch Batch · Linux · 2026-02-04 · 79 CVEs total

CVE-2026-23098 8.8 HIGH netrom: fix double-free in nr_route_frame()
CVE-2026-23066 7.8 HIGH rxrpc: Fix recvmsg() unconditional requeue
CVE-2026-23074 7.8 HIGH net/sched: Enforce that teql can only be used as root qdisc
CVE-2026-23077 7.8 HIGH mm/vma: fix anon_vma UAF on mremap() faulted, unfaulted merge
CVE-2026-23105 7.8 HIGH net/sched: qfq: Use cl_is_active to determine whether class is active in qfq_rm_from_ag
CVE-2026-23103 7.8 HIGH ipvlan: Make the addrs_lock be per port
CVE-2026-23095 7.5 HIGH gue: Fix skb memleak with inner IP protocol 0.
CVE-2025-71192 7.0 HIGH ALSA: ac97: fix a double free in snd_ac97_controller_register()
CVE-2026-23064 net/sched: act_ife: avoid possible NULL deref
CVE-2026-23065 platform/x86/amd: Fix memory leak in wbrf_record()
CVE-2026-23067 iommu/io-pgtable-arm: fix size_t signedness bug in unmap path
CVE-2026-23042 idpf: fix aux device unplugging when rdma is not supported by vport
CVE-2026-23060 crypto: authencesn - reject too-short AAD (assoclen<8) to match ESP/ESN spec
CVE-2026-23059 scsi: qla2xxx: Sanitize payload size to prevent member overflow
CVE-2026-23058 can: ems_usb: ems_usb_read_bulk_callback(): fix URB memory leak
CVE-2026-23057 vsock/virtio: Coalesce only linear skb
CVE-2026-23056 uacce: implement mremap in uacce_vm_ops to return -EPERM
CVE-2025-71199 iio: adc: at91-sama5d2_adc: Fix potential use-after-free in sama5d2_adc driver
CVE-2025-71198 iio: imu: st_lsm6dsx: fix iio_chan_spec for sensors without event detection
CVE-2026-23061 can: kvaser_usb: kvaser_usb_read_bulk_callback(): fix URB memory leak

Showing top 20 of 79 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2025-71194

No comments yet


Leave a comment