================================================================== 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+0x355/0x430 net/xfrm/xfrm_hash.h:95 Read of size 4 at addr ffff8881f6f09a78 by task udevd/155 CPU: 1 PID: 155 Comm: udevd Not tainted 5.4.233-syzkaller-00011-g0108362f3305 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 print_address_description+0x8c/0x600 mm/kasan/report.c:384 __kasan_report+0xf3/0x120 mm/kasan/report.c:516 kasan_report+0x30/0x60 mm/kasan/common.c:653 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+0x355/0x430 net/xfrm/xfrm_hash.h:95 xfrm_dst_hash net/xfrm/xfrm_state.c:63 [inline] xfrm_state_find+0x2cc/0x2dc0 net/xfrm/xfrm_state.c:1063 xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:2397 [inline] xfrm_tmpl_resolve net/xfrm/xfrm_policy.c:2442 [inline] xfrm_resolve_and_create_bundle+0x60f/0x2dd0 net/xfrm/xfrm_policy.c:2736 xfrm_bundle_lookup net/xfrm/xfrm_policy.c:2960 [inline] xfrm_lookup_with_ifid+0x993/0x1ac0 net/xfrm/xfrm_policy.c:3091 xfrm_lookup net/xfrm/xfrm_policy.c:3183 [inline] xfrm_lookup_route+0x37/0x170 net/xfrm/xfrm_policy.c:3194 ip_route_output_flow+0x1fe/0x330 net/ipv4/route.c:2756 ip_route_output_ports include/net/route.h:163 [inline] igmpv3_newpack+0x425/0x1030 net/ipv4/igmp.c:371 add_grhead+0x75/0x2c0 net/ipv4/igmp.c:442 add_grec+0x12c9/0x15d0 net/ipv4/igmp.c:576 igmpv3_send_cr net/ipv4/igmp.c:713 [inline] igmp_ifc_timer_expire+0x7bc/0xea0 net/ipv4/igmp.c:811 call_timer_fn+0x36/0x390 kernel/time/timer.c:1418 expire_timers kernel/time/timer.c:1463 [inline] __run_timers+0x7c2/0xae0 kernel/time/timer.c:1787 run_timer_softirq+0x46/0x80 kernel/time/timer.c:1800 __do_softirq+0x22e/0x630 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x195/0x1c0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:538 [inline] smp_apic_timer_interrupt+0x111/0x440 arch/x86/kernel/apic/apic.c:1150 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834 The buggy address belongs to the page: page:ffffea0007dbc240 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 flags: 0x8000000000001000(reserved) raw: 8000000000001000 ffffea0007dbc248 ffffea0007dbc248 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner info is not present (never set?) Memory state around the buggy address: ffff8881f6f09900: 00 00 00 00 00 00 f3 f3 f3 f3 f3 f3 00 00 00 00 ffff8881f6f09980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8881f6f09a00: 00 00 00 00 f1 f1 f1 f1 00 00 00 00 00 00 00 f3 ^ ffff8881f6f09a80: f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 ffff8881f6f09b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================