ci2 starts bisection 2024-02-28 11:00:46.561738741 +0000 UTC m=+59434.967405958 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: 23aecfcffab7a00aa3419d8c34933fc8d9e862be7debbe9da1b6f4b672deacba 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 [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: c16609efd363c30ca0765b829d5f454a4755dee4bbf57b15b23b3bad69396a88 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 [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: ff5a40bd8b62f7b9fe80c3c4b3d29f449111ad3a0db3c7c5b1dd7595d3a6d0a6 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: eaf928f300ed245511933caa65c7cca55a0c31af455d6fc62efc9879049b7c67 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: 02f12f1e91bdf3b26aa929144061eb54543bf9901378cd1b93aab9d1fcd67050 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 [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: beb00f3553d0f19bffe6e1f81dbeb0c324ea04c315cad8286a19aa1f8b1c4957 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 [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing current HEAD 993bed180178156a70afdafe8aaf23a117107352 testing commit 993bed180178156a70afdafe8aaf23a117107352 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 78c12256659035966c183ed4d7436f66be747d9aeab700cbc0be123e3a3d7ecf 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: OK run #7: OK run #8: OK 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: 46m26.465096515s (build: 14m58.101115904s, test: 29m32.800745701s) crash still not fixed or there were kernel test errors commit msg: Merge "Merge branch 'android13-5.15' into branch 'android13-5.15-lts'" 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 ffffc900001c0b88 by task udevd/346 CPU: 1 PID: 346 Comm: udevd Not tainted 5.15.148-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/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:call_rcu+0x35f/0x1420 kernel/rcu/tree.c:3086 Code: f0 00 00 00 a8 02 0f 84 2e 02 00 00 e8 aa cc fe ff 84 c0 0f 84 38 02 00 00 48 f7 85 18 ff ff ff 00 02 00 00 0f 85 a6 00 00 00 <48> b8 00 00 00 00 00 fc ff df 48 03 85 20 ff ff ff 48 c7 00 00 00 RSP: 0018:ffffc900006b7d08 EFLAGS: 00000287 RAX: 0000000000002710 RBX: 00000000000000a9 RCX: ffffffff814d971c RDX: 1ffff1103eea701f RSI: 0000000000000008 RDI: ffff8881f75380c8 RBP: ffffc900006b7e10 R08: ffff8881f75380f8 R09: ffff8881f75380cf R10: ffffed103eea7019 R11: ffff8881f7538020 R12: ffff88810f2d2480 R13: ffff8881f7538000 R14: ffff8881f7538080 R15: ffff8881f75380c8 file_free fs/file_table.c:58 [inline] __fput+0x46b/0x960 fs/file_table.c:293 ____fput+0x9/0x10 fs/file_table.c:308 task_work_run+0xc2/0x150 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x140/0x150 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x21/0x40 kernel/entry/common.c:301 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f10afdeb0a8 Code: 48 8b 05 83 9d 0d 00 64 c7 00 16 00 00 00 83 c8 ff 48 83 c4 20 5b c3 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 5b 48 8b 15 51 9d 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffd8c1f28f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 00007f10afcbfae0 RCX: 00007f10afdeb0a8 RDX: 00005594ef68bfa2 RSI: 00007ffd8c1f20f8 RDI: 0000000000000008 RBP: 00005591b67382e0 R08: 0000000000000005 R09: 7c9a59d2077773a0 R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000002 R13: 00005591b671f990 R14: 0000000000000008 R15: 00005591b67012c0 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), 2 bytes skipped: 0: 00 00 add %al,(%rax) 2: a8 02 test $0x2,%al 4: 0f 84 2e 02 00 00 je 0x238 a: e8 aa cc fe ff call 0xfffeccb9 f: 84 c0 test %al,%al 11: 0f 84 38 02 00 00 je 0x24f 17: 48 f7 85 18 ff ff ff testq $0x200,-0xe8(%rbp) 1e: 00 02 00 00 22: 0f 85 a6 00 00 00 jne 0xce * 28: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax <-- trapping instruction 2f: fc ff df 32: 48 03 85 20 ff ff ff add -0xe0(%rbp),%rax 39: 48 rex.W 3a: c7 .byte 0xc7 3b: 00 00 add %al,(%rax)