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: 9254 Comm: syz-executor2 Not tainted 4.9.98-g0e25e2c #18 device bridge0 entered promiscuous mode Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88019999e000 task.stack: ffff8801703f8000 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:ffff8801db3075a0 EFLAGS: 00010206 RAX: 000000000836b15c RBX: 0000000041b58ab3 RCX: ffff88019999e000 RDX: 0000000000000005 RSI: ffffffff834fd292 RDI: 0000000041b58ae5 RBP: ffff8801db3077e8 R08: ffff88019999e8e8 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 R13: ffff8801db3076e0 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007fd0280a8700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020385ff0 CR3: 000000019422a000 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff834fc76f ffff8801db307640 ffff8801db3076d8 0000000200000001 ffff880100000000 ffff8801d76c8648 0000007000020ebc ffff8801db3076e0 ffff8801cf376400 ffffffff00000002 1ffff1003b660ec4 ffff8801db307740 Call Trace: [] __xfrm_policy_check2 include/net/xfrm.h:1067 [inline] [] xfrm_policy_check include/net/xfrm.h:1072 [inline] [] xfrm4_policy_check include/net/xfrm.h:1077 [inline] [] tcp_v4_rcv+0x26a8/0x3110 net/ipv4/tcp_ipv4.c:1703 [] 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 [ 1581.235995] [] do_softirq.part.14+0x99/0xb0 kernel/softirq.c:328 [] do_softirq arch/x86/include/asm/preempt.h:22 [inline] [] __local_bh_enable_ip+0xc6/0xd0 kernel/softirq.c:181 [] local_bh_enable include/linux/bottom_half.h:31 [inline] [] rcu_read_unlock_bh include/linux/rcupdate.h:971 [inline] [] ip_finish_output2+0x6f2/0x1110 net/ipv4/ip_output.c:227 [] ip_finish_output+0x683/0xac0 net/ipv4/ip_output.c:313 [] NF_HOOK_COND include/linux/netfilter.h:246 [inline] [] ip_output+0x1cd/0x550 net/ipv4/ip_output.c:401 [] dst_output include/net/dst.h:507 [inline] [] ip_local_out+0x9b/0x180 net/ipv4/ip_output.c:124 [] ip_queue_xmit+0x897/0x1b60 net/ipv4/ip_output.c:500 [] tcp_transmit_skb+0x168c/0x2e30 net/ipv4/tcp_output.c:1036 [] tcp_send_syn_data net/ipv4/tcp_output.c:3351 [inline] [] tcp_connect+0x190c/0x2b30 net/ipv4/tcp_output.c:3386 [] tcp_v4_connect+0x19f0/0x1c20 net/ipv4/tcp_ipv4.c:250 [] __inet_stream_connect+0x6e0/0xbf0 net/ipv4/af_inet.c:627 [] tcp_sendmsg_fastopen net/ipv4/tcp.c:1116 [inline] [] tcp_sendmsg+0x1d94/0x2ff0 net/ipv4/tcp.c:1144 [] 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 8773c3a8fe712ae7 ]---