------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 13442 at fs/btrfs/block-group.c:3990 do_chunk_alloc fs/btrfs/block-group.c:3990 [inline] WARNING: CPU: 0 PID: 13442 at fs/btrfs/block-group.c:3990 btrfs_chunk_alloc+0xf4d/0x1150 fs/btrfs/block-group.c:4231 Modules linked in: CPU: 0 UID: 0 PID: 13442 Comm: kworker/u8:4 Not tainted 6.16.0-rc1-next-20250613-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: events_unbound btrfs_async_reclaim_metadata_space RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:3990 [inline] RIP: 0010:btrfs_chunk_alloc+0xf4d/0x1150 fs/btrfs/block-group.c:4231 Code: 48 c7 c6 40 ba cf 8b 44 89 f2 e8 fe b8 41 fd e9 b5 fc ff ff e8 54 06 d8 fd 90 48 c7 c7 e0 b9 cf 8b 44 89 f6 e8 c4 a5 9b fd 90 <0f> 0b 90 90 e9 96 fc ff ff e8 35 06 d8 fd eb 05 e8 2e 06 d8 fd 48 RSP: 0018:ffffc90002e17778 EFLAGS: 00010246 RAX: 2f4d025483a3d800 RBX: 0000000000000000 RCX: ffff88802895da00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002 RBP: 00000000ffffff01 R08: ffffffff8fa15ef7 R09: 1ffffffff1f42bde R10: dffffc0000000000 R11: fffffbfff1f42bdf R12: ffff88806d0fc128 R13: ffff888027f88800 R14: ffffffffffffffe4 R15: ffff888067890000 FS: 0000000000000000(0000) GS:ffff888125c41000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff9969f9e9c CR3: 0000000032e48000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: flush_space+0x30b/0xcd0 fs/btrfs/space-info.c:861 do_async_reclaim_metadata_space+0x144/0x390 fs/btrfs/space-info.c:1158 btrfs_async_reclaim_metadata_space+0x89/0xe0 fs/btrfs/space-info.c:1226 process_one_work kernel/workqueue.c:3235 [inline] process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3318 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3399 kthread+0x711/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245