general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 1 PID: 18094 Comm: syz-executor.2 Not tainted 6.1.25-syzkaller-00093-g73185e2d4e5e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:traverse_mounts fs/namei.c:1428 [inline] RIP: 0010:handle_mounts fs/namei.c:1540 [inline] RIP: 0010:step_into+0x1c4/0x1090 fs/namei.c:1831 Code: c0 0f 85 bb 0b 00 00 44 8b 3b 43 80 3c 34 00 74 0a 48 8b 7c 24 10 e8 7b 16 f3 ff 48 8b 9c 24 d8 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 a8 0b 00 00 8b 1b 89 de 81 e6 00 00 07 RSP: 0018:ffffc9000cef7680 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000009 RCX: 0000000000040000 RDX: ffffc9000384a000 RSI: 0000000000000144 RDI: 0000000000000145 RBP: ffffc9000cef77d0 R08: ffffffff81c69549 R09: ffffed102bf54efd R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920019deeeb R13: ffffc9000cef7a00 R14: dffffc0000000000 R15: 0000000000000011 FS: 00007f17bde32700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020008800 CR3: 000000011a404000 CR4: 00000000003506a0 Call Trace: walk_component fs/namei.c:1999 [inline] link_path_walk+0x72c/0xee0 fs/namei.c:2320 path_lookupat+0xa0/0x450 fs/namei.c:2473 filename_lookup+0x251/0x600 fs/namei.c:2503 vfs_statx+0x107/0x4b0 fs/stat.c:229 vfs_fstatat fs/stat.c:267 [inline] __do_sys_newfstatat fs/stat.c:437 [inline] __se_sys_newfstatat+0x104/0x7b0 fs/stat.c:431 __x64_sys_newfstatat+0x9b/0xb0 fs/stat.c:431 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+0x63/0xcd RIP: 0033:0x7f17bd08c149 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:00007f17bde32168 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00007f17bd1abf80 RCX: 00007f17bd08c149 RDX: 0000000000000000 RSI: 0000000020000ac0 RDI: ffffffffffffff9c RBP: 00007f17bd0e7cd2 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcded09ebf R14: 00007f17bde32300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:traverse_mounts fs/namei.c:1428 [inline] RIP: 0010:handle_mounts fs/namei.c:1540 [inline] RIP: 0010:step_into+0x1c4/0x1090 fs/namei.c:1831 Code: c0 0f 85 bb 0b 00 00 44 8b 3b 43 80 3c 34 00 74 0a 48 8b 7c 24 10 e8 7b 16 f3 ff 48 8b 9c 24 d8 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 a8 0b 00 00 8b 1b 89 de 81 e6 00 00 07 RSP: 0018:ffffc9000cef7680 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000009 RCX: 0000000000040000 RDX: ffffc9000384a000 RSI: 0000000000000144 RDI: 0000000000000145 RBP: ffffc9000cef77d0 R08: ffffffff81c69549 R09: ffffed102bf54efd R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920019deeeb R13: ffffc9000cef7a00 R14: dffffc0000000000 R15: 0000000000000011 FS: 00007f17bde32700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020008800 CR3: 000000011a404000 CR4: 00000000003506a0 ---------------- Code disassembly (best guess): 0: c0 0f 85 rorb $0x85,(%rdi) 3: bb 0b 00 00 44 mov $0x4400000b,%ebx 8: 8b 3b mov (%rbx),%edi a: 43 80 3c 34 00 cmpb $0x0,(%r12,%r14,1) f: 74 0a je 0x1b 11: 48 8b 7c 24 10 mov 0x10(%rsp),%rdi 16: e8 7b 16 f3 ff callq 0xfff31696 1b: 48 8b 9c 24 d8 00 00 mov 0xd8(%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 a8 0b 00 00 jne 0xbdf 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)