kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 9593 Comm: syz-executor.1 Not tainted 4.14.303-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 task: ffff88805bb8a6c0 task.stack: ffff88805bb90000 RIP: 0010:__read_once_size include/linux/compiler.h:185 [inline] RIP: 0010:sk_dst_get include/net/sock.h:1772 [inline] RIP: 0010:pppol2tp_session_init+0x1ca/0x4d0 net/l2tp/l2tp_ppp.c:607 RSP: 0018:ffff88805bb97c50 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8880a9b01240 RCX: ffffc90007010000 RDX: 0000000000000045 RSI: ffffffff8686f7d2 RDI: 0000000000000228 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000020011 R10: ffff88805bb8af70 R11: ffff88805bb8a6c0 R12: 0000000000002579 R13: 0000000000000006 R14: ffff88805bbe6a52 R15: ffff88805bbe6a70 FS: 00007eff86770700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 PM: Marking nosave pages: [mem 0x00000000-0x00000fff] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007eff8674f718 CR3: 00000000b29e2000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pppol2tp_connect+0xd5c/0x13d0 net/l2tp/l2tp_ppp.c:781 PM: Marking nosave pages: [mem 0x0009f000-0x000fffff] SYSC_connect net/socket.c:1655 [inline] SyS_connect+0x1f4/0x240 net/socket.c:1636 PM: Marking nosave pages: [mem 0xbfffd000-0xffffffff] do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 PM: Basic memory bitmaps created entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7eff881fe0c9 RSP: 002b:00007eff86770168 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007eff8831df80 RCX: 00007eff881fe0c9 RDX: 0000000000000032 RSI: 0000000020000240 RDI: 0000000000000006 RBP: 00007eff88259ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd68ffcf0f R14: 00007eff86770300 R15: 0000000000022000 Code: fa 80 3d 76 6f 6c 03 00 0f 84 25 02 00 00 e8 1e 5e ce fa 48 8d bd 28 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 db 02 00 00 48 8b ad 28 02 00 00 e8 30 3c bf RIP: __read_once_size include/linux/compiler.h:185 [inline] RSP: ffff88805bb97c50 RIP: sk_dst_get include/net/sock.h:1772 [inline] RSP: ffff88805bb97c50 RIP: pppol2tp_session_init+0x1ca/0x4d0 net/l2tp/l2tp_ppp.c:607 RSP: ffff88805bb97c50 ---[ end trace a3adf8d09511d2ad ]--- ---------------- Code disassembly (best guess): 0: fa cli 1: 80 3d 76 6f 6c 03 00 cmpb $0x0,0x36c6f76(%rip) # 0x36c6f7e 8: 0f 84 25 02 00 00 je 0x233 e: e8 1e 5e ce fa callq 0xface5e31 13: 48 8d bd 28 02 00 00 lea 0x228(%rbp),%rdi 1a: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 21: fc ff df 24: 48 89 fa mov %rdi,%rdx 27: 48 c1 ea 03 shr $0x3,%rdx * 2b: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2f: 0f 85 db 02 00 00 jne 0x310 35: 48 8b ad 28 02 00 00 mov 0x228(%rbp),%rbp 3c: e8 .byte 0xe8 3d: 30 3c bf xor %bh,(%rdi,%rdi,4)