------------[ cut here ]------------ BTRFS: Transaction aborted (error -2) WARNING: fs/btrfs/extent-tree.c:3105 at do_free_extent_accounting fs/btrfs/extent-tree.c:3105 [inline], CPU#1: syz-executor/5961 WARNING: fs/btrfs/extent-tree.c:3105 at __btrfs_free_extent+0x3a28/0x4350 fs/btrfs/extent-tree.c:3474, CPU#1: syz-executor/5961 Modules linked in: CPU: 1 UID: 0 PID: 5961 Comm: syz-executor Not tainted syzkaller #0 PREEMPT_{RT,(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:3105 [inline] RIP: 0010:__btrfs_free_extent+0x3a2b/0x4350 fs/btrfs/extent-tree.c:3474 Code: c0 05 00 00 e8 16 50 ce fd 84 c0 0f 84 f3 00 00 00 e8 99 47 e9 fd e9 a9 05 00 00 e8 8f 47 e9 fd 48 8d 3d 38 bf 97 0b 44 89 ee <67> 48 0f b9 3a e9 af e2 ff ff e8 76 47 e9 fd eb 05 e8 6f 47 e9 fd RSP: 0018:ffffc90004ab7440 EFLAGS: 00010293 RAX: ffffffff83db0b81 RBX: ffff88805c560498 RCX: ffff88802e060000 RDX: 0000000000000000 RSI: 00000000fffffffe RDI: ffffffff8f72cac0 RBP: ffffc90004ab75f0 R08: ffff88802e060000 R09: 0000000000000003 R10: 0000000000000100 R11: 00000000fffffffb R12: ffff888030eb52c0 R13: 00000000fffffffe R14: 0000000000000000 R15: ffff88803ae60001 FS: 000055558a626500(0000) GS:ffff888126443000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055558a641a28 CR3: 000000002b7ca000 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+0x1ce/0x250 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:0x7fe04351d9d7 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:00007ffc34f37ae8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fe0435b1f90 RCX: 00007fe04351d9d7 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc34f37ba0 RBP: 00007ffc34f37ba0 R08: 00007ffc34f38ba0 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc34f38c30 R13: 00007fe0435b1f90 R14: 00000000000188c3 R15: 00007ffc34f38c70 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 00 00 add %al,(%rax) 2: e8 16 50 ce fd call 0xfdce501d 7: 84 c0 test %al,%al 9: 0f 84 f3 00 00 00 je 0x102 f: e8 99 47 e9 fd call 0xfde947ad 14: e9 a9 05 00 00 jmp 0x5c2 19: e8 8f 47 e9 fd call 0xfde947ad 1e: 48 8d 3d 38 bf 97 0b lea 0xb97bf38(%rip),%rdi # 0xb97bf5d 25: 44 89 ee mov %r13d,%esi * 28: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2d: e9 af e2 ff ff jmp 0xffffe2e1 32: e8 76 47 e9 fd call 0xfde947ad 37: eb 05 jmp 0x3e 39: e8 6f 47 e9 fd call 0xfde947ad