------------[ cut here ]------------ virt_to_phys used for non-linear address: 000000001388b753 (0x4550595456454400) WARNING: CPU: 0 PID: 3041 at arch/arm64/mm/physaddr.c:15 __virt_to_phys+0x80/0x98 arch/arm64/mm/physaddr.c:17 Modules linked in: CPU: 0 PID: 3041 Comm: syz-executor152 Not tainted 6.0.0-rc6-syzkaller-17742-gc194837ebb57 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __virt_to_phys+0x80/0x98 arch/arm64/mm/physaddr.c:17 lr : __virt_to_phys+0x7c/0x98 arch/arm64/mm/physaddr.c:12 sp : ffff80001275bb30 x29: ffff80001275bb30 x28: ffff0000c4689a80 x27: 0000000000000000 x26: 0000000000000000 x25: ffff0000c4689a80 x24: 0000000000000003 x23: ffff0000c8912800 x22: ffff0000c9790af8 x21: 0000000040000000 x20: 4551595456454400 x19: 4550595456454400 x18: 000000000000027a x17: 0000000000000000 x16: ffff80000db49158 x15: ffff0000c4689a80 x14: 0000000000000000 x13: 00000000ffffffff x12: ffff0000c4689a80 x11: ff808000081c1630 x10: 0000000000000000 x9 : b764f17db8d86400 x8 : ffff80000cf00000 x7 : ffff8000081625f0 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000007 x1 : 0000000100000000 x0 : 000000000000004f Call trace: __virt_to_phys+0x80/0x98 arch/arm64/mm/physaddr.c:17 virt_to_folio include/linux/mm.h:856 [inline] kfree+0x70/0x348 mm/slub.c:4556 nilfs_mdt_destroy+0x24/0x3c fs/nilfs2/mdt.c:497 nilfs_free_inode+0x2c/0x54 fs/nilfs2/super.c:168 i_callback fs/inode.c:249 [inline] alloc_inode+0xdc/0x104 fs/inode.c:274 new_inode_pseudo fs/inode.c:1019 [inline] new_inode+0x2c/0xc0 fs/inode.c:1047 nilfs_new_inode+0x48/0x378 fs/nilfs2/inode.c:334 nilfs_mkdir+0x7c/0x1d4 fs/nilfs2/namei.c:218 vfs_mkdir+0x1f8/0x2b0 fs/namei.c:4013 do_mkdirat+0xe4/0x22c fs/namei.c:4038 __do_sys_mkdirat fs/namei.c:4053 [inline] __se_sys_mkdirat fs/namei.c:4051 [inline] __arm64_sys_mkdirat+0x40/0x54 fs/namei.c:4051 __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 irq event stamp: 3304 hardirqs last enabled at (3303): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1367 [inline] hardirqs last enabled at (3303): [] finish_lock_switch+0x94/0xe8 kernel/sched/core.c:4942 hardirqs last disabled at (3304): [] el1_dbg+0x24/0x5c arch/arm64/kernel/entry-common.c:404 softirqs last enabled at (3280): [] _stext+0x2e4/0x37c softirqs last disabled at (3259): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79 ---[ end trace 0000000000000000 ]--- Unable to handle kernel paging request at virtual address 00153f65573a9508 Mem abort info: ESR = 0x0000000096000004 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x04: level 0 translation fault Data abort info: ISV = 0, ISS = 0x00000004 CM = 0, WnR = 0 [00153f65573a9508] address between user and kernel address ranges Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 3041 Comm: syz-executor152 Tainted: G W 6.0.0-rc6-syzkaller-17742-gc194837ebb57 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : _compound_head include/linux/page-flags.h:253 [inline] pc : virt_to_folio include/linux/mm.h:858 [inline] pc : kfree+0x80/0x348 mm/slub.c:4556 lr : virt_to_folio include/linux/mm.h:856 [inline] lr : kfree+0x70/0x348 mm/slub.c:4556 sp : ffff80001275bb50 x29: ffff80001275bb60 x28: ffff0000c4689a80 x27: 0000000000000000 x26: 0000000000000000 x25: ffff0000c4689a80 x24: 0000000000000003 x23: ffff0000c8912800 x22: ffff0000c9790af8 x21: 01153f65573a9500 x20: ffff800008f57568 x19: 4550595456454400 x18: 000000000000027a x17: 0000000000000000 x16: ffff80000db49158 x15: ffff0000c4689a80 x14: 0000000000000000 x13: 00000000ffffffff x12: ffff0000c4689a80 x11: ff808000081c1630 x10: 0000000000000000 x9 : fffffc0000000000 x8 : 0004550d955cea54 x7 : ffff8000081625f0 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000007 x1 : 0000000100000000 x0 : 4550d9560ea54400 Call trace: virt_to_folio include/linux/mm.h:856 [inline] kfree+0x80/0x348 mm/slub.c:4556 nilfs_mdt_destroy+0x24/0x3c fs/nilfs2/mdt.c:497 nilfs_free_inode+0x2c/0x54 fs/nilfs2/super.c:168 i_callback fs/inode.c:249 [inline] alloc_inode+0xdc/0x104 fs/inode.c:274 new_inode_pseudo fs/inode.c:1019 [inline] new_inode+0x2c/0xc0 fs/inode.c:1047 nilfs_new_inode+0x48/0x378 fs/nilfs2/inode.c:334 nilfs_mkdir+0x7c/0x1d4 fs/nilfs2/namei.c:218 vfs_mkdir+0x1f8/0x2b0 fs/namei.c:4013 do_mkdirat+0xe4/0x22c fs/namei.c:4038 __do_sys_mkdirat fs/namei.c:4053 [inline] __se_sys_mkdirat fs/namei.c:4051 [inline] __arm64_sys_mkdirat+0x40/0x54 fs/namei.c:4051 __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 Code: d34cfc08 cb953108 b25657e9 8b081935 (f94006a8) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: d34cfc08 lsr x8, x0, #12 4: cb953108 sub x8, x8, x21, asr #12 8: b25657e9 mov x9, #0xfffffc0000000000 // #-4398046511104 c: 8b081935 add x21, x9, x8, lsl #6 * 10: f94006a8 ldr x8, [x21, #8] <-- trapping instruction