------------[ cut here ]------------ WARNING: CPU: 1 PID: 1898 at fs/btrfs/extent-tree.c:2141 btrfs_run_delayed_refs+0x320/0x374 fs/btrfs/extent-tree.c:2141 Modules linked in: CPU: 1 PID: 1898 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btrfs_run_delayed_refs+0x320/0x374 fs/btrfs/extent-tree.c:2141 lr : btrfs_run_delayed_refs+0x320/0x374 fs/btrfs/extent-tree.c:2141 sp : ffff80002187bc50 x29: ffff80002187bc50 x28: ffff00011ff71a80 x27: 0000000000000000 x26: 0000000000000000 x25: ffff00011550b000 x24: ffff000113b76000 x23: 00000000fffffff4 x22: ffff000115340000 x21: 0000000000000000 x20: 0000000000000000 x19: ffff0000cab07750 x18: 000000000000006c x17: ffff80000bffd6bc x16: ffff80000db49158 x15: ffff00011ff71a80 x14: 0000000000000000 x13: 00000000ffffffff x12: 0000000000040000 x11: 000000000000175e x10: ffff800012bc6000 x9 : 60ac98dfe088c400 x8 : 60ac98dfe088c400 x7 : ffff80000819545c x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000100000000 x0 : 0000000000000026 Call trace: btrfs_run_delayed_refs+0x320/0x374 fs/btrfs/extent-tree.c:2141 btrfs_commit_transaction+0x10c/0x12d8 fs/btrfs/transaction.c:2142 btrfs_sync_fs+0x2b8/0x48c fs/btrfs/super.c:1522 btrfs_ioctl+0xa4c/0xa64 fs/btrfs/ioctl.c:5492 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __arm64_sys_ioctl+0xd0/0x140 fs/ioctl.c:856 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:636 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 irq event stamp: 426 hardirqs last enabled at (425): [] __up_console_sem+0xb0/0xfc kernel/printk/printk.c:264 hardirqs last disabled at (426): [] el1_dbg+0x24/0x5c arch/arm64/kernel/entry-common.c:404 softirqs last enabled at (278): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (276): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- BTRFS: error (device loop5: state A) in btrfs_run_delayed_refs:2141: errno=-12 Out of memory BTRFS info (device loop5: state EA): forced readonly