general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f] CPU: 1 PID: 483 Comm: syz.2.16 Not tainted 5.10.238-syzkaller-1007487-g59e9a7228857 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:traverse_mounts fs/namei.c:1357 [inline] RIP: 0010:handle_mounts fs/namei.c:1477 [inline] RIP: 0010:step_into+0x122/0xcf0 fs/namei.c:1782 Code: c6 44 24 5f 00 43 0f b6 44 25 00 84 c0 48 8b 54 24 08 0f 85 51 0a 00 00 44 8b 32 4c 8b bc 24 88 00 00 00 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 56 0a 00 00 45 8b 3f 44 89 fe 81 e6 00 RSP: 0018:ffffc900010177e0 EFLAGS: 00010207 RAX: 0000000000000003 RBX: ffffc90001017a00 RCX: ffff888115c04f00 RDX: ffffc90001017a38 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900010178c8 R08: 0000000000000000 R09: ffffed102568b525 R10: ffffed102568b525 R11: 1ffff1102568b524 R12: dffffc0000000000 R13: 1ffff92000202f47 R14: 0000000000000001 R15: 000000000000001e FS: 00007faff88e56c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faff88e4f98 CR3: 00000001127c7000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: walk_component+0x26a/0x460 fs/namei.c:1958 lookup_last fs/namei.c:2403 [inline] path_lookupat+0x180/0x490 fs/namei.c:2427 filename_lookup+0x1d5/0x600 fs/namei.c:2460 user_path_at_empty+0x43/0x50 fs/namei.c:2740 user_path_at include/linux/namei.h:60 [inline] vfs_statx+0xff/0x520 fs/stat.c:193 vfs_fstatat fs/stat.c:215 [inline] __do_sys_newfstatat fs/stat.c:383 [inline] __se_sys_newfstatat+0xc6/0x340 fs/stat.c:377 __x64_sys_newfstatat+0x9b/0xb0 fs/stat.c:377 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7faff8e95929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007faff88e5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00007faff90bd080 RCX: 00007faff8e95929 RDX: 0000000000000000 RSI: 0000200000000180 RDI: ffffffffffffff9c RBP: 00007faff8f17b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007faff90bd080 R15: 00007ffcb7c84618 Modules linked in: ---[ end trace 7089430fcc72f575 ]--- RIP: 0010:traverse_mounts fs/namei.c:1357 [inline] RIP: 0010:handle_mounts fs/namei.c:1477 [inline] RIP: 0010:step_into+0x122/0xcf0 fs/namei.c:1782 Code: c6 44 24 5f 00 43 0f b6 44 25 00 84 c0 48 8b 54 24 08 0f 85 51 0a 00 00 44 8b 32 4c 8b bc 24 88 00 00 00 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 56 0a 00 00 45 8b 3f 44 89 fe 81 e6 00 RSP: 0018:ffffc900010177e0 EFLAGS: 00010207 RAX: 0000000000000003 RBX: ffffc90001017a00 RCX: ffff888115c04f00 RDX: ffffc90001017a38 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900010178c8 R08: 0000000000000000 R09: ffffed102568b525 R10: ffffed102568b525 R11: 1ffff1102568b524 R12: dffffc0000000000 R13: 1ffff92000202f47 R14: 0000000000000001 R15: 000000000000001e FS: 00007faff88e56c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000000a000 CR3: 00000001127c7000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c6 44 24 5f 00 movb $0x0,0x5f(%rsp) 5: 43 0f b6 44 25 00 movzbl 0x0(%r13,%r12,1),%eax b: 84 c0 test %al,%al d: 48 8b 54 24 08 mov 0x8(%rsp),%rdx 12: 0f 85 51 0a 00 00 jne 0xa69 18: 44 8b 32 mov (%rdx),%r14d 1b: 4c 8b bc 24 88 00 00 mov 0x88(%rsp),%r15 22: 00 23: 4c 89 f8 mov %r15,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 56 0a 00 00 jne 0xa8d 37: 45 8b 3f mov (%r15),%r15d 3a: 44 89 fe mov %r15d,%esi 3d: 81 .byte 0x81 3e: e6 00 out %al,$0x0