------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 1 PID: 9 at fs/btrfs/block-group.c:2672 btrfs_create_pending_block_groups+0xec7/0x11c0 fs/btrfs/block-group.c:2672 Modules linked in: CPU: 1 PID: 9 Comm: kworker/u4:0 Not tainted 6.5.0-rc7-syzkaller-00190-g85eb043618bb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Workqueue: events_unbound btrfs_async_reclaim_metadata_space RIP: 0010:btrfs_create_pending_block_groups+0xec7/0x11c0 fs/btrfs/block-group.c:2672 Code: fd 44 89 f6 48 c7 c7 00 e9 b7 8a e8 a3 b1 b9 fd 0f 0b e9 88 fe ff ff e8 77 f0 f2 fd 89 de 48 c7 c7 00 e9 b7 8a e8 89 b1 b9 fd <0f> 0b e9 3d fe ff ff e8 fd 3b 46 fe e9 61 f8 ff ff e8 f3 3b 46 fe RSP: 0018:ffffc900002ff8e0 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 00000000ffffffe4 RCX: 0000000000000000 RDX: ffff888019260200 RSI: ffffffff814be3c6 RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: fffffffffffcc9f0 R12: ffff88807c8c39c0 R13: ffff88807c8c3800 R14: ffff88807c8c3850 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002042c000 CR3: 0000000039bb2000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __btrfs_end_transaction+0xf1/0x940 fs/btrfs/transaction.c:1001 flush_space+0x94d/0xe80 fs/btrfs/space-info.c:771 btrfs_async_reclaim_metadata_space+0x51c/0xa90 fs/btrfs/space-info.c:1078 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2600 worker_thread+0x687/0x1110 kernel/workqueue.c:2751 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304