kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 14002 Comm: syz-executor6 Not tainted 4.4.151-g727cfac #87 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d4b5e000 task.stack: ffff8801ce870000 RIP: 0010:[] [] xfrm_policy_ok net/xfrm/xfrm_policy.c:2382 [inline] RIP: 0010:[] [] __xfrm_policy_check+0xc9a/0x1b30 net/xfrm/xfrm_policy.c:2558 RSP: 0018:ffff8801db307310 EFLAGS: 00010206 RAX: 03fffe20076cc1d7 RBX: 1ffff1003b660e8c RCX: ffff8801d4b5e000 RDX: 0000000000000006 RSI: ffffffff833de4f9 RDI: 1ffff1003b660ebe RBP: ffff8801db307558 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff8801db307450 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007fd1766ea700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30221000 CR3: 00000000b76e1000 CR4: 00000000001606f0 Stack: ffffffff833dd9cf ffff8801db3073b0 ffff8801db307448 0000000200000001 ffff8801db3073b8 ffff8801d237a6a8 00000001000273c0 ffff8801db307450 ffff8801d114dd80 ffff880100000002 1ffff1003b660e72 ffff8801db3074b0 Call Trace: [] __xfrm_policy_check2 include/net/xfrm.h:1067 [inline] [] xfrm_policy_check include/net/xfrm.h:1076 [inline] [] xfrm4_policy_check include/net/xfrm.h:1081 [inline] [] udp_queue_rcv_skb+0x6e6/0x1580 net/ipv4/udp.c:1520 [] flush_stack+0x4f/0x370 net/ipv6/udp.c:766 [] __udp4_lib_mcast_deliver.isra.42+0x730/0x870 net/ipv4/udp.c:1724 [] __udp4_lib_rcv+0x17cc/0x23e0 net/ipv4/udp.c:1819 [] udp_rcv+0x21/0x30 net/ipv4/udp.c:2043 [] ip_local_deliver_finish+0x257/0xa60 net/ipv4/ip_input.c:216 [] NF_HOOK_THRESH include/linux/netfilter.h:226 [inline] [] NF_HOOK include/linux/netfilter.h:249 [inline] [] ip_local_deliver+0x1f1/0x380 net/ipv4/ip_input.c:257 [] dst_input include/net/dst.h:504 [inline] [] ip_rcv_finish+0x65a/0x1640 net/ipv4/ip_input.c:365 [] NF_HOOK_THRESH include/linux/netfilter.h:226 [inline] [] NF_HOOK include/linux/netfilter.h:249 [inline] [] ip_rcv+0x9e4/0x1190 net/ipv4/ip_input.c:455 [] __netif_receive_skb_core+0x12d6/0x2940 net/core/dev.c:4019 [] __netif_receive_skb+0x5b/0x1c0 net/core/dev.c:4054 [] process_backlog+0x216/0x6a0 net/core/dev.c:4647 [] napi_poll net/core/dev.c:4885 [inline] [] net_rx_action+0x3a2/0xdb0 net/core/dev.c:4950 audit: type=1326 audit(1535121825.917:9): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=14013 comm="syz-executor4" exe="/root/syz-executor4" sig=31 arch=c000003e syscall=202 compat=0 ip=0x457089 code=0x0 [] __do_softirq+0x22c/0xa1a kernel/softirq.c:273 [] do_softirq_own_stack+0x1c/0x30 arch/x86/entry/entry_64.S:929 [] do_softirq.part.16+0x54/0x60 kernel/softirq.c:317 [] do_softirq+0x19/0x20 kernel/softirq.c:320 [] netif_rx_ni+0xec/0x3a0 net/core/dev.c:3653 [] dev_loopback_xmit+0x1e9/0x470 net/core/dev.c:3018 [] NF_HOOK_THRESH include/linux/netfilter.h:226 [inline] [] NF_HOOK include/linux/netfilter.h:249 [inline] [] ip_mc_output+0x492/0x980 net/ipv4/ip_output.c:326 audit: type=1326 audit(1535121826.017:10): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=14013 comm="syz-executor4" exe="/root/syz-executor4" sig=31 arch=c000003e syscall=202 compat=0 ip=0x457089 code=0x0 [] dst_output include/net/dst.h:498 [inline] [] ip_local_out+0x9b/0x180 net/ipv4/ip_output.c:119 [] ip_send_skb+0x3c/0xc0 net/ipv4/ip_output.c:1453 [] udp_send_skb+0x5c3/0xc60 net/ipv4/udp.c:842 [] udp_sendmsg+0x16c9/0x1c70 net/ipv4/udp.c:1072 [] inet_sendmsg+0x203/0x4d0 net/ipv4/af_inet.c:755 [] sock_sendmsg_nosec net/socket.c:638 [inline] [] sock_sendmsg+0xcc/0x110 net/socket.c:648 [] SYSC_sendto+0x21c/0x370 net/socket.c:1678 [] SyS_sendto+0x40/0x50 net/socket.c:1646 [] entry_SYSCALL_64_fastpath+0x22/0x9e Code: ff 48 c1 e8 03 42 80 3c 30 00 0f 85 11 0d 00 00 48 8b 85 f0 fd 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 11 0d 00 00 0f b6 43 32 RIP [] xfrm_policy_ok net/xfrm/xfrm_policy.c:2382 [inline] RIP [] __xfrm_policy_check+0xc9a/0x1b30 net/xfrm/xfrm_policy.c:2558 RSP ---[ end trace 78e6cc4c32585b81 ]---