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: 20759 at fs/btrfs/inode.c:9870 btrfs_rename fs/btrfs/inode.c:9870 [inline] WARNING: CPU: 0 PID: 20759 at fs/btrfs/inode.c:9870 btrfs_rename2+0x2e90/0x3f80 fs/btrfs/inode.c:9966 Modules linked in: CPU: 0 PID: 20759 Comm: syz-executor.3 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 : ffff80001e417600 x29: ffff80001e417820 x28: ffff0000d5c40050 x27: ffff0000cc740e90 x26: dfff800000000000 x25: ffff700003c82ee8 x24: 0000000000000000 x23: 0000000000000001 x22: 1fffe00023eee781 x21: ffff0001163859d0 x20: ffff00011f773c08 x19: 00000000fffffff4 x18: 0000000000000001 x17: ff80800008335ea8 x16: ffff80001195b9f4 x15: ffff800008335ea8 x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000040000 x11: 00000000000111c3 x10: ffff80001e6aa000 x9 : 9b48d31914f13200 x8 : 9b48d31914f13200 x7 : 0000000000000690 x6 : 0000000000000650 x5 : ffff80001e416d78 x4 : ffff8000149b5588 x3 : ffff80000854e3cc 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: 82034 hardirqs last enabled at (82033): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (82034): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (82010): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (82010): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (81991): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (81991): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (81991): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace 78aedd2eb8a55076 ]--- BTRFS: error (device loop3) in btrfs_rename:9870: errno=-12 Out of memory BTRFS info (device loop3): forced readonly