ci2 starts bisection 2023-11-23 20:52:24.806256438 +0000 UTC m=+11769.606849042 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.40 kernel signature: d125d0f1428dc1dfafe4b5bc7d869b971238f4044aac5f2ab670601ee4516c53 all runs: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find representative crash: KASAN: stack-out-of-bounds Read in xfrm_state_find, types: [KASAN] check whether we can drop unnecessary instrumentation disabling configs for [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit c73b4619ad86a2a29fc998e950e98bcdfa2f6d8f gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e18ace11ccd7deea71d55b9d7830346e5bde3a61c13ff6ddcc643dab0ef9281b all runs: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find representative crash: KASAN: stack-out-of-bounds Read in xfrm_state_find, types: [KASAN] the bug reproduces without the instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed kconfig minimization: base=4920 full=6157 leaves diff=251 split chunks (needed=false): <251> split chunk #0 of len 251 into 5 parts testing without sub-chunk 1/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit c73b4619ad86a2a29fc998e950e98bcdfa2f6d8f gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fd5a71f8ff2f654648a7557ace8a21beeeef993dc71869dfc8bf733f1e4763b4 all runs: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find representative crash: KASAN: stack-out-of-bounds Read in xfrm_state_find, types: [KASAN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit c73b4619ad86a2a29fc998e950e98bcdfa2f6d8f gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 79a0059813824e70d409482662b25b3b0fbad9942eb50baa7c876acba294016e all runs: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find representative crash: KASAN: stack-out-of-bounds Read in xfrm_state_find, types: [KASAN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit c73b4619ad86a2a29fc998e950e98bcdfa2f6d8f gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8f97a1b6ebd24d2e5452661bd0ac6d58df80b179a3f0ab2780444579c7fbef9a all runs: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find representative crash: KASAN: stack-out-of-bounds Read in xfrm_state_find, types: [KASAN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit c73b4619ad86a2a29fc998e950e98bcdfa2f6d8f gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9fbf38fdfa1fc9de4e3360d9d27c88867a551e2516133c2910597163879ae709 all runs: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find representative crash: KASAN: stack-out-of-bounds Read in xfrm_state_find, types: [KASAN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit c73b4619ad86a2a29fc998e950e98bcdfa2f6d8f gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 failed building c73b4619ad86a2a29fc998e950e98bcdfa2f6d8f: scripts/extract-cert.c:46:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] scripts/extract-cert.c:60:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] scripts/sign-file.c:89:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] scripts/sign-file.c:103:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] net/socket.c:1172: undefined reference to `wext_handle_ioctl' net/socket.c:3366: undefined reference to `compat_wext_handle_ioctl' net/core/net-procfs.c:343: undefined reference to `wext_proc_exit' net/core/net-procfs.c:327: undefined reference to `wext_proc_init' minimized to 47 configs; suspects: [HID_ZEROPLUS USB_NET_GL620A USB_NET_MCS7830 USB_NET_NET1080 USB_NET_PLUSB USB_NET_RNDIS_HOST USB_NET_SMSC75XX USB_NET_SMSC95XX USB_NET_SR9700 USB_NET_SR9800 USB_NET_ZAURUS USB_OHCI_HCD USB_OHCI_HCD_PCI USB_OHCI_HCD_PLATFORM USB_OTG USB_OTG_FSM USB_PRINTER USB_SERIAL USB_SERIAL_FTDI_SIO USB_SERIAL_GENERIC USB_SERIAL_PL2303 USB_STORAGE_ALAUDA USB_STORAGE_CYPRESS_ATACB USB_STORAGE_DATAFAB USB_STORAGE_FREECOM USB_STORAGE_ISD200 USB_STORAGE_JUMPSHOT USB_STORAGE_KARMA USB_STORAGE_ONETOUCH USB_STORAGE_SDDR09 USB_STORAGE_SDDR55 USB_STORAGE_USBAT USB_TRANCEVIBRATOR USB_U_AUDIO USB_U_ETHER USB_U_SERIAL USB_WDM WLAN WLAN_VENDOR_ATH WLAN_VENDOR_ATMEL WLAN_VENDOR_BROADCOM WLAN_VENDOR_INTERSIL WLAN_VENDOR_MARVELL WLAN_VENDOR_MEDIATEK WLAN_VENDOR_MICROCHIP WLAN_VENDOR_RALINK WLAN_VENDOR_REALTEK WLAN_VENDOR_RSI WLAN_VENDOR_ZYDAS X86_PM_TIMER X86_X32 ZEROPLUS_FF] disabling configs for [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing current HEAD 61cfd264993d07540f60a5c53d77a14c818e54a9 testing commit 61cfd264993d07540f60a5c53d77a14c818e54a9 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: eaa50754c202d2b5dcdd33b112f203f1883c1e42a3c12e49c4bddffdb0386965 run #0: crashed: KASAN: stack-out-of-bounds Read in xfrm_state_find 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: OK representative crash: KASAN: stack-out-of-bounds Read in xfrm_state_find, types: [KASAN] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 46m9.62265407s (build: 15m57.874550647s, test: 27m59.413828126s) crash still not fixed or there were kernel test errors commit msg: Revert "ipv4/fib: send notify when delete source address routes" 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+0x4f95/0x5b20 net/xfrm/xfrm_state.c:1092 Read of size 4 at addr ffffc900001c0b88 by task syz-executor.0/341 CPU: 1 PID: 341 Comm: syz-executor.0 Not tainted 5.15.137-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/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+0x4f95/0x5b20 net/xfrm/xfrm_state.c:1092 xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:2393 [inline] xfrm_tmpl_resolve+0x271/0xb40 net/xfrm/xfrm_policy.c:2438 xfrm_resolve_and_create_bundle+0x125/0x20c0 net/xfrm/xfrm_policy.c:2731 xfrm_bundle_lookup net/xfrm/xfrm_policy.c:2966 [inline] xfrm_lookup_with_ifid+0x408/0x1c50 net/xfrm/xfrm_policy.c:3097 xfrm_lookup net/xfrm/xfrm_policy.c:3194 [inline] xfrm_lookup_route+0x1f/0x150 net/xfrm/xfrm_policy.c:3205 ip_route_output_flow+0x259/0x2d0 net/ipv4/route.c:2892 ip_route_output_ports include/net/route.h:169 [inline] igmpv3_newpack+0x2a8/0xde0 net/ipv4/igmp.c:370 add_grhead+0x235/0x320 net/ipv4/igmp.c:441 add_grec+0xbef/0xec0 net/ipv4/igmp.c:575 igmpv3_send_cr net/ipv4/igmp.c:712 [inline] igmp_ifc_timer_expire+0x46e/0xb10 net/ipv4/igmp.c:811 call_timer_fn+0x28/0x190 kernel/time/timer.c:1427 expire_timers kernel/time/timer.c:1472 [inline] __run_timers.part.0+0x45c/0x840 kernel/time/timer.c:1743 __run_timers kernel/time/timer.c:1721 [inline] run_timer_softirq+0x9c/0x180 kernel/time/timer.c:1756 __do_softirq+0x1c1/0x5c8 kernel/softirq.c:565 invoke_softirq kernel/softirq.c:425 [inline] __irq_exit_rcu kernel/softirq.c:648 [inline] irq_exit_rcu+0x64/0x110 kernel/softirq.c:660 sysvec_apic_timer_interrupt+0x9d/0xc0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:memset_erms+0x9/0x10 arch/x86/lib/memset_64.S:64 Code: c1 e9 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48 ab 89 d1 f3 aa 4c 89 c8 c3 90 49 89 f9 40 88 f0 48 89 d1 aa 4c 89 c8 c3 90 49 89 fa 40 0f b6 ce 48 b8 01 01 01 01 01 01 RSP: 0018:ffffc900005b7b08 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00000000000013c0 RDX: 0000000000008000 RSI: 0000000000000000 RDI: ffffc90000686c40 RBP: ffffc900005b7b28 R08: 0000000000000001 R09: ffffc90000680000 R10: fffff520000d0fff R11: 0000000000000000 R12: ffffc90000680000 R13: 0000000000008000 R14: 0000000000000000 R15: 1ffff920000b6f88 alloc_thread_stack_node kernel/fork.c:242 [inline] dup_task_struct kernel/fork.c:944 [inline] copy_process+0x515/0x73e0 kernel/fork.c:2094 kernel_clone+0xc1/0x950 kernel/fork.c:2662 __do_sys_clone+0xc9/0x100 kernel/fork.c:2788 __se_sys_clone kernel/fork.c:2772 [inline] __x64_sys_clone+0xb9/0x140 kernel/fork.c:2772 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f093f048993 Code: 1f 84 00 00 00 00 00 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 89 c2 85 c0 75 2c 64 48 8b 04 25 10 00 00 RSP: 002b:00007fff5454ca68 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f093f048993 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000555556bc5750 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 Memory state around the buggy address: ffffc900001c0a80: 00 00 f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 ffffc900001c0b00: 00 00 00 00 00 00 f1 f1 f1 f1 00 00 00 00 00 00 >ffffc900001c0b80: 00 f3 f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 ^ ffffc900001c0c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc900001c0c80: 00 00 00 00 00 f1 f1 f1 f1 00 f3 f3 f3 00 00 00 ================================================================== ---------------- Code disassembly (best guess): 0: c1 e9 03 shr $0x3,%ecx 3: 40 0f b6 f6 movzbl %sil,%esi 7: 48 b8 01 01 01 01 01 movabs $0x101010101010101,%rax e: 01 01 01 11: 48 0f af c6 imul %rsi,%rax 15: f3 48 ab rep stos %rax,%es:(%rdi) 18: 89 d1 mov %edx,%ecx 1a: f3 aa rep stos %al,%es:(%rdi) 1c: 4c 89 c8 mov %r9,%rax 1f: c3 ret 20: 90 nop 21: 49 89 f9 mov %rdi,%r9 24: 40 88 f0 mov %sil,%al 27: 48 89 d1 mov %rdx,%rcx * 2a: f3 aa rep stos %al,%es:(%rdi) <-- trapping instruction 2c: 4c 89 c8 mov %r9,%rax 2f: c3 ret 30: 90 nop 31: 49 89 fa mov %rdi,%r10 34: 40 0f b6 ce movzbl %sil,%ecx 38: 48 rex.W 39: b8 01 01 01 01 mov $0x1010101,%eax 3e: 01 01 add %eax,(%rcx)