CVE-2026-74318
CVE-2026-74318 — btrfs: fix deadlock cloning inline extent when using flushoncommit
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix deadlock cloning inline extent when using flushoncommit In commit b48c980b6a7e ("btrfs: fix deadlock between reflink and transaction commit when using flushoncommit") a deadlock was fixed between reflinks and transaction commits when the fs is mounted with the flushoncommit option. This happened when we had to copy an inline extent's data to the destination file. However the issue was fixed only for the case where the destination offset is 0, it missed the case when the offset is greater than zero. Fix this by ensuring we get i_size update whenever we copied an inline extent's data into the destination file. Syzbot reported this with the following trace: INFO: task kworker/u8:3:57 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:3 state:D stack:21600 pid:57 tgid:57 ppid:2 task_flags:0x4208160 flags:0x00080000 Workqueue: writeback wb_workfn (flush-btrfs-129) Call Trace: <TASK> context_switch kernel/sched/core.c:5402 [inline] __schedule+0x16f9/0x5500 kernel/sched/core.c:7204 __schedule_loop kernel/sched/core.c:7283 [inline] schedule+0x164/0x360 kernel/sched/core.c:7298 wait_extent_bit fs/btrfs/extent-io-tree.c:905 [inline] btrfs_lock_extent_bits+0x59c/0x700 fs/btrfs/extent-io-tree.c:2008 btrfs_lock_extent fs/btrfs/extent-io-tree.h:152 [inline] btrfs_invalidate_folio+0x440/0xc00 fs/btrfs/inode.c:7718 extent_writepage fs/btrfs/extent_io.c:1848 [inline] extent_write_cache_pages fs/btrfs/extent_io.c:2552 [inline] btrfs_writepages+0x12f3/0x2410 fs/btrfs/extent_io.c:2684 do_writepages+0x32e/0x550 mm/page-writeback.c:2571 __writeback_single_inode+0x133/0x10e0 fs/fs-writeback.c:1764 writeback_sb_inodes+0x97f/0x1980 fs/fs-writeback.c:2056 wb_writeback+0x445/0xb00 fs/fs-writeback.c:2241 wb_do_writeback fs/fs-writeback.c:2388 [inline] wb_workfn+0x3fd/0xf20 fs/fs-writeback.c:2428 process_one_work+0x98b/0x1630 kernel/workqueue.c:3318 process_scheduled_works kernel/workqueue.c:3401 [inline] worker_thread+0xb49/0x1140 kernel/workqueue.c:3482 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 </TASK> INFO: task syz.0.145:8523 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.145 state:D stack:22752 pid:8523 tgid:8522 ppid:5850 task_flags:0x400140 flags:0x00080002 Call Trace: <TASK> context_switch kernel/sched/core.c:5402 [inline] __schedule+0x16f9/0x5500 kernel/sched/core.c:7204 __schedule_loop kernel/sched/core.c:7283 [inline] schedule+0x164/0x360 kernel/sched/core.c:7298 wb_wait_for_completion+0x3e8/0x790 fs/fs-writeback.c:227 __writeback_inodes_sb_nr+0x24c/0x2d0 fs/fs-writeback.c:2847 try_to_writeback_inodes_sb+0x9a/0xc0 fs/fs-writeback.c:2895 btrfs_start_delalloc_flush fs/btrfs/transaction.c:2182 [inline] btrfs_commit_transaction+0x813/0x2fc0 fs/btrfs/transaction.c:2371 btrfs_sync_file+0xdf4/0x1230 fs/btrfs/file.c:1822 generic_write_sync include/linux/fs.h:2663 [inline] btrfs_do_write_iter+0x6a9/0x840 fs/btrfs/file.c:1473 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x629/0xba0 fs/read_write.c:688 ksys_write+0x156/0x270 fs/read_write.c:740 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0x560 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5a0bdece59 RSP: 002b:00007f5a0b446028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f5a0c065fa0 RCX: 00007f5a0bdece59 RDX: 000000000000029f RSI: 0000200000 ---truncated---
Published Updated Sources: NVD, Linux (CNA), GitHub, GitHub Security Advisory, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
0%
ahead of 0% of scored CVEs
CVSS base
Unscored
no source published a base score
Remediation
The vendor's own words where we have them.
Upgrade Linux to a fixed release (0 to < 5.7). Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Linux | Linux | 05a5a7621ce66c142e081ffc24dd6ade6e912061 to < 06283034cec0fa357cbd85784ef7d3f5b2ce0790 | Vulnerable |
| Linux | Linux | 05a5a7621ce66c142e081ffc24dd6ade6e912061 to < 2aa37c8ef1092c6f088e23a90bffefc672831c09 | Vulnerable |
| Linux | Linux | 05a5a7621ce66c142e081ffc24dd6ade6e912061 | Vulnerable |
| Linux | Linux | 05a5a7621ce66c142e081ffc24dd6ade6e912061 to < 532085d00eb54c074bdeae648b194765239f4d11 | Vulnerable |
| Linux | Linux | 5.7 | Vulnerable |
| Linux | Linux | 0 to < 5.7 | Patched |
| Linux | Linux | 6.12.97 to <= 6.12.* | Patched |
| Linux | Linux | 6.18.40 to <= 6.18.* | Patched |
| Linux | Linux | 7.1.5 to <= 7.1.* | Patched |
| Linux | Linux | 7.2-rc1 | Patched |
Weakness & attack patterns
- CWE-94Improper Control of Generation of Code (Code Injection)
- CWE-95Eval Injection
Inferred from the weakness class — not observed against this CVE.
- T1027.006Obfuscated Files or Information: HTML Smuggling
- T1027.009Obfuscated Files or Information: Embedded Payloads
- T1564.009Hide Artifacts: Resource Forking
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /u8:3:57, /proc/sys/kernel/hung_task_timeout_secs, /u8:3, /sched/core.c:5402, /0x5500, /sched/core.c:7204, /sched/core.c:7283, /0x360, /sched/core.c:7298, /btrfs/extent-io-tree.c:905, /0x700, /btrfs/extent-io-tree.c:2008, /btrfs/extent-io-tree.h:152, /0xc00, /btrfs/inode.c:7718, /btrfs/extent_io.c:1848, /btrfs/extent_io.c:2552, /0x2410, /btrfs/extent_io.c:2684, /0x550, /page-writeback.c:2571, /0x10e0, /fs-writeback.c:1764, /0x1980, /fs-writeback.c:2056, /0xb00, /fs-writeback.c:2241, /fs-writeback.c:2388, /0xf20, /fs-writeback.c:2428, /0x1630, /workqueue.c:3318, /workqueue.c:3401, /0x1140, /workqueue.c:3482, /0x470, /kthread.c:436, /0xb70, /x86/kernel/process.c:158, /0x30, /x86/entry/entry_64.S:245, /TASK, /0x790, /fs-writeback.c:227, /0x2d0, /fs-writeback.c:2847, /0xc0, /fs-writeback.c:2895, /btrfs/transaction.c:2182, /0x2fc0, /btrfs/transaction.c:2371, /0x1230, /btrfs/file.c:1822, /linux/fs.h:2663, /0x840, /btrfs/file.c:1473, /read_write.c:595, /0xba0, /read_write.c:688, /0x270, /read_write.c:740, /x86/entry/syscall_64.c:63, /0x560, /x86/entry/syscall_64.c:94, /0x7f.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Initial · CVE published
Aug 15, 2026 · NVD
Added · GHSA-jf83-jvqf-h5q9 published (unknown)
Aug 15, 2026 · GitHub Security Advisory
CVE published by mitre
Aug 15, 2026 · SOCRadar CTI
References
6 on the record
- git.kernel.org/stable/c/06283034cec0fa357cbd85784ef7d3f5b2ce0790
Vendor Advisory
- git.kernel.org/stable/c/2aa37c8ef1092c6f088e23a90bffefc672831c09
Vendor Advisory
- git.kernel.org/stable/c/532085d00eb54c074bdeae648b194765239f4d11
Vendor Advisory
- git.kernel.org/stable/c/ea3452726ccb6bcaa732f43cc57bb928eca3dd59
Vendor Advisory
- nvd.nist.gov/vuln/detail/CVE-2026-74318
NVD
- github.com/advisories/GHSA-jf83-jvqf-h5q9
Exploit, Third Party Advisory
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-39682 tls: fix handling of zero-length records on the rx_listCVSS 9.8 · CISA KEV
- CVE-2016-3427 Oracle Java SE and JRockit Unspecified VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-53266 netfilter: bridge: make ebt_snat ARP rewrite writableCVSS 8.8 · CISA KEV
- CVE-2026-46300 net: skbuff: preserve shared-frag marker during coalescingCVSS 7.8 · CISA KEV
- CVE-2026-31431 crypto: algif_aead - Revert to operating out-of-placeCVSS 7.8 · CISA KEV
- CVE-2014-3153 Linux Kernel Privilege Escalation VulnerabilityCVSS 7.8 · CISA KEV
Elsewhere on this site
- Linuxevery CVE for this vendor
- Remote Code Execsame class
- CWE-94other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-74318 is btrfs: fix deadlock cloning inline extent when using flushoncommit, a unscored vulnerability affecting Linux from Linux. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-74318. Public exploit evidence is: A public PoC is not confirmed from current sources for CVE-2026-74318. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS null describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.