general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 1 PID: 310 Comm: syz-executor271 Not tainted 5.15.143-syzkaller-01112-g92ec34b6c034 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:traverse_mounts fs/namei.c:1376 [inline] RIP: 0010:handle_mounts fs/namei.c:1496 [inline] RIP: 0010:step_into+0x1b6/0xe70 fs/namei.c:1802 Code: 20 0f 85 99 0a 00 00 44 8b 3b 43 80 3c 2c 00 74 0a 48 8b 7c 24 18 e8 09 c5 f3 ff 48 8b 9c 24 b8 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 86 0a 00 00 8b 1b 89 de 81 e6 00 00 07 RSP: 0018:ffffc900009976e0 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000010 RCX: ffff88811e2e62c0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000997810 R08: ffffffff81be4750 R09: ffffed1021ed8f85 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000132ef3 R13: dffffc0000000000 R14: ffffc90000997a00 R15: 0000000000000000 FS: 00007ff833b756c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000045c6a0 CR3: 000000011e286000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: walk_component+0x359/0x610 fs/namei.c:1978 lookup_last fs/namei.c:2427 [inline] path_lookupat+0x16d/0x450 fs/namei.c:2451 filename_lookup+0x230/0x5c0 fs/namei.c:2480 user_path_at_empty+0x43/0x1a0 fs/namei.c:2853 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0xfd/0x720 fs/stat.c:221 vfs_fstatat fs/stat.c:243 [inline] vfs_lstat include/linux/fs.h:3426 [inline] __do_sys_newlstat fs/stat.c:397 [inline] __se_sys_newlstat+0xba/0x780 fs/stat.c:391 __x64_sys_newlstat+0x5b/0x70 fs/stat.c:391 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7ff833bf55b9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff833b75218 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 00007ff833c82408 RCX: 00007ff833bf55b9 RDX: 00007ff833bd2d26 RSI: 0000000000000000 RDI: 0000000020000240 RBP: 00007ff833c82400 R08: 00007ffe1aa94e17 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff833c4f024 R13: 0030656c69662f2e R14: 00007ffe1aa94d30 R15: 2f30656c69662f2e Modules linked in: ---[ end trace d969aaa4b8ed3e2a ]--- RIP: 0010:traverse_mounts fs/namei.c:1376 [inline] RIP: 0010:handle_mounts fs/namei.c:1496 [inline] RIP: 0010:step_into+0x1b6/0xe70 fs/namei.c:1802 Code: 20 0f 85 99 0a 00 00 44 8b 3b 43 80 3c 2c 00 74 0a 48 8b 7c 24 18 e8 09 c5 f3 ff 48 8b 9c 24 b8 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 86 0a 00 00 8b 1b 89 de 81 e6 00 00 07 RSP: 0018:ffffc900009976e0 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000010 RCX: ffff88811e2e62c0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000997810 R08: ffffffff81be4750 R09: ffffed1021ed8f85 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000132ef3 R13: dffffc0000000000 R14: ffffc90000997a00 R15: 0000000000000000 FS: 00007ff833b756c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000045c6a0 CR3: 000000011e286000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 20 0f and %cl,(%rdi) 2: 85 99 0a 00 00 44 test %ebx,0x4400000a(%rcx) 8: 8b 3b mov (%rbx),%edi a: 43 80 3c 2c 00 cmpb $0x0,(%r12,%r13,1) f: 74 0a je 0x1b 11: 48 8b 7c 24 18 mov 0x18(%rsp),%rdi 16: e8 09 c5 f3 ff call 0xfff3c524 1b: 48 8b 9c 24 b8 00 00 mov 0xb8(%rsp),%rbx 22: 00 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 86 0a 00 00 jne 0xabd 37: 8b 1b mov (%rbx),%ebx 39: 89 de mov %ebx,%esi 3b: 81 .byte 0x81 3c: e6 00 out %al,$0x0 3e: 00 07 add %al,(%rdi)