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 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4057 at fs/btrfs/inode.c:9870 btrfs_rename fs/btrfs/inode.c:9870 [inline] WARNING: CPU: 0 PID: 4057 at fs/btrfs/inode.c:9870 btrfs_rename2+0x2e90/0x3f80 fs/btrfs/inode.c:9966 Modules linked in: CPU: 0 PID: 4057 Comm: syz-executor741 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_rename fs/btrfs/inode.c:9870 [inline] pc : btrfs_rename2+0x2e90/0x3f80 fs/btrfs/inode.c:9966 lr : btrfs_rename fs/btrfs/inode.c:9870 [inline] lr : btrfs_rename2+0x2e90/0x3f80 fs/btrfs/inode.c:9966 sp : ffff80001ce27600 x29: ffff80001ce27820 x28: ffff0000d9615948 x27: ffff0000df8cfa80 x26: dfff800000000000 x25: ffff7000039c4ee8 x24: 0000000000000000 x23: 0000000000000001 x22: 1fffe0001bf00b13 x21: ffff0000cb6f59d0 x20: ffff0000df805898 x19: 00000000fffffff4 x18: 0000000000000001 x17: ff80800008335ea8 x16: 0000000000000000 x15: ffff800008335ea8 x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000000000 x11: ff8080000832d950 x10: 0000000000000000 x9 : 0428addfefce4200 x8 : 0428addfefce4200 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001ce26d78 x4 : ffff8000149cfca0 x3 : ffff800008335ff4 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026 Call trace: btrfs_rename fs/btrfs/inode.c:9870 [inline] btrfs_rename2+0x2e90/0x3f80 fs/btrfs/inode.c:9966 vfs_rename+0x9e0/0xe80 fs/namei.c:4736 do_renameat2+0x980/0x1040 fs/namei.c:4887 __do_sys_renameat2 fs/namei.c:4920 [inline] __se_sys_renameat2 fs/namei.c:4917 [inline] __arm64_sys_renameat2+0xe0/0xfc fs/namei.c:4917 __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: 72504 hardirqs last enabled at (72503): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (72504): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (72484): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (72484): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (72435): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (72435): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (72435): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace 14ea487444ea1fe2 ]--- BTRFS: error (device loop0) in btrfs_rename:9870: errno=-12 Out of memory BTRFS info (device loop0): forced readonly