------------[ 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/7767 WARNING: fs/btrfs/extent-tree.c:3105 at __btrfs_free_extent+0x3a28/0x4350 fs/btrfs/extent-tree.c:3474, CPU#1: syz-executor/7767 Modules linked in: CPU: 1 UID: 0 PID: 7767 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 06 bc d4 fd 84 c0 0f 84 f3 00 00 00 e8 e9 8c ef fd e9 a9 05 00 00 e8 df 8c ef fd 48 8d 3d 78 30 7e 0b 44 89 ee <67> 48 0f b9 3a e9 af e2 ff ff e8 c6 8c ef fd eb 05 e8 bf 8c ef fd RSP: 0018:ffffc90003e2f440 EFLAGS: 00010293 RAX: ffffffff83d388a1 RBX: ffff8880409f1b18 RCX: ffff88802b26da00 RDX: 0000000000000000 RSI: 00000000fffffffe RDI: ffffffff8f51b920 RBP: ffffc90003e2f5f0 R08: ffff88802b26da00 R09: 0000000000000003 R10: 0000000000000100 R11: 00000000fffffffb R12: ffff88806ffb69a0 R13: 00000000fffffffe R14: 0000000000000000 R15: ffff88805d320001 FS: 000055556a3dd500(0000) GS:ffff888126695000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f026ed80000 CR3: 0000000038734000 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+0x15d6/0x4170 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+0x6f/0x2d0 fs/super.c:624 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:0x7face07ad1d7 Code: a2 c7 05 bc e3 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:00007ffdccb220a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007face07ad1d7 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffdccb22160 RBP: 00007ffdccb22160 R08: 00007ffdccb23160 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffdccb231f0 R13: 00007face0841c3b R14: 000000000005f5d1 R15: 00007ffdccb23230 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 05 00 00 e8 06 add $0x6e80000,%eax 5: bc d4 fd 84 c0 mov $0xc084fdd4,%esp a: 0f 84 f3 00 00 00 je 0x103 10: e8 e9 8c ef fd call 0xfdef8cfe 15: e9 a9 05 00 00 jmp 0x5c3 1a: e8 df 8c ef fd call 0xfdef8cfe 1f: 48 8d 3d 78 30 7e 0b lea 0xb7e3078(%rip),%rdi # 0xb7e309e 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 c6 8c ef fd call 0xfdef8cfe 38: eb 05 jmp 0x3f 3a: e8 bf 8c ef fd call 0xfdef8cfe