------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 1079 at fs/btrfs/block-group.c:4000 do_chunk_alloc fs/btrfs/block-group.c:4000 [inline] WARNING: CPU: 0 PID: 1079 at fs/btrfs/block-group.c:4000 btrfs_chunk_alloc+0xf9d/0x1460 fs/btrfs/block-group.c:4241 Modules linked in: CPU: 0 UID: 0 PID: 1079 Comm: kworker/u4:9 Not tainted 6.17.0-rc1-syzkaller-00150-g8d084337a32f #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: events_unbound btrfs_async_reclaim_data_space RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:4000 [inline] RIP: 0010:btrfs_chunk_alloc+0xf9d/0x1460 fs/btrfs/block-group.c:4241 Code: b9 fd 84 c0 0f 84 63 01 00 00 e8 3e 5e d2 fd e9 8c 03 00 00 e8 34 5e d2 fd 90 48 c7 c7 60 05 d0 8b 44 89 f6 e8 14 ed 95 fd 90 <0f> 0b 90 90 e9 3e fc ff ff e8 15 5e d2 fd eb 05 e8 0e 5e d2 fd e8 RSP: 0000:ffffc900025bf798 EFLAGS: 00010246 RAX: a03ee8bac70a7e00 RBX: ffff888053278001 RCX: ffff888035c7a440 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002 RBP: 0000000000000000 R08: ffff88801fc24253 R09: 1ffff11003f8484a R10: dffffc0000000000 R11: ffffed1003f8484b R12: dffffc0000000000 R13: ffff8880523c5000 R14: ffffffffffffffe4 R15: ffff888043b1ede0 FS: 0000000000000000(0000) GS:ffff88808d210000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f479194efc8 CR3: 0000000041f0e000 CR4: 0000000000352ef0 Call Trace: flush_space+0x30b/0xcd0 fs/btrfs/space-info.c:861 do_async_reclaim_data_space+0x11c/0x520 fs/btrfs/space-info.c:1394 btrfs_async_reclaim_data_space+0x41/0x90 fs/btrfs/space-info.c:1458 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3319 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400 kthread+0x70e/0x8a0 kernel/kthread.c:463 ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245