BUG: unable to handle kernel NULL pointer dereference at 0000000000000080 IP: [] sock_hold include/net/sock.h:589 [inline] IP: [] l2tp_session_create+0x948/0x1030 net/l2tp/l2tp_core.c:1809 PGD b2b70067 PUD b236e067 PMD 0 Oops: 0002 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 3707 Comm: syz-executor024 Not tainted 4.4.138-gcf21a9a #64 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801cd2d9800 task.stack: ffff8800b1058000 RIP: 0010:[] [] sock_hold include/net/sock.h:589 [inline] RIP: 0010:[] [] l2tp_session_create+0x948/0x1030 net/l2tp/l2tp_core.c:1809 RSP: 0018:ffff8800b105fb48 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8800b3b41400 RCX: 0000000000000006 RDX: 1ffff100167682b0 RSI: ffffffff8359ab63 RDI: ffff8800b3b41580 RBP: ffff8800b105fbb8 R08: ffff8801cd2da100 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff84638ce0 R12: ffff8800b3a3d9a8 R13: ffff8800b105fcd0 R14: ffff8800b3a3d900 R15: ffffffff83599790 FS: 00007fcad1de8700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000080 CR3: 00000000b2284000 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff8113da4a ffff8800b3b41420 ffff8800b3a3da58 ffff8800b3a3d910 ffffffff838c2080 ffff8800b3a3d9b0 ffff8800b3a3da50 ffff8800b3b414e0 ffffffff00000000 ffff8800b1056600 0000000000000000 ffff8800b1056630 Call Trace: [] pppol2tp_connect+0x10f0/0x1910 net/l2tp/l2tp_ppp.c:725 [] SYSC_connect+0x1b8/0x300 net/socket.c:1557 [] SyS_connect+0x24/0x30 net/socket.c:1538 [] entry_SYSCALL_64_fastpath+0x22/0x9e 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 36 06 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 b0 e8 91 13 RIP [] sock_hold include/net/sock.h:589 [inline] RIP [] l2tp_session_create+0x948/0x1030 net/l2tp/l2tp_core.c:1809 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+0x948/0x1030 net/l2tp/l2tp_core.c:1809 PGD b19ad067 PUD b54b7067 PMD 0 Oops: 0002 [#2] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 3706 Comm: syz-executor024 Tainted: G D 4.4.138-gcf21a9a #64 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8800b19eb000 task.stack: ffff8800b1078000 RIP: 0010:[] [] sock_hold include/net/sock.h:589 [inline] RIP: 0010:[] [] l2tp_session_create+0x948/0x1030 net/l2tp/l2tp_core.c:1809 RSP: 0018:ffff8800b107fb48 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8800b1708500 RCX: 0000000000000006 RDX: 1ffff100162e10d0 RSI: ffffffff8359ab63 RDI: ffff8800b1708680 RBP: ffff8800b107fbb8 R08: 000000000000000a R09: 000000000000ffff R10: ffffed00399d4648 R11: ffffffff84638ce0 R12: ffff8801ccea3228 R13: ffff8800b107fcd0 R14: ffff8801ccea3180 R15: ffffffff83599790 FS: 00007fcad1de8700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000080 CR3: 00000000b1843000 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff8113da4a ffff8800b1708520 ffff8801ccea32d8 ffff8801ccea3190 ffffffff838c2080 ffff8801ccea3230 ffff8801ccea32d0 ffff8800b17085e0 ffffffff00000000 ffff8801d96f6e80 0000000000000000 ffff8801d96f6eb0 Call Trace: [] pppol2tp_connect+0x10f0/0x1910 net/l2tp/l2tp_ppp.c:725 [] SYSC_connect+0x1b8/0x300 net/socket.c:1557 [] SyS_connect+0x24/0x30 net/socket.c:1538 [] entry_SYSCALL_64_fastpath+0x22/0x9e 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 36 06 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 b0 e8 91 13 RIP [] sock_hold include/net/sock.h:589 [inline] RIP [] l2tp_session_create+0x948/0x1030 net/l2tp/l2tp_core.c:1809 RSP CR2: 0000000000000080 random: nonblocking pool is initialized BUG: unable to handle kernel NULL pointer dereference at 0000000000000080 IP: [] sock_hold include/net/sock.h:589 [inline] IP: [] l2tp_session_create+0x948/0x1030 net/l2tp/l2tp_core.c:1809 PGD 1cf4cb067 PUD 1cd83d067 PMD 0 Oops: 0002 [#3] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 3698 Comm: syz-executor024 Tainted: G D 4.4.138-gcf21a9a #64 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8800b2138000 task.stack: ffff8801cdfa0000 RIP: 0010:[] [] sock_hold include/net/sock.h:589 [inline] RIP: 0010:[] [] l2tp_session_create+0x948/0x1030 net/l2tp/l2tp_core.c:1809 RSP: 0018:ffff8801cdfa7b48 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8801d48ca280 RCX: 0000000000000006 RDX: 1ffff1003a919480 RSI: ffffffff8359ab63 RDI: ffff8801d48ca400 RBP: ffff8801cdfa7bb8 R08: 000000000000000a R09: 000000000000ffff R10: ffffed0017637248 R11: ffffffff84638ce0 R12: ffff8800bb1b9228 R13: ffff8801cdfa7cd0 R14: ffff8800bb1b9180 R15: ffffffff83599790 FS: 00007fcad1de8700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000080 CR3: 00000001cddef000 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff8113da4a ffff8801d48ca2a0 ffff8800bb1b92d8 ffff8800bb1b9190 ffffffff838c2080 ffff8800bb1b9230 ffff8800bb1b92d0 ffff8801d48ca360 ffffffff00000000 ffff8801d48d8880 0000000000000000 ffff8801d48d88b0 Call Trace: [] pppol2tp_connect+0x10f0/0x1910 net/l2tp/l2tp_ppp.c:725 [] SYSC_connect+0x1b8/0x300 net/socket.c:1557 [] SyS_connect+0x24/0x30 net/socket.c:1538 [] entry_SYSCALL_64_fastpath+0x22/0x9e 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 36 06 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 b0 e8 91 13 RIP [] sock_hold include/net/sock.h:589 [inline] RIP [] l2tp_session_create+0x948/0x1030 net/l2tp/l2tp_core.c:1809 RSP CR2: 0000000000000080 ---[ end trace 2ea16e92762604ae ]---