general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 0 PID: 433 Comm: syz-executor.0 Not tainted 5.10.85-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 RIP: 0010:traverse_mounts fs/namei.c:1347 [inline] RIP: 0010:handle_mounts fs/namei.c:1465 [inline] RIP: 0010:step_into+0x19d/0xbe0 fs/namei.c:1770 Code: 0f 85 0a 08 00 00 44 8b 27 43 80 7c 35 00 00 74 0a 48 8b 7c 24 60 e8 02 16 f6 ff 48 8b 9c 24 b8 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 f8 07 00 00 8b 33 f7 c6 00 00 07 00 0f RSP: 0018:ffffc90000877840 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000010 RCX: 0000000000877800 RDX: 1ffff9200010ef97 RSI: 0000000000000002 RDI: ffffc90000877cb8 RBP: ffffc90000877970 R08: 0000000000000000 R09: ffffed102397b645 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000011 R13: 1ffff9200010ef1f R14: dffffc0000000000 R15: ffffc90000877c80 FS: 00007f86dc892700(0000) GS:ffff8881f7200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f33c24b3ae0 CR3: 0000000109f97000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: walk_component+0x2f6/0x540 fs/namei.c:1946 link_path_walk+0x50f/0xb70 fs/namei.c:2259 path_lookupat+0xaf/0x350 fs/namei.c:2412 filename_lookup+0x24d/0x6a0 fs/namei.c:2446 user_path_at_empty+0x31/0x40 fs/namei.c:2726 user_path_at include/linux/namei.h:59 [inline] do_mount fs/namespace.c:3239 [inline] __do_sys_mount fs/namespace.c:3450 [inline] __se_sys_mount+0x21f/0x2d0 fs/namespace.c:3427 __x64_sys_mount+0xba/0xd0 fs/namespace.c:3427 do_syscall_64+0x34/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f86dcd1f169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f86dc892168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f86dce3ef80 RCX: 00007f86dcd1f169 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f86dcd7aca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe4836bbef R14: 00007f86dc892300 R15: 0000000000022000 Modules linked in: ---[ end trace cde57eeeaea2bb76 ]--- RIP: 0010:traverse_mounts fs/namei.c:1347 [inline] RIP: 0010:handle_mounts fs/namei.c:1465 [inline] RIP: 0010:step_into+0x19d/0xbe0 fs/namei.c:1770 Code: 0f 85 0a 08 00 00 44 8b 27 43 80 7c 35 00 00 74 0a 48 8b 7c 24 60 e8 02 16 f6 ff 48 8b 9c 24 b8 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 f8 07 00 00 8b 33 f7 c6 00 00 07 00 0f RSP: 0018:ffffc90000877840 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000010 RCX: 0000000000877800 RDX: 1ffff9200010ef97 RSI: 0000000000000002 RDI: ffffc90000877cb8 RBP: ffffc90000877970 R08: 0000000000000000 R09: ffffed102397b645 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000011 R13: 1ffff9200010ef1f R14: dffffc0000000000 R15: ffffc90000877c80 FS: 00007f86dc892700(0000) GS:ffff8881f7300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f86dc871718 CR3: 0000000109f97000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 0f 85 0a 08 00 00 jne 0x810 6: 44 8b 27 mov (%rdi),%r12d 9: 43 80 7c 35 00 00 cmpb $0x0,0x0(%r13,%r14,1) f: 74 0a je 0x1b 11: 48 8b 7c 24 60 mov 0x60(%rsp),%rdi 16: e8 02 16 f6 ff callq 0xfff6161d 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 30 movzbl (%rax,%r14,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 f8 07 00 00 jne 0x82f 37: 8b 33 mov (%rbx),%esi 39: f7 c6 00 00 07 00 test $0x70000,%esi 3f: 0f .byte 0xf