------------[ cut here ]------------ virt_to_phys used for non-linear address: 00000000123abf09 (0x30d4) WARNING: CPU: 0 PID: 6700 at arch/arm64/mm/physaddr.c:15 __virt_to_phys+0x80/0x98 arch/arm64/mm/physaddr.c:17 Modules linked in: CPU: 0 PID: 6700 Comm: syz-executor.4 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 : __virt_to_phys+0x80/0x98 arch/arm64/mm/physaddr.c:17 lr : __virt_to_phys+0x7c/0x98 arch/arm64/mm/physaddr.c:12 sp : ffff8000164f38c0 x29: ffff8000164f38c0 x28: ffff000113643500 x27: 0000000020000080 x26: 0000000000000000 x25: 0000000000000000 x24: ffff0001152a4000 x23: 0000000000000010 x22: ffff800008f457a4 x21: 0000000040000000 x20: 00010000000030d4 x19: 00000000000030d4 x18: 00000000000002db x17: ffff80000bffd6bc x16: ffff80000db49158 x15: ffff000113643500 x14: 0000000000000000 x13: 00000000ffffffff x12: 0000000000040000 x11: 0000000000004876 x10: ffff80001805a000 x9 : 8f7e8ef0f9460300 x8 : ffff80000cf00000 x7 : ffff800008161d1c x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : ffff0001fefbecd0 x1 : 0000000100000000 x0 : 0000000000000043 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:4561 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 iget5_locked+0x5c/0xc8 fs/inode.c:1242 nilfs_iget_locked fs/nilfs2/inode.c:588 [inline] nilfs_iget+0x64/0x33c fs/nilfs2/inode.c:597 nilfs_lookup+0x78/0xa0 fs/nilfs2/namei.c:63 __lookup_slow+0x14c/0x204 fs/namei.c:1685 lookup_slow+0x44/0x68 fs/namei.c:1702 walk_component+0x178/0x1b0 fs/namei.c:1993 lookup_last fs/namei.c:2450 [inline] path_lookupat+0xc4/0x208 fs/namei.c:2474 filename_lookup+0xf8/0x264 fs/namei.c:2503 user_path_at_empty+0x5c/0x114 fs/namei.c:2876 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3380 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __arm64_sys_mount+0x28c/0x3c4 fs/namespace.c:3568 __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: 2670 hardirqs last enabled at (2669): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1367 [inline] hardirqs last enabled at (2669): [] finish_lock_switch+0x94/0xe8 kernel/sched/core.c:4942 hardirqs last disabled at (2670): [] el1_dbg+0x24/0x5c arch/arm64/kernel/entry-common.c:404 softirqs last enabled at (2464): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (2462): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- Unable to handle kernel paging request at virtual address fffffe0005e180c8 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 swapper pgtable: 4k pages, 48-bit VAs, pgdp=00000001c566b000 [fffffe0005e180c8] pgd=0000000000000000, p4d=0000000000000000 Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 6700 Comm: syz-executor.4 Tainted: G W 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 : _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:4561 lr : virt_to_folio include/linux/mm.h:856 [inline] lr : kfree+0x70/0x348 mm/slub.c:4561 sp : ffff8000164f38e0 x29: ffff8000164f38f0 x28: ffff000113643500 x27: 0000000020000080 x26: 0000000000000000 x25: 0000000000000000 x24: ffff0001152a4000 x23: 0000000000000010 x22: ffff800008f457a4 x21: fffffe0005e180c0 x20: ffff800008f55d20 x19: 00000000000030d4 x18: 00000000000002db x17: ffff80000bffd6bc x16: ffff80000db49158 x15: ffff000113643500 x14: 0000000000000000 x13: 00000000ffffffff x12: 0000000000040000 x11: 0000000000004876 x10: ffff80001805a000 x9 : fffffc0000000000 x8 : 0000000800178603 x7 : ffff800008161d1c x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : ffff0001fefbecd0 x1 : 0000000100000000 x0 : 00008001b86030d4 Call trace: virt_to_folio include/linux/mm.h:856 [inline] kfree+0x80/0x348 mm/slub.c:4561 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 iget5_locked+0x5c/0xc8 fs/inode.c:1242 nilfs_iget_locked fs/nilfs2/inode.c:588 [inline] nilfs_iget+0x64/0x33c fs/nilfs2/inode.c:597 nilfs_lookup+0x78/0xa0 fs/nilfs2/namei.c:63 __lookup_slow+0x14c/0x204 fs/namei.c:1685 lookup_slow+0x44/0x68 fs/namei.c:1702 walk_component+0x178/0x1b0 fs/namei.c:1993 lookup_last fs/namei.c:2450 [inline] path_lookupat+0xc4/0x208 fs/namei.c:2474 filename_lookup+0xf8/0x264 fs/namei.c:2503 user_path_at_empty+0x5c/0x114 fs/namei.c:2876 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3380 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __arm64_sys_mount+0x28c/0x3c4 fs/namespace.c:3568 __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 Code: d34cfc08 cb953108 b25657e9 8b081935 (f94006a8) ---[ end trace 0000000000000000 ]--- pstore: crypto_comp_compress failed, ret = -22! pstore: crypto_comp_compress failed, ret = -22! pstore: crypto_comp_compress failed, ret = -22! ---------------- 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