------------[ cut here ]------------ WARNING: CPU: 0 PID: 9 at fs/btrfs/extent-tree.c:2173 btrfs_run_delayed_refs+0x403/0x480 fs/btrfs/extent-tree.c:2173 Modules linked in: CPU: 0 PID: 9 Comm: kworker/u4:0 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Workqueue: events_unbound btrfs_async_reclaim_metadata_space RIP: 0010:btrfs_run_delayed_refs+0x403/0x480 fs/btrfs/extent-tree.c:2173 Code: 75 15 e8 f0 c5 3f fe eb 05 e8 e9 c5 3f fe 66 90 e8 e2 c5 3f fe eb 15 e8 db c5 3f fe 48 c7 c7 e0 82 4a 8a 89 ee e8 ad a1 66 06 <0f> 0b 48 89 df 48 c7 c6 a0 86 4a 8a ba 7d 08 00 00 89 e9 e8 55 c5 RSP: 0018:ffffc90000ce79f8 EFLAGS: 00010246 RAX: c116d64d07139a00 RBX: ffff88805f2ac2c0 RCX: ffff88813fed0000 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 00000000ffffffe4 R08: dffffc0000000000 R09: ffffed1017204f2c R10: ffffed1017204f2c R11: 1ffff11017204f2b R12: dffffc0000000000 R13: 000000000000001d R14: ffff88806225c001 R15: 1ffff1100be55863 FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005646f9186f38 CR3: 0000000063e89000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: flush_space+0x8f7/0xc50 fs/btrfs/space-info.c:660 btrfs_async_reclaim_metadata_space+0x26f/0x330 fs/btrfs/space-info.c:953 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287