ci2 starts bisection 2024-08-07 17:56:10.152059409 +0000 UTC m=+19427.698549541 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: 4b79b7f7fc26164a62cf719b864c5fa5caf8a213e2ea2c2646a1a7e5a3ad9321 run #0: crashed: BUG: unable to handle kernel paging request 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: invalid opcode in bpf_dispatcher_xdp run #5: crashed: BUG: unable to handle kernel paging request in corrupted run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK 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 [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: 30fc642503ceb45109b3739bb9f0daf54fd90a06a438bc96f9a25a561d014ad0 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: BUG: unable to handle kernel paging request 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: invalid opcode in bpf_dispatcher_xdp run #9: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #10: crashed: invalid opcode in bpf_dispatcher_xdp run #11: crashed: BUG: unable to handle kernel paging request 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: general protection fault 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] the bug reproduces without the instrumentation disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], 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 [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: 3ca910d28423a6ba4b56004ed8253db12b5b25b8ab2847eddb71f8a9c996a053 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: 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: general protection 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: crashed: BUG: unable to handle kernel paging request 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: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #13: crashed: invalid opcode in bpf_dispatcher_xdp run #14: crashed: invalid opcode in bpf_dispatcher_xdp run #15: OK 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] the chunk can be dropped testing without sub-chunk 2/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: a2c1f9e5d29a52667ae39c1ad94bb3c1f519a08b0682c51e5656a562ef7dd621 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: 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 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: invalid opcode in bpf_dispatcher_xdp run #14: crashed: kernel panic: Fatal exception run #15: crashed: invalid opcode in bpf_dispatcher_xdp run #16: crashed: invalid opcode in bpf_dispatcher_xdp run #17: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #18: crashed: invalid opcode in bpf_dispatcher_xdp run #19: 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 [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], 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: 87d023ba1b52ce005ce1d6ab58790eca66c89b97736b826a3b74bb74666f44ca 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: 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: general protection 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 run #10: crashed: invalid opcode in bpf_dispatcher_xdp run #11: crashed: BUG: unable to handle kernel paging request 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: invalid opcode in bpf_dispatcher_xdp run #16: crashed: invalid opcode in bpf_dispatcher_xdp run #17: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #18: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #19: 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 4bbeaddf9a63bf847511e5bfd790fc2893819d00 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 62894c100b2ddd2500f55770c6bcd4c884d4dc6a5feb913ad7d3d9d367ab3ed1 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: general protection 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: PANIC: double fault 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: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #15: crashed: invalid opcode in bpf_dispatcher_xdp run #16: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #17: crashed: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #18: crashed: PANIC: double fault in bpf_dispatcher_xdp run #19: 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 [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], 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 1bb38f786569a713fee1a7c98f7304369e36635b testing commit 1bb38f786569a713fee1a7c98f7304369e36635b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2d8d3e62613e9a75859bdaea8b6d0359a6a9081b865e1c6ef71f0277a81b32dd 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: invalid opcode in bpf_dispatcher_xdp run #7: crashed: BUG: unable to handle kernel NULL pointer dereference in bpf_dispatcher_xdp run #8: crashed: PANIC: double fault 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: kernel panic: Fatal exception run #12: crashed: BUG: unable to handle kernel NULL pointer dereference 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: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #17: crashed: invalid opcode in bpf_dispatcher_xdp run #18: crashed: invalid opcode in bpf_dispatcher_xdp run #19: crashed: invalid opcode in bpf_dispatcher_xdp representative crash: invalid opcode in bpf_dispatcher_xdp, types: [UNKNOWN] crash still not fixed/happens on the oldest tested release reproducer is flaky (0.95 repro chance estimate) revisions tested: 7, total time: 2h5m46.159422838s (build: 28m19.707079025s, test: 1h30m1.899139843s) 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: 506 Comm: syz-executor.4 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+0x859/0x1000 Code: 00 48 81 fa a0 07 00 a0 0f 84 a3 c6 ff ff ff e2 90 48 81 fa d4 16 00 a0 7f 17 48 81 fa d4 16 00 a0 0f 84 be d5 ff ff ff e2 0f <1f> 84 00 00 00 00 00 48 81 fa 2c 17 00 a0 0f 84 ff d5 ff ff ff e2 RSP: 0018:ffffc90000a43c68 EFLAGS: 00010246 RAX: ffffc90000a43ce8 RBX: 0000000000000001 RCX: 00000000fffffffc RDX: ffffffffa00016d4 RSI: ffffc90000db1050 RDI: ffffc90000a43d88 RBP: ffffc90000a43c70 R08: ffffc90000a43dc0 R09: 0000000000745d1e R10: 0000000000000000 R11: 00000000000002fd R12: 0000000000000000 R13: 0000000007000000 R14: ffffc90000db1000 R15: ffffc90000db1050 FS: 00007fcf0c6046c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001480 CR3: 0000000110971000 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:0x7fcf0b87cae9 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:00007fcf0c6040c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fcf0b99bf80 RCX: 00007fcf0b87cae9 RDX: 0000000000000048 RSI: 0000000020001480 RDI: 000000000000000a RBP: 00007fcf0b8c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fcf0b99bf80 R15: 00007ffc5110c748 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:bpf_dispatcher_xdp+0x859/0x1000 Code: 00 48 81 fa e0 06 00 a0 0f 84 e3 c5 ff ff ff e2 90 48 81 fa d4 16 00 a0 0f 84 c7 d5 ff ff ff e2 90 48 81 fa d4 48 00 a0 7f 37 <48> 81 fa 48 17 00 a0 7f 1e 48 81 fa 48 17 00 a0 0f 84 19 d6 ff ff RSP: 0018:ffffc90000a43c68 EFLAGS: 00010246 RAX: ffffc90000a43ce8 RBX: 0000000000000001 RCX: 00000000fffffffc RDX: ffffffffa00016d4 RSI: ffffc90000db1050 RDI: ffffc90000a43d88 RBP: ffffc90000a43c70 R08: ffffc90000a43dc0 R09: 0000000000745d1e R10: 0000000000000000 R11: 00000000000002fd R12: 0000000000000000 R13: 0000000007000000 R14: ffffc90000db1000 R15: ffffc90000db1050 FS: 00007fcf0c6046c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001480 CR3: 0000000110971000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 48 81 fa e0 06 00 a0 cmp $0xffffffffa00006e0,%rdx 7: 0f 84 e3 c5 ff ff je 0xffffc5f0 d: ff e2 jmp *%rdx f: 90 nop 10: 48 81 fa d4 16 00 a0 cmp $0xffffffffa00016d4,%rdx 17: 0f 84 c7 d5 ff ff je 0xffffd5e4 1d: ff e2 jmp *%rdx 1f: 90 nop 20: 48 81 fa d4 48 00 a0 cmp $0xffffffffa00048d4,%rdx 27: 7f 37 jg 0x60 * 29: 48 81 fa 48 17 00 a0 cmp $0xffffffffa0001748,%rdx <-- trapping instruction 30: 7f 1e jg 0x50 32: 48 81 fa 48 17 00 a0 cmp $0xffffffffa0001748,%rdx 39: 0f 84 19 d6 ff ff je 0xffffd658