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 Modules linked in: CPU: 1 PID: 14169 Comm: syz-executor.2 Not tainted 4.4.174+ #4 task: ffff8800ba654740 task.stack: ffff880061278000 RIP: 0010:[] [] __xfrm_policy_check2 include/net/xfrm.h:1070 [inline] RIP: 0010:[] [] xfrm_policy_check include/net/xfrm.h:1076 [inline] RIP: 0010:[] [] xfrm4_policy_check include/net/xfrm.h:1081 [inline] RIP: 0010:[] [] udp_queue_rcv_skb+0x18d/0x14e0 net/ipv4/udp.c:1520 RSP: 0018:ffff88006127f888 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffc900060e5000 RDX: 000000000000000c RSI: ffffffff824813a4 RDI: 0000000000000060 RBP: ffff88006127f8c8 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801bf42b980 R13: ffff880052f69640 R14: 0000000000000000 R15: ffff880052f69698 FS: 00007f6221ee9700(0000) GS:ffff8801db700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33321000 CR3: 00000001d98c4000 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801bf42b980 ffff880100000001 ffff8801bf42ba08 ffff8801bf42b980 ffff880052f69640 dffffc0000000000 ffff8801bf42ba08 0000000000000000 ffff88006127f938 ffffffff821e5e40 ffff8801bf42bdb0 ffff8801bf42bb08 Call Trace: [] sk_backlog_rcv include/net/sock.h:875 [inline] [] __release_sock net/core/sock.c:2024 [inline] [] release_sock+0x170/0x500 net/core/sock.c:2477 [] udp_sendmsg+0x1176/0x1c60 net/ipv4/udp.c:1107 [] inet_sendmsg+0x202/0x4d0 net/ipv4/af_inet.c:755 [] sock_sendmsg_nosec net/socket.c:638 [inline] [] sock_sendmsg+0xbe/0x110 net/socket.c:648 [] sock_write_iter+0x235/0x3d0 net/socket.c:847 [] new_sync_write fs/read_write.c:480 [inline] [] __vfs_write+0x2e8/0x3d0 fs/read_write.c:493 [] vfs_write+0x182/0x4e0 fs/read_write.c:540 [] SYSC_write fs/read_write.c:587 [inline] [] SyS_write+0xdc/0x1c0 fs/read_write.c:579 [] entry_SYSCALL_64_fastpath+0x1e/0x9a Code: 8b 75 58 41 f6 c6 01 0f 85 f9 07 00 00 e8 4c 82 e8 fe 49 83 e6 fe 48 b8 00 00 00 00 00 fc ff df 49 8d 7e 60 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 01 0f 8e 6a 0e 00 00 41 f6 46 60 04 RIP [] __xfrm_policy_check2 include/net/xfrm.h:1070 [inline] RIP [] xfrm_policy_check include/net/xfrm.h:1076 [inline] RIP [] xfrm4_policy_check include/net/xfrm.h:1081 [inline] RIP [] udp_queue_rcv_skb+0x18d/0x14e0 net/ipv4/udp.c:1520 RSP ---[ end trace 68165f5f0c43c8fa ]---