ci2 starts bisection 2023-12-03 00:22:04.034315181 +0000 UTC m=+257634.680892472 bisecting fixing commit since 4bbeaddf9a63bf847511e5bfd790fc2893819d00 building syzkaller on 69904c9f85fcfb289eb529599176d42bcb3609eb ensuring issue is reproducible on original commit 4bbeaddf9a63bf847511e5bfd790fc2893819d00 testing commit 4bbeaddf9a63bf847511e5bfd790fc2893819d00 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 44e80973c8d34f7ffdc1fc7eff9be02b6b2ec8a3ae8b0ee15f8df893b2a9f67c run #0: crashed: invalid opcode in bpf_dispatcher_xdp run #1: crashed: invalid opcode in bpf_dispatcher_xdp run #2: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #3: crashed: invalid opcode in bpf_dispatcher_xdp run #4: crashed: invalid opcode in bpf_dispatcher_xdp run #5: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #6: crashed: invalid opcode in bpf_dispatcher_xdp run #7: crashed: invalid opcode in bpf_dispatcher_xdp run #8: crashed: invalid opcode in bpf_dispatcher_xdp run #9: crashed: invalid opcode in bpf_dispatcher_xdp run #10: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #11: crashed: invalid opcode in bpf_dispatcher_xdp run #12: crashed: invalid opcode in corrupted run #13: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #14: crashed: invalid opcode in bpf_dispatcher_xdp run #15: basic kernel testing failed: failed to copy binary to VM: timedout after 1m0s ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "-v" "/tmp/syz-executor1259149964" "root@10.128.10.4:./syz-executor1259149964"] Executing: program /usr/bin/ssh host 10.128.10.4, user root, command sftp OpenSSH_9.2p1 Debian-2, OpenSSL 3.0.9 30 May 2023 debug1: Reading configuration data /dev/null debug1: Connecting to 10.128.10.4 [10.128.10.4] port 22. debug1: fd 3 clearing O_NONBLOCK debug1: Connection established. debug1: identity file /root/.ssh/id_rsa type -1 debug1: identity file /root/.ssh/id_rsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa type -1 debug1: identity file /root/.ssh/id_ecdsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa_sk type -1 debug1: identity file /root/.ssh/id_ecdsa_sk-cert type -1 debug1: identity file /root/.ssh/id_ed25519 type -1 debug1: identity file /root/.ssh/id_ed25519-cert type -1 debug1: identity file /root/.ssh/id_ed25519_sk type -1 debug1: identity file /root/.ssh/id_ed25519_sk-cert type -1 debug1: identity file /root/.ssh/id_xmss type -1 debug1: identity file /root/.ssh/id_xmss-cert type -1 debug1: identity file /root/.ssh/id_dsa type -1 debug1: identity file /root/.ssh/id_dsa-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_9.2p1 Debian-2 debug1: Remote protocol version 2.0, remote software version OpenSSH_9.1 debug1: compat_banner: match: OpenSSH_9.1 pat OpenSSH* compat 0x04000000 debug1: Authenticating to 10.128.10.4:22 as 'root' debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: algorithm: sntrup761x25519-sha512@openssh.com debug1: kex: host key algorithm: ssh-ed25519 debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: compression: none debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: compression: none debug1: expecting SSH2_MSG_KEX_ECDH_REPLY run #16: crashed: invalid opcode in bpf_dispatcher_xdp run #17: OK run #18: OK run #19: OK representative crash: invalid opcode in bpf_dispatcher_xdp, types: [UNKNOWN] check whether we can drop unnecessary instrumentation disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 4bbeaddf9a63bf847511e5bfd790fc2893819d00 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5680bf2d6b5a26789ab53f133c084bf3f2598f32dae5ff26659f5379962bcd93 run #0: crashed: invalid opcode in bpf_dispatcher_xdp run #1: crashed: invalid opcode in bpf_dispatcher_xdp run #2: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #3: crashed: invalid opcode in bpf_dispatcher_xdp run #4: crashed: invalid opcode in bpf_dispatcher_xdp run #5: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #6: crashed: invalid opcode in bpf_dispatcher_xdp run #7: crashed: invalid opcode in bpf_dispatcher_xdp run #8: crashed: invalid opcode in bpf_dispatcher_xdp run #9: OK representative crash: invalid opcode in bpf_dispatcher_xdp, types: [UNKNOWN] the bug reproduces without the instrumentation disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed kconfig minimization: base=5179 full=6485 leaves diff=250 split chunks (needed=false): <250> split chunk #0 of len 250 into 5 parts testing without sub-chunk 1/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 4bbeaddf9a63bf847511e5bfd790fc2893819d00 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 17ebb07b743a493e8a8fb6480fb0aa003057f0cfdd0cc0b7aa22cd4cb7246df3 run #0: crashed: invalid opcode in bpf_dispatcher_xdp run #1: crashed: invalid opcode in bpf_dispatcher_xdp run #2: crashed: invalid opcode in bpf_dispatcher_xdp run #3: crashed: general protection fault in bpf_dispatcher_xdp run #4: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #5: crashed: invalid opcode in bpf_dispatcher_xdp run #6: crashed: invalid opcode in bpf_dispatcher_xdp run #7: crashed: BUG: unable to handle kernel paging request in corrupted run #8: crashed: general protection fault in bpf_dispatcher_xdp run #9: OK representative crash: invalid opcode in bpf_dispatcher_xdp, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 4bbeaddf9a63bf847511e5bfd790fc2893819d00 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1839c4f5291052c2652771b13bd31c5de8216c1419d500605f4db978cb91fd7e run #0: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #1: crashed: invalid opcode in bpf_dispatcher_xdp run #2: crashed: invalid opcode in bpf_dispatcher_xdp run #3: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #4: crashed: invalid opcode in bpf_dispatcher_xdp run #5: crashed: invalid opcode in bpf_dispatcher_xdp run #6: crashed: PANIC: double fault in bpf_dispatcher_xdp run #7: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #8: crashed: invalid opcode in bpf_dispatcher_xdp run #9: OK representative crash: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 4bbeaddf9a63bf847511e5bfd790fc2893819d00 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 27e73c9db4f883d46f1ef51bd23cc5775ffb3cb71963fa8caba5493c80d9635e run #0: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #1: crashed: general protection fault in bpf_dispatcher_xdp run #2: crashed: invalid opcode in bpf_dispatcher_xdp run #3: crashed: invalid opcode in bpf_dispatcher_xdp run #4: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #5: crashed: PANIC: double fault in bpf_dispatcher_xdp run #6: crashed: invalid opcode in bpf_dispatcher_xdp run #7: crashed: invalid opcode in bpf_dispatcher_xdp run #8: crashed: invalid opcode in bpf_dispatcher_xdp run #9: crashed: invalid opcode in bpf_dispatcher_xdp representative crash: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 4bbeaddf9a63bf847511e5bfd790fc2893819d00 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d697bc80937dddf080fe42e698fe067d7ace257dff97d6f6be09893b7bd706a4 run #0: crashed: invalid opcode in corrupted run #1: crashed: invalid opcode in bpf_dispatcher_xdp run #2: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #3: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #4: crashed: invalid opcode in bpf_dispatcher_xdp run #5: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #6: crashed: BUG: unable to handle kernel NULL pointer dereference in bpf_dispatcher_xdp run #7: crashed: invalid opcode in bpf_dispatcher_xdp run #8: crashed: PANIC: double fault in bpf_dispatcher_xdp run #9: crashed: invalid opcode in bpf_dispatcher_xdp representative crash: invalid opcode in corrupted, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 4bbeaddf9a63bf847511e5bfd790fc2893819d00 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 4bbeaddf9a63bf847511e5bfd790fc2893819d00: net/socket.c:1225: undefined reference to `wext_handle_ioctl' net/socket.c:3420: undefined reference to `compat_wext_handle_ioctl' net/core/net-procfs.c:329: undefined reference to `wext_proc_init' net/core/net-procfs.c:345: undefined reference to `wext_proc_exit' minimized to 50 configs; suspects: [HID_ZEROPLUS USB_NET_CDC_MBIM USB_NET_CDC_SUBSET USB_NET_CDC_SUBSET_ENABLE USB_NET_DM9601 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_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_PURELIFI WLAN_VENDOR_RALINK WLAN_VENDOR_REALTEK WLAN_VENDOR_RSI WLAN_VENDOR_SILABS WLAN_VENDOR_ZYDAS X86_X32_ABI ZEROPLUS_FF] disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing current HEAD 6465e29536ed740086d2e3b79106f597c977acbd testing commit 6465e29536ed740086d2e3b79106f597c977acbd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e3c24a2812323357f57e6b08e289578e01fadae49135519f2410cbc18d617072 run #0: crashed: invalid opcode in bpf_dispatcher_xdp run #1: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #2: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #3: crashed: BUG: unable to handle kernel paging request in sk_reuseport_convert_ctx_access run #4: crashed: invalid opcode in bpf_dispatcher_xdp run #5: crashed: invalid opcode in bpf_dispatcher_xdp run #6: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #7: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #8: crashed: invalid opcode in bpf_dispatcher_xdp run #9: OK representative crash: invalid opcode in bpf_dispatcher_xdp, types: [UNKNOWN] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 1h35m2.220909187s (build: 18m58.028228454s, test: 1h13m1.352675059s) crash still not fixed or there were kernel test errors commit msg: BACKPORT: HID: input: map battery system charging crash: invalid opcode in bpf_dispatcher_xdp invalid opcode: 0000 [#1] PREEMPT SMP CPU: 0 PID: 1063 Comm: syz-executor.0 Not tainted 6.1.57-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:bpf_dispatcher_xdp+0x81c/0x1000 Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 81 fa 9c 1f 00 a0 7f 37 48 81 fa 50 09 00 a0 7f 1e 48 81 fa 50 09 00 a0 0f 84 f1 ff ff ff e2 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 81 RSP: 0018:ffffc90003203c78 EFLAGS: 00010246 RAX: ffffc90003203cf8 RBX: 0000000000000001 RCX: 00000000fffffffc RDX: ffffffffa0000950 RSI: ffffc90003205050 RDI: ffffc90003203d98 RBP: ffffc90003203c80 R08: ffffc90003203dd0 R09: 0000000000745d1e R10: ffffc90003203ae8 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000007000000 R14: ffffc90003205000 R15: ffffc90003205050 FS: 00007fa2be7a96c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001480 CR3: 00000001162b0000 CR4: 00000000003506b0 Call Trace: __bpf_prog_run include/linux/filter.h:600 [inline] bpf_prog_run_xdp include/linux/filter.h:775 [inline] bpf_test_run+0x1cc/0x310 net/bpf/test_run.c:400 bpf_prog_test_run_xdp+0x28e/0x4b0 net/bpf/test_run.c:1389 bpf_prog_test_run+0x107/0x1b0 kernel/bpf/syscall.c:3635 __sys_bpf+0x3c5/0x4f0 kernel/bpf/syscall.c:4990 __do_sys_bpf kernel/bpf/syscall.c:5076 [inline] __se_sys_bpf kernel/bpf/syscall.c:5074 [inline] __x64_sys_bpf+0x17/0x20 kernel/bpf/syscall.c:5074 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa2bda7cae9 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:00007fa2be7a90c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fa2bdb9bf80 RCX: 00007fa2bda7cae9 RDX: 0000000000000048 RSI: 0000000020001480 RDI: 000000000000000a RBP: 00007fa2bdac847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fa2bdb9bf80 R15: 00007ffee2d11888 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:bpf_dispatcher_xdp+0x81c/0x1000 Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 81 fa dc 1f 00 a0 7f 47 48 81 fa 9c 1f 00 a0 7f 2e 48 81 fa 50 09 00 a0 7f 15 48 <81> fa 50 09 00 a0 0f 84 e8 c5 ff ff ff e2 66 0f 1f 44 00 00 48 81 RSP: 0018:ffffc90003203c78 EFLAGS: 00010246 RAX: ffffc90003203cf8 RBX: 0000000000000001 RCX: 00000000fffffffc RDX: ffffffffa0000950 RSI: ffffc90003205050 RDI: ffffc90003203d98 RBP: ffffc90003203c80 R08: ffffc90003203dd0 R09: 0000000000745d1e R10: ffffc90003203ae8 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000007000000 R14: ffffc90003205000 R15: ffffc90003205050 FS: 00007fa2be7a96c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc49bb95f8 CR3: 00000001162b0000 CR4: 00000000003506b0