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: 12147 Comm: syz-executor.0 Not tainted 4.4.174+ #4 task: ffff8801d030c740 task.stack: ffff8800b2cf0000 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:ffff8800b2cf7888 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffc90000d67000 RDX: 000000000000000c RSI: ffffffff824813a4 RDI: 0000000000000060 RBP: ffff8800b2cf78c8 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8800b53e5c00 R13: ffff8801cfa40000 R14: 0000000000000000 R15: ffff8801cfa40058 FS: 00007fe22e1d1700(0000) GS:ffff8801db700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000201601bf CR3: 00000001d7e36000 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8800b53e5c00 ffff880000000001 ffff8800b53e5c88 ffff8800b53e5c00 ffff8801cfa40000 dffffc0000000000 ffff8800b53e5c88 0000000000000000 ffff8800b2cf7938 ffffffff821e5e40 ffff8800b53e6030 ffff8800b53e5d88 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 audit: type=1400 audit(1575273129.479:404): avc: denied { create } for pid=12159 comm="syz-executor.1" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=0 [] 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 audit: type=1400 audit(1575273129.479:405): avc: denied { create } for pid=12160 comm="syz-executor.5" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=0 [] 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 0f343ad9b707c91f ]---