BUG: unable to handle kernel NULL pointer dereference at 0000000000000080 IP: [] sock_hold include/net/sock.h:584 [inline] IP: [] l2tp_session_create+0xc60/0x16f0 net/l2tp/l2tp_core.c:1911 PGD 1d3d8a067 [ 900.326347] PUD 1d31ae067 Oops: 0002 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 28483 Comm: syz-executor0 Not tainted 4.9.124-g09eb2ba #31 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801c5144800 task.stack: ffff8801a1740000 RIP: 0010:[] [] sock_hold include/net/sock.h:584 [inline] RIP: 0010:[] [] l2tp_session_create+0xc60/0x16f0 net/l2tp/l2tp_core.c:1911 RSP: 0018:ffff8801a1747ac0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8801da3cbb80 RCX: 1ffff10038a28a1d RDX: 1ffff10039c1ce10 RSI: ffff8801c51450c8 RDI: ffff8801ce0e7080 RBP: ffff8801a1747b60 R08: ffff8801c51450e8 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801ce0e6f58 R13: 0000000000000000 R14: ffff8801ce0e6f00 R15: ffff8801a1747c78 FS: 00007fdd4d713700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000080 CR3: 00000001cfe04000 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Stack: 0000000000000201 ffffffff836c9ec1 ffff8801a1747ae0 ffffffff812383ad ffff8801ce0e6f00 ffff8801da3cbcd8 ffff8801ce0e6f58 ffff8801da3cbcd0 ffff8801da3cbc30 ffff8801ce0e6f20 0000000000000000 0000000000000000 Call Trace: [] pppol2tp_connect+0x10d7/0x18f0 net/l2tp/l2tp_ppp.c:718 [] SYSC_connect+0x1b8/0x300 net/socket.c:1575 [] SyS_connect+0x24/0x30 net/socket.c:1556 [] do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Code: 00 00 49 8d be 80 01 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 7b 09 00 00 49 8b 86 80 01 00 00 ff 80 80 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 55 d0 RIP [] sock_hold include/net/sock.h:584 [inline] RIP [] l2tp_session_create+0xc60/0x16f0 net/l2tp/l2tp_core.c:1911 RSP CR2: 0000000000000080 netlink: 20 bytes leftover after parsing attributes in process `syz-executor4'. pktgen: kernel_thread() failed for cpu 0 pktgen: Cannot create thread for cpu 0 (-4) pktgen: kernel_thread() failed for cpu 1 pktgen: Cannot create thread for cpu 1 (-4) pktgen: Initialization failed for all threads TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. BTRFS error (device loop2): superblock checksum mismatch BTRFS error (device loop2): open_ctree failed ---[ end trace b817e33a50f7271f ]---