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 Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 3033 Comm: syz-executor5 Not tainted 4.9.86-gb324a70 #50 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d6e66000 task.stack: ffff8801b0d30000 RIP: 0010:[] [] xfrm_policy_ok net/xfrm/xfrm_policy.c:2410 [inline] RIP: 0010:[] [] __xfrm_policy_check+0xbf8/0x1a30 net/xfrm/xfrm_policy.c:2586 RSP: 0018:ffff8801db2075a0 EFLAGS: 00010202 RAX: 0000000000000006 RBX: 0000000000000000 RCX: ffffffff833c9727 RDX: 0000000000000002 RSI: ffff8801db2076e8 RDI: 0000000000000032 RBP: ffff8801db2077e8 R08: 0000000000000003 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 R13: dffffc0000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f1ac64c8700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020bc8ff0 CR3: 00000001b2cc4000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff833c8c9d ffff8801db2076d8 ffff8801db207640 000000018123c659 ffff8801db207680 ffff8801c1b521a8 ffff8801db207650 ffff8801b2609a40 00000002000268a8 1ffff1003b640ec4 ffff8801db2076e8 ffff8801db207740 Call Trace: [] __xfrm_policy_check2 include/net/xfrm.h:1063 [inline] [] xfrm_policy_check include/net/xfrm.h:1072 [inline] [] xfrm4_policy_check include/net/xfrm.h:1077 [inline] [] udp_queue_rcv_skb+0x537/0x1760 net/ipv4/udp.c:1509 [] __udp4_lib_mcast_deliver net/ipv4/udp.c:1690 [inline] [] __udp4_lib_rcv+0x1694/0x2b70 net/ipv4/udp.c:1783 [] udp_rcv+0x21/0x30 net/ipv4/udp.c:1964 [] ip_local_deliver_finish+0x285/0xa80 net/ipv4/ip_input.c:216 [] NF_HOOK_THRESH include/linux/netfilter.h:232 [inline] [] NF_HOOK include/linux/netfilter.h:255 [inline] [] ip_local_deliver+0x30a/0x4d0 net/ipv4/ip_input.c:257 [] dst_input include/net/dst.h:513 [inline] [] ip_rcv_finish+0x71b/0x1900 net/ipv4/ip_input.c:396 [] NF_HOOK_THRESH include/linux/netfilter.h:232 [inline] [] NF_HOOK include/linux/netfilter.h:255 [inline] [] ip_rcv+0xbc2/0x1620 net/ipv4/ip_input.c:487 [] __netif_receive_skb_core+0xa33/0x29e0 net/core/dev.c:4252 [] __netif_receive_skb+0x5b/0x1c0 net/core/dev.c:4290 [] process_backlog+0x1d4/0x690 net/core/dev.c:4911 [] napi_poll net/core/dev.c:5212 [inline] [] net_rx_action+0x396/0xe00 net/core/dev.c:5277 [] __do_softirq+0x206/0x951 kernel/softirq.c:284 [] do_softirq_own_stack+0x1c/0x30 arch/x86/entry/entry_64.S:844 [ 331.498040] [] do_softirq.part.16+0x99/0xb0 kernel/softirq.c:328 [] do_softirq+0x19/0x20 kernel/softirq.c:331 [] netif_rx_ni+0x140/0x320 net/core/dev.c:3882 [] dev_loopback_xmit+0x1f9/0x480 net/core/dev.c:3206 [] ip_mc_finish_output net/ipv4/ip_output.c:327 [inline] [] NF_HOOK_THRESH include/linux/netfilter.h:232 [inline] [] NF_HOOK include/linux/netfilter.h:255 [inline] [] ip_mc_output+0x58c/0xd50 net/ipv4/ip_output.c:365 [] dst_output include/net/dst.h:507 [inline] [] ip_local_out+0x95/0x170 net/ipv4/ip_output.c:124 [] ip_send_skb+0x3c/0xc0 net/ipv4/ip_output.c:1486 [] udp_send_skb+0x65c/0xcc0 net/ipv4/udp.c:833 [] udp_sendmsg+0x9a0/0x1c10 net/ipv4/udp.c:1055 [] inet_sendmsg+0x2bc/0x4c0 net/ipv4/af_inet.c:770 [] sock_sendmsg_nosec net/socket.c:635 [inline] [] sock_sendmsg+0xca/0x110 net/socket.c:645 [] SYSC_sendto+0x2c8/0x340 net/socket.c:1670 [] SyS_sendto+0x40/0x50 net/socket.c:1638 [] do_syscall_64+0x1a4/0x490 arch/x86/entry/common.c:282 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Code: ff 48 c1 e8 03 42 80 3c 30 00 0f 85 f9 0b 00 00 48 8b 85 08 fe ff ff 48 8b 18 48 8d 7b 32 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <42> 0f b6 04 30 38 d0 7f 08 84 c0 0f 85 c3 0b 00 00 0f b6 43 32 RIP [] xfrm_policy_ok net/xfrm/xfrm_policy.c:2410 [inline] RIP [] __xfrm_policy_check+0xbf8/0x1a30 net/xfrm/xfrm_policy.c:2586 RSP ---[ end trace ca4cd377fb251050 ]---