ci2 starts bisection 2024-05-26 10:48:27.54642486 +0000 UTC m=+148316.407392785 bisecting fixing commit since 05ef4ccb57746f921003b9340fc2f0532c177f41 building syzkaller on 3222d10cbe77bbedb5a7c455e5bcb6b7081a63b7 ensuring issue is reproducible on original commit 05ef4ccb57746f921003b9340fc2f0532c177f41 testing commit 05ef4ccb57746f921003b9340fc2f0532c177f41 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e6501d623b605ea54ddae0566de63d89f4b0e1e639f2e0154a017a55609896e2 all runs: crashed: UBSAN: shift-out-of-bounds in adjust_reg_min_max_vals representative crash: UBSAN: shift-out-of-bounds in adjust_reg_min_max_vals, types: [UBSAN] check whether we can drop unnecessary instrumentation disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 05ef4ccb57746f921003b9340fc2f0532c177f41 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: af9008d238de158c6c6eced4019a43fb03e78c17d6bc1d9ee26375133e17c72d all runs: crashed: UBSAN: shift-out-of-bounds in adjust_reg_min_max_vals representative crash: UBSAN: shift-out-of-bounds in adjust_reg_min_max_vals, types: [UBSAN] the bug reproduces without the instrumentation disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK BUG KASAN], they are not needed kconfig minimization: base=4920 full=6161 leaves diff=241 split chunks (needed=false): <241> split chunk #0 of len 241 into 5 parts testing without sub-chunk 1/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK BUG], they are not needed testing commit 05ef4ccb57746f921003b9340fc2f0532c177f41 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d8b91a2f538260ce11c1454cb0f897763b812172a0e80f7726169749f56a3fa9 all runs: crashed: UBSAN: shift-out-of-bounds in adjust_reg_min_max_vals representative crash: UBSAN: shift-out-of-bounds in adjust_reg_min_max_vals, types: [UBSAN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 05ef4ccb57746f921003b9340fc2f0532c177f41 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c6a4f9adf89f4b094737a149fd94b16cb243d29c8d51c1a3055dd95e220d68f9 all runs: crashed: UBSAN: shift-out-of-bounds in adjust_reg_min_max_vals representative crash: UBSAN: shift-out-of-bounds in adjust_reg_min_max_vals, types: [UBSAN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK BUG KASAN], they are not needed testing commit 05ef4ccb57746f921003b9340fc2f0532c177f41 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6f257575bc1f1e33b8afcd789c3b5e3cc20abb68a3edabc56983290aab8c00ea all runs: crashed: UBSAN: shift-out-of-bounds in adjust_reg_min_max_vals representative crash: UBSAN: shift-out-of-bounds in adjust_reg_min_max_vals, types: [UBSAN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [HANG LEAK BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 05ef4ccb57746f921003b9340fc2f0532c177f41 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 19204c2dc15b33aaa822e2a72b79a502027da2a57ff01252e6cf0077bf767c89 all runs: crashed: UBSAN: shift-out-of-bounds in adjust_reg_min_max_vals representative crash: UBSAN: shift-out-of-bounds in adjust_reg_min_max_vals, types: [UBSAN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 05ef4ccb57746f921003b9340fc2f0532c177f41 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 failed building 05ef4ccb57746f921003b9340fc2f0532c177f41: net/socket.c:1189: undefined reference to `wext_handle_ioctl' net/socket.c:3383: 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 45 configs; suspects: [HID_ZEROPLUS 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_X32 ZEROPLUS_FF] disabling configs for [HANG LEAK BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing current HEAD 424f92bcbe8fa613ada7aec5ebe4ef434d5e50e4 testing commit 424f92bcbe8fa613ada7aec5ebe4ef434d5e50e4 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: feff4bf4a48009b91316a566e2362581a1e729f1f75b9af24f7f79c48f29fbe5 all runs: crashed: UBSAN: shift-out-of-bounds in adjust_reg_min_max_vals representative crash: UBSAN: shift-out-of-bounds in adjust_reg_min_max_vals, types: [UBSAN] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 1h19m28.257553772s (build: 55m59.897579624s, test: 21m31.866747818s) crash still not fixed or there were kernel test errors commit msg: Merge branch 'android13-5.15' into branch 'android13-5.15-lts' crash: UBSAN: shift-out-of-bounds in adjust_reg_min_max_vals ================================================================================ UBSAN: shift-out-of-bounds in kernel/bpf/verifier.c:7989:63 shift exponent 1073741824 is too large for 32-bit type 'int' CPU: 1 PID: 348 Comm: syz-executor.0 Not tainted 5.15.149-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x38/0x49 lib/dump_stack.c:106 dump_stack+0x10/0x12 lib/dump_stack.c:113 ubsan_epilogue+0x9/0x32 lib/ubsan.c:151 __ubsan_handle_shift_out_of_bounds.cold+0x6a/0x108 lib/ubsan.c:321 scalar32_min_max_arsh kernel/bpf/verifier.c:7989 [inline] adjust_scalar_min_max_vals kernel/bpf/verifier.c:8177 [inline] adjust_reg_min_max_vals.cold+0x109/0x150 kernel/bpf/verifier.c:8278 check_alu_op+0x246/0x780 kernel/bpf/verifier.c:8449 do_check kernel/bpf/verifier.c:11193 [inline] do_check_common+0x1182/0x4410 kernel/bpf/verifier.c:13408 do_check_main kernel/bpf/verifier.c:13471 [inline] bpf_check+0x2250/0x3520 kernel/bpf/verifier.c:14042 bpf_prog_load+0x483/0x9e0 kernel/bpf/syscall.c:2333 __sys_bpf+0x706/0x2550 kernel/bpf/syscall.c:4633 __do_sys_bpf kernel/bpf/syscall.c:4737 [inline] __se_sys_bpf kernel/bpf/syscall.c:4735 [inline] __x64_sys_bpf+0x17/0x20 kernel/bpf/syscall.c:4735 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:0x7fe6d133fba9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe6d0ec20c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fe6d145ef80 RCX: 00007fe6d133fba9 RDX: 0000000000000048 RSI: 00000000200054c0 RDI: 0000000000000005 RBP: 00007fe6d138b47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fe6d145ef80 R15: 00007ffde94c3e98 ================================================================================ ================================================================================ UBSAN: shift-out-of-bounds in kernel/bpf/verifier.c:7990:63 shift exponent 1073741824 is too large for 32-bit type 'int' CPU: 1 PID: 348 Comm: syz-executor.0 Not tainted 5.15.149-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x38/0x49 lib/dump_stack.c:106 dump_stack+0x10/0x12 lib/dump_stack.c:113 ubsan_epilogue+0x9/0x32 lib/ubsan.c:151 __ubsan_handle_shift_out_of_bounds.cold+0x6a/0x108 lib/ubsan.c:321 scalar32_min_max_arsh kernel/bpf/verifier.c:7990 [inline] adjust_scalar_min_max_vals kernel/bpf/verifier.c:8177 [inline] adjust_reg_min_max_vals.cold+0x125/0x150 kernel/bpf/verifier.c:8278 check_alu_op+0x246/0x780 kernel/bpf/verifier.c:8449 do_check kernel/bpf/verifier.c:11193 [inline] do_check_common+0x1182/0x4410 kernel/bpf/verifier.c:13408 do_check_main kernel/bpf/verifier.c:13471 [inline] bpf_check+0x2250/0x3520 kernel/bpf/verifier.c:14042 bpf_prog_load+0x483/0x9e0 kernel/bpf/syscall.c:2333 __sys_bpf+0x706/0x2550 kernel/bpf/syscall.c:4633 __do_sys_bpf kernel/bpf/syscall.c:4737 [inline] __se_sys_bpf kernel/bpf/syscall.c:4735 [inline] __x64_sys_bpf+0x17/0x20 kernel/bpf/syscall.c:4735 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:0x7fe6d133fba9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe6d0ec20c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fe6d145ef80 RCX: 00007fe6d133fba9 RDX: 0000000000000048 RSI: 00000000200054c0 RDI: 0000000000000005 RBP: 00007fe6d138b47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fe6d145ef80 R15: 00007ffde94c3e98 ================================================================================