BTRFS warning (device loop0: state EA): Skipping commit of aborted transaction. BTRFS: error (device loop0: state EA) in cleanup_transaction:2057: errno=-12 Out of memory ------------[ cut here ]------------ WARNING: CPU: 1 PID: 2856 at fs/btrfs/transaction.c:150 btrfs_put_transaction fs/btrfs/transaction.c:150 [inline] WARNING: CPU: 1 PID: 2856 at fs/btrfs/transaction.c:150 btrfs_put_transaction+0x3d1/0x4c0 fs/btrfs/transaction.c:143 Modules linked in: CPU: 1 PID: 2856 Comm: kworker/u4:11 Not tainted 6.6.0-next-20231107-syzkaller-16521-g5cd631a52568 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Workqueue: btrfs-qgroup-rescan btrfs_work_helper RIP: 0010:btrfs_put_transaction fs/btrfs/transaction.c:150 [inline] RIP: 0010:btrfs_put_transaction+0x3d1/0x4c0 fs/btrfs/transaction.c:143 Code: 25 71 0d fe 0f 0b e9 b7 fc ff ff 4c 89 e7 e8 96 8d 64 fe e9 96 fc ff ff 48 89 df e8 a9 8d 64 fe e9 2d fd ff ff e8 ff 70 0d fe <0f> 0b e9 9c fd ff ff e8 f3 70 0d fe 0f 0b e9 50 ff ff ff e8 e7 70 RSP: 0018:ffffc9000b8179f0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888146ed9028 RCX: ffffffff837b9151 RDX: ffff888027623b80 RSI: ffffffff837b9491 RDI: ffff888146ed9330 RBP: ffff888146ed9000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888146ed9010 R13: 0000000000000000 R14: ffff88802086c538 R15: ffff88802086cce0 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc82a6bc18 CR3: 000000001cb9f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cleanup_transaction fs/btrfs/transaction.c:2105 [inline] btrfs_commit_transaction+0xdf0/0x3b20 fs/btrfs/transaction.c:2640 btrfs_qgroup_rescan_worker+0x458/0xa00 fs/btrfs/qgroup.c:3608 btrfs_work_helper+0x222/0xc10 fs/btrfs/async-thread.c:315 process_one_work+0x8a2/0x15e0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b6/0x1280 kernel/workqueue.c:2784 kthread+0x337/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242