------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 1 PID: 64 at fs/btrfs/extent-tree.c:3235 __btrfs_free_extent+0x2480/0x2eb0 fs/btrfs/extent-tree.c:3235 Modules linked in: CPU: 1 UID: 0 PID: 64 Comm: kworker/u8:4 Not tainted 6.15.0-next-20250606-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: events_unbound btrfs_async_reclaim_metadata_space RIP: 0010:__btrfs_free_extent+0x2480/0x2eb0 fs/btrfs/extent-tree.c:3235 Code: 40 ff cc 8b 45 89 ee 44 89 ea e8 9b 29 69 fd eb 1d e8 c4 6e ff fd 90 48 c7 c7 e0 fe cc 8b 45 89 ee 44 89 ee e8 d1 19 c3 fd 90 <0f> 0b 90 90 4c 8b 7c 24 20 48 8b 7c 24 18 e9 94 e2 ff ff e8 98 6e RSP: 0018:ffffc9000213ee20 EFLAGS: 00010246 RAX: 257af42a77638b00 RBX: 0000000000000000 RCX: ffff88801c741e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002 RBP: ffffc9000213efd0 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffffbfff1bfa9ec R12: 00000000ffffffe4 R13: 00000000ffffffe4 R14: 00000000ffffffe4 R15: ffff8880669b46e0 FS: 0000000000000000(0000) GS:ffff888125d4d000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000280 CR3: 0000000056118000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000004144 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: run_delayed_tree_ref fs/btrfs/extent-tree.c:1747 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1773 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1970 [inline] __btrfs_run_delayed_refs+0xe7b/0x3a50 fs/btrfs/extent-tree.c:2045 btrfs_run_delayed_refs+0xe6/0x300 fs/btrfs/extent-tree.c:2157 commit_cowonly_roots+0x696/0x860 fs/btrfs/transaction.c:1378 btrfs_commit_transaction+0xfb5/0x37f0 fs/btrfs/transaction.c:2457 flush_space+0x48b/0xcd0 fs/btrfs/space-info.c:888 do_async_reclaim_metadata_space+0x144/0x390 fs/btrfs/space-info.c:1158 btrfs_async_reclaim_metadata_space+0x89/0xe0 fs/btrfs/space-info.c:1226 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3321 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402 kthread+0x70e/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245