BTRFS warning (device loop0): Skipping commit of aborted transaction. ------------[ cut here ]------------ WARNING: CPU: 1 PID: 144 at fs/btrfs/transaction.c:2018 cleanup_transaction fs/btrfs/transaction.c:2018 [inline] WARNING: CPU: 1 PID: 144 at fs/btrfs/transaction.c:2018 btrfs_commit_transaction+0x287d/0x3800 fs/btrfs/transaction.c:2526 Modules linked in: CPU: 0 PID: 144 Comm: kworker/u4:1 Not tainted 5.15.147-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/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 68 04 22 fe 48 8b 5c 24 20 0f 1f 44 00 00 e8 59 04 22 fe eb 16 e8 52 04 22 fe 48 c7 c7 a0 b6 c9 8a 44 89 f6 e8 b3 b6 ed fd <0f> 0b 48 89 df 48 c7 c6 a0 b8 c9 8a ba e2 07 00 00 44 89 f1 e8 9e RSP: 0018:ffffc9000128f740 EFLAGS: 00010246 RAX: 364ee109517b0f00 RBX: ffff888073e219a0 RCX: ffff88801398bb80 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc9000128fa50 R08: ffffffff81665dbc R09: ffffed1017364f24 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801398cdf8 R13: dffffc0000000000 R14: 00000000ffffffe4 R15: ffff888073e219f8 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0c0939bd58 CR3: 0000000023862000 CR4: 00000000003506f0 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