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: 14423 Comm: syz-executor.4 Not tainted 5.15.148-syzkaller-00718-g993bed180178 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:traverse_mounts fs/namei.c:1378 [inline] RIP: 0010:handle_mounts fs/namei.c:1498 [inline] RIP: 0010:step_into+0x1b6/0xe70 fs/namei.c:1806 Code: 20 0f 85 99 0a 00 00 44 8b 3b 43 80 3c 2c 00 74 0a 48 8b 7c 24 18 e8 79 c2 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:ffffc90000ab7040 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: 0000000000040000 RDX: ffffc900011ca000 RSI: 0000000000000760 RDI: 0000000000000761 RBP: ffffc90000ab7170 R08: ffffffff81be6f60 R09: ffffed102dec4765 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000156e1f R13: dffffc0000000000 R14: ffffc90000ab74a0 R15: 0000000000000011 FS: 00007f06727ae6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020002120 CR3: 000000012c25d000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: walk_component+0x359/0x610 fs/namei.c:1982 link_path_walk+0x642/0xd90 path_lookupat+0xa0/0x450 fs/namei.c:2454 filename_lookup+0x230/0x5c0 fs/namei.c:2484 kern_path+0x3c/0x1a0 fs/namei.c:2582 unix_find_other+0xdb/0x860 net/unix/af_unix.c:1023 unix_dgram_sendmsg+0xd1d/0x2090 net/unix/af_unix.c:1837 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2431 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2485 __sys_sendmmsg+0x2bf/0x530 net/socket.c:2571 __do_sys_sendmmsg net/socket.c:2600 [inline] __se_sys_sendmmsg net/socket.c:2597 [inline] __x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2597 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:0x7f0673a4dda9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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:00007f06727ae0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f0673b7c050 RCX: 00007f0673a4dda9 RDX: 0000000000000002 RSI: 0000000020000b40 RDI: 0000000000000005 RBP: 00007f0673a9a47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f0673b7c050 R15: 00007ffd215b40d8 Modules linked in: ---[ end trace 35bd5ffa64d44e16 ]--- RIP: 0010:traverse_mounts fs/namei.c:1378 [inline] RIP: 0010:handle_mounts fs/namei.c:1498 [inline] RIP: 0010:step_into+0x1b6/0xe70 fs/namei.c:1806 Code: 20 0f 85 99 0a 00 00 44 8b 3b 43 80 3c 2c 00 74 0a 48 8b 7c 24 18 e8 79 c2 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:ffffc90000ab7040 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: 0000000000040000 RDX: ffffc900011ca000 RSI: 0000000000000760 RDI: 0000000000000761 RBP: ffffc90000ab7170 R08: ffffffff81be6f60 R09: ffffed102dec4765 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000156e1f R13: dffffc0000000000 R14: ffffc90000ab74a0 R15: 0000000000000011 FS: 00007f06727ae6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200bd038 CR3: 000000012c25d000 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 79 c2 f3 ff call 0xfff3c294 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)