------------[ cut here ]------------ BTRFS: Transaction aborted (error -2) WARNING: fs/btrfs/extent-tree.c:3111 at do_free_extent_accounting fs/btrfs/extent-tree.c:3111 [inline], CPU#0: syz-executor/5821 WARNING: fs/btrfs/extent-tree.c:3111 at __btrfs_free_extent+0x3a28/0x4350 fs/btrfs/extent-tree.c:3480, CPU#0: syz-executor/5821 Modules linked in: CPU: 0 UID: 0 PID: 5821 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 RIP: 0010:do_free_extent_accounting fs/btrfs/extent-tree.c:3111 [inline] RIP: 0010:__btrfs_free_extent+0x3a2b/0x4350 fs/btrfs/extent-tree.c:3480 Code: c0 05 00 00 e8 c6 3c c5 fd 84 c0 0f 84 f3 00 00 00 e8 99 28 e0 fd e9 a9 05 00 00 e8 8f 28 e0 fd 48 8d 3d d8 7b 35 0c 44 89 ee <67> 48 0f b9 3a e9 af e2 ff ff e8 76 28 e0 fd eb 05 e8 6f 28 e0 fd RSP: 0018:ffffc90003ef7440 EFLAGS: 00010293 RAX: ffffffff83e57f01 RBX: ffff888056a39ac8 RCX: ffff8880757d0000 RDX: 0000000000000000 RSI: 00000000fffffffe RDI: ffffffff901afae0 RBP: ffffc90003ef75f0 R08: ffff8880757d0000 R09: 0000000000000003 R10: 00000000fffffffb R11: 0000000000000000 R12: ffff888053a0b210 R13: 00000000fffffffe R14: 0000000000000000 R15: ffff888056438001 FS: 000055557545a500(0000) GS:ffff888125455000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffa7651da0 CR3: 0000000062bce000 CR4: 00000000003526f0 Call Trace: run_one_delayed_ref fs/btrfs/extent-tree.c:-1 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:2003 [inline] __btrfs_run_delayed_refs+0x15e7/0x4240 fs/btrfs/extent-tree.c:2078 btrfs_run_delayed_refs+0xe6/0x3b0 fs/btrfs/extent-tree.c:2190 btrfs_commit_transaction+0xfb6/0x31a0 fs/btrfs/transaction.c:2457 sync_filesystem+0x1cf/0x230 fs/sync.c:66 generic_shutdown_super+0x77/0x2d0 fs/super.c:625 kill_anon_super+0x3b/0x70 fs/super.c:1292 btrfs_kill_super+0x41/0x50 fs/btrfs/super.c:2127 deactivate_locked_super+0xbc/0x130 fs/super.c:476 cleanup_mnt+0x437/0x4d0 fs/namespace.c:1312 task_work_run+0x1d9/0x270 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:67 [inline] exit_to_user_mode_loop+0xed/0x480 kernel/entry/common.c:98 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:325 [inline] do_syscall_64+0x32d/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1e5659d897 Code: a2 c7 05 5c ee 24 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007fffa76523f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f1e56631ef0 RCX: 00007f1e5659d897 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fffa76524b0 RBP: 00007fffa76524b0 R08: 00007fffa76534b0 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffa7653540 R13: 00007f1e56631ef0 R14: 000000000003f4bb R15: 00007fffa7653580 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 05 00 00 e8 c6 add $0xc6e80000,%eax 5: 3c c5 cmp $0xc5,%al 7: fd std 8: 84 c0 test %al,%al a: 0f 84 f3 00 00 00 je 0x103 10: e8 99 28 e0 fd call 0xfde028ae 15: e9 a9 05 00 00 jmp 0x5c3 1a: e8 8f 28 e0 fd call 0xfde028ae 1f: 48 8d 3d d8 7b 35 0c lea 0xc357bd8(%rip),%rdi # 0xc357bfe 26: 44 89 ee mov %r13d,%esi * 29: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2e: e9 af e2 ff ff jmp 0xffffe2e2 33: e8 76 28 e0 fd call 0xfde028ae 38: eb 05 jmp 0x3f 3a: e8 6f 28 e0 fd call 0xfde028ae