================================================================== 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 ffff8881f6e09a78 by task kauditd/23 CPU: 0 PID: 23 Comm: kauditd Not tainted 5.4.249-syzkaller-04712-g50533a8b511b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/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+0x6aa/0x31d0 net/xfrm/xfrm_policy.c:2736 xfrm_bundle_lookup net/xfrm/xfrm_policy.c:2960 [inline] xfrm_lookup_with_ifid+0x549/0x1c90 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+0x879/0xbe0 kernel/time/timer.c:1787 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1800 __do_softirq+0x23b/0x6b7 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+0x11a/0x460 arch/x86/kernel/apic/apic.c:1149 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834 The buggy address belongs to the page: page:ffffea0007db8240 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 flags: 0x8000000000001000(reserved) raw: 8000000000001000 ffffea0007db8248 ffffea0007db8248 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: ffff8881f6e09900: 00 00 00 00 00 00 f3 f3 f3 f3 f3 f3 00 00 00 00 ffff8881f6e09980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8881f6e09a00: 00 00 00 00 f1 f1 f1 f1 00 00 00 00 00 00 00 f3 ^ ffff8881f6e09a80: f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 ffff8881f6e09b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================