================================================================== BUG: KASAN: null-ptr-deref in traverse_mounts fs/namei.c:1435 [inline] BUG: KASAN: null-ptr-deref in handle_mounts fs/namei.c:1547 [inline] BUG: KASAN: null-ptr-deref in step_into+0x15c/0xd1c fs/namei.c:1840 Read of size 4 at addr 0000000000000043 by task syz-executor.3/7204 CPU: 1 PID: 7204 Comm: syz-executor.3 Not tainted 6.7.0-rc4-syzkaller-gd46efae31672 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:233 show_stack+0x2c/0x44 arch/arm64/kernel/stacktrace.c:240 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 print_report+0xe4/0x514 mm/kasan/report.c:478 kasan_report+0xd8/0x138 mm/kasan/report.c:588 kasan_check_range+0x254/0x294 mm/kasan/generic.c:187 __kasan_check_read+0x20/0x30 mm/kasan/shadow.c:31 traverse_mounts fs/namei.c:1435 [inline] handle_mounts fs/namei.c:1547 [inline] step_into+0x15c/0xd1c fs/namei.c:1840 walk_component+0x1d4/0x36c fs/namei.c:2008 lookup_last fs/namei.c:2459 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2483 filename_lookup+0x1d4/0x4e0 fs/namei.c:2512 user_path_at_empty+0x5c/0x84 fs/namei.c:2911 user_path_at include/linux/namei.h:57 [inline] do_utimes_path fs/utimes.c:95 [inline] do_utimes+0x118/0x264 fs/utimes.c:145 __do_sys_utimensat fs/utimes.c:164 [inline] __se_sys_utimensat fs/utimes.c:148 [inline] __arm64_sys_utimensat+0x144/0x238 fs/utimes.c:148 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 ================================================================== Unable to handle kernel NULL pointer dereference at virtual address 0000000000000043 Mem abort info: ESR = 0x0000000096000021 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x21: alignment fault Data abort info: ISV = 0, ISS = 0x00000021, ISS2 = 0x00000000 CM = 0, WnR = 0, TnD = 0, TagAccess = 0 GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 user pgtable: 4k pages, 48-bit VAs, pgdp=000000010ff6a000 [0000000000000043] pgd=08000001069c4003, p4d=08000001069c4003, pud=080000010ebbe003, pmd=0000000000000000 Internal error: Oops: 0000000096000021 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 7204 Comm: syz-executor.3 Tainted: G B 6.7.0-rc4-syzkaller-gd46efae31672 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : traverse_mounts fs/namei.c:1435 [inline] pc : handle_mounts fs/namei.c:1547 [inline] pc : step_into+0x15c/0xd1c fs/namei.c:1840 lr : traverse_mounts fs/namei.c:1435 [inline] lr : handle_mounts fs/namei.c:1547 [inline] lr : step_into+0x15c/0xd1c fs/namei.c:1840 sp : ffff80009e5377a0 x29: ffff80009e5378c0 x28: dfff800000000000 x27: 1ffff00013ca6f46 x26: 0000000000000043 x25: 0000000000000001 x24: ffff80009e537860 x23: ffff80009e537878 x22: ffff80009e537a58 x21: 1ffff00013ca6f0f x20: 1ffff00013ca6f4b x19: ffff80009e537a20 x18: 1fffe0003682a5ce x17: ffff80008e4ed000 x16: ffff80008a82b29c x15: 0000000000000001 x14: 1ffff000122a4f38 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000040000 x10: 0000000000017058 x9 : 0000000000000000 x8 : 0000000000000000 x7 : 1fffe0003682a5cf x6 : ffff8000802921f8 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000801bb798 x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: traverse_mounts fs/namei.c:1435 [inline] handle_mounts fs/namei.c:1547 [inline] step_into+0x15c/0xd1c fs/namei.c:1840 walk_component+0x1d4/0x36c fs/namei.c:2008 lookup_last fs/namei.c:2459 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2483 filename_lookup+0x1d4/0x4e0 fs/namei.c:2512 user_path_at_empty+0x5c/0x84 fs/namei.c:2911 user_path_at include/linux/namei.h:57 [inline] do_utimes_path fs/utimes.c:95 [inline] do_utimes+0x118/0x264 fs/utimes.c:145 __do_sys_utimensat fs/utimes.c:164 [inline] __se_sys_utimensat fs/utimes.c:148 [inline] __arm64_sys_utimensat+0x144/0x238 fs/utimes.c:148 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 Code: f9406ffa 52800081 aa1a03e0 97fba69a (88dfff5a) ---[ end trace 0000000000000000 ]---