------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 1 PID: 2892 at fs/btrfs/block-group.c:3897 do_chunk_alloc fs/btrfs/block-group.c:3897 [inline] WARNING: CPU: 1 PID: 2892 at fs/btrfs/block-group.c:3897 btrfs_chunk_alloc+0xee5/0xfb0 fs/btrfs/block-group.c:4139 Modules linked in: CPU: 1 PID: 2892 Comm: kworker/u8:13 Not tainted 6.10.0-rc2-syzkaller-00010-g2ab795141095 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: events_unbound btrfs_async_reclaim_data_space RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:3897 [inline] RIP: 0010:btrfs_chunk_alloc+0xee5/0xfb0 fs/btrfs/block-group.c:4139 Code: cf 0d 8c 44 89 e6 e8 ba 73 86 fd 90 0f 0b 90 90 e9 19 fe ff ff e8 0b 45 c4 fd 90 48 c7 c7 c0 cf 0d 8c 89 ee e8 9c 73 86 fd 90 <0f> 0b 90 90 e9 20 fe ff ff e8 ed 44 c4 fd 90 48 c7 c7 c0 cf 0d 8c RSP: 0018:ffffc90009747928 EFLAGS: 00010246 RAX: 86a5855467b97300 RBX: ffff888067188001 RCX: ffff88802bc13c00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffffffffffffe4 R08: ffffffff815846c2 R09: fffffbfff1c3998c R10: dffffc0000000000 R11: fffffbfff1c3998c R12: ffff888015ff9000 R13: dffffc0000000000 R14: ffff88802f7ec000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9d7a3bdd58 CR3: 000000002c02e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: flush_space+0x4d7/0xd20 fs/btrfs/space-info.c:783 btrfs_async_reclaim_data_space+0x14a/0x4e0 fs/btrfs/space-info.c:1304 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd70 kernel/workqueue.c:3393 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244