BTRFS warning (device loop3): Skipping commit of aborted transaction. ------------[ cut here ]------------ WARNING: CPU: 0 PID: 144 at fs/btrfs/transaction.c:2018 cleanup_transaction fs/btrfs/transaction.c:2018 [inline] WARNING: CPU: 0 PID: 144 at fs/btrfs/transaction.c:2018 btrfs_commit_transaction+0x287d/0x3800 fs/btrfs/transaction.c:2526 Modules linked in: CPU: 1 PID: 144 Comm: kworker/u4:1 Not tainted 5.15.138-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Workqueue: events_unbound btrfs_async_reclaim_metadata_space RIP: 0010:cleanup_transaction fs/btrfs/transaction.c:2018 [inline] RIP: 0010:btrfs_commit_transaction+0x287d/0x3800 fs/btrfs/transaction.c:2526 Code: e8 88 37 22 fe 48 8b 5c 24 20 0f 1f 44 00 00 e8 79 37 22 fe eb 16 e8 72 37 22 fe 48 c7 c7 e0 b3 c9 8a 44 89 f6 e8 f3 f1 ed fd <0f> 0b 48 89 df 48 c7 c6 e0 b5 c9 8a ba e2 07 00 00 44 89 f1 e8 ae RSP: 0018:ffffc900010bf740 EFLAGS: 00010246 RAX: c53200bf6d661200 RBX: ffff888031be7000 RCX: ffff888016f30000 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc900010bfa50 R08: ffffffff816658fc R09: ffffed1017344f24 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888016f31278 R13: dffffc0000000000 R14: 00000000ffffffe4 R15: ffff888031be7058 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30630000 CR3: 000000001e601000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 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:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298