================================================================== BUG: KASAN: stack-out-of-bounds in jhash2 include/linux/jhash.h:137 [inline] BUG: KASAN: stack-out-of-bounds in __xfrm6_addr_hash net/xfrm/xfrm_hash.h:16 [inline] BUG: KASAN: stack-out-of-bounds in __xfrm6_daddr_saddr_hash net/xfrm/xfrm_hash.h:29 [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:61 [inline] BUG: KASAN: stack-out-of-bounds in xfrm_state_find+0x396a/0x3f00 net/xfrm/xfrm_state.c:958 Read of size 4 at addr ffff888043bf73d0 by task syz-executor1/23475 CPU: 1 PID: 23475 Comm: syz-executor1 Not tainted 5.0.0-rc2+ #23 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1db/0x2d0 lib/dump_stack.c:113 print_address_description.cold+0x7c/0x20d mm/kasan/report.c:187 kernel msg: ebtables bug: please report to author: Wrong len argument kasan_report.cold+0x1b/0x40 mm/kasan/report.c:317 __asan_report_load4_noabort+0x14/0x20 mm/kasan/generic_report.c:134 jhash2 include/linux/jhash.h:137 [inline] __xfrm6_addr_hash net/xfrm/xfrm_hash.h:16 [inline] __xfrm6_daddr_saddr_hash net/xfrm/xfrm_hash.h:29 [inline] __xfrm_dst_hash net/xfrm/xfrm_hash.h:95 [inline] xfrm_dst_hash net/xfrm/xfrm_state.c:61 [inline] xfrm_state_find+0x396a/0x3f00 net/xfrm/xfrm_state.c:958 xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:2385 [inline] xfrm_tmpl_resolve+0x385/0xe00 net/xfrm/xfrm_policy.c:2430 xfrm_resolve_and_create_bundle+0x145/0x27f0 net/xfrm/xfrm_policy.c:2725 xfrm_lookup_with_ifid+0x340/0x2a90 net/xfrm/xfrm_policy.c:3048 xfrm_lookup net/xfrm/xfrm_policy.c:3172 [inline] xfrm_lookup_route+0x3b/0x1f0 net/xfrm/xfrm_policy.c:3183 ip_route_output_flow+0xad/0xc0 net/ipv4/route.c:2582 udp_sendmsg+0x24cb/0x3a40 net/ipv4/udp.c:1152 udpv6_sendmsg+0x1843/0x3570 net/ipv6/udp.c:1287 inet_sendmsg+0x1af/0x740 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:621 [inline] sock_sendmsg+0xdd/0x130 net/socket.c:631 ___sys_sendmsg+0x409/0x910 net/socket.c:2116 __sys_sendmmsg+0x246/0x730 net/socket.c:2211 __do_sys_sendmmsg net/socket.c:2240 [inline] __se_sys_sendmmsg net/socket.c:2237 [inline] __x64_sys_sendmmsg+0x9d/0x100 net/socket.c:2237 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458099 Code: 6d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffa732cdc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000458099 RDX: 0000000000000001 RSI: 0000000020000a80 RDI: 0000000000000006 RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffa732ce6d4 R13: 00000000004c4f7c R14: 00000000004d8a40 R15: 00000000ffffffff The buggy address belongs to the page: page:ffffea00010efdc0 count:0 mapcount:0 mapping:0000000000000000 index:0x0 flags: 0x1fffc0000000000() raw: 01fffc0000000000 0000000000000000 ffffffff010e0101 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888043bf7280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888043bf7300: f1 f1 f1 f1 00 00 00 f2 f2 f2 00 00 00 00 00 f2 >ffff888043bf7380: f2 f2 f2 f2 00 00 00 00 00 00 f2 f2 f2 f2 00 00 ^ ffff888043bf7400: 00 00 00 00 f2 f2 f2 f2 00 00 f8 f2 f2 f2 00 00 ffff888043bf7480: 00 00 00 00 00 00 00 f3 f3 f3 f3 f3 00 00 00 00 ==================================================================