------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 1029 at fs/btrfs/block-group.c:3945 do_chunk_alloc fs/btrfs/block-group.c:3945 [inline] WARNING: CPU: 0 PID: 1029 at fs/btrfs/block-group.c:3945 btrfs_chunk_alloc+0xebe/0xf80 fs/btrfs/block-group.c:4187 Modules linked in: CPU: 0 UID: 0 PID: 1029 Comm: kworker/u4:5 Not tainted 6.12.0-syzkaller-09073-g9f16d5e6f220 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: events_unbound btrfs_async_reclaim_data_space RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:3945 [inline] RIP: 0010:btrfs_chunk_alloc+0xebe/0xf80 fs/btrfs/block-group.c:4187 Code: 20 05 4f 8c 89 de e8 b1 8e 77 fd 90 0f 0b 90 90 e9 23 fe ff ff e8 92 e8 b6 fd 90 48 c7 c7 20 05 4f 8c 89 de e8 93 8e 77 fd 90 <0f> 0b 90 90 e9 25 fe ff ff e8 74 e8 b6 fd 90 48 c7 c7 20 05 4f 8c RSP: 0018:ffffc9000260f908 EFLAGS: 00010246 RAX: 6bcdb70e6361b100 RBX: ffffffffffffffe4 RCX: ffff888035892440 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff8880530104a0 R08: ffffffff815688b2 R09: 1ffff11003f8519a R10: dffffc0000000000 R11: ffffed1003f8519b R12: ffff888052928000 R13: dffffc0000000000 R14: ffff888043a7c001 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f56b52bffe0 CR3: 00000000400d2000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: flush_space+0x4c0/0xd00 fs/btrfs/space-info.c:808 btrfs_async_reclaim_data_space+0x159/0x510 fs/btrfs/space-info.c:1321 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 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