BTRFS warning (device loop5: state EA): Skipping commit of aborted transaction. BTRFS: error (device loop5: state EA) in cleanup_transaction:1983: errno=-12 Out of memory ------------[ cut here ]------------ WARNING: CPU: 1 PID: 39 at fs/btrfs/transaction.c:145 btrfs_put_transaction+0x308/0x378 fs/btrfs/transaction.c:144 Modules linked in: CPU: 1 PID: 39 Comm: kworker/u4:2 Not tainted 6.5.0-rc7-syzkaller-gfe4469582053 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Workqueue: btrfs-qgroup-rescan btrfs_work_helper pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btrfs_put_transaction+0x308/0x378 fs/btrfs/transaction.c:144 lr : btrfs_put_transaction+0x308/0x378 fs/btrfs/transaction.c:144 sp : ffff800092f67400 x29: ffff800092f67400 x28: ffff00013010a930 x27: ffff7000125ece94 x26: ffff00012c49c030 x25: ffff0000cc284000 x24: dfff800000000000 x23: ffff0000cc284c08 x22: ffff0000cc2846c8 x21: 0000000000000001 x20: ffff00012c49c330 x19: ffff00012c49c000 x18: ffff800092f66e00 x17: ffff8000821826f8 x16: ffff800080317f44 x15: 0000000000000001 x14: 1fffe00025893802 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000000 x8 : ffff0000c21d0000 x7 : ffff800082182700 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800082178c5c x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000001 Call trace: btrfs_put_transaction+0x308/0x378 fs/btrfs/transaction.c:144 cleanup_transaction+0x558/0xa10 fs/btrfs/transaction.c:2031 btrfs_commit_transaction+0x21c8/0x2d58 fs/btrfs/transaction.c:2563 btrfs_qgroup_rescan_worker+0x15fc/0x1674 fs/btrfs/qgroup.c:3417 btrfs_work_helper+0x340/0x1504 fs/btrfs/async-thread.c:314 process_one_work+0x800/0x1480 kernel/workqueue.c:2600 worker_thread+0x8e0/0xfe8 kernel/workqueue.c:2751 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:853 irq event stamp: 8211884 hardirqs last enabled at (8211883): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (8211883): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (8211884): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:436 softirqs last enabled at (8211824): [] softirq_handle_end kernel/softirq.c:399 [inline] softirqs last enabled at (8211824): [] __do_softirq+0xac0/0xd54 kernel/softirq.c:582 softirqs last disabled at (8211707): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- BTRFS error (device loop5: state EA): fail to start transaction for status update: -30