------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 1 PID: 13063 at fs/btrfs/block-group.c:3947 do_chunk_alloc fs/btrfs/block-group.c:3947 [inline] WARNING: CPU: 1 PID: 13063 at fs/btrfs/block-group.c:3947 btrfs_chunk_alloc+0xe42/0xfe0 fs/btrfs/block-group.c:4189 Modules linked in: CPU: 1 PID: 13063 Comm: kworker/u4:38 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Workqueue: events_unbound btrfs_async_reclaim_data_space RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:3947 [inline] RIP: 0010:btrfs_chunk_alloc+0xe42/0xfe0 fs/btrfs/block-group.c:4189 Code: c7 40 f7 ee 8a 89 ee e8 4c fc b7 fd 0f 0b 4c 89 fb e9 2f fe ff ff e8 cd 7e ed fd 48 c7 c7 40 f7 ee 8a 44 89 f6 e8 2e fc b7 fd <0f> 0b 4c 89 fb e9 7c fe ff ff e8 af 7e ed fd 48 c7 c7 40 f7 ee 8a RSP: 0000:ffffc9000c877918 EFLAGS: 00010246 RAX: 320bc1da5f83e300 RBX: ffff888056b34001 RCX: ffff888057eebc00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002 RBP: 0000000000000000 R08: ffffc9000c877527 R09: 1ffff9200190eea4 R10: dffffc0000000000 R11: fffff5200190eea5 R12: ffff88807964a000 R13: dffffc0000000000 R14: ffffffffffffffe4 R15: ffff888023ffb000 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000032c000 CR3: 000000006da00000 CR4: 00000000003506e0 DR0: ffffffffffffffff DR1: 00000000000001f8 DR2: 0000000000000083 DR3: ffffffffefffff15 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: flush_space+0x516/0xd10 fs/btrfs/space-info.c:764 btrfs_async_reclaim_data_space+0x12a/0x530 fs/btrfs/space-info.c:1283 process_one_work kernel/workqueue.c:2634 [inline] process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293