ci2 starts bisection 2023-06-03 05:38:49.256949928 +0000 UTC m=+118152.903857593 bisecting fixing commit since c73b4619ad86a2a29fc998e950e98bcdfa2f6d8f building syzkaller on ab32d50881df9f96f2af301aadca62ad00b7e099 ensuring issue is reproducible on original commit c73b4619ad86a2a29fc998e950e98bcdfa2f6d8f testing commit c73b4619ad86a2a29fc998e950e98bcdfa2f6d8f gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 93d867650248385a13723272c5dc6f220cf3d862b26254df9dbc5bdc0201e261 run #0: infra problem: failed to create instance: googleapi: Error 503: Internal error. Please try again or contact Google Support. (Code: '5FD332E940F25.365BE97.CE026484'), backendError run #1: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find run #2: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find run #3: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find run #4: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find run #5: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find run #6: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find run #7: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find run #8: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find run #9: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find run #10: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find run #11: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find run #12: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find run #13: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find run #14: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find run #15: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find run #16: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find run #17: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find run #18: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find run #19: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find testing current HEAD 19c0ed55a470d1cd766484abab04871b648560fb testing commit 19c0ed55a470d1cd766484abab04871b648560fb gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 73c9cd995c047c014e5a212da53a7cde65e5cd1bc9c6efdce45d9ec9f0e736cc all runs: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find crash still not fixed/happens on the oldest tested release revisions tested: 2, total time: 16m3.605802089s (build: 9m48.198389287s, test: 5m44.153160546s) crash still not fixed on HEAD or HEAD had kernel test errors commit msg: Merge 5.15.106 into android13-5.15-lts crash: KASAN: stack-out-of-bounds Read in xfrm_state_find ================================================================== 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 net/xfrm/xfrm_hash.h:95 [inline] BUG: KASAN: stack-out-of-bounds in xfrm_dst_hash net/xfrm/xfrm_state.c:63 [inline] BUG: KASAN: stack-out-of-bounds in xfrm_state_find+0x445a/0x5930 net/xfrm/xfrm_state.c:1092 Read of size 4 at addr ffffc900001d0b90 by task kauditd/30 CPU: 1 PID: 30 Comm: kauditd Not tainted 5.15.106-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x38/0x49 lib/dump_stack.c:106 print_address_description.constprop.0+0x24/0x160 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:427 [inline] kasan_report.cold+0x82/0xdb 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 net/xfrm/xfrm_hash.h:95 [inline] xfrm_dst_hash net/xfrm/xfrm_state.c:63 [inline] xfrm_state_find+0x445a/0x5930 net/xfrm/xfrm_state.c:1092 xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:2393 [inline] xfrm_tmpl_resolve+0x271/0xbb0 net/xfrm/xfrm_policy.c:2438 xfrm_resolve_and_create_bundle+0x125/0x21b0 net/xfrm/xfrm_policy.c:2731 xfrm_bundle_lookup net/xfrm/xfrm_policy.c:2966 [inline] xfrm_lookup_with_ifid+0x413/0x1a30 net/xfrm/xfrm_policy.c:3097 xfrm_lookup net/xfrm/xfrm_policy.c:3194 [inline] xfrm_lookup_route+0x21/0x170 net/xfrm/xfrm_policy.c:3205 ip_route_output_flow+0x259/0x2d0 net/ipv4/route.c:2889 ip_route_output_ports include/net/route.h:169 [inline] igmpv3_newpack+0x297/0xdd0 net/ipv4/igmp.c:369 add_grhead+0x235/0x320 net/ipv4/igmp.c:440 add_grec+0xbef/0xec0 net/ipv4/igmp.c:574 igmpv3_send_cr net/ipv4/igmp.c:711 [inline] igmp_ifc_timer_expire+0x46e/0xb10 net/ipv4/igmp.c:810 call_timer_fn+0x28/0x1c0 kernel/time/timer.c:1427 expire_timers kernel/time/timer.c:1472 [inline] __run_timers.part.0+0x559/0x930 kernel/time/timer.c:1743 __run_timers kernel/time/timer.c:1721 [inline] run_timer_softirq+0xa2/0x1a0 kernel/time/timer.c:1756 __do_softirq+0x1cb/0x66f kernel/softirq.c:565 invoke_softirq kernel/softirq.c:425 [inline] __irq_exit_rcu kernel/softirq.c:647 [inline] irq_exit_rcu+0x64/0x110 kernel/softirq.c:659 sysvec_apic_timer_interrupt+0x9d/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:console_unlock+0x435/0x810 kernel/printk/printk.c:2652 Code: 00 00 80 e7 02 74 01 fb 48 8b 3d c6 40 6f 04 31 d2 4c 89 e6 e8 7c 6f 00 00 84 c0 74 0d e8 03 d2 ff ff 85 c0 0f 85 91 fc ff ff <48> b8 00 00 00 00 00 fc ff df 48 03 85 90 fe ff ff 48 c7 00 00 00 RSP: 0018:ffffc900001ffad0 EFLAGS: 00000206 RAX: 0000000080000001 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000002 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffffc900001ffc40 R08: 0000000000000001 R09: 0000000000000003 R10: fffff5200003ff4d R11: 74203a7469647561 R12: 0000000000000200 R13: ffffc900001ffb38 R14: dffffc0000000000 R15: ffffc900001ffc18 vprintk_emit+0xc6/0x1c0 kernel/printk/printk.c:2288 vprintk_default+0x18/0x20 kernel/printk/printk.c:2299 vprintk+0x49/0x60 kernel/printk/printk_safe.c:50 _printk+0xad/0xde kernel/printk/printk.c:2309 kauditd_printk_skb kernel/audit.c:538 [inline] kauditd_hold_skb.cold+0x3a/0x49 kernel/audit.c:573 kauditd_send_queue+0x149/0x1a0 kernel/audit.c:758 kauditd_thread+0x47f/0x5a0 kernel/audit.c:882 kthread+0x35d/0x430 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Memory state around the buggy address: ffffc900001d0a80: 00 00 00 f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 ffffc900001d0b00: 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 00 00 00 >ffffc900001d0b80: 00 00 f3 f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 ^ ffffc900001d0c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc900001d0c80: 00 00 00 00 00 00 f1 f1 f1 f1 00 f3 f3 f3 00 00 ================================================================== ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 80 e7 02 and $0x2,%bh 5: 74 01 je 0x8 7: fb sti 8: 48 8b 3d c6 40 6f 04 mov 0x46f40c6(%rip),%rdi # 0x46f40d5 f: 31 d2 xor %edx,%edx 11: 4c 89 e6 mov %r12,%rsi 14: e8 7c 6f 00 00 callq 0x6f95 19: 84 c0 test %al,%al 1b: 74 0d je 0x2a 1d: e8 03 d2 ff ff callq 0xffffd225 22: 85 c0 test %eax,%eax 24: 0f 85 91 fc ff ff jne 0xfffffcbb * 2a: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax <-- trapping instruction 31: fc ff df 34: 48 03 85 90 fe ff ff add -0x170(%rbp),%rax 3b: 48 rex.W 3c: c7 .byte 0xc7 3d: 00 00 add %al,(%rax)