ci2 starts bisection 2024-04-30 07:44:12.340858105 +0000 UTC m=+42896.170183501 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: 11777649e687e9dbfbe333425226a393e540c28dba6cb3aee0f92d38c48de17b 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 [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 kernel signature: 8f8c12b2ece2a2ab9682e2b794723f1328d4db4f101dbde87df86e2c8fb434bc 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 [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], 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: 895c795e0ebd9b26a12956b8a8c1cf0984100d21eab868c98cf8658acdfe1d6a 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 [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], 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: 1fa2efea3f277cf6cd6706cdbe3e2c19807bf57946fac854d1ca3c018ee5d47a 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 [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], 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: dbd131fa6e91cf35f45274add62d99f40548dbaf36ed5d0a32ef249a3a41dc82 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 [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: 4245242ac3e39dcdac22a25caad8b75a857a2964cc91ca556c8a90804031113a 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 [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], 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 [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed testing current HEAD 5d96939590c0122be2138255c921e57e3f78b7bd testing commit 5d96939590c0122be2138255c921e57e3f78b7bd gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f20e55f3db4d9e1aa80deb36e7ee251c952d94158676dfe886a87a98412b5beb 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] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 1h6m57.374956834s (build: 33m11.102534616s, test: 31m41.876766278s) crash still not fixed or there were kernel test errors commit msg: Revert "hrtimer: Report offline hrtimer enqueue" 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 ffffc90000007b88 by task syz-executor.0/341 CPU: 0 PID: 341 Comm: syz-executor.0 Not tainted 5.15.149-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 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:372 add_grhead+0x235/0x320 net/ipv4/igmp.c:443 add_grec+0xbef/0xec0 net/ipv4/igmp.c:577 igmpv3_send_cr net/ipv4/igmp.c:714 [inline] igmp_ifc_timer_expire+0x46e/0xb10 net/ipv4/igmp.c:813 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:__unwind_start+0x0/0x3b0 arch/x86/kernel/unwind_frame.c:365 Code: 17 31 c0 85 d2 74 05 e8 7e f8 ff ff c9 c3 48 89 7d f8 e8 c3 20 6a 00 48 8b 7d f8 eb e2 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 <55> 48 89 e5 41 57 49 89 ff 41 56 41 55 49 89 f5 31 f6 41 54 49 89 RSP: 0018:ffffc90000667600 EFLAGS: 00000246 RAX: ffff888122e13a80 RBX: ffffffff814ed940 RCX: ffffc90000667690 RDX: 0000000000000000 RSI: ffff888122e13a80 RDI: ffffc90000667608 RBP: ffffc90000667690 R08: 0000000000000080 R09: ffffed10220335d8 R10: ffffc90000000000 R11: ffffe8ffffffffff R12: ffffc900006676c0 R13: 0000000000000000 R14: ffff888122e13a80 R15: ffff88811019ae80 stack_trace_save+0x8f/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x26/0x50 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:433 [inline] ____kasan_kmalloc mm/kasan/common.c:512 [inline] ____kasan_kmalloc mm/kasan/common.c:471 [inline] __kasan_kmalloc+0xae/0xe0 mm/kasan/common.c:521 kasan_kmalloc include/linux/kasan.h:227 [inline] kmem_cache_alloc_trace+0xbb/0x490 mm/slub.c:3267 kmem_cache_alloc_node_trace include/linux/slab.h:491 [inline] kmalloc_node include/linux/slab.h:621 [inline] kzalloc_node include/linux/slab.h:744 [inline] __get_vm_area_node.constprop.0.isra.0+0x9d/0x360 mm/vmalloc.c:2432 __vmalloc_node_range+0x114/0x9e0 mm/vmalloc.c:3051 __vmalloc_node mm/vmalloc.c:3151 [inline] vzalloc+0x66/0x80 mm/vmalloc.c:3221 do_ip6t_get_ctl+0x503/0x8a0 net/ipv6/netfilter/ip6_tables.c:817 nf_getsockopt+0x5f/0xc0 net/netfilter/nf_sockopt.c:116 ipv6_getsockopt+0x156/0x1a0 net/ipv6/ipv6_sockglue.c:1489 tcp_getsockopt+0x6a/0xc0 net/ipv4/tcp.c:4298 sock_common_getsockopt+0x72/0xf0 net/core/sock.c:3421 __sys_getsockopt+0x1da/0x6d0 net/socket.c:2242 __do_sys_getsockopt net/socket.c:2257 [inline] __se_sys_getsockopt net/socket.c:2254 [inline] __x64_sys_getsockopt+0xb9/0x140 net/socket.c:2254 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:0x7efebc4f63fa Code: c4 c1 e0 1a 0d 00 00 04 00 89 01 e9 e0 fe ff ff e8 3b 05 00 00 66 2e 0f 1f 84 00 00 00 00 00 90 49 89 ca b8 37 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 b0 ff ff ff f7 RSP: 002b:00007ffe5b9a9878 EFLAGS: 00000212 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007ffe5b9a9900 RCX: 00007efebc4f63fa RDX: 0000000000000041 RSI: 0000000000000029 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00007ffe5b9a989c R09: 0079746972756365 R10: 00007ffe5b9a9900 R11: 0000000000000212 R12: 00007efebc5edb40 R13: 00007ffe5b9a989c R14: 0000000000000000 R15: 00007efebc5efd00 Memory state around the buggy address: ffffc90000007a80: 00 00 f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 ffffc90000007b00: 00 00 00 00 00 00 f1 f1 f1 f1 00 00 00 00 00 00 >ffffc90000007b80: 00 f3 f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 ^ ffffc90000007c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc90000007c80: 00 00 00 00 00 f1 f1 f1 f1 00 f3 f3 f3 00 00 00 ================================================================== ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 31 c0 xor %eax,%eax 2: 85 d2 test %edx,%edx 4: 74 05 je 0xb 6: e8 7e f8 ff ff call 0xfffff889 b: c9 leave c: c3 ret d: 48 89 7d f8 mov %rdi,-0x8(%rbp) 11: e8 c3 20 6a 00 call 0x6a20d9 16: 48 8b 7d f8 mov -0x8(%rbp),%rdi 1a: eb e2 jmp 0xfffffffe 1c: 66 66 2e 0f 1f 84 00 data16 cs nopw 0x0(%rax,%rax,1) 23: 00 00 00 00 27: 66 90 xchg %ax,%ax * 29: 55 push %rbp <-- trapping instruction 2a: 48 89 e5 mov %rsp,%rbp 2d: 41 57 push %r15 2f: 49 89 ff mov %rdi,%r15 32: 41 56 push %r14 34: 41 55 push %r13 36: 49 89 f5 mov %rsi,%r13 39: 31 f6 xor %esi,%esi 3b: 41 54 push %r12 3d: 49 rex.WB 3e: 89 .byte 0x89