ci2 starts bisection 2023-09-21 03:12:28.547069019 +0000 UTC m=+672880.576243112 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: bcb224e4d0f29df08c92c7104aa4a2e1f6088d9a11c73d4c83ed449056a0912b 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 [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], 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: 1dd4d6b4ebaa0fab904e8740a15a9358b57bf9224f6c83da0187311ffdf24ced 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 [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], 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 [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: 55f7835c611d023f91b32a953d975e7bb2578d3cdb7c8ae62a6d6a9465347bf4 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 [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: 99804f0843e47d0dc9b6648c85e65e75869627500c5ee46e2c1543c2447571b1 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 [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: 06a678b291633de735fdaf6231144aa5cbe861d57467f1bafab753b5eca98595 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: 20ac477e78208ffd6798eaf0070ba02df72a64870fd6b73ceec3ea54eb071c40 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 [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 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 [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing current HEAD ea586874d2f9e501ef84b7e55036fc8965397d5d testing commit ea586874d2f9e501ef84b7e55036fc8965397d5d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9e8aaa0a0c917bdbf03852e59d2926938053cae4d929a7fcba270e0860bd84eb 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: 1h1m4.044604834s (build: 27m6.462684106s, test: 29m41.819716027s) crash still not fixed or there were kernel test errors commit msg: Merge 5.15.131 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+0x4f95/0x5b20 net/xfrm/xfrm_state.c:1092 Read of size 4 at addr ffffc90000007b88 by task udevd/342 CPU: 0 PID: 342 Comm: udevd Not tainted 5.15.131-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/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: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/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:task_tgid include/linux/sched/signal.h:652 [inline] RIP: 0010:scm_send include/net/scm.h:85 [inline] RIP: 0010:netlink_sendmsg+0x22f/0xd10 net/netlink/af_netlink.c:1862 Code: 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 3c 07 00 00 <49> 8d 7e 08 45 8b 7f 04 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 RSP: 0018:ffffc900006879d8 EFLAGS: 00000246 RAX: 0000000000000007 RBX: ffffc90000687aa0 RCX: 1ffff11023c5ddce RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88811f7e7204 RBP: ffffc90000687ac8 R08: ffff888121863a80 R09: ffffc90000687a40 R10: fffff520000d0f4b R11: 0000000000000000 R12: ffff88811f133800 R13: ffffc90000687e40 R14: ffff88811f7e7200 R15: ffff88811f7e7200 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg+0xb5/0xf0 net/socket.c:724 ____sys_sendmsg+0x694/0x990 net/socket.c:2412 ___sys_sendmsg+0xfc/0x190 net/socket.c:2466 __sys_sendmsg+0xc3/0x160 net/socket.c:2495 __do_sys_sendmsg net/socket.c:2504 [inline] __se_sys_sendmsg net/socket.c:2502 [inline] __x64_sys_sendmsg+0x73/0xb0 net/socket.c:2502 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:0x7fb7a7556a4b Code: ff 89 ef 48 89 04 24 e8 22 56 f9 ff 48 8b 04 24 48 83 c4 20 5d c3 c3 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 6d 48 8b 15 ae c3 0c 00 f7 d8 64 89 02 48 83 RSP: 002b:00007fff6e0fcc28 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000556014b16de0 RCX: 00007fb7a7556a4b RDX: 0000000000000000 RSI: 00007fff6e0fcc38 RDI: 000000000000000c RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000000 R13: 00000000000000b0 R14: 0000000000000000 R15: 0000556014b072c0 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): 0: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 7: fc ff df a: 48 89 fa mov %rdi,%rdx d: 48 c1 ea 03 shr $0x3,%rdx 11: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx 15: 48 89 f8 mov %rdi,%rax 18: 83 e0 07 and $0x7,%eax 1b: 83 c0 03 add $0x3,%eax 1e: 38 d0 cmp %dl,%al 20: 7c 08 jl 0x2a 22: 84 d2 test %dl,%dl 24: 0f 85 3c 07 00 00 jne 0x766 * 2a: 49 8d 7e 08 lea 0x8(%r14),%rdi <-- trapping instruction 2e: 45 8b 7f 04 mov 0x4(%r15),%r15d 32: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 39: fc ff df 3c: 48 89 fa mov %rdi,%rdx 3f: 48 rex.W