------------[ 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/20606 WARNING: fs/btrfs/extent-tree.c:3181 at __btrfs_free_extent.isra.0+0x2478/0x2bb0 fs/btrfs/extent-tree.c:3554, CPU#1: syz-executor/20606 Modules linked in: CPU: 1 UID: 0 PID: 20606 Comm: syz-executor Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 RIP: 0010:do_free_extent_accounting fs/btrfs/extent-tree.c:3181 [inline] RIP: 0010:__btrfs_free_extent.isra.0+0x247c/0x2bb0 fs/btrfs/extent-tree.c:3554 Code: 00 00 48 c7 c7 00 c3 03 8c c6 05 a7 e9 94 0c 01 e8 b9 41 b7 fd e9 0b 15 01 fd e8 8f 86 db fd 48 8d 3d 28 73 b5 0c 8b 74 24 38 <67> 48 0f b9 3a bb 01 00 00 00 e9 7d 1b 01 fd e8 70 86 db fd 48 8b RSP: 0018:ffffc9000b5a7750 EFLAGS: 00010293 RAX: 0000000000000000 RBX: fffffffffffffffe RCX: ffffffff842d50ad RDX: ffff8880207a3d00 RSI: 00000000fffffffe RDI: ffffffff90e2c8a0 RBP: 000000000051e000 R08: 0000000000000005 R09: fffffffffffffffb R10: fffffffffffffffe R11: 0000000000000000 R12: ffff8880662cc000 R13: 0000000000000000 R14: 00000000fffffffe R15: 0000000000001000 FS: 000055558dd63500(0000) GS:ffff88812443c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e012ff8 CR3: 000000005b01f000 CR4: 0000000000350ef0 Call Trace: run_delayed_data_ref fs/btrfs/extent-tree.c:1665 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1855 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:2058 [inline] __btrfs_run_delayed_refs+0x910/0x3d20 fs/btrfs/extent-tree.c:2133 btrfs_run_delayed_refs+0x1a4/0x3c0 fs/btrfs/extent-tree.c:2245 btrfs_commit_transaction+0x9ae/0x3860 fs/btrfs/transaction.c:2473 btrfs_sync_fs+0x129/0x7e0 fs/btrfs/super.c:1051 sync_filesystem fs/sync.c:66 [inline] sync_filesystem+0x1d0/0x290 fs/sync.c:30 generic_shutdown_super+0x86/0x360 fs/super.c:625 kill_anon_super+0x3a/0x60 fs/super.c:1292 btrfs_kill_super+0x3b/0x50 fs/btrfs/super.c:2127 deactivate_locked_super+0xc1/0x1b0 fs/super.c:476 deactivate_super fs/super.c:509 [inline] deactivate_super+0xe7/0x110 fs/super.c:505 cleanup_mnt+0x21f/0x450 fs/namespace.c:1312 task_work_run+0x150/0x240 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+0x100/0x4a0 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+0x67c/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f93c1b9da57 Code: a2 c7 05 9c fc 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:00007ffcc97271a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f93c1c32048 RCX: 00007f93c1b9da57 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffcc9727260 RBP: 00007ffcc9727260 R08: 00007ffcc9728260 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffcc97282f0 R13: 00007f93c1c32048 R14: 0000000000163647 R15: 00007ffcc9728330 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 48 c7 c7 00 c3 03 8c mov $0xffffffff8c03c300,%rdi 9: c6 05 a7 e9 94 0c 01 movb $0x1,0xc94e9a7(%rip) # 0xc94e9b7 10: e8 b9 41 b7 fd call 0xfdb741ce 15: e9 0b 15 01 fd jmp 0xfd011525 1a: e8 8f 86 db fd call 0xfddb86ae 1f: 48 8d 3d 28 73 b5 0c lea 0xcb57328(%rip),%rdi # 0xcb5734e 26: 8b 74 24 38 mov 0x38(%rsp),%esi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: bb 01 00 00 00 mov $0x1,%ebx 34: e9 7d 1b 01 fd jmp 0xfd011bb6 39: e8 70 86 db fd call 0xfddb86ae 3e: 48 rex.W 3f: 8b .byte 0x8b