ci2 starts bisection 2024-08-07 02:01:22.457586337 +0000 UTC m=+42112.764353316 bisecting fixing commit since 48c6c901fe0e68e176029738d829e0d01eabb0b2 building syzkaller on d80eec66c939240cfc674221138f637197659116 ensuring issue is reproducible on original commit 48c6c901fe0e68e176029738d829e0d01eabb0b2 testing commit 48c6c901fe0e68e176029738d829e0d01eabb0b2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e76e0dc0d1dcfc70bc0ce9a7e3022fc69499a0d16f8a73141f2ef5aeda786297 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: 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: invalid opcode 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 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: invalid opcode in bpf_dispatcher_xdp run #14: crashed: invalid opcode in bpf_dispatcher_xdp run #15: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #16: OK run #17: OK run #18: OK run #19: OK representative crash: BUG: unable to handle kernel paging request 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 48c6c901fe0e68e176029738d829e0d01eabb0b2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0396b841c69d48fb0a8c539db3fdc8c95acc0a5115adde4aa98be18eedd939f9 run #0: crashed: invalid opcode 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: BUG: unable to handle kernel paging request in bpf_test_run 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: invalid opcode 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 [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], 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 [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 48c6c901fe0e68e176029738d829e0d01eabb0b2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2c6a626c89719a01782e6684a8dcd703c258c0f5c1669f2c5a435ff4d6150f77 run #0: crashed: invalid opcode in bpf_dispatcher_xdp run #1: crashed: PANIC: double fault 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: 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: PANIC: double fault 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 2/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 48c6c901fe0e68e176029738d829e0d01eabb0b2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b100ca8f337ed91d91c8363caa0f203fc7d2ebf97ecae1a5d2e6c539a29a9619 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: kernel panic: Fatal exception 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: invalid opcode in bpf_dispatcher_xdp run #7: crashed: BUG: unable to handle kernel paging request in sk_reuseport_convert_ctx_access run #8: crashed: BUG: unable to handle kernel paging request 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 48c6c901fe0e68e176029738d829e0d01eabb0b2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6ae2b95ba6a9d53106ad0e9d871f82626868824e33f2a015483c93e8ba585b12 run #0: crashed: invalid opcode in bpf_dispatcher_xdp run #1: crashed: invalid opcode in bpf_dispatcher_xdp run #2: crashed: general protection fault 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 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 representative crash: invalid opcode in bpf_dispatcher_xdp, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 48c6c901fe0e68e176029738d829e0d01eabb0b2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4bb5b3254ed142b1b8ebbffd09aad4d58d341363abeafad409c0ffeb8fad79ec 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: BUG: unable to handle kernel paging request 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: 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 5/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 48c6c901fe0e68e176029738d829e0d01eabb0b2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 48c6c901fe0e68e176029738d829e0d01eabb0b2: 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 [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing current HEAD 1bb38f786569a713fee1a7c98f7304369e36635b testing commit 1bb38f786569a713fee1a7c98f7304369e36635b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4c84acf9146033b42ec245d854076ff784a294667e439164c9c7687c5cf9adfd 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 bpf_dispatcher_xdp run #4: crashed: PANIC: double fault in corrupted 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: 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: 1h48m59.814056401s (build: 23m57.002007499s, test: 1h22m19.287176801s) crash still not fixed or there were kernel test errors commit msg: UPSTREAM: ring-buffer: Fix a race between readers and resize checks crash: invalid opcode in bpf_dispatcher_xdp invalid opcode: 0000 [#1] PREEMPT SMP CPU: 0 PID: 891 Comm: syz-executor.5 Not tainted 6.1.90-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 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 64 1b 00 a0 7f 37 48 81 fa 5c 09 00 a0 7f 1e 48 81 fa 5c 09 00 a0 0f 84 fd ff ff ff e2 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 81 RSP: 0018:ffffc90002043c68 EFLAGS: 00010646 RAX: ffffc90002043ce8 RBX: 0000000000000001 RCX: 00000000fffffffc RDX: ffffffffa000095c RSI: ffffc9000208b050 RDI: ffffc90002043d88 RBP: ffffc90002043c70 R08: ffffc90002043dc0 R09: 0000000000745d1e R10: 0000000000000000 R11: 000000000000036b R12: 0000000000000000 R13: 0000000007000000 R14: ffffc9000208b000 R15: ffffc9000208b050 FS: 00007f4d753f66c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001480 CR3: 0000000111451000 CR4: 00000000003506b0 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:0x7f4d7467cae9 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:00007f4d753f60c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f4d7479bf80 RCX: 00007f4d7467cae9 RDX: 0000000000000048 RSI: 0000000020001480 RDI: 000000000000000a RBP: 00007f4d746c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f4d7479bf80 R15: 00007ffc228faa88 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 e0 1d 00 a0 7f 47 48 81 fa 9c 1d 00 a0 7f 2e 48 81 fa 5c 09 00 a0 7f 15 48 <81> fa 5c 09 00 a0 0f 84 f4 c5 ff ff ff e2 66 0f 1f 44 00 00 48 81 RSP: 0018:ffffc90002043c68 EFLAGS: 00010646 RAX: ffffc90002043ce8 RBX: 0000000000000001 RCX: 00000000fffffffc RDX: ffffffffa000095c RSI: ffffc9000208b050 RDI: ffffc90002043d88 RBP: ffffc90002043c70 R08: ffffc90002043dc0 R09: 0000000000745d1e R10: 0000000000000000 R11: 000000000000036b R12: 0000000000000000 R13: 0000000007000000 R14: ffffc9000208b000 R15: ffffc9000208b050 FS: 00007f4d753f66c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa4ed95fd58 CR3: 0000000111451000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400