kasan: GPF could be caused by NULL-ptr deref or user memory access binder: 21877:21879 BC_DEAD_BINDER_DONE 0000000000000001 not found binder: 21877:21879 Acquire 1 refcount change on invalid ref 0 ret -22 general protection fault: 0000 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 21887 Comm: syz-executor4 Not tainted 4.9.81-g1a93831 #33 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d8236000 task.stack: ffff8801b97e0000 RIP: 0010:[] [] xfrm_policy_ok net/xfrm/xfrm_policy.c:2403 [inline] RIP: 0010:[] [] __xfrm_policy_check+0xbf8/0x1a30 net/xfrm/xfrm_policy.c:2579 RSP: 0018:ffff8801db3075a0 EFLAGS: 00010202 RAX: 0000000000000006 RBX: 0000000000000000 RCX: ffffffff833c82d7 RDX: 0000000000000002 RSI: ffff8801db3076e8 RDI: 0000000000000032 RBP: ffff8801db3077e8 R08: 0000000000000003 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 R13: dffffc0000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f9442d4d700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000a2ed68 CR3: 00000001bf126000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff833c784d ffff8801db3076d8 ffff8801db307640 00000001d82368a8 ffff8801db307680 ffff8801cb698928 ffff8801db307650 ffff8801c2730000 0000000200026000 1ffff1003b660ec4 ffff8801db3076e8 ffff8801db307740 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:831 [ 106.054392] [] 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 [] tun_get_user+0xac6/0x2110 drivers/net/tun.c:1330 [] tun_chr_write_iter+0xd5/0x190 drivers/net/tun.c:1353 [] new_sync_write fs/read_write.c:499 [inline] [] __vfs_write+0x4bf/0x680 fs/read_write.c:512 [] vfs_write+0x189/0x530 fs/read_write.c:560 [] SYSC_write fs/read_write.c:607 [inline] [] SyS_write+0xd9/0x1b0 fs/read_write.c:599 [] do_syscall_64+0x1a5/0x490 arch/x86/entry/common.c:282 [] entry_SYSCALL_64_after_swapgs+0x47/0xc5 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:2403 [inline] RIP [] __xfrm_policy_check+0xbf8/0x1a30 net/xfrm/xfrm_policy.c:2579 RSP ---[ end trace 5a00ce724cc7155b ]---