BTRFS warning (device loop4): Skipping commit of aborted transaction. ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6460 at fs/btrfs/transaction.c:2011 cleanup_transaction fs/btrfs/transaction.c:2011 [inline] WARNING: CPU: 0 PID: 6460 at fs/btrfs/transaction.c:2011 btrfs_commit_transaction+0x287d/0x3800 fs/btrfs/transaction.c:2519 Modules linked in: CPU: 0 PID: 6460 Comm: kworker/u4:7 Not tainted 5.15.112-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 Workqueue: events_unbound btrfs_async_reclaim_metadata_space RIP: 0010:cleanup_transaction fs/btrfs/transaction.c:2011 [inline] RIP: 0010:btrfs_commit_transaction+0x287d/0x3800 fs/btrfs/transaction.c:2519 Code: e8 38 d5 22 fe 48 8b 5c 24 20 0f 1f 44 00 00 e8 29 d5 22 fe eb 16 e8 22 d5 22 fe 48 c7 c7 00 9b c9 8a 44 89 f6 e8 f3 a8 ee fd <0f> 0b 48 89 df 48 c7 c6 00 9d c9 8a ba db 07 00 00 44 89 f1 e8 ce RSP: 0018:ffffc90002c9f740 EFLAGS: 00010246 RAX: 8c7b8e1ec6587900 RBX: ffff888087070000 RCX: ffff88801cc59dc0 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90002c9fa50 R08: ffffffff8166391c R09: ffffed1017344f24 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801cc5b038 R13: dffffc0000000000 R14: 00000000ffffffe4 R15: ffff888087070058 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f41da9a5058 CR3: 0000000023419000 CR4: 00000000003506e0 DR0: 00000000ffff070c DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: flush_space+0xa0f/0xd50 fs/btrfs/space-info.c:694 btrfs_async_reclaim_metadata_space+0x29b/0x340 fs/btrfs/space-info.c:953 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2307 worker_thread+0xaca/0x1280 kernel/workqueue.c:2454 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298