random: crng init done ================================================================== 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:60 [inline] BUG: KASAN: stack-out-of-bounds in xfrm_state_find+0x271d/0x2790 net/xfrm/xfrm_state.c:806 Read of size 4 at addr ffff8801ce4a7650 by task syz-executor189/2057 CPU: 1 PID: 2057 Comm: syz-executor189 Not tainted 4.9.129+ #97 ffff8801ce4a6cc8 ffffffff81b36939 ffffea00073929c0 ffff8801ce4a7650 0000000000000000 ffff8801ce4a7650 ffff8801ce837cf0 ffff8801ce4a6d00 ffffffff8150072d ffff8801ce4a7650 0000000000000004 0000000000000000 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] print_address_description+0x6c/0x234 mm/kasan/report.c:256 [] kasan_report_error mm/kasan/report.c:355 [inline] [] kasan_report.cold.6+0x242/0x2fe mm/kasan/report.c:412 [] __asan_report_load4_noabort+0x14/0x20 mm/kasan/report.c:432 [] __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:60 [inline] [] xfrm_state_find+0x271d/0x2790 net/xfrm/xfrm_state.c:806 [] xfrm_tmpl_resolve_one+0x1d2/0x7a0 net/xfrm/xfrm_policy.c:1483 [] xfrm_tmpl_resolve net/xfrm/xfrm_policy.c:1527 [inline] [] xfrm_resolve_and_create_bundle+0x219/0x1da0 net/xfrm/xfrm_policy.c:1875 [] xfrm_lookup+0x238/0xb70 net/xfrm/xfrm_policy.c:2232 [] xfrm_lookup_route+0x39/0x140 net/xfrm/xfrm_policy.c:2354 [] ip_route_output_flow+0x90/0xa0 net/ipv4/route.c:2448 [] udp_sendmsg+0x13cd/0x1c50 net/ipv4/udp.c:1025 [] udpv6_sendmsg+0x127d/0x2430 net/ipv6/udp.c:1086 [] inet_sendmsg+0x203/0x4d0 net/ipv4/af_inet.c:770 [] sock_sendmsg_nosec net/socket.c:648 [inline] [] sock_sendmsg+0xbb/0x110 net/socket.c:658 [] ___sys_sendmsg+0x47a/0x840 net/socket.c:1982 [] __sys_sendmmsg+0x161/0x3d0 net/socket.c:2072 [] SYSC_sendmmsg net/socket.c:2103 [inline] [] SyS_sendmmsg+0x35/0x60 net/socket.c:2098 [] do_syscall_64+0x19f/0x550 arch/x86/entry/common.c:285 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb The buggy address belongs to the page: page:ffffea00073929c0 count:0 mapcount:0 mapping: (null) index:0x0 flags: 0x4000000000000000() page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8801ce4a7500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 ffff8801ce4a7580: f1 f1 f1 00 f2 f2 f2 f2 f2 f2 f2 00 00 00 00 f2 >ffff8801ce4a7600: f2 f2 f2 00 00 00 00 00 00 00 f2 f2 f2 f2 f2 00 ^ ffff8801ce4a7680: 00 00 00 00 00 00 00 00 f2 f2 f2 00 00 00 00 00 ffff8801ce4a7700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================