BTRFS info (device loop0): 4190208 bytes available across all block groups ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 35 at fs/btrfs/block-group.c:3897 do_chunk_alloc fs/btrfs/block-group.c:3897 [inline] WARNING: CPU: 0 PID: 35 at fs/btrfs/block-group.c:3897 btrfs_chunk_alloc+0x1179/0x1190 fs/btrfs/block-group.c:4139 Modules linked in: CPU: 0 PID: 35 Comm: kworker/u8:2 Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: events_unbound btrfs_async_reclaim_metadata_space RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:3897 [inline] RIP: 0010:btrfs_chunk_alloc+0x1179/0x1190 fs/btrfs/block-group.c:4139 Code: e9 5d fa ff ff 48 8b 7c 24 48 e8 42 81 37 fe e9 32 fe ff ff e8 b8 ad db fd 90 48 c7 c7 40 7e 79 8b 44 89 e6 e8 28 c7 9d fd 90 <0f> 0b 90 90 e9 2b fe ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f RSP: 0018:ffffc90000ab7a58 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff88807f4c8878 RCX: ffffffff81500069 RDX: ffff8880182cda00 RSI: ffffffff81500076 RDI: 0000000000000001 RBP: ffff888018ac3800 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000006 R12: ffffffffffffffe4 R13: ffff888056456800 R14: 0000000000000001 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d645256000 CR3: 000000001eda8000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: flush_space+0x96d/0xdd0 fs/btrfs/space-info.c:783 btrfs_async_reclaim_metadata_space+0x3cd/0x980 fs/btrfs/space-info.c:1088 process_one_work+0x9fb/0x1b60 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3393 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244