WARNING in btrfs_commit_transaction (2)

Status: upstream: reported on 2026/08/31 12:10
Reported-by: syzbot+e707c9861ba275a73c1e@syzkaller.appspotmail.com
First crash: 93d, last: 16d
▶ ▼ Similar bugs (8)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in btrfs_commit_transaction btrfs -1 syz, C inconclusive done 3 1398d 1491d 22/30 fixed on 2023/02/24 13:50
linux-4.19 WARNING in btrfs_commit_transaction (2) -1 1 1454d 1454d 0/1 auto-obsoleted due to no activity on 2023/04/08 10:50
linux-4.14 WARNING in btrfs_commit_transaction btrfs -1 syz, C 2 1373d 1746d 0/1 upstream: reported C repro on 2022/02/21 07:21
linux-6.1 WARNING in btrfs_commit_transaction origin:upstream -1 syz, C error 29 5d00h 1148d 0/3 upstream: reported C repro on 2023/10/11 08:58
linux-6.6 WARNING in btrfs_commit_transaction -1 13 314d 526d 0/2 auto-obsoleted due to no activity on 2026/05/03 02:57
linux-4.19 WARNING in btrfs_commit_transaction -1 1 2067d 2067d 0/1 auto-closed as invalid on 2021/08/03 10:34
linux-5.15 WARNING in btrfs_commit_transaction origin:lts-only -1 syz, C done 96 3d09h 1326d 0/3 upstream: reported C repro on 2023/04/17 01:21
upstream WARNING in btrfs_commit_transaction (2) prio:low btrfs -1 syz, C done error 1226 2d19h 1337d 0/30 upstream: reported C repro on 2023/04/06 02:24

Sample crash report:
BTRFS warning (device loop0): Skipping commit of aborted transaction.
------------[ cut here ]------------
BTRFS: Transaction aborted (error -28)
WARNING: CPU: 1 PID: 63 at fs/btrfs/transaction.c:2039 cleanup_transaction fs/btrfs/transaction.c:2039 [inline]
WARNING: CPU: 1 PID: 63 at fs/btrfs/transaction.c:2039 btrfs_commit_transaction+0x2b36/0x33a0 fs/btrfs/transaction.c:2621
Modules linked in:
CPU: 1 PID: 63 Comm: kworker/u4:5 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Workqueue: events_unbound btrfs_async_reclaim_metadata_space
RIP: 0010:cleanup_transaction fs/btrfs/transaction.c:2039 [inline]
RIP: 0010:btrfs_commit_transaction+0x2b36/0x33a0 fs/btrfs/transaction.c:2621
Code: 00 00 00 49 8d 7f e8 e8 e8 2c ac 00 e9 45 db ff ff e8 4e ea 04 fe 48 c7 c7 60 a2 2c 8b 44 8b 74 24 30 44 89 f6 e8 ea 8e ce fd <0f> 0b e9 d3 f9 ff ff 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 00 d6
RSP: 0018:ffffc900015e7700 EFLAGS: 00010246
RAX: 4ee4bc048c16a900 RBX: 0000000000000000 RCX: ffff888020ee0000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002
RBP: ffffc900015e79d0 R08: ffffc900015e7307 R09: 1ffff920002bce60
R10: dffffc0000000000 R11: fffff520002bce61 R12: ffff88802eba0000
R13: dffffc0000000000 R14: 00000000ffffffe4 R15: ffff888020ee1270
FS:  0000000000000000(0000) GS:ffff8880b8d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000460000 CR3: 000000005bd2c000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <TASK>
 flush_space+0x9b8/0xcd0 fs/btrfs/space-info.c:831
 btrfs_async_reclaim_metadata_space+0x26b/0x330 fs/btrfs/space-info.c:1100
 process_one_work kernel/workqueue.c:2657 [inline]
 process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2734
 worker_thread+0xa5e/0xfe0 kernel/workqueue.c:2815
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/16 23:08 linux-6.6.y 5139929c698c a3e64cfc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in btrfs_commit_transaction
2026/11/10 05:42 linux-6.6.y 5139929c698c 70ec0380 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in btrfs_commit_transaction
2026/10/15 20:37 linux-6.6.y cecd39af8a1a 3f2522c6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in btrfs_commit_transaction
2026/08/31 12:09 linux-6.6.y a4a971135a2f 2f52988a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in btrfs_commit_transaction
* Struck through repros no longer work on HEAD.