el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 BTRFS error (device loop0): failed to run delayed ref for logical 5242880 num_bytes 4096 type 176 action 1 ref_mod 1: -12 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 23506 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: 23506 Comm: syz-executor.0 Not tainted 5.15.120-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/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 : ffff800026a674b0 x29: ffff800026a674c0 x28: dfff800000000000 x27: ffff000122632024 x26: 00000000fffffff4 x25: ffff000128460ec8 x24: 1fffe0002508c1d9 x23: ffff000128460ec8 x22: 0000000000000000 x21: 0000000000000006 x20: ffff000122632000 x19: ffff000128460e70 x18: 0000000000000001 x17: ff80800008335ea8 x16: ffff80001195b9f4 x15: ffff800008335ea8 x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000040000 x11: 000000000001d4d8 x10: ffff80001d8d9000 x9 : 1a6f57c7a9814400 x8 : 1a6f57c7a9814400 x7 : fffffffffffc7c78 x6 : fffffffffffc7c38 x5 : ffff800026a66c18 x4 : ffff8000149a2c58 x3 : ffff80000854e3cc 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_file+0x990/0xe60 fs/btrfs/file.c:2397 vfs_fsync_range+0x168/0x188 fs/sync.c:188 generic_write_sync include/linux/fs.h:2913 [inline] btrfs_file_write_iter+0x758/0xad8 fs/btrfs/file.c:2093 call_write_iter include/linux/fs.h:2103 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x87c/0xb3c fs/read_write.c:594 ksys_write+0x15c/0x26c fs/read_write.c:647 __do_sys_write fs/read_write.c:659 [inline] __se_sys_write fs/read_write.c:656 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:656 __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: 86656 hardirqs last enabled at (86655): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (86656): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (86610): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (86610): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (86565): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (86565): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (86565): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace 0f92faa1381646e9 ]--- BTRFS: error (device loop0) in btrfs_run_delayed_refs:2152: errno=-12 Out of memory BTRFS info (device loop0): forced readonly