------------[ cut here ]------------ WARNING: CPU: 1 PID: 5182 at fs/btrfs/extent-tree.c:3105 __btrfs_free_extent+0x1b45/0x2410 fs/btrfs/extent-tree.c:3105 Modules linked in: CPU: 1 PID: 5182 Comm: kworker/u4:13 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Workqueue: events_unbound btrfs_async_reclaim_metadata_space RIP: 0010:__btrfs_free_extent+0x1b45/0x2410 fs/btrfs/extent-tree.c:3105 Code: ee 8a ba 1e 0c 00 00 b9 fe ff ff ff e8 7e 75 c8 06 e9 d6 f4 ff ff e8 5a 08 1d fe 48 c7 c7 e0 2f ee 8a 44 89 e6 e8 0b 6a e8 fd <0f> 0b e9 31 ea ff ff bf ea ff ff ff e8 84 7c c8 06 84 c0 0f 85 48 RSP: 0018:ffffc90004dcf560 EFLAGS: 00010246 RAX: 8e521c1b737e2f00 RBX: 0000000000000000 RCX: ffff8880729b0000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002 RBP: ffffc90004dcf6c0 R08: ffff8880b8d279db R09: 1ffff110171a4f3b R10: dffffc0000000000 R11: ffffed10171a4f3c R12: 00000000ffffffe4 R13: dffffc0000000000 R14: ffff888053fe4001 R15: ffff8880627e2a50 FS: 0000000000000000(0000) GS:ffff8880b8d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7ffdad6b1c CR3: 0000000029e01000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: run_delayed_tree_ref fs/btrfs/extent-tree.c:1696 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1721 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1973 [inline] __btrfs_run_delayed_refs+0xfb3/0x3b50 fs/btrfs/extent-tree.c:2037 btrfs_run_delayed_refs+0x12d/0x460 fs/btrfs/extent-tree.c:2168 flush_space+0x91d/0xda0 fs/btrfs/space-info.c:790 btrfs_async_reclaim_metadata_space+0x267/0x320 fs/btrfs/space-info.c:1126 process_one_work+0x8ab/0x1160 kernel/workqueue.c:2292 worker_thread+0xaf5/0x12a0 kernel/workqueue.c:2439 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295