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 1a619a067 [ 252.538740] PUD 1c2cbd067 Oops: 0002 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 22057 Comm: syz-executor6 Not tainted 4.9.117-g8b21e85 #71 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88019299b000 task.stack: ffff8801b04b0000 RIP: 0010:[] [] sock_hold include/net/sock.h:584 [inline] RIP: 0010:[] [] l2tp_session_create+0xc60/0x16f0 net/l2tp/l2tp_core.c:1911 SELinux: unrecognized netlink message: protocol=6 nlmsg_type=0 sclass=netlink_xfrm_socket pig=22088 comm=syz-executor0 RSP: 0018:ffff8801b04b7ac0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8801b58c2c80 RCX: 1ffff1003253371d RDX: 1ffff1003b338f00 RSI: ffff88019299b8c8 RDI: ffff8801d99c7800 RBP: ffff8801b04b7b60 R08: ffff88019299b8e8 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801d99c76d8 R13: 0000000000000000 R14: ffff8801d99c7680 R15: 0000000000000000 FS: 00007fac01531700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000080 CR3: 00000001cb903000 CR4: 00000000001606f0 Stack: ffffffff836c4007 ffffffff836c50a1 ffff8801a54abb48 0000000000000000 ffff8801d99c7680 ffff8801b58c2dd8 ffff8801d99c76d8 ffff8801b58c2dd0 ffff8801b58c2d30 ffff8801d99c76a0 ffff8801a54ab300 0000000000000000 Call Trace: [] pppol2tp_connect+0x10d7/0x18f0 net/l2tp/l2tp_ppp.c:718 [] SYSC_connect+0x1b8/0x300 net/socket.c:1562 [] SyS_connect+0x24/0x30 net/socket.c:1543 [] 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 [ 252.819246] SELinux: policydb magic number 0x2e202123 does not match expected magic number 0xf97cff8c [] sock_hold include/net/sock.h:584 [inline] [] l2tp_session_create+0xc60/0x16f0 net/l2tp/l2tp_core.c:1911 CR2: 0000000000000080 ---[ end trace d7225c86ed2d116f ]---