ci2 starts bisection 2024-04-08 22:11:52.423058806 +0000 UTC m=+34934.454098566 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: 428452056dc5efb166412629076450931034603293a7446c40448e1a3a148dc9 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 [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: 4f0b686b61a788e29b542cbe62e7e8515729e3e42fba62dab3eac6dac83f50d6 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 [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK BUG], 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 [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: 7052bd021150d835b9cb28d2cceb6696b9bea9b42933fc04e96af4343d55b4c8 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: 6b47a01261dbb959723d0e2b760e54015f21593dd643feaf142b649c5e7e52e3 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 [LEAK BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], 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: 8914ba4c2f945a714f24dde4ec87c31c36b9502093a1d33b58efa09767f281d7 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 [LEAK BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], 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: cca77b2852c59a5c6bef4c88349258c0e106424b4f5d9c63c15d644ca82ebdce 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 [ATOMIC_SLEEP HANG LEAK BUG KASAN LOCKDEP], 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: 5f1f18c10b02633e37ba078472e5d29af481d97c68a149b7bff81a08192aa2b0 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: 1h6m29.325090639s (build: 26m21.345793548s, test: 38m3.869507458s) 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: 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: 355 Comm: syz-executor.0 Not tainted 5.15.148-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 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:2327 __sys_bpf+0x706/0x2550 kernel/bpf/syscall.c:4627 __do_sys_bpf kernel/bpf/syscall.c:4731 [inline] __se_sys_bpf kernel/bpf/syscall.c:4729 [inline] __x64_sys_bpf+0x17/0x20 kernel/bpf/syscall.c:4729 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:0x7f90c1ef5ba9 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:00007f90c1a780c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f90c2014f80 RCX: 00007f90c1ef5ba9 RDX: 0000000000000048 RSI: 00000000200054c0 RDI: 0000000000000005 RBP: 00007f90c1f4147a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f90c2014f80 R15: 00007ffea1711228 ================================================================================ ================================================================================ 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: 355 Comm: syz-executor.0 Not tainted 5.15.148-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 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:2327 __sys_bpf+0x706/0x2550 kernel/bpf/syscall.c:4627 __do_sys_bpf kernel/bpf/syscall.c:4731 [inline] __se_sys_bpf kernel/bpf/syscall.c:4729 [inline] __x64_sys_bpf+0x17/0x20 kernel/bpf/syscall.c:4729 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:0x7f90c1ef5ba9 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:00007f90c1a780c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f90c2014f80 RCX: 00007f90c1ef5ba9 RDX: 0000000000000048 RSI: 00000000200054c0 RDI: 0000000000000005 RBP: 00007f90c1f4147a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f90c2014f80 R15: 00007ffea1711228 ================================================================================