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: 7692 Comm: syz.2.2042 Not tainted 5.10.216-syzkaller-00510-ga4a2b7a82ee4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:traverse_mounts fs/namei.c:1357 [inline] RIP: 0010:handle_mounts fs/namei.c:1477 [inline] RIP: 0010:step_into+0x1b9/0xec0 fs/namei.c:1782 Code: 24 0f 85 cf 0a 00 00 44 8b 3a 43 80 3c 2c 00 74 0a 48 8b 7c 24 18 e8 16 97 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 c1 0a 00 00 8b 1b 89 de 81 e6 00 00 07 RSP: 0018:ffffc900010ef820 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000010 RCX: 0000000000040000 RDX: ffffc900010efc98 RSI: 0000000000000186 RDI: 0000000000000187 RBP: ffffc900010ef950 R08: ffffffff81b4a74f R09: ffffed10249f3495 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200021df1b R13: dffffc0000000000 R14: ffffc900010efc60 R15: 0000000000000011 FS: 00007f69617a86c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6961766d58 CR3: 0000000114115000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: walk_component+0x359/0x610 fs/namei.c:1958 link_path_walk+0x5c7/0xbd0 path_lookupat+0xa0/0x450 fs/namei.c:2426 filename_lookup+0x26a/0x6f0 fs/namei.c:2460 user_path_at_empty+0x40/0x50 fs/namei.c:2740 user_path_at include/linux/namei.h:60 [inline] do_mount fs/namespace.c:3250 [inline] __do_sys_mount fs/namespace.c:3461 [inline] __se_sys_mount+0x285/0x3b0 fs/namespace.c:3438 __x64_sys_mount+0xbf/0xd0 fs/namespace.c:3438 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f6962526ae9 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:00007f69617a8048 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f69626b4fa0 RCX: 00007f6962526ae9 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000000 RBP: 00007f69625a7746 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f69626b4fa0 R15: 00007ffee0d911c8 Modules linked in: ---[ end trace e964f5e721d81bcc ]--- RIP: 0010:traverse_mounts fs/namei.c:1357 [inline] RIP: 0010:handle_mounts fs/namei.c:1477 [inline] RIP: 0010:step_into+0x1b9/0xec0 fs/namei.c:1782 Code: 24 0f 85 cf 0a 00 00 44 8b 3a 43 80 3c 2c 00 74 0a 48 8b 7c 24 18 e8 16 97 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 c1 0a 00 00 8b 1b 89 de 81 e6 00 00 07 RSP: 0018:ffffc900010ef820 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000010 RCX: 0000000000040000 RDX: ffffc900010efc98 RSI: 0000000000000186 RDI: 0000000000000187 RBP: ffffc900010ef950 R08: ffffffff81b4a74f R09: ffffed10249f3495 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200021df1b R13: dffffc0000000000 R14: ffffc900010efc60 R15: 0000000000000011 FS: 00007f69617a86c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff3d6688178 CR3: 0000000114115000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 24 0f and $0xf,%al 2: 85 cf test %ecx,%edi 4: 0a 00 or (%rax),%al 6: 00 44 8b 3a add %al,0x3a(%rbx,%rcx,4) 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 16 97 f3 ff call 0xfff39731 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 c1 0a 00 00 jne 0xaf8 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)