BTRFS warning (device loop4): Skipping commit of aborted transaction. ------------[ cut here ]------------ WARNING: CPU: 1 PID: 3678 at fs/btrfs/transaction.c:2018 cleanup_transaction fs/btrfs/transaction.c:2018 [inline] WARNING: CPU: 1 PID: 3678 at fs/btrfs/transaction.c:2018 btrfs_commit_transaction+0x287d/0x3800 fs/btrfs/transaction.c:2526 Modules linked in: CPU: 1 PID: 3678 Comm: kworker/u4:7 Not tainted 5.15.165-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 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 86 20 fe 48 8b 5c 24 20 0f 1f 44 00 00 e8 79 86 20 fe eb 16 e8 72 86 20 fe 48 c7 c7 a0 2d ca 8a 44 89 f6 e8 13 29 ec fd <0f> 0b 48 89 df 48 c7 c6 a0 2f ca 8a ba e2 07 00 00 44 89 f1 e8 da RSP: 0018:ffffc9000429f740 EFLAGS: 00010246 RAX: 0e1f93553950ac00 RBX: ffff888064834e70 RCX: ffff88807ca50000 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc9000429fa50 R08: ffffffff816689dc R09: ffffed1017364f24 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807ca51278 R13: dffffc0000000000 R14: 00000000ffffffe4 R15: ffff888064834ec8 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055555595e808 CR3: 0000000054fe4000 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:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287