------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 1 PID: 53 at fs/btrfs/block-group.c:3972 do_chunk_alloc fs/btrfs/block-group.c:3972 [inline] WARNING: CPU: 1 PID: 53 at fs/btrfs/block-group.c:3972 btrfs_chunk_alloc+0xf70/0x10d0 fs/btrfs/block-group.c:4214 Modules linked in: CPU: 1 UID: 0 PID: 53 Comm: kworker/u8:3 Not tainted 6.15.0-rc1-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: events_unbound btrfs_async_reclaim_metadata_space RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:3972 [inline] RIP: 0010:btrfs_chunk_alloc+0xf70/0x10d0 fs/btrfs/block-group.c:4214 Code: 04 24 48 8b 38 48 c7 c6 20 26 8f 8c 89 da e8 b7 b1 11 fd eb 19 e8 b0 30 ad fd 90 48 c7 c7 c0 25 8f 8c 89 de e8 71 52 6c fd 90 <0f> 0b 90 90 49 bd 00 00 00 00 00 fc ff df 4c 8b 74 24 08 4c 8b 64 RSP: 0018:ffffc90000be7888 EFLAGS: 00010246 RAX: 80490ab7ab903c00 RBX: ffffffffffffffe4 RCX: ffff888022285a00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff818268d2 R09: 1ffffffff20bd6ce R10: dffffc0000000000 R11: fffffbfff20bd6cf R12: ffff88807a7fd3d3 R13: dffffc0000000000 R14: ffff888024680001 R15: ffff88806126c800 FS: 0000000000000000(0000) GS:ffff8881250c9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055aec342b008 CR3: 000000005fd3a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: flush_space+0x32e/0xd30 fs/btrfs/space-info.c:815 btrfs_async_reclaim_metadata_space+0x178/0x3b0 fs/btrfs/space-info.c:1120 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xac3/0x18e0 kernel/workqueue.c:3319 worker_thread+0x870/0xd50 kernel/workqueue.c:3400 kthread+0x7b7/0x940 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245