------------[ cut here ]------------ BTRFS: Transaction aborted (error -2) WARNING: fs/btrfs/extent-tree.c:3181 at do_free_extent_accounting fs/btrfs/extent-tree.c:3181 [inline], CPU#1: syz-executor/5838 WARNING: fs/btrfs/extent-tree.c:3181 at __btrfs_free_extent+0x3c6e/0x4570 fs/btrfs/extent-tree.c:3554, CPU#1: syz-executor/5838 Modules linked in: CPU: 1 UID: 0 PID: 5838 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:3181 [inline] RIP: 0010:__btrfs_free_extent+0x3c70/0x4570 fs/btrfs/extent-tree.c:3554 Code: e9 c8 05 00 00 e8 70 23 c5 fd 84 c0 0f 84 f2 00 00 00 e8 63 0f e0 fd e9 b1 05 00 00 e8 59 0f e0 fd 48 8d 3d c2 65 35 0c 89 de <67> 48 0f b9 3a e9 c1 e0 ff ff e8 41 0f e0 fd eb 05 e8 3a 0f e0 fd RSP: 0018:ffffc90003f37440 EFLAGS: 00010293 RAX: ffffffff83e596f7 RBX: 00000000fffffffe RCX: ffff88807f7b3d00 RDX: 0000000000000000 RSI: 00000000fffffffe RDI: ffffffff901afcc0 RBP: ffffc90003f375f0 R08: ffff88807f7b3d00 R09: 0000000000000003 R10: 00000000fffffffb R11: 0000000000000000 R12: dffffc0000000000 R13: ffff888036462000 R14: 0000000000000000 R15: ffff88805a394001 FS: 0000555586189500(0000) GS:ffff888125557000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3acffce000 CR3: 000000007fa34000 CR4: 00000000003526f0 Call Trace: run_delayed_tree_ref fs/btrfs/extent-tree.c:1824 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1851 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:2058 [inline] __btrfs_run_delayed_refs+0x1881/0x4780 fs/btrfs/extent-tree.c:2133 btrfs_run_delayed_refs+0xe6/0x3b0 fs/btrfs/extent-tree.c:2245 btrfs_commit_transaction+0x29a/0x3130 fs/btrfs/transaction.c:2235 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:0x7fb69e19d9d7 Code: a2 c7 05 1c ed 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:00007fff8cc92688 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fb69e231f90 RCX: 00007fb69e19d9d7 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff8cc92740 RBP: 00007fff8cc92740 R08: 00007fff8cc93740 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff8cc937d0 R13: 00007fb69e231f90 R14: 000000000001e580 R15: 00007fff8cc93810 ---------------- Code disassembly (best guess): 0: e9 c8 05 00 00 jmp 0x5cd 5: e8 70 23 c5 fd call 0xfdc5237a a: 84 c0 test %al,%al c: 0f 84 f2 00 00 00 je 0x104 12: e8 63 0f e0 fd call 0xfde00f7a 17: e9 b1 05 00 00 jmp 0x5cd 1c: e8 59 0f e0 fd call 0xfde00f7a 21: 48 8d 3d c2 65 35 0c lea 0xc3565c2(%rip),%rdi # 0xc3565ea 28: 89 de mov %ebx,%esi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: e9 c1 e0 ff ff jmp 0xffffe0f5 34: e8 41 0f e0 fd call 0xfde00f7a 39: eb 05 jmp 0x40 3b: e8 3a 0f e0 fd call 0xfde00f7a