IPVS: set_ctl: invalid protocol: 50 0.0.0.9:20000 lblcr ================================================================== BUG: KASAN: stack-out-of-bounds in memcmp+0x126/0x160 lib/string.c:742 Read of size 1 at addr ffff88009b7e7be0 by task syz-executor3/28480 CPU: 1 PID: 28480 Comm: syz-executor3 Not tainted 4.4.136-gfb7e319 #59 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 83867855bfa72f60 ffff88009b7e7710 ffffffff81e0edad ffffea00026df9c0 ffff88009b7e7be0 0000000000000000 ffff88009b7e7be0 0000000000000000 ffff88009b7e7748 ffffffff815159b6 ffff88009b7e7be0 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x124 lib/dump_stack.c:51 [] print_address_description+0x6c/0x216 mm/kasan/report.c:252 [] kasan_report_error mm/kasan/report.c:351 [inline] [] kasan_report.cold.7+0x175/0x2f7 mm/kasan/report.c:408 [] __asan_report_load1_noabort+0x14/0x20 mm/kasan/report.c:426 [] memcmp+0x126/0x160 lib/string.c:742 [] addr_match include/net/xfrm.h:837 [inline] [] __xfrm6_selector_match net/xfrm/xfrm_policy.c:81 [inline] [] xfrm_selector_match+0x12d/0xe50 net/xfrm/xfrm_policy.c:95 [] xfrm_sk_policy_lookup+0x151/0x350 net/xfrm/xfrm_policy.c:1236 [] xfrm_lookup+0x1b5/0xb70 net/xfrm/xfrm_policy.c:2184 [] xfrm_lookup_route+0x39/0x1b0 net/xfrm/xfrm_policy.c:2318 [] ip6_dst_lookup_flow+0x1b7/0x2f0 net/ipv6/ip6_output.c:1072 [] tcp_v6_connect+0xd58/0x1b70 net/ipv6/tcp_ipv6.c:249 [] __inet_stream_connect+0x2a9/0xc30 net/ipv4/af_inet.c:615 [] inet_stream_connect+0x55/0xa0 net/ipv4/af_inet.c:676 [] SYSC_connect+0x1b8/0x300 net/socket.c:1557 [] SyS_connect+0x24/0x30 net/socket.c:1538 [] entry_SYSCALL_64_fastpath+0x22/0x9e The buggy address belongs to the page: page:ffffea00026df9c0 count:0 mapcount:0 mapping: (null) index:0x1 flags: 0x4000000000000000() page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88009b7e7a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88009b7e7b00: 00 00 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2 f2 f2 >ffff88009b7e7b80: f2 f2 00 00 00 00 00 00 00 00 00 00 f2 f2 00 00 ^ ffff88009b7e7c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88009b7e7c80: 00 00 00 f1 f1 f1 f1 00 00 00 00 00 f2 f2 f2 00 ==================================================================