BTRFS error (device loop2): failed to run delayed ref for logical 5242880 num_bytes 4096 type 176 action 1 ref_mod 1: -12 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4987 at fs/btrfs/extent-tree.c:2158 btrfs_run_delayed_refs+0x408/0x47c fs/btrfs/extent-tree.c:2158 Modules linked in: CPU: 0 PID: 4987 Comm: syz.2.192 Not tainted 5.15.165-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btrfs_run_delayed_refs+0x408/0x47c fs/btrfs/extent-tree.c:2158 lr : btrfs_run_delayed_refs+0x408/0x47c fs/btrfs/extent-tree.c:2158 sp : ffff80001d2977b0 x29: ffff80001d2977c0 x28: dfff800000000000 x27: ffff0000d0d0a024 x26: 00000000fffffff4 x25: ffff0000dd9d7688 x24: 1fffe0001bb3aed1 x23: ffff0000dd9d7688 x22: 0000000000000000 x21: 000000000000000a x20: ffff0000d0d0a000 x19: ffff0000dd9d7630 x18: 0000000000000001 x17: 0000000000000000 x16: ffff800011abc7d0 x15: 00000000ffffffff x14: ffff0000d7c50000 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : 181e8b93a1539000 x8 : 181e8b93a1539000 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001d296f18 x4 : ffff800014b9faa0 x3 : ffff800008555e58 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 Call trace: btrfs_run_delayed_refs+0x408/0x47c fs/btrfs/extent-tree.c:2158 btrfs_commit_transaction+0x1b8/0x30f0 fs/btrfs/transaction.c:2166 btrfs_ioctl_set_fslabel+0x2e8/0x39c fs/btrfs/ioctl.c:4706 btrfs_ioctl+0x50c/0xa5c fs/btrfs/ioctl.c:4933 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:860 __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:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 84924 hardirqs last enabled at (84923): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (84924): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (84874): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (84874): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (84841): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (84841): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (84841): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (84841): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 8d94eea872a18609 ]--- BTRFS: error (device loop2) in btrfs_run_delayed_refs:2158: errno=-12 Out of memory BTRFS info (device loop2): forced readonly