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: 1 PID: 8614 Comm: syz-executor4 Not tainted 4.9.98-gf5a861c #19 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801c6f0c800 task.stack: ffff8801bd4f8000 RIP: 0010:[] [] xfrm_policy_ok net/xfrm/xfrm_policy.c:2410 [inline] RIP: 0010:[] [] __xfrm_policy_check+0xc93/0x1b20 net/xfrm/xfrm_policy.c:2586 RSP: 0018:ffff8801db307578 EFLAGS: 00010206 RAX: 0000000000000006 RBX: 0000000000000001 RCX: ffff8801c6f0c800 RDX: 0000000000000003 RSI: ffffffff834fd292 RDI: 0000000000000033 RBP: ffff8801db3077c0 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff8801db3076b8 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007ff7b89cf700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2bc21000 CR3: 00000001d4f45000 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff834fc76f ffff8801db307618 ffff8801db3076b0 0000000200000001 ffff8801db307620 ffff8801bd709568 000000010002d130 ffff8801db3076b8 ffff8801c16f7a80 ffff880100000002 1ffff1003b660ebf ffff8801db307718 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+0xa23/0x1770 net/ipv4/udp.c:1509 [] __udp4_lib_mcast_deliver net/ipv4/udp.c:1690 [inline] [] __udp4_lib_rcv+0xc64/0x2b10 net/ipv4/udp.c:1788 [] udp_rcv+0x21/0x30 net/ipv4/udp.c:1969 [] ip_local_deliver_finish+0x257/0xa60 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+0x389/0x4d0 net/ipv4/ip_input.c:257 [] dst_input include/net/dst.h:513 [inline] [] ip_rcv_finish+0x6d6/0x1920 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+0xb0b/0x1370 net/ipv4/ip_input.c:487 [] __netif_receive_skb_core+0x12a0/0x2a20 net/core/dev.c:4267 [] __netif_receive_skb+0x5b/0x1b0 net/core/dev.c:4305 [] process_backlog+0x206/0x6a0 net/core/dev.c:4926 [] napi_poll net/core/dev.c:5227 [inline] [] net_rx_action+0x3c4/0xde0 net/core/dev.c:5292 [] __do_softirq+0x20b/0x937 kernel/softirq.c:284 [] do_softirq_own_stack+0x1c/0x30 arch/x86/entry/entry_64.S:843 [ 637.982374] [] do_softirq.part.14+0x99/0xb0 kernel/softirq.c:328 [] do_softirq+0x19/0x20 kernel/softirq.c:331 [] netif_rx_ni+0xbd/0x310 net/core/dev.c:3897 [] dev_loopback_xmit+0x1e9/0x470 net/core/dev.c:3221 [] 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+0xa62/0xd50 net/ipv4/ip_output.c:365 [] dst_output include/net/dst.h:507 [inline] [] ip_local_out+0x9b/0x180 net/ipv4/ip_output.c:124 [] ip_send_skb+0x3c/0xc0 net/ipv4/ip_output.c:1486 [] udp_send_skb+0x5b5/0xc50 net/ipv4/udp.c:833 [] udp_sendmsg+0x164d/0x1bd0 net/ipv4/udp.c:1055 [] inet_sendmsg+0x203/0x4d0 net/ipv4/af_inet.c:770 [] sock_sendmsg_nosec net/socket.c:635 [inline] [] sock_sendmsg+0xcc/0x110 net/socket.c:645 [] SYSC_sendto+0x21c/0x370 net/socket.c:1670 [] SyS_sendto+0x40/0x50 net/socket.c:1638 [] do_syscall_64+0x1a6/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 52 0c 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 bd 0c 00 00 0f b6 43 32 RIP [] xfrm_policy_ok net/xfrm/xfrm_policy.c:2410 [inline] RIP [] __xfrm_policy_check+0xc93/0x1b20 net/xfrm/xfrm_policy.c:2586 RSP ---[ end trace e8c0564394030e24 ]---