------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 1 PID: 11 at fs/btrfs/block-group.c:3897 do_chunk_alloc fs/btrfs/block-group.c:3897 [inline] WARNING: CPU: 1 PID: 11 at fs/btrfs/block-group.c:3897 btrfs_chunk_alloc+0x1179/0x1190 fs/btrfs/block-group.c:4139 Modules linked in: CPU: 1 PID: 11 Comm: kworker/u32:0 Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 Workqueue: events_unbound btrfs_async_reclaim_metadata_space RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:3897 [inline] RIP: 0010:btrfs_chunk_alloc+0x1179/0x1190 fs/btrfs/block-group.c:4139 Code: e9 5d fa ff ff 48 8b 7c 24 48 e8 c2 3e 3b fe e9 32 fe ff ff e8 e8 0b de fd 90 48 c7 c7 00 68 79 8b 44 89 e6 e8 f8 8c a0 fd 90 <0f> 0b 90 90 e9 2b fe ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f RSP: 0000:ffffc900003d7a60 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff888068308878 RCX: ffffffff81511289 RDX: ffff888015f22440 RSI: ffffffff81511296 RDI: 0000000000000001 RBP: ffff888020f53000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000006 R12: ffffffffffffffe4 R13: ffff88804dc3a800 R14: 0000000000000001 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff88802c100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5b5b0c3060 CR3: 0000000029b28000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: flush_space+0x96d/0xdd0 fs/btrfs/space-info.c:783 btrfs_async_reclaim_metadata_space+0x3cd/0x980 fs/btrfs/space-info.c:1088 process_one_work+0x958/0x1ad0 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3393 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244