BTRFS info (device loop5): block group 1048576 has 4194304 bytes, 4096 used 0 pinned 0 reserved 0 zone_unusable BTRFS info (device loop5): block group has cluster?: no BTRFS info (device loop5): 0 blocks of free space at or bigger than bytes is ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 1 PID: 5129 at fs/btrfs/block-group.c:3758 do_chunk_alloc fs/btrfs/block-group.c:3758 [inline] WARNING: CPU: 1 PID: 5129 at fs/btrfs/block-group.c:3758 btrfs_chunk_alloc+0xe5a/0x1010 fs/btrfs/block-group.c:4000 Modules linked in: CPU: 1 PID: 5129 Comm: kworker/u4:5 Not tainted 6.4.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: events_unbound btrfs_async_reclaim_metadata_space RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:3758 [inline] RIP: 0010:btrfs_chunk_alloc+0xe5a/0x1010 fs/btrfs/block-group.c:4000 Code: fd 48 c7 c7 c0 12 2c 8b 44 89 e6 e8 50 7e a6 fd 0f 0b e9 fb fd ff ff e8 34 ff de fd 48 c7 c7 c0 12 2c 8b 89 ee e8 36 7e a6 fd <0f> 0b e9 06 fe ff ff e8 1a ff de fd 48 c7 c7 c0 12 2c 8b 44 89 e6 RSP: 0018:ffffc9000538f9c8 EFLAGS: 00010246 RAX: 1b0260e649e78a00 RBX: ffff888077db8001 RCX: ffff88801e978000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffffffffffffe4 R08: ffffffff81530142 R09: fffff52000a71eb1 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88803c03c000 R13: dffffc0000000000 R14: ffff888015ff6800 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3fda82e0f0 CR3: 0000000061a36000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: flush_space+0xaa9/0xe70 fs/btrfs/space-info.c:767 btrfs_async_reclaim_metadata_space+0x29f/0x350 fs/btrfs/space-info.c:1078 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405 worker_thread+0xa63/0x1210 kernel/workqueue.c:2552 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308