BUG: unable to handle kernel NULL pointer dereference at 0000000000000080 IP: [] sock_hold include/net/sock.h:589 [inline] IP: [] l2tp_session_create+0x93e/0x10f0 net/l2tp/l2tp_core.c:1805 PGD 80000000b14d2067 PUD b14d3067 PMD 0 Oops: 0002 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 3986 Comm: syzkaller446543 Not tainted 4.4.113-g202e079 #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8800ba58c740 task.stack: ffff8801ca300000 RIP: 0010:[] [] sock_hold include/net/sock.h:589 [inline] RIP: 0010:[] [] l2tp_session_create+0x93e/0x10f0 net/l2tp/l2tp_core.c:1805 RSP: 0018:ffff8801ca307b48 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8800b3df6500 RCX: ffffffff83455d76 RDX: 1ffff100167becd0 RSI: 0000000000000002 RDI: ffff8800b3df6680 RBP: ffff8801ca307bb8 R08: ffff8801cf716a90 R09: 0000000000000000 R10: ffffffff85700640 R11: ffffffff84418100 R12: ffff8801cf716aa8 R13: ffff8801ca307cd0 R14: ffff8800b3df65e0 R15: ffff8801cf716a00 FS: 00007fa323158700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000080 CR3: 00000000bbb2e000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff8113bd8a ffff8800b3df6520 ffff8801cf716b58 ffff8801ca307b78 ffff8801cf716a10 0000000000000000 ffff8801cf716ab0 ffff8801cf716b50 ffffffff00000000 0000000000000000 ffff8801d4a79100 0000000000000000 Call Trace: [] pppol2tp_connect+0x10fc/0x1930 net/l2tp/l2tp_ppp.c:718 [] SYSC_connect+0x1b6/0x310 net/socket.c:1557 [] SyS_connect+0x24/0x30 net/socket.c:1538 [] entry_SYSCALL_64_fastpath+0x1c/0x98 Code: 00 00 48 8d bb 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 4f 07 00 00 48 8b 83 80 01 00 00 ff 80 80 00 00 00 48 8d 43 20 48 89 c7 48 89 45 b8 e8 1b 4b RIP [] sock_hold include/net/sock.h:589 [inline] RIP [] l2tp_session_create+0x93e/0x10f0 net/l2tp/l2tp_core.c:1805 RSP CR2: 0000000000000080 BUG: unable to handle kernel NULL pointer dereference at 0000000000000080 IP: [] sock_hold include/net/sock.h:589 [inline] IP: [] l2tp_session_create+0x93e/0x10f0 net/l2tp/l2tp_core.c:1805 PGD 80000000b1683067 PUD b167a067 PMD 0 Oops: 0002 [#2] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 3976 Comm: syzkaller446543 Tainted: G D 4.4.113-g202e079 #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8800b9cb17c0 task.stack: ffff8800b9d08000 RIP: 0010:[] [] sock_hold include/net/sock.h:589 [inline] RIP: 0010:[] [] l2tp_session_create+0x93e/0x10f0 net/l2tp/l2tp_core.c:1805 ---[ end trace 66cf83442745f94f ]---