ci2 starts bisection 2024-09-09 19:49:13.61680847 +0000 UTC m=+28001.357850647 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: c80849a0795052488ec95b0e50aa537324f583e2d883c9b31387a772eb0082b5 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: invalid opcode 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: 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: crashed: invalid opcode in bpf_dispatcher_xdp run #10: crashed: invalid opcode in bpf_dispatcher_xdp run #11: crashed: invalid opcode in bpf_dispatcher_xdp run #12: crashed: invalid opcode in bpf_dispatcher_xdp run #13: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #14: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #15: crashed: invalid opcode in bpf_dispatcher_xdp run #16: crashed: invalid opcode in bpf_dispatcher_xdp run #17: crashed: invalid opcode in bpf_dispatcher_xdp 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 [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], 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: 89ea2bddd230d315878fc9ffe06d63669d3fea7f821557feb40412bd22350b05 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: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #4: crashed: general protection fault 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 bpf_dispatcher_xdp run #8: OK 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 [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: d927784c3e0b3ca78e8605406087a7801bcbd7efc0062769513abb2d982ef473 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: invalid opcode 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: 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: BUG: unable to handle kernel paging request 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 [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], 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: ede757437892a6b4bd501b62d50780d9dd9345b96d3d0cdf94e1a52aa890758d 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: invalid opcode in bpf_dispatcher_xdp run #3: crashed: PANIC: double 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: invalid opcode in bpf_dispatcher_xdp run #8: OK run #9: OK representative crash: invalid opcode in bpf_dispatcher_xdp, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 3/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: 70068d35c7cd17a081f2917a60559148d755f412a2503b70046c809939736835 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: invalid opcode in bpf_dispatcher_xdp run #4: crashed: invalid opcode in bpf_dispatcher_xdp run #5: crashed: general protection fault in bpf_dispatcher_xdp run #6: crashed: PANIC: double fault in bpf_dispatcher_xdp run #7: crashed: PANIC: double fault in bpf_dispatcher_xdp run #8: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #9: crashed: invalid opcode in bpf_dispatcher_xdp representative crash: invalid opcode in bpf_dispatcher_xdp, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], 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: f0ef5da15d6c9461edb1127800ec1933f312a29484bebbc7c287faf18c9cb157 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: BUG: unable to handle kernel paging request 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: general protection fault 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: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp, 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 [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing current HEAD 27310ed6b67751d0ef91f3a1d5b4fa1c211d4924 testing commit 27310ed6b67751d0ef91f3a1d5b4fa1c211d4924 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3eda132ea13dd805cf43e610013a3a8bb3839f80b143b8de4cc8eca565edcb4d 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: 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: BUG: unable to handle kernel NULL pointer dereference in sk_reuseport_convert_ctx_access run #7: crashed: invalid opcode in bpf_dispatcher_xdp run #8: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #9: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp 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: 1h53m22.852798798s (build: 28m58.386081203s, test: 1h21m23.985665349s) crash still not fixed or there were kernel test errors commit msg: ANDROID: binder: fix KMI issues due to frozen notification crash: invalid opcode in bpf_dispatcher_xdp invalid opcode: 0000 [#1] PREEMPT SMP CPU: 1 PID: 671 Comm: syz-executor.3 Not tainted 6.1.93-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:bpf_dispatcher_xdp+0x812/0x1000 Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 81 fa 1c 1b 00 a0 7f 17 48 81 fa 1c 1b 00 a0 0f 84 d7 ff ff ff e2 0f 1f 84 00 00 00 00 00 48 81 fa 20 1d 00 a0 0f RSP: 0018:ffffc90001437c68 EFLAGS: 00010283 RAX: ffffc90001437ce8 RBX: 0000000000000001 RCX: 00000000fffffffc RDX: ffffffffa0001b1c RSI: ffffc90001a41050 RDI: ffffc90001437d88 RBP: ffffc90001437c70 R08: ffffc90001437dc0 R09: 0000000000745d1e R10: ffffc90001437ad8 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000007000000 R14: ffffc90001a41000 R15: ffffc90001a41050 FS: 00007f291cc936c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001480 CR3: 0000000115eac000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __bpf_prog_run include/linux/filter.h:603 [inline] bpf_prog_run_xdp include/linux/filter.h:778 [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:3650 __sys_bpf+0x3c5/0x4f0 kernel/bpf/syscall.c:5005 __do_sys_bpf kernel/bpf/syscall.c:5091 [inline] __se_sys_bpf kernel/bpf/syscall.c:5089 [inline] __x64_sys_bpf+0x17/0x20 kernel/bpf/syscall.c:5089 x64_sys_call+0x87f/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:322 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f291be7cae9 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:00007f291cc930c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f291bf9bf80 RCX: 00007f291be7cae9 RDX: 0000000000000048 RSI: 0000000020001480 RDI: 000000000000000a RBP: 00007f291bec847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f291bf9bf80 R15: 00007ffd3c7b4958 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:bpf_dispatcher_xdp+0x812/0x1000 Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 81 fa 4c 1d 00 a0 7f 47 48 81 fa 54 1b 00 a0 7f 2e <48> 81 fa 1c 1b 00 a0 7f 15 48 81 fa 1c 1b 00 a0 0f 84 b4 d7 ff ff RSP: 0018:ffffc90001437c68 EFLAGS: 00010283 RAX: ffffc90001437ce8 RBX: 0000000000000001 RCX: 00000000fffffffc RDX: ffffffffa0001b1c RSI: ffffc90001a41050 RDI: ffffc90001437d88 RBP: ffffc90001437c70 R08: ffffc90001437dc0 R09: 0000000000745d1e R10: ffffc90001437ad8 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000007000000 R14: ffffc90001a41000 R15: ffffc90001a41050 FS: 00007f291cc936c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001480 CR3: 0000000115eac000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 18: 48 81 fa 4c 1d 00 a0 cmp $0xffffffffa0001d4c,%rdx 1f: 7f 47 jg 0x68 21: 48 81 fa 54 1b 00 a0 cmp $0xffffffffa0001b54,%rdx 28: 7f 2e jg 0x58 * 2a: 48 81 fa 1c 1b 00 a0 cmp $0xffffffffa0001b1c,%rdx <-- trapping instruction 31: 7f 15 jg 0x48 33: 48 81 fa 1c 1b 00 a0 cmp $0xffffffffa0001b1c,%rdx 3a: 0f 84 b4 d7 ff ff je 0xffffd7f4