ci2 starts bisection 2024-03-13 15:34:52.635944547 +0000 UTC m=+39039.572498131 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: b06c1db96d5e048494d1d08f1708af654d9e791999c473ca9bd496032a5ddffe 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: 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: 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: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #11: crashed: general protection fault 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: OK run #15: crashed: invalid opcode in bpf_dispatcher_xdp run #16: crashed: invalid opcode in bpf_dispatcher_xdp 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 [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: c374f88a30835714c8da14b7dca6f3f428b8aaf236016f9975159a2bfb04d724 run #0: crashed: invalid opcode in bpf_dispatcher_xdp run #1: crashed: invalid opcode in bpf_dispatcher_xdp run #2: crashed: kernel panic: Fatal exception run #3: crashed: general protection fault 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: BUG: unable to handle kernel paging request in bpf_dispatcher_xdp run #7: OK 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 [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 [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: db9fe1adb0b1a09ba609303a5c24fc5ee5d8e3af9806c5b4d54d1cb263811b2c run #0: crashed: BUG: unable to handle kernel paging request in bpf_test_run 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: invalid opcode in bpf_dispatcher_xdp run #6: crashed: invalid opcode in bpf_dispatcher_xdp run #7: OK run #8: OK run #9: OK representative crash: BUG: unable to handle kernel paging request in bpf_test_run, 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: 5a5a8b4ea34a047c0b64c48f5f5e30432b7aeec17323f21d5f60448f74c4cecb 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: 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 [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 kernel signature: df681ee585616a6235eb513bbaa005afc096e77704e77720fd9928fed58f0e67 run #0: crashed: invalid opcode in bpf_dispatcher_xdp run #1: crashed: PANIC: double fault in bpf_prog_ADDR 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: invalid opcode 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] the chunk can be dropped testing without sub-chunk 4/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: df6025241413b8d6b334559230a4e971d14440b0c5ed1851b9b55951d8d2cbf2 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: 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: 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: 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 [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 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 65d457fae42006f2797857e7ae0ceab8e9650613 testing commit 65d457fae42006f2797857e7ae0ceab8e9650613 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: faf23d8e621b8cd56ae83777e4eacee3d1af92a1aad1c027aa4013f2c9aabd9a 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: 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: 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] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 1h31m0.319081006s (build: 18m10.06753043s, test: 1h10m8.006117204s) crash still not fixed or there were kernel test errors commit msg: ANDROID: fips140 - fix integrity check by unapplying dynamic SCS crash: invalid opcode in bpf_dispatcher_xdp invalid opcode: 0000 [#1] PREEMPT SMP CPU: 0 PID: 547 Comm: syz-executor.2 Not tainted 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:bpf_dispatcher_xdp+0x859/0x1000 Code: 00 48 81 fa 0c 4a 00 a0 0f 84 0f 09 00 00 ff e2 90 48 81 fa 64 4a 00 a0 0f 84 57 09 00 00 ff e2 90 48 81 fa ec 4a 00 a0 7f 37 <48> 81 fa a4 4a 00 a0 7f 1e 48 81 fa a4 4a 00 a0 0f 84 75 09 00 00 RSP: 0018:ffffc900011b3c78 EFLAGS: 00010283 RAX: ffffc900011b3cf8 RBX: 0000000000000001 RCX: 00000000fffffffc RDX: ffffffffa0004a0c RSI: ffffc900011ad050 RDI: ffffc900011b3d98 RBP: ffffc900011b3c80 R08: ffffc900011b3dd0 R09: 0000000000745d1e R10: 0000000000000000 R11: 000000000000010c R12: 0000000000000000 R13: 0000000007000000 R14: ffffc900011ad000 R15: ffffc900011ad050 FS: 00007fa4cbfff6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001480 CR3: 0000000116840000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa4cc47cae9 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:00007fa4cbfff0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fa4cc59bf80 RCX: 00007fa4cc47cae9 RDX: 0000000000000048 RSI: 0000000020001480 RDI: 000000000000000a RBP: 00007fa4cc4c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fa4cc59bf80 R15: 00007ffe819e1938 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:bpf_dispatcher_xdp+0x859/0x1000 Code: 00 48 81 fa 48 08 00 a0 0f 84 4b c7 ff ff ff e2 90 48 81 fa d8 08 00 a0 0f 84 cb c7 ff ff ff e2 90 48 81 fa ec 4a 00 a0 7f 37 <48> 81 fa 0c 4a 00 a0 7f 1e 48 81 fa 0c 4a 00 a0 0f 84 dd 08 00 00 RSP: 0018:ffffc900011b3c78 EFLAGS: 00010283 RAX: ffffc900011b3cf8 RBX: 0000000000000001 RCX: 00000000fffffffc RDX: ffffffffa0004a0c RSI: ffffc900011ad050 RDI: ffffc900011b3d98 RBP: ffffc900011b3c80 R08: ffffc900011b3dd0 R09: 0000000000745d1e R10: 0000000000000000 R11: 000000000000010c R12: 0000000000000000 R13: 0000000007000000 R14: ffffc900011ad000 R15: ffffc900011ad050 FS: 00007fa4cbfff6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001480 CR3: 0000000116840000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 48 81 add %cl,-0x7f(%rax) 3: fa cli 4: 0c 4a or $0x4a,%al 6: 00 a0 0f 84 0f 09 add %ah,0x90f840f(%rax) c: 00 00 add %al,(%rax) e: ff e2 jmp *%rdx 10: 90 nop 11: 48 81 fa 64 4a 00 a0 cmp $0xffffffffa0004a64,%rdx 18: 0f 84 57 09 00 00 je 0x975 1e: ff e2 jmp *%rdx 20: 90 nop 21: 48 81 fa ec 4a 00 a0 cmp $0xffffffffa0004aec,%rdx 28: 7f 37 jg 0x61 * 2a: 48 81 fa a4 4a 00 a0 cmp $0xffffffffa0004aa4,%rdx <-- trapping instruction 31: 7f 1e jg 0x51 33: 48 81 fa a4 4a 00 a0 cmp $0xffffffffa0004aa4,%rdx 3a: 0f 84 75 09 00 00 je 0x9b5