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: 0 PID: 10968 Comm: syz-executor0 Not tainted 4.4.131-gfcce571 #36 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8800b3c8b000 task.stack: ffff8801d9528000 RIP: 0010:[] [] __write_once_size include/linux/compiler.h:247 [inline] RIP: 0010:[] [] __hlist_del include/linux/list.h:619 [inline] RIP: 0010:[] [] hlist_del include/linux/list.h:626 [inline] RIP: 0010:[] [] __xfrm_policy_unlink+0x1ca/0x420 net/xfrm/xfrm_policy.c:1280 RSP: 0018:ffff8801d952f8c8 EFLAGS: 00010246 RAX: dead000000000200 RBX: ffff8800acdf0190 RCX: 0000000000000000 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 0000000000000000 RBP: ffff8801d952f908 R08: ffffffff8532ab70 R09: 0000000000000000 R10: 0000000000000001 R11: ffff8800b3c8b000 R12: ffff8800acdf0018 R13: ffff8800abc70000 R14: ffff8800acdf0020 R15: ffff8800acdf0000 FS: 0000000000000000(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f91379d5db8 CR3: 00000001d2f4d000 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: 0000000000000000 ffff8800acdf0008 0000000300000003 ffff8800abc719b8 ffff8800acdf0000 0000000000000003 ffffffff832c9b10 ffffffff82f18c50 ffff8801d952f930 ffffffff833c2979 ffff8801d7fac500 ffff8801d7fac6c0 Call Trace: [] xfrm_policy_delete+0x49/0x90 net/xfrm/xfrm_policy.c:1304 [] xfrm_sk_free_policy include/net/xfrm.h:1157 [inline] [] sk_common_release+0x21f/0x300 net/core/sock.c:2706 [] udp_lib_close+0x15/0x20 include/net/udp.h:190 [] inet_release+0xff/0x1d0 net/ipv4/af_inet.c:435 [] sock_release+0x96/0x1c0 net/socket.c:586 [] sock_close+0x16/0x20 net/socket.c:1037 [] __fput+0x235/0x6f0 fs/file_table.c:208 [] ____fput+0x15/0x20 fs/file_table.c:244 [] task_work_run+0x10f/0x190 kernel/task_work.c:115 [] exit_task_work include/linux/task_work.h:21 [inline] [] do_exit+0x9e5/0x26b0 kernel/exit.c:759 [] do_group_exit+0x111/0x330 kernel/exit.c:889 [] get_signal+0x4ec/0x14b0 kernel/signal.c:2317 [] do_signal+0x8b/0x1d30 arch/x86/kernel/signal.c:712 [] exit_to_usermode_loop+0x11a/0x160 arch/x86/entry/common.c:248 [] prepare_exit_to_usermode arch/x86/entry/common.c:283 [inline] [] syscall_return_slowpath+0x1b5/0x1f0 arch/x86/entry/common.c:348 [] int_ret_from_sys_call+0x25/0xa3 Code: 00 00 fc ff df 4c 89 f6 48 c1 ee 03 80 3c 0e 00 0f 85 ba 01 00 00 48 be 00 00 00 00 00 fc ff df 49 8b 4f 20 48 89 cf 48 c1 ef 03 <80> 3c 37 00 0f 85 07 02 00 00 48 85 d2 48 89 11 48 89 4d c0 48 RIP [] __write_once_size include/linux/compiler.h:247 [inline] RIP [] __hlist_del include/linux/list.h:619 [inline] RIP [] hlist_del include/linux/list.h:626 [inline] RIP [] __xfrm_policy_unlink+0x1ca/0x420 net/xfrm/xfrm_policy.c:1280 RSP ---[ end trace 7d8e96e04e771a73 ]---