------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 1 PID: 76 at fs/btrfs/transaction.c:1977 cleanup_transaction+0x6fa/0x7e0 fs/btrfs/transaction.c:1977 Modules linked in: CPU: 1 PID: 76 Comm: kworker/u4:4 Not tainted 6.4.0-syzkaller-12365-g8689f4f2ea56 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Workqueue: events_unbound btrfs_async_reclaim_metadata_space RIP: 0010:cleanup_transaction+0x6fa/0x7e0 fs/btrfs/transaction.c:1977 Code: 98 00 fe 0f 0b 43 80 7c 25 00 00 0f 85 53 fa ff ff e9 56 fa ff ff e8 25 98 00 fe 48 c7 c7 80 5a 4a 8b 44 89 f6 e8 96 b5 c7 fd <0f> 0b e9 a7 fa ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c ff f9 ff RSP: 0018:ffffc90001587660 EFLAGS: 00010246 RAX: 967c5c023bc0b100 RBX: 0000000000000000 RCX: ffff888019ecbb80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90001587790 R08: ffffffff815321f2 R09: 1ffffffff20f6080 R10: dffffc0000000000 R11: fffffbfff20f6081 R12: dffffc0000000000 R13: 1ffff1100f34ad84 R14: 00000000ffffffe4 R15: ffff888079a56c20 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005628d63175c8 CR3: 0000000034946000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_commit_transaction+0x268e/0x2ff0 fs/btrfs/transaction.c:2557 flush_space+0xa4a/0xe70 fs/btrfs/space-info.c:808 btrfs_async_reclaim_metadata_space+0x29f/0x350 fs/btrfs/space-info.c:1078 process_one_work+0x92c/0x12c0 kernel/workqueue.c:2597 worker_thread+0xa63/0x1210 kernel/workqueue.c:2748 kthread+0x2b8/0x350 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308