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: 17787 Comm: syz.0.4940 Tainted: G W 5.10.238-syzkaller-00282-gd76d4cd0623a #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:ffffc90001017aa0 EFLAGS: 00010207 RAX: 0000000000000003 RBX: ffffc90001017cc0 RCX: 0000000000080000 RDX: ffffc90001017cf8 RSI: 0000000000000239 RDI: 000000000000023a RBP: ffffc90001017b88 R08: 0000000000000000 R09: ffffed1023471c95 R10: ffffed1023471c95 R11: 1ffff11023471c94 R12: dffffc0000000000 R13: 1ffff92000202f9f R14: 000000000000000b R15: 000000000000001d FS: 00007f71b6da76c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f71b6d64f98 CR3: 0000000116d88000 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] __do_sys_chdir fs/open.c:492 [inline] __se_sys_chdir+0x91/0x210 fs/open.c:486 __x64_sys_chdir+0x38/0x40 fs/open.c:486 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f71b873e929 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:00007f71b6da7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 00007f71b8965fa0 RCX: 00007f71b873e929 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000540 RBP: 00007f71b87c0b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f71b8965fa0 R15: 00007ffcf60b0468 Modules linked in: ---[ end trace 2d273e9d46077810 ]--- 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:ffffc90001017aa0 EFLAGS: 00010207 RAX: 0000000000000003 RBX: ffffc90001017cc0 RCX: 0000000000080000 RDX: ffffc90001017cf8 RSI: 0000000000000239 RDI: 000000000000023a RBP: ffffc90001017b88 R08: 0000000000000000 R09: ffffed1023471c95 R10: ffffed1023471c95 R11: 1ffff11023471c94 R12: dffffc0000000000 R13: 1ffff92000202f9f R14: 000000000000000b R15: 000000000000001d FS: 00007f71b6da76c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f26a62c1d60 CR3: 0000000116d88000 CR4: 00000000003506a0 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