virt_to_phys used for non-linear address: 000000000f1262a2 (0x2c303030303030) WARNING: CPU: 1 PID: 8446 at arch/arm64/mm/physaddr.c:15 __virt_to_phys+0x80/0x98 arch/arm64/mm/physaddr.c:17 Modules linked in: CPU: 1 PID: 8446 Comm: udevd Not tainted 6.1.0-rc5-syzkaller-32269-g9500fc6e9e60 #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 : __virt_to_phys+0x80/0x98 arch/arm64/mm/physaddr.c:17 lr : __virt_to_phys+0x7c/0x98 arch/arm64/mm/physaddr.c:12 sp : ffff800014bc39f0 x29: ffff800014bc39f0 x28: ffff80000d98d000 x27: ffff0000cd566fd8 x26: 00000000000800e0 x25: 0000000000000001 x24: 0000000000000001 x23: ffff0000cd567200 x22: ffff0000c0c51800 x21: 0000000040000000 x20: 002d303030303030 x19: 002c303030303030 x18: 0000000000000085 x17: ffff80000c0ed83c x16: ffff80000dc18158 x15: ffff00011a6e3480 x14: 0000000000000000 x13: 00000000ffffffff x12: ffff00011a6e3480 x11: ff808000081c6510 x10: 0000000000000000 x9 : a8c542ab85156300 x8 : ffff80000cf9a000 x7 : ffff800008165f54 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : ffff0001fefddcc8 x1 : 0000000100000000 x0 : 000000000000004d Call trace: __virt_to_phys+0x80/0x98 arch/arm64/mm/physaddr.c:17 virt_to_folio include/linux/mm.h:890 [inline] kfree+0x50/0x118 mm/slab_common.c:999 simple_xattrs_free include/linux/xattr.h:111 [inline] shmem_evict_inode+0x2dc/0x3d8 mm/shmem.c:1164 evict+0xec/0x334 fs/inode.c:664 iput_final fs/inode.c:1747 [inline] iput+0x2c4/0x324 fs/inode.c:1773 dentry_unlink_inode+0x204/0x21c fs/dcache.c:401 __dentry_kill+0x15c/0x37c fs/dcache.c:607 dentry_kill+0x8c/0x194 dput+0x194/0x2e0 fs/dcache.c:913 do_renameat2+0x49c/0x758 fs/namei.c:4931 __do_sys_renameat fs/namei.c:4969 [inline] __se_sys_renameat fs/namei.c:4966 [inline] __arm64_sys_renameat+0x64/0x7c fs/namei.c:4966 __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:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584 irq event stamp: 25402 hardirqs last enabled at (25401): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1366 [inline] hardirqs last enabled at (25401): [] finish_lock_switch+0x94/0xe8 kernel/sched/core.c:4950 hardirqs last disabled at (25402): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (25388): [] _stext+0x2e4/0x37c softirqs last disabled at (25363): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79 ---[ end trace 0000000000000000 ]--- Unable to handle kernel paging request at virtual address 0000aec0c6a1c0c8 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 user pgtable: 4k pages, 48-bit VAs, pgdp=000000015a79a000 [0000aec0c6a1c0c8] pgd=0000000000000000, p4d=0000000000000000 Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 8446 Comm: udevd Tainted: G W 6.1.0-rc5-syzkaller-32269-g9500fc6e9e60 #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 : _compound_head include/linux/page-flags.h:253 [inline] pc : virt_to_folio include/linux/mm.h:892 [inline] pc : kfree+0x60/0x118 mm/slab_common.c:999 lr : virt_to_folio include/linux/mm.h:890 [inline] lr : kfree+0x50/0x118 mm/slab_common.c:999 sp : ffff800014bc3a10 x29: ffff800014bc3a10 x28: ffff80000d98d000 x27: ffff0000cd566fd8 x26: 00000000000800e0 x25: 0000000000000001 x24: 0000000000000001 x23: ffff0000cd567200 x22: ffff0000c0c51800 x21: 0000000040000000 x20: ffff800008433d10 x19: 002c303030303030 x18: 0000000000000085 x17: ffff80000c0ed83c x16: ffff80000dc18158 x15: ffff00011a6e3480 x14: 0000000000000000 x13: 00000000ffffffff x12: ffff00011a6e3480 x11: ff808000081c6510 x10: 0000000000000000 x9 : fffffc0000000000 x8 : 000002cb031a8703 x7 : ffff800008165f54 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : ffff0001fefddcc8 x1 : 0000000100000000 x0 : 0000aec0c6a1c0c0 Call trace: virt_to_folio include/linux/mm.h:890 [inline] kfree+0x60/0x118 mm/slab_common.c:999 simple_xattrs_free include/linux/xattr.h:111 [inline] shmem_evict_inode+0x2dc/0x3d8 mm/shmem.c:1164 evict+0xec/0x334 fs/inode.c:664 iput_final fs/inode.c:1747 [inline] iput+0x2c4/0x324 fs/inode.c:1773 dentry_unlink_inode+0x204/0x21c fs/dcache.c:401 __dentry_kill+0x15c/0x37c fs/dcache.c:607 dentry_kill+0x8c/0x194 dput+0x194/0x2e0 fs/dcache.c:913 do_renameat2+0x49c/0x758 fs/namei.c:4931 __do_sys_renameat fs/namei.c:4969 [inline] __se_sys_renameat fs/namei.c:4966 [inline] __arm64_sys_renameat+0x64/0x7c fs/namei.c:4966 __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:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584 Code: d34cfc08 cb953108 b25657e9 8b081920 (f9400408) ---[ 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: 8b081920 add x0, x9, x8, lsl #6 * 10: f9400408 ldr x8, [x0, #8] <-- trapping instruction