BTRFS warning (device loop0: state EA): Skipping commit of aborted transaction. BTRFS: error (device loop0: state EA) in cleanup_transaction:2055: errno=-12 Out of memory ------------[ cut here ]------------ WARNING: CPU: 1 PID: 59 at fs/btrfs/transaction.c:149 btrfs_put_transaction+0x361/0x3c0 fs/btrfs/transaction.c:148 Modules linked in: CPU: 1 PID: 59 Comm: kworker/u4:4 Not tainted 6.8.0-rc2-syzkaller-00047-g1bbb19b6eb1b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: btrfs-qgroup-rescan btrfs_work_helper RIP: 0010:btrfs_put_transaction+0x361/0x3c0 fs/btrfs/transaction.c:148 Code: fc ff df e9 05 fe ff ff e8 cc ae f3 fd 90 0f 0b 90 e9 10 fd ff ff e8 be ae f3 fd 90 0f 0b 90 e9 87 fd ff ff e8 b0 ae f3 fd 90 <0f> 0b 90 e9 a4 fd ff ff e8 a2 ae f3 fd 48 89 df be 03 00 00 00 48 RSP: 0018:ffffc900015a7540 EFLAGS: 00010293 RAX: ffffffff839fb780 RBX: ffff88802a433320 RCX: ffff8880183f1dc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: dffffc0000000000 R08: ffffffff839fb49f R09: 1ffff11005486602 R10: dffffc0000000000 R11: ffffed1005486603 R12: ffff888076ce09c0 R13: ffff8880183f3008 R14: ffff88802a433000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f261098f378 CR3: 000000002f166000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cleanup_transaction fs/btrfs/transaction.c:2103 [inline] btrfs_commit_transaction+0x2ca4/0x3740 fs/btrfs/transaction.c:2638 btrfs_qgroup_rescan_worker+0x17ac/0x1c60 fs/btrfs/qgroup.c:3614 btrfs_work_helper+0x380/0xc10 fs/btrfs/async-thread.c:315 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x913/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242