------------[ cut here ]------------ WARNING: CPU: 0 PID: 4532 at fs/btrfs/block-group.c:3715 do_chunk_alloc fs/btrfs/block-group.c:3715 [inline] WARNING: CPU: 0 PID: 4532 at fs/btrfs/block-group.c:3715 btrfs_chunk_alloc+0xda6/0x1010 fs/btrfs/block-group.c:3957 Modules linked in: CPU: 0 PID: 4532 Comm: kworker/u4:17 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026 Workqueue: events_unbound btrfs_async_reclaim_data_space RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:3715 [inline] RIP: 0010:btrfs_chunk_alloc+0xda6/0x1010 fs/btrfs/block-group.c:3957 Code: fd 48 c7 c7 e0 ab d1 8a 44 89 e6 e8 64 05 c1 fd 0f 0b e9 94 fe ff ff e8 d8 96 f5 fd 48 c7 c7 e0 ab d1 8a 89 de e8 4a 05 c1 fd <0f> 0b e9 b8 fe ff ff e8 be 96 f5 fd 48 c7 c7 e0 ab d1 8a 44 89 e6 RSP: 0018:ffffc90004b4f950 EFLAGS: 00010246 RAX: 92a7c74d38838f00 RBX: ffffffffffffffe4 RCX: ffff88802e418000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002 RBP: 0000000000000000 R08: ffff8880b8e279db R09: 1ffff110171c4f3b R10: dffffc0000000000 R11: ffffed10171c4f3c R12: ffff888079cde0b9 R13: dffffc0000000000 R14: ffff8880769f5000 R15: 1ffff1100f39bc17 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b34901ff8 CR3: 000000005d05b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: flush_space+0x974/0xd90 fs/btrfs/space-info.c:814 btrfs_async_reclaim_data_space+0x155/0x560 fs/btrfs/space-info.c:1344 process_one_work+0x8a2/0x1160 kernel/workqueue.c:2292 worker_thread+0xaa2/0x1270 kernel/workqueue.c:2439 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295