------------[ cut here ]------------ WARNING: CPU: 1 PID: 4498 at fs/btrfs/block-group.c:3509 do_chunk_alloc fs/btrfs/block-group.c:3509 [inline] WARNING: CPU: 1 PID: 4498 at fs/btrfs/block-group.c:3509 btrfs_chunk_alloc+0xc59/0x10a0 fs/btrfs/block-group.c:3732 Modules linked in: CPU: 1 PID: 4498 Comm: kworker/u4:14 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 Workqueue: events_unbound btrfs_async_reclaim_data_space RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:3509 [inline] RIP: 0010:btrfs_chunk_alloc+0xc59/0x10a0 fs/btrfs/block-group.c:3732 Code: 49 be 00 00 00 00 00 fc ff df 0f 1f 44 00 00 e8 1d 3a 14 fe eb 16 e8 16 3a 14 fe 48 c7 c7 a0 ec 6c 8a 44 89 ee e8 37 31 4a 06 <0f> 0b 4c 89 e7 48 c7 c6 a0 fa 6c 8a ba b5 0d 00 00 e9 82 00 00 00 RSP: 0018:ffffc900041cf990 EFLAGS: 00010246 RAX: 17757ec41e67bb00 RBX: ffff8880231ec000 RCX: ffff88801db18000 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffff8880b912795b R09: 1ffff11017224f2b R10: dffffc0000000000 R11: ffffed1017224f2c R12: ffff88805d7f4840 R13: ffffffffffffffe4 R14: dffffc0000000000 R15: 00000000ffffffe4 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f318d544000 CR3: 000000002b091000 CR4: 00000000003506e0 Call Trace: flush_space+0x447/0xc90 fs/btrfs/space-info.c:670 btrfs_async_reclaim_data_space+0xff/0x430 fs/btrfs/space-info.c:1169 process_one_work+0x867/0xff0 kernel/workqueue.c:2310 worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457 kthread+0x42e/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287