BTRFS warning (device loop0): Skipping commit of aborted transaction. ------------[ cut here ]------------ WARNING: CPU: 0 PID: 33 at fs/btrfs/transaction.c:1964 cleanup_transaction+0x70c/0x7f0 fs/btrfs/transaction.c:1964 Modules linked in: CPU: 0 PID: 33 Comm: kworker/u4:2 Not tainted 6.1.45-syzkaller #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:cleanup_transaction+0x70c/0x7f0 fs/btrfs/transaction.c:1964 Code: 43 04 fe 0f 0b 43 80 7c 25 00 00 0f 85 3d fa ff ff e9 40 fa ff ff e8 d3 43 04 fe 48 c7 c7 40 96 2d 8b 44 89 f6 e8 34 a1 cc fd <0f> 0b e9 91 fa ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c e9 f9 ff RSP: 0018:ffffc90000aa7660 EFLAGS: 00010246 RAX: 7f5b51a9f1739900 RBX: 0000000000000000 RCX: ffff8880152c1dc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000aa7790 R08: ffffffff81525dfe R09: ffffed1017304f1c R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff1100df08d84 R14: 00000000ffffffe4 R15: ffff88806f846c20 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8ba6e13010 CR3: 0000000076775000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_commit_transaction+0x2d88/0x37e0 fs/btrfs/transaction.c:2550 flush_space+0x9a3/0xe60 fs/btrfs/space-info.c:811 btrfs_async_reclaim_metadata_space+0x29b/0x340 fs/btrfs/space-info.c:1084 process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2292 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2439 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306