BTRFS error (device loop1): failed to run delayed ref for logical 5255168 num_bytes 4096 type 176 action 2 ref_mod 1: -12 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 12618 at fs/btrfs/extent-tree.c:2152 btrfs_run_delayed_refs+0x408/0x47c fs/btrfs/extent-tree.c:2152 Modules linked in: CPU: 1 PID: 12618 Comm: syz-executor.1 Not tainted 5.15.105-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btrfs_run_delayed_refs+0x408/0x47c fs/btrfs/extent-tree.c:2152 lr : btrfs_run_delayed_refs+0x408/0x47c fs/btrfs/extent-tree.c:2152 sp : ffff800020f07550 x29: ffff800020f07560 x28: dfff800000000000 x27: ffff0000d8702024 x26: 00000000fffffff4 x25: ffff0000dc3b5f78 x24: 1fffe0001b876bef x23: ffff0000dc3b5f78 x22: 0000000000000000 x21: 0000000000000006 x20: ffff0000d8702000 x19: ffff0000dc3b5f20 x18: 0000000000000001 x17: ff808000083336c4 x16: ffff80001193f6fc x15: ffff8000083336c4 x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000040000 x11: 000000000001686e x10: ffff80001e902000 x9 : b2c54f5be66baa00 x8 : b2c54f5be66baa00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800020f06cb8 x4 : ffff80001499f940 x3 : ffff800008549b3c x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 Call trace: btrfs_run_delayed_refs+0x408/0x47c fs/btrfs/extent-tree.c:2152 btrfs_commit_transaction+0x1b8/0x30f0 fs/btrfs/transaction.c:2159 btrfs_sync_fs+0x678/0xc94 fs/btrfs/super.c:1454 sync_filesystem+0x1a0/0x218 fs/sync.c:66 btrfs_remount+0x19c/0x1308 fs/btrfs/super.c:1930 legacy_reconfigure+0xfc/0x114 fs/fs_context.c:633 reconfigure_super+0x340/0x690 fs/super.c:916 do_remount fs/namespace.c:2656 [inline] path_mount+0xc94/0x104c fs/namespace.c:3316 do_mount fs/namespace.c:3337 [inline] __do_sys_mount fs/namespace.c:3545 [inline] __se_sys_mount fs/namespace.c:3522 [inline] __arm64_sys_mount+0x510/0x5e0 fs/namespace.c:3522 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 87948 hardirqs last enabled at (87947): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (87948): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (87902): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (87902): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (87713): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (87713): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (87713): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace 2e8afd8d2a9c643d ]--- BTRFS: error (device loop1) in btrfs_run_delayed_refs:2152: errno=-12 Out of memory BTRFS info (device loop1): forced readonly BTRFS error (device loop1): Remounting read-write after error is not allowed