IPVS: Creating netns size=2536 id=1 ================================================================== BUG: KASAN: stack-out-of-bounds in xfrm_state_find+0x2453/0x2830 net/xfrm/xfrm_state.c:822 Read of size 4 at addr ffff8801b5397720 by task syz-executor0/4057 CPU: 0 PID: 4057 Comm: syz-executor0 Not tainted 4.9.92-g9c3fb9c #10 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801b5396d70 ffffffff81d95109 ffffea0006d4e5c0 ffff8801b5397720 0000000000000000 ffff8801b5397720 ffff8801bd2db420 ffff8801b5396da8 ffffffff8153d5d3 ffff8801b5397720 0000000000000004 0000000000000000 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] print_address_description+0x73/0x280 mm/kasan/report.c:256 [] kasan_report_error mm/kasan/report.c:355 [inline] [] kasan_report+0x255/0x380 mm/kasan/report.c:412 [] __asan_report_load4_noabort+0x14/0x20 mm/kasan/report.c:432 [] xfrm_state_find+0x2453/0x2830 net/xfrm/xfrm_state.c:822 [] xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:1483 [inline] [] xfrm_tmpl_resolve+0x298/0xa90 net/xfrm/xfrm_policy.c:1527 [] xfrm_resolve_and_create_bundle+0xd7/0x1d90 net/xfrm/xfrm_policy.c:1875 [] xfrm_lookup+0x984/0xbf0 net/xfrm/xfrm_policy.c:2229 [] xfrm_lookup_route+0x39/0x1a0 net/xfrm/xfrm_policy.c:2351 [] ip_route_output_flow+0x7f/0xa0 net/ipv4/route.c:2438 [] udp_sendmsg+0xe36/0x1c10 net/ipv4/udp.c:1023 [] udpv6_sendmsg+0x588/0x2540 net/ipv6/udp.c:1086 [] inet_sendmsg+0x2bc/0x4c0 net/ipv4/af_inet.c:770 [] sock_sendmsg_nosec net/socket.c:635 [inline] [] sock_sendmsg+0xca/0x110 net/socket.c:645 [] ___sys_sendmsg+0x6d1/0x7e0 net/socket.c:1969 [] __sys_sendmsg+0xd6/0x190 net/socket.c:2003 [] C_SYSC_sendmsg net/compat.c:734 [inline] [] compat_SyS_sendmsg+0x2a/0x40 net/compat.c:732 [] do_syscall_32_irqs_on arch/x86/entry/common.c:325 [inline] [] do_fast_syscall_32+0x2f5/0x870 arch/x86/entry/common.c:387 [] entry_SYSENTER_compat+0x90/0xa2 arch/x86/entry/entry_64_compat.S:137 The buggy address belongs to the page: page:ffffea0006d4e5c0 count:0 mapcount:0 mapping: (null) index:0x0 flags: 0x8000000000000000() page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8801b5397600: 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 f2 f2 ffff8801b5397680: f2 f2 f2 f2 f2 00 00 00 00 f2 f2 f2 f2 00 00 00 >ffff8801b5397700: 00 00 00 00 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 ^ ffff8801b5397780: 00 00 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 00 ffff8801b5397800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================