================================================================== BUG: KASAN: stack-out-of-bounds in jhash2 include/linux/jhash.h:138 [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+0x399/0x480 net/xfrm/xfrm_hash.h:95 Read of size 4 at addr ffffc90000007ad8 by task syz-executor.0/417 CPU: 0 PID: 417 Comm: syz-executor.0 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 print_address_description+0x7f/0x2c0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:427 [inline] kasan_report+0xf1/0x140 mm/kasan/report.c:444 __asan_report_load4_noabort+0x14/0x20 mm/kasan/report_generic.c:308 jhash2 include/linux/jhash.h:138 [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+0x399/0x480 net/xfrm/xfrm_hash.h:95 xfrm_dst_hash net/xfrm/xfrm_state.c:63 [inline] xfrm_state_find+0x27e/0x2a70 net/xfrm/xfrm_state.c:1092 xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:2396 [inline] xfrm_tmpl_resolve net/xfrm/xfrm_policy.c:2441 [inline] xfrm_resolve_and_create_bundle+0x626/0x28d0 net/xfrm/xfrm_policy.c:2734 xfrm_bundle_lookup net/xfrm/xfrm_policy.c:2969 [inline] xfrm_lookup_with_ifid+0x6fd/0x2120 net/xfrm/xfrm_policy.c:3100 xfrm_lookup net/xfrm/xfrm_policy.c:3197 [inline] xfrm_lookup_route+0x3c/0x170 net/xfrm/xfrm_policy.c:3208 ip_route_output_flow+0x1d2/0x2d0 net/ipv4/route.c:2900 ip_route_output_ports include/net/route.h:169 [inline] igmpv3_newpack+0x263/0xca0 net/ipv4/igmp.c:372 add_grhead+0x75/0x2e0 net/ipv4/igmp.c:443 add_grec+0x116c/0x1410 net/ipv4/igmp.c:577 igmpv3_send_cr net/ipv4/igmp.c:714 [inline] igmp_ifc_timer_expire+0x89e/0xf80 net/ipv4/igmp.c:813 call_timer_fn+0x38/0x290 kernel/time/timer.c:1457 expire_timers kernel/time/timer.c:1502 [inline] __run_timers+0x639/0x9a0 kernel/time/timer.c:1773 run_timer_softirq+0x6a/0xf0 kernel/time/timer.c:1786 handle_softirqs+0x250/0x560 kernel/softirq.c:583 __do_softirq kernel/softirq.c:621 [inline] invoke_softirq kernel/softirq.c:443 [inline] __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:670 irq_exit_rcu+0x9/0x10 kernel/softirq.c:682 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:stack_not_used include/linux/sched/task_stack.h:107 [inline] RIP: 0010:check_stack_usage kernel/exit.c:763 [inline] RIP: 0010:do_exit+0x1aff/0x27a0 kernel/exit.c:924 Code: c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 59 1a 69 00 4c 8b 33 bb 08 00 00 00 49 8d 3c 1e 48 89 f8 48 c1 e8 03 42 80 3c 38 00 <74> 05 e8 3a 1a 69 00 49 83 3c 1e 00 75 0b e8 8e 9b 2a 00 48 83 c3 RSP: 0018:ffffc90000d7fd40 EFLAGS: 00000246 RAX: 1ffff920001af8b4 RBX: 00000000000045a0 RCX: ffff8881105f13c0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc90000d7c5a0 RBP: ffffc90000d7fe90 R08: 0000000000000004 R09: 0000000000000003 R10: fffff520001aff98 R11: 1ffff920001aff98 R12: ffff8881105f1bf8 R13: 1ffff110220be325 R14: ffffc90000d78000 R15: dffffc0000000000 do_group_exit+0x141/0x310 kernel/exit.c:1003 __do_sys_exit_group kernel/exit.c:1014 [inline] __se_sys_exit_group kernel/exit.c:1012 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1012 x64_sys_call+0x832/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f35c5b90859 Code: Unable to access opcode bytes at RIP 0x7f35c5b9082f. RSP: 002b:00007ffceff88cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007f35c5b90859 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 00007f35c5caff8c R09: 0000000000000000 R10: 0000001b30760000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 Memory state around the buggy address: ffffc90000007980: 00 00 f3 f3 f3 f3 f3 f3 00 00 00 00 00 00 00 00 ffffc90000007a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc90000007a80: f1 f1 f1 f1 00 00 00 00 00 00 00 f3 f3 f3 f3 f3 ^ ffffc90000007b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc90000007b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== ---------------- Code disassembly (best guess): 0: c1 e8 03 shr $0x3,%eax 3: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) 8: 74 08 je 0x12 a: 48 89 df mov %rbx,%rdi d: e8 59 1a 69 00 call 0x691a6b 12: 4c 8b 33 mov (%rbx),%r14 15: bb 08 00 00 00 mov $0x8,%ebx 1a: 49 8d 3c 1e lea (%r14,%rbx,1),%rdi 1e: 48 89 f8 mov %rdi,%rax 21: 48 c1 e8 03 shr $0x3,%rax 25: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) * 2a: 74 05 je 0x31 <-- trapping instruction 2c: e8 3a 1a 69 00 call 0x691a6b 31: 49 83 3c 1e 00 cmpq $0x0,(%r14,%rbx,1) 36: 75 0b jne 0x43 38: e8 8e 9b 2a 00 call 0x2a9bcb 3d: 48 rex.W 3e: 83 .byte 0x83 3f: c3 ret