------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 1 PID: 5186 at fs/btrfs/block-group.c:3762 do_chunk_alloc fs/btrfs/block-group.c:3762 [inline] WARNING: CPU: 1 PID: 5186 at fs/btrfs/block-group.c:3762 btrfs_chunk_alloc+0x10fa/0x1120 fs/btrfs/block-group.c:4004 Modules linked in: CPU: 1 PID: 5186 Comm: kworker/u4:1 Not tainted 6.3.0-rc4-syzkaller-00039-gffe78bbd5121 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: events_unbound btrfs_async_reclaim_data_space RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:3762 [inline] RIP: 0010:btrfs_chunk_alloc+0x10fa/0x1120 fs/btrfs/block-group.c:4004 Code: 4c fe e9 32 fa ff ff 48 8b 7c 24 48 e8 bf 31 4c fe e9 19 fc ff ff e8 a5 24 fb fd 44 89 f6 48 c7 c7 a0 f8 96 8a e8 a6 aa c3 fd <0f> 0b 41 bf 01 00 00 00 e9 81 fc ff ff 48 8b 7c 24 48 e8 8f 31 4c RSP: 0018:ffffc9000420fad8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 00000000ffffffe4 RCX: 0000000000000000 RDX: ffff88807d963a80 RSI: ffffffff814b5fe7 RDI: 0000000000000001 RBP: ffff88807b09f000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888146c62000 R13: ffff888077684890 R14: ffffffffffffffe4 R15: 0000000046c62001 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3fc7eaa000 CR3: 000000001cacf000 CR4: 0000000000350ee0 Call Trace: flush_space+0x945/0xd80 fs/btrfs/space-info.c:755 btrfs_async_reclaim_data_space+0x1c6/0x6a0 fs/btrfs/space-info.c:1282 process_one_work+0x991/0x15c0 kernel/workqueue.c:2390 worker_thread+0x669/0x1090 kernel/workqueue.c:2537 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308