================================================================== 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 ffff880104687710 by task syz-executor.4/3107 CPU: 1 PID: 3107 Comm: syz-executor.4 Not tainted 4.4.174+ #4 0000000000000000 037c02ad5c3d2c0b ffff880104686ed0 ffffffff81aad1a1 0000000000000000 ffffea000411a1c0 ffff880104687710 0000000000000004 0000000000000003 ffff880104686f08 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 [] 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:ffffea000411a1c0 count:0 mapcount:0 mapping: (null) index:0x0 flags: 0x4000000000000000() page dumped because: kasan: bad access detected Memory state around the buggy address: ffff880104687600: 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 00 ffff880104687680: f2 f2 f2 00 00 00 f2 f2 f2 f2 f2 00 00 00 00 00 >ffff880104687700: 00 00 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 ^ ffff880104687780: f3 f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 00 ffff880104687800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================