audit: type=1400 audit(1569816887.950:321): avc: denied { create } for pid=20544 comm="syz-executor.0" 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 ================================================================== BUG: KASAN: stack-out-of-bounds in __xfrm6_daddr_saddr_hash net/xfrm/xfrm_hash.h:28 [inline] BUG: KASAN: stack-out-of-bounds in __xfrm_dst_hash net/xfrm/xfrm_hash.h:95 [inline] BUG: KASAN: stack-out-of-bounds in xfrm_dst_hash net/xfrm/xfrm_state.c:46 [inline] BUG: KASAN: stack-out-of-bounds in xfrm_state_find+0x23f5/0x24c0 net/xfrm/xfrm_state.c:783 Read of size 4 at addr ffff8800b5fef710 by task syz-executor.5/20586 CPU: 1 PID: 20586 Comm: syz-executor.5 Not tainted 4.4.174+ #4 0000000000000000 91117ac06c4d2e8a ffff8800b5feeed0 ffffffff81aad1a1 0000000000000000 ffffea0002d7fbc0 ffff8800b5fef710 0000000000000004 0000000000000002 ffff8800b5feef08 ffffffff81490120 0000000000000000 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [] print_address_description+0x6f/0x21b mm/kasan/report.c:252 [] kasan_report_error mm/kasan/report.c:351 [inline] [] kasan_report mm/kasan/report.c:408 [inline] [] kasan_report.cold+0x8c/0x2be mm/kasan/report.c:393 [] __asan_report_load4_noabort+0x14/0x20 mm/kasan/report.c:428 [] __xfrm6_daddr_saddr_hash net/xfrm/xfrm_hash.h:28 [inline] [] __xfrm_dst_hash net/xfrm/xfrm_hash.h:95 [inline] [] xfrm_dst_hash net/xfrm/xfrm_state.c:46 [inline] [] xfrm_state_find+0x23f5/0x24c0 net/xfrm/xfrm_state.c:783 A link change request failed with some changes committed already. Interface syz_tun may have been left with an inconsistent configuration, please check. audit: type=1400 audit(1569816888.120:322): avc: denied { create } for pid=20603 comm="syz-executor.0" 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 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket A link change request failed with some changes committed already. Interface syz_tun may have been left with an inconsistent configuration, please check. audit: type=1400 audit(1569816888.120:323): avc: denied { create } for pid=20603 comm="syz-executor.0" 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 [] xfrm_tmpl_resolve_one+0x1c7/0x790 net/xfrm/xfrm_policy.c:1455 [] xfrm_tmpl_resolve net/xfrm/xfrm_policy.c:1499 [inline] [] xfrm_resolve_and_create_bundle+0x210/0x1df0 net/xfrm/xfrm_policy.c:1847 [] xfrm_lookup+0x203/0xad0 net/xfrm/xfrm_policy.c:2204 [] xfrm_lookup_route+0x38/0x140 net/xfrm/xfrm_policy.c:2326 [] ip_route_output_flow+0x93/0xa0 net/ipv4/route.c:2437 [] udp_sendmsg+0x1537/0x1c60 net/ipv4/udp.c:1040 [] udpv6_sendmsg+0x12f2/0x24f0 net/ipv6/udp.c:1173 [] 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 [] ___sys_sendmsg+0x369/0x890 net/socket.c:1975 [] __sys_sendmmsg+0x130/0x2e0 net/socket.c:2060 [] SYSC_sendmmsg net/socket.c:2090 [inline] [] SyS_sendmmsg+0x35/0x60 net/socket.c:2085 [] entry_SYSCALL_64_fastpath+0x1e/0x9a The buggy address belongs to the page: page:ffffea0002d7fbc0 count:0 mapcount:0 mapping: (null) index:0x0 flags: 0x0() page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8800b5fef600: 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 00 ffff8800b5fef680: f2 f2 f2 00 00 00 f2 f2 f2 f2 f2 00 00 00 00 00 >ffff8800b5fef700: 00 00 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 ^ ffff8800b5fef780: f3 f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 00 ffff8800b5fef800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================