------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 1 PID: 24000 at fs/btrfs/block-group.c:3887 do_chunk_alloc fs/btrfs/block-group.c:3887 [inline] WARNING: CPU: 1 PID: 24000 at fs/btrfs/block-group.c:3887 btrfs_chunk_alloc+0xee5/0xfb0 fs/btrfs/block-group.c:4129 Modules linked in: CPU: 1 PID: 24000 Comm: kworker/u4:3 Not tainted 6.8.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: events_unbound btrfs_async_reclaim_data_space RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:3887 [inline] RIP: 0010:btrfs_chunk_alloc+0xee5/0xfb0 fs/btrfs/block-group.c:4129 Code: c1 ec 8b 44 89 e6 e8 0a 98 91 fd 90 0f 0b 90 90 e9 19 fe ff ff e8 1b 8d cd fd 90 48 c7 c7 60 c1 ec 8b 89 ee e8 ec 97 91 fd 90 <0f> 0b 90 90 e9 20 fe ff ff e8 fd 8c cd fd 90 48 c7 c7 60 c1 ec 8b RSP: 0018:ffffc9000543f968 EFLAGS: 00010246 RAX: 9c968986c9eb3f00 RBX: ffff88803664c001 RCX: ffff888029ed8000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffffffffffffe4 R08: ffffffff815779c2 R09: 1ffff110172a51a2 R10: dffffc0000000000 R11: ffffed10172a51a3 R12: ffff88803070d800 R13: dffffc0000000000 R14: ffff8880349b0000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd82f5e0e8 CR3: 00000000306b6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: flush_space+0x4d6/0xcf0 fs/btrfs/space-info.c:784 btrfs_async_reclaim_data_space+0x14a/0x4e0 fs/btrfs/space-info.c:1305 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x913/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243