================================================================== SELinux: policydb table sizes (-1744817152,-1131931548) do not match mine (6,7) SELinux: policydb table sizes (-1744817152,-1131931548) do not match mine (6,7) BUG: KASAN: stack-out-of-bounds in memcmp+0x126/0x160 lib/string.c:742 Read of size 1 at addr ffff8800b51bf920 by task syz-executor5/7008 CPU: 1 PID: 7008 Comm: syz-executor5 Not tainted 4.4.162+ #117 0000000000000000 e684bd139e740caa ffff8800b51bf458 ffffffff81a994bd ffffea0002d46fc0 ffff8800b51bf920 0000000000000000 ffff8800b51bf920 ffff8800b51bf908 ffff8800b51bf490 ffffffff8148a669 ffff8800b51bf920 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x124 lib/dump_stack.c:51 [] print_address_description+0x6c/0x217 mm/kasan/report.c:252 [] kasan_report_error mm/kasan/report.c:351 [inline] [] kasan_report.cold.6+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+0x6a0/0xe50 net/xfrm/xfrm_policy.c:95 [] xfrm_sk_policy_lookup+0x151/0x350 net/xfrm/xfrm_policy.c:1241 [] xfrm_lookup+0x1bd/0xb70 net/xfrm/xfrm_policy.c:2192 [] xfrm_lookup_route+0x39/0x140 net/xfrm/xfrm_policy.c:2326 [] ip6_dst_lookup_flow+0x1b7/0x2f0 net/ipv6/ip6_output.c:1072 [] tcp_v6_connect+0xcfe/0x1b00 net/ipv6/tcp_ipv6.c:249 [] __inet_stream_connect+0x2a9/0xc30 net/ipv4/af_inet.c:615 [] tcp_sendmsg_fastopen net/ipv4/tcp.c:1092 [inline] [] tcp_sendmsg+0x1a07/0x2b30 net/ipv4/tcp.c:1112 [] inet_sendmsg+0x203/0x4d0 net/ipv4/af_inet.c:755 [] sock_sendmsg_nosec net/socket.c:638 [inline] [] sock_sendmsg+0xbb/0x110 net/socket.c:648 [] SYSC_sendto net/socket.c:1678 [inline] [] SyS_sendto+0x220/0x370 net/socket.c:1646 [] entry_SYSCALL_64_fastpath+0x1e/0x9a The buggy address belongs to the page: page:ffffea0002d46fc0 count:0 mapcount:0 mapping: (null) index:0x0 flags: 0x0() page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8800b51bf800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 ffff8800b51bf880: f1 f1 00 00 f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 >ffff8800b51bf900: 00 00 00 00 f2 f2 00 00 00 00 00 00 00 00 00 00 ^ ffff8800b51bf980: 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 ffff8800b51bfa00: 00 00 00 00 00 f2 f2 f2 00 00 00 00 00 00 00 00 ==================================================================