ci2 starts bisection 2024-10-25 05:22:46.110235185 +0000 UTC m=+25909.054533720 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: 24b6c9bdeb6aeb274d65efd0f597b03b066e5fdc4158eacf9dfe8f647a360ecc 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 [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: 98a1d6b9e1090b479ed0cf5b8ef8c694e566c3f66513c151a8361d8ce6ef87fd 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: e72350cca28bcdbdd419e8bf110a8f51b2e2e90cc452a4ff1ee0fe22a79fe708 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 [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: caf8d48b43f9ce85f514ea18abb96c806315e95fed81d7336511ed91f0c70b7d 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 [ATOMIC_SLEEP HANG LEAK BUG KASAN LOCKDEP], 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: 11257976d1db1174bdd96a332a45c628786133006baa49d617ee5d9649f54190 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 [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: 265e218aa441af04b57956d80cc80a6a0df247d29c2ea315a79ca16d99652397 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 [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 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 [LOCKDEP ATOMIC_SLEEP HANG LEAK BUG KASAN], they are not needed testing current HEAD 5e4635681cf1a50f26f88af7a946375ec6908d58 testing commit 5e4635681cf1a50f26f88af7a946375ec6908d58 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6768c069ea5c91436d55fbbab760af985e436def09e78e5e5fcc57cb02d712b4 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: 1h13m33.852948003s (build: 34m25.142104553s, test: 34m12.161600908s) crash still not fixed or there were kernel test errors commit msg: Revert "perf/aux: Fix AUX buffer serialization" crash: UBSAN: shift-out-of-bounds in adjust_reg_min_max_vals ================================================================================ UBSAN: shift-out-of-bounds in kernel/bpf/verifier.c:8028:63 shift exponent 1073741824 is too large for 32-bit type 'int' CPU: 1 PID: 364 Comm: syz-executor.0 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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:8028 [inline] adjust_scalar_min_max_vals kernel/bpf/verifier.c:8216 [inline] adjust_reg_min_max_vals.cold+0x109/0x150 kernel/bpf/verifier.c:8317 check_alu_op+0x246/0x780 kernel/bpf/verifier.c:8488 do_check kernel/bpf/verifier.c:11236 [inline] do_check_common+0x1182/0x4410 kernel/bpf/verifier.c:13454 do_check_main kernel/bpf/verifier.c:13517 [inline] bpf_check+0x224c/0x3510 kernel/bpf/verifier.c:14088 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 x64_sys_call+0x12b/0x990 arch/x86/include/generated/asm/syscalls_64.h:322 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x33/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f6e53069ba9 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:00007f6e52bec0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f6e53188f80 RCX: 00007f6e53069ba9 RDX: 0000000000000048 RSI: 00000000200054c0 RDI: 0000000000000005 RBP: 00007f6e530b547a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f6e53188f80 R15: 00007ffcacad2658 ================================================================================ ================================================================================ UBSAN: shift-out-of-bounds in kernel/bpf/verifier.c:8029:63 shift exponent 1073741824 is too large for 32-bit type 'int' CPU: 1 PID: 364 Comm: syz-executor.0 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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:8029 [inline] adjust_scalar_min_max_vals kernel/bpf/verifier.c:8216 [inline] adjust_reg_min_max_vals.cold+0x125/0x150 kernel/bpf/verifier.c:8317 check_alu_op+0x246/0x780 kernel/bpf/verifier.c:8488 do_check kernel/bpf/verifier.c:11236 [inline] do_check_common+0x1182/0x4410 kernel/bpf/verifier.c:13454 do_check_main kernel/bpf/verifier.c:13517 [inline] bpf_check+0x224c/0x3510 kernel/bpf/verifier.c:14088 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 x64_sys_call+0x12b/0x990 arch/x86/include/generated/asm/syscalls_64.h:322 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x33/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f6e53069ba9 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:00007f6e52bec0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f6e53188f80 RCX: 00007f6e53069ba9 RDX: 0000000000000048 RSI: 00000000200054c0 RDI: 0000000000000005 RBP: 00007f6e530b547a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f6e53188f80 R15: 00007ffcacad2658 ================================================================================