ci2 starts bisection 2025-02-24 16:41:06.588404141 +0000 UTC m=+253909.624832923 bisecting fixing commit since 4735586da88ed2254ada53bbe19ce4fe968a1e7b building syzkaller on 6dbc6a9bc76e06852841ed5c5bdbb78409b17f53 ensuring issue is reproducible on original commit 4735586da88ed2254ada53bbe19ce4fe968a1e7b testing commit 4735586da88ed2254ada53bbe19ce4fe968a1e7b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 23063c979ea0e6a2b3d65a3b1a25ec65ac53078e11926b69f4782e408907c9ef run #0: basic kernel testing failed: WARNING in process_one_work run #1: crashed: WARNING in bpf_probe_read_compat run #2: crashed: possible deadlock in console_unlock run #3: crashed: WARNING in bpf_probe_read_compat run #4: crashed: WARNING in bpf_probe_read_compat run #5: crashed: WARNING in bpf_probe_read_compat run #6: crashed: possible deadlock in console_unlock run #7: crashed: possible deadlock in console_unlock run #8: crashed: WARNING in bpf_probe_read_compat run #9: crashed: possible deadlock in console_unlock run #10: crashed: possible deadlock in console_unlock run #11: crashed: possible deadlock in console_unlock run #12: crashed: WARNING in bpf_probe_read_compat run #13: crashed: possible deadlock in console_unlock run #14: crashed: WARNING in bpf_probe_read_compat run #15: crashed: WARNING in bpf_probe_read_compat run #16: crashed: WARNING in bpf_probe_read_compat run #17: crashed: WARNING in bpf_probe_read_compat run #18: crashed: WARNING in bpf_probe_read_compat run #19: crashed: no output from test machine representative crash: WARNING in bpf_probe_read_compat, types: [WARNING LOCKDEP] check whether we can drop unnecessary instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN], they are not needed testing commit 4735586da88ed2254ada53bbe19ce4fe968a1e7b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7cb570c7935bde23e5e66cc0734942dcadd41c4f8217cae98e6870b5ecc4f265 all runs: OK false negative chance: 0.000 kconfig minimization: base=3706 full=7305 leaves diff=2039 split chunks (needed=false): <2039> split chunk #0 of len 2039 into 5 parts testing without sub-chunk 1/5 testing commit 4735586da88ed2254ada53bbe19ce4fe968a1e7b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a10002a0e7a18d43c7fb2c0c5c3d36120bf9297dc8f1ebbb701cf0a2528d79e1 run #0: crashed: WARNING in bpf_probe_read_compat run #1: crashed: WARNING in bpf_probe_read_compat run #2: crashed: possible deadlock in console_unlock run #3: crashed: WARNING in bpf_probe_read_compat run #4: crashed: WARNING in bpf_probe_read_compat run #5: crashed: possible deadlock in console_unlock run #6: crashed: WARNING in bpf_probe_read_compat run #7: crashed: possible deadlock in console_unlock run #8: crashed: WARNING in bpf_probe_read_compat run #9: crashed: no output from test machine representative crash: WARNING in bpf_probe_read_compat, types: [WARNING LOCKDEP] the chunk can be dropped testing without sub-chunk 2/5 testing commit 4735586da88ed2254ada53bbe19ce4fe968a1e7b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 29c59c5d22f94752e6bfc3fb4026d7cae9eb7f2aa2928ec435ac6a50d17fa91f run #0: crashed: possible deadlock in console_unlock run #1: crashed: WARNING in bpf_probe_read_compat run #2: crashed: WARNING in NUM run #3: crashed: possible deadlock in enqueue_task run #4: crashed: possible deadlock in console_unlock run #5: crashed: WARNING in bpf_probe_read_compat run #6: crashed: WARNING in bpf_probe_read_compat run #7: crashed: possible deadlock in console_unlock run #8: crashed: possible deadlock in console_unlock run #9: crashed: WARNING in bpf_probe_read_compat representative crash: possible deadlock in console_unlock, types: [LOCKDEP WARNING] the chunk can be dropped testing without sub-chunk 3/5 testing commit 4735586da88ed2254ada53bbe19ce4fe968a1e7b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 25a28a96fd8dea3ad7ddd2718bb3c7801db5955f56e07bd3eea6194bd77a6e7d run #0: crashed: possible deadlock in console_unlock run #1: crashed: possible deadlock in console_unlock run #2: crashed: WARNING in bpf_probe_read_compat run #3: crashed: WARNING in bpf_probe_read_compat run #4: crashed: WARNING in bpf_probe_read_compat run #5: crashed: possible deadlock in console_unlock run #6: crashed: possible deadlock in console_unlock run #7: crashed: WARNING in bpf_probe_read_compat run #8: crashed: possible deadlock in console_unlock run #9: crashed: possible deadlock in enqueue_task representative crash: possible deadlock in console_unlock, types: [LOCKDEP WARNING] the chunk can be dropped testing without sub-chunk 4/5 testing commit 4735586da88ed2254ada53bbe19ce4fe968a1e7b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 22f4e2b070a8afd3a7c98b4a227cf7f8b75713eb4ffe394d5769ab0c79f3ac0f all runs: crashed: WARNING in bpf_probe_read_compat representative crash: WARNING in bpf_probe_read_compat, types: [WARNING] the chunk can be dropped testing without sub-chunk 5/5 testing commit 4735586da88ed2254ada53bbe19ce4fe968a1e7b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7a6ace3acaf5171afe7d4746c0db722ab66112c6d078ca5763715dc396d1ac82 all runs: OK false negative chance: 0.000 minimized to 407 configs; suspects: [ARCH_ENABLE_MEMORY_HOTREMOVE ATM BCMA BLK_DEV_ZONED BPF_SYSCALL CARDBUS CFG80211 CFG80211_WEXT CMA CONTIG_ALLOC CRYPTO_842 CRYPTO_LZ4 CRYPTO_LZ4HC CRYPTO_LZO CRYPTO_ZSTD DVB_CORE EXTCON FB FRONTSWAP GPIOLIB HID_ZEROPLUS I2C_MUX IIO IRQ_REMAP LIBNVDIMM MEDIA_ANALOG_TV_SUPPORT MEDIA_CAMERA_SUPPORT MEDIA_CEC_SUPPORT MEDIA_CONTROLLER MEDIA_DIGITAL_TV_SUPPORT MEDIA_RADIO_SUPPORT MEDIA_SDR_SUPPORT MEDIA_SUPPORT MEDIA_TEST_SUPPORT MEDIA_USB_SUPPORT MEMORY_HOTPLUG MEMORY_HOTPLUG_SPARSE MEMORY_HOTREMOVE MFD_VIPERBOARD PARPORT PCCARD PCMCIA PHONET RADIO_ADAPTERS RADIO_SI470X RADIO_SI4713 RC_CORE RFKILL SND SOUND SPI SSB TAP TARGET_CORE TUN USB_AMD5536UDC USB_ATM USB_CONFIGFS USB_CONFIGFS_F_LB_SS USB_CONFIGFS_F_MIDI USB_CONFIGFS_F_PRINTER USB_CONFIGFS_F_TCM USB_CONFIGFS_F_UAC1 USB_CONFIGFS_F_UAC1_LEGACY USB_CONFIGFS_F_UAC2 USB_CONFIGFS_F_UVC USB_CONFIGFS_MASS_STORAGE USB_CONFIGFS_NCM USB_CONFIGFS_OBEX USB_CONFIGFS_PHONET USB_CONFIGFS_RNDIS USB_CONFIGFS_SERIAL USB_CONN_GPIO USB_CXACRU USB_CYPRESS_CY7C63 USB_CYTHERM USB_DSBR USB_DUMMY_HCD USB_DWC2 USB_DWC2_HOST USB_DWC2_PCI USB_DWC3 USB_DWC3_GADGET USB_DWC3_HAPS USB_DWC3_OF_SIMPLE USB_DWC3_PCI USB_DWC3_ULPI USB_DYNAMIC_MINORS USB_EG20T USB_EHCI_FSL USB_EHCI_HCD_PLATFORM USB_EHCI_ROOT_HUB_TT USB_EHSET_TEST_FIXTURE USB_EMI26 USB_EMI62 USB_EPSON2888 USB_EZUSB_FX2 USB_FEW_INIT_RETRIES USB_FOTG210_HCD USB_FOTG210_UDC USB_FTDI_ELAN USB_F_ACM USB_F_ECM USB_F_EEM USB_F_FS USB_F_HID USB_F_MASS_STORAGE USB_F_MIDI USB_F_NCM USB_F_OBEX USB_F_PHONET USB_F_PRINTER USB_F_RNDIS USB_F_SERIAL USB_F_SS_LB USB_F_SUBSET USB_F_TCM USB_F_UAC1 USB_F_UAC1_LEGACY USB_F_UAC2 USB_F_UVC USB_GADGET USB_GADGETFS USB_GADGET_DEBUG_FILES USB_GADGET_DEBUG_FS USB_GL860 USB_GOKU USB_GPIO_VBUS USB_GR_UDC USB_GSPCA USB_GSPCA_BENQ USB_GSPCA_CONEX USB_GSPCA_CPIA1 USB_GSPCA_DTCS033 USB_GSPCA_ETOMS USB_GSPCA_FINEPIX USB_GSPCA_JEILINJ USB_GSPCA_JL2005BCD USB_GSPCA_KINECT USB_GSPCA_KONICA USB_GSPCA_MARS USB_GSPCA_MR97310A USB_GSPCA_NW80X USB_GSPCA_OV519 USB_GSPCA_OV534 USB_GSPCA_OV534_9 USB_GSPCA_PAC207 USB_GSPCA_PAC7302 USB_GSPCA_PAC7311 USB_GSPCA_SE401 USB_GSPCA_SN9C2028 USB_GSPCA_SN9C20X USB_GSPCA_SONIXB USB_GSPCA_SONIXJ USB_GSPCA_SPCA1528 USB_GSPCA_SPCA500 USB_GSPCA_SPCA501 USB_GSPCA_SPCA505 USB_GSPCA_SPCA506 USB_GSPCA_SPCA508 USB_GSPCA_SPCA561 USB_GSPCA_SQ905 USB_GSPCA_SQ905C USB_GSPCA_SQ930X USB_GSPCA_STK014 USB_GSPCA_STK1135 USB_GSPCA_STV0680 USB_GSPCA_SUNPLUS USB_GSPCA_T613 USB_GSPCA_TOPRO USB_GSPCA_TOUPTEK USB_GSPCA_TV8532 USB_GSPCA_VC032X USB_GSPCA_VICAM USB_GSPCA_XIRLINK_CIT USB_GSPCA_ZC3XX USB_HACKRF USB_HCD_BCMA USB_HCD_SSB USB_HSIC_USB3503 USB_HSIC_USB4604 USB_HSO USB_HUB_USB251XB USB_IDMOUSE USB_IOWARRIOR USB_IPHETH USB_ISIGHTFW USB_ISP116X_HCD USB_ISP1301 USB_ISP1760 USB_ISP1760_DUAL_ROLE USB_ISP1760_HCD USB_ISP1761_UDC USB_KAWETH USB_KC2190 USB_KEENE USB_LAN78XX USB_LCD USB_LD USB_LEDS_TRIGGER_USBPORT USB_LED_TRIG USB_LEGOTOWER USB_LGM_PHY USB_LIBCOMPOSITE USB_LINK_LAYER_TEST USB_M5602 USB_MA901 USB_MAX3420_UDC USB_MAX3421_HCD USB_MDC800 USB_MICROTEK USB_MR800 USB_MSI2500 USB_MUSB_DUAL_ROLE USB_MUSB_HDRC USB_MV_U3D USB_MV_UDC USB_NET2272 USB_NET2272_DMA USB_NET2280 USB_NET_AQC111 USB_NET_AX88179_178A USB_NET_AX8817X USB_NET_CDCETHER USB_NET_CDC_EEM USB_NET_CDC_MBIM USB_NET_CDC_NCM USB_NET_CDC_SUBSET USB_NET_CDC_SUBSET_ENABLE USB_NET_CH9200 USB_NET_CX82310_ETH USB_NET_DM9601 USB_NET_GL620A USB_NET_HUAWEI_CDC_NCM USB_NET_INT51X1 USB_NET_KALMIA USB_NET_MCS7830 USB_NET_NET1080 USB_NET_PLUSB USB_NET_QMI_WWAN USB_NET_RNDIS_HOST USB_NET_RNDIS_WLAN USB_NET_SMSC75XX USB_NET_SMSC95XX USB_NET_SR9700 USB_NET_SR9800 USB_NET_ZAURUS USB_OHCI_HCD_PLATFORM USB_OTG USB_OTG_FSM USB_OXU210HP_HCD USB_PEGASUS USB_PULSE8_CEC USB_PWC USB_PWC_INPUT_EVDEV USB_PXA27X USB_R8A66597 USB_R8A66597_HCD USB_RAINSHADOW_CEC USB_RAREMONO USB_RAW_GADGET USB_RTL8150 USB_RTL8152 USB_RTL8153_ECM USB_S2255 USB_SERIAL USB_SERIAL_AIRCABLE USB_SERIAL_ARK3116 USB_SERIAL_BELKIN USB_SERIAL_CH341 USB_SERIAL_CONSOLE USB_SERIAL_CP210X USB_SERIAL_CYBERJACK USB_SERIAL_CYPRESS_M8 USB_SERIAL_DEBUG USB_SERIAL_DIGI_ACCELEPORT USB_SERIAL_EDGEPORT USB_SERIAL_EDGEPORT_TI USB_SERIAL_EMPEG USB_SERIAL_F81232 USB_SERIAL_F8153X USB_SERIAL_FTDI_SIO USB_SERIAL_GARMIN USB_SERIAL_GENERIC USB_SERIAL_IPAQ USB_SERIAL_IPW USB_SERIAL_IR USB_SERIAL_IUU USB_SERIAL_KEYSPAN USB_SERIAL_KEYSPAN_PDA USB_SERIAL_KLSI USB_SERIAL_KOBIL_SCT USB_SERIAL_MCT_U232 USB_SERIAL_METRO USB_SERIAL_MOS7715_PARPORT USB_SERIAL_MOS7720 USB_SERIAL_MOS7840 USB_SERIAL_MXUPORT USB_SERIAL_NAVMAN USB_SERIAL_OMNINET USB_SERIAL_OPTICON USB_SERIAL_OPTION USB_SERIAL_OTI6858 USB_SERIAL_PL2303 USB_SERIAL_QCAUX USB_SERIAL_QT2 USB_SERIAL_QUALCOMM USB_SERIAL_SAFE USB_SERIAL_SIERRAWIRELESS USB_SERIAL_SIMPLE USB_SERIAL_SPCP8X5 USB_SERIAL_SSU100 USB_SERIAL_SYMBOL USB_SERIAL_TI USB_SERIAL_UPD78F0730 USB_SERIAL_VISOR USB_SERIAL_WHITEHEAT USB_SERIAL_WISHBONE USB_SERIAL_WWAN USB_SERIAL_XR USB_SERIAL_XSENS_MT USB_SEVSEG USB_SI470X USB_SI4713 USB_SIERRA_NET USB_SISUSBVGA USB_SL811_CS USB_SL811_HCD USB_SL811_HCD_ISO USB_SNP_CORE USB_SPEEDTOUCH USB_STKWEBCAM USB_STORAGE_ALAUDA USB_STORAGE_CYPRESS_ATACB USB_STORAGE_DATAFAB USB_STORAGE_ENE_UB6250 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_STV06XX USB_TEST USB_TMC USB_TRANCEVIBRATOR USB_U132_HCD USB_UAS USB_UEAGLEATM USB_ULPI_BUS USB_USBNET USB_USS720 USB_U_AUDIO USB_U_ETHER USB_U_SERIAL USB_VIDEO_CLASS USB_VIDEO_CLASS_INPUT_EVDEV USB_VL600 USB_WDM USB_XHCI_DBGCAP USB_XHCI_PCI_RENESAS USB_XHCI_PLATFORM USB_XUSBATM USB_YUREX USB_ZR364XX USERFAULTFD USERIO USERMODE_DRIVER USER_RETURN_NOTIFIER U_SERIAL_CONSOLE V4L2_MEM2MEM_DEV V4L_TEST_DRIVERS VALIDATE_FS_PARSER VDPA VETH VFIO VFIO_IOMMU_TYPE1 VFIO_PCI VFIO_PCI_CORE VFIO_PCI_INTX VFIO_PCI_MMAP VFIO_VIRQFD VGASTATE VHOST VHOST_CROSS_ENDIAN_LEGACY VHOST_IOTLB VHOST_NET VHOST_RING VHOST_VDPA VHOST_VSOCK VIDEOBUF2_CORE VIDEOBUF2_DMA_CONTIG VIDEOBUF2_DMA_SG VIDEOBUF2_MEMOPS VIDEOBUF2_V4L2 VIDEOBUF2_VMALLOC VIDEOBUF_GEN VIDEOBUF_VMALLOC VIDEO_AU0828 VIDEO_AU0828_RC VIDEO_AU0828_V4L2 VIDEO_CPIA2 VIDEO_CS53L32A VIDEO_CX231XX VIDEO_CX231XX_ALSA VIDEO_CX231XX_DVB VIDEO_CX231XX_RC VIDEO_CX2341X VIDEO_CX25840 VIDEO_DEV VIDEO_EM28XX VIDEO_EM28XX_ALSA VIDEO_EM28XX_DVB VIDEO_EM28XX_RC VIDEO_EM28XX_V4L2 VIDEO_GO7007 VIDEO_GO7007_LOADER VIDEO_GO7007_USB VIDEO_GO7007_USB_S2250_BOARD VIDEO_HDPVR VIDEO_MSP3400 VIDEO_PVRUSB2 VIDEO_PVRUSB2_DVB VIDEO_PVRUSB2_SYSFS VIDEO_SAA711X VIDEO_STK1160 VIDEO_STK1160_COMMON VIDEO_TM6000 VIDEO_TM6000_ALSA VIDEO_TM6000_DVB VIDEO_TUNER VIDEO_TVEEPROM VIDEO_USBTV VIDEO_V4L2 VIDEO_V4L2_I2C VIDEO_V4L2_SUBDEV_API VIDEO_V4L2_TPG VIDEO_VICODEC VIDEO_VIM2M VIDEO_VIMC VIDEO_VIVID VIDEO_VIVID_CEC VIDEO_WM8775 VIPERBOARD_ADC VIRTIO_BALLOON VIRTIO_DMA_SHARED_BUFFER VIRTIO_MEM VIRTIO_MMIO VIRTIO_MMIO_CMDLINE_DEVICES VIRTIO_PMEM VIRTIO_VDPA VIRTIO_VSOCKETS VIRTIO_VSOCKETS_COMMON VIRT_WIFI VLAN_8021Q VLAN_8021Q_GVRP VLAN_8021Q_MVRP VMAP_PFN VMWARE_VMCI VMXNET3 VP_VDPA VSOCKETS VSOCKETS_DIAG VSOCKETS_LOOPBACK VSOCKMON VT_HW_CONSOLE_BINDING VXFS_FS WANT_DEV_COREDUMP WEXT_CORE WEXT_PRIV WEXT_PROC WIREGUARD WIRELESS WIRELESS_EXT WLAN WLAN_VENDOR_ADMTEK X86_SGX X86_X2APIC X86_X32 XARRAY_MULTI XDP_SOCKETS XDP_SOCKETS_DIAG XFRM_ESPINTCP XFRM_INTERFACE XFRM_IPCOMP XFRM_MIGRATE XFRM_OFFLOAD XFRM_STATISTICS XFRM_SUB_POLICY XFRM_USER_COMPAT XFS_FS XFS_POSIX_ACL XFS_QUOTA XFS_RT XILLYBUS_CLASS XILLYUSB XOR_BLOCKS YENTA YENTA_ENE_TUNE YENTA_O2 YENTA_RICOH YENTA_TI YENTA_TOSHIBA ZBUD ZEROPLUS_FF ZONEFS_FS ZPOOL ZRAM ZRAM_DEF_COMP_LZORLE ZSMALLOC ZSTD_COMPRESS ZSWAP ZSWAP_COMPRESSOR_DEFAULT_LZO ZSWAP_DEFAULT_ON ZSWAP_ZPOOL_DEFAULT_ZBUD] determining the merge base between 4735586da88ed2254ada53bbe19ce4fe968a1e7b and d082ecbc71e9e0bf49883ee4afd435a77a5101b6 8bb7eca972ad531c9b149c0a51ab43a417385813/Linux 5.15 is a merge base, check if it has the bug testing commit 8bb7eca972ad531c9b149c0a51ab43a417385813 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0d4269c1785a87385062afa9aa5ff682cfcd6d05c9cadd66ba2f8f4185dd5a5d all runs: crashed: WARNING in bpf_probe_read_compat representative crash: WARNING in bpf_probe_read_compat, types: [WARNING] testing current HEAD d082ecbc71e9e0bf49883ee4afd435a77a5101b6 testing commit d082ecbc71e9e0bf49883ee4afd435a77a5101b6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5b7c88c7bc1fb45c1583fc2db50fe9edebef02bdf1dc324bae808ed9a6ae2ed8 all runs: OK false negative chance: 0.000 # git bisect start d082ecbc71e9e0bf49883ee4afd435a77a5101b6 8bb7eca972ad531c9b149c0a51ab43a417385813 Bisecting: 144896 revisions left to test after this (roughly 17 steps) [3a8a670eeeaa40d87bd38a587438952741980c18] Merge tag 'net-next-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit 3a8a670eeeaa40d87bd38a587438952741980c18 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 346e10842d1efd8e14578c1f31032a6f4a03a91b90f744de7a188840a8499223 all runs: basic kernel testing failed: UBSAN: array-index-out-of-bounds in alloc_pid unable to determine the verdict: 0 good runs (wanted 5), for bad wanted 5 in total, got 0 # git bisect skip 3a8a670eeeaa40d87bd38a587438952741980c18 Bisecting: 144896 revisions left to test after this (roughly 17 steps) [cf51d2be057b19f2ef72233788c3211f0781678d] arm64: dts: qcom: pm8550: add flash LED controller determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit cf51d2be057b19f2ef72233788c3211f0781678d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9581ab539d005d6e55d61119715142ea1c5597a5865d3e22758734d9cf652488 all runs: OK false negative chance: 0.000 # git bisect bad cf51d2be057b19f2ef72233788c3211f0781678d Bisecting: 70146 revisions left to test after this (roughly 16 steps) [cfeafd94668910334a77c9437a18212baf9f5610] Merge tag 'driver-core-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit cfeafd94668910334a77c9437a18212baf9f5610 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5fd8c4c0e3c4030be14115cd121f9e433314588f372a3d1205fec20966032f24 all runs: crashed: WARNING in bpf_probe_read_compat representative crash: WARNING in bpf_probe_read_compat, types: [WARNING] # git bisect good cfeafd94668910334a77c9437a18212baf9f5610 Bisecting: 34941 revisions left to test after this (roughly 15 steps) [8fa590bf344816c925810331eea8387627bbeb40] Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm determine whether the revision contains the guilty commit revision cfeafd94668910334a77c9437a18212baf9f5610 crashed and is reachable testing commit 8fa590bf344816c925810331eea8387627bbeb40 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 39120241ab3fe3a1ccd00195fbbf78410715d1d0f0c92af2203cb6bb658a357d run #0: crashed: WARNING in bpf_probe_read_compat run #1: crashed: WARNING in bpf_probe_read_compat run #2: crashed: WARNING in bpf_probe_read_compat run #3: crashed: WARNING in bpf_probe_read_compat run #4: crashed: inconsistent lock state in valid_state run #5: crashed: WARNING in bpf_probe_read_compat run #6: crashed: WARNING in bpf_probe_read_compat run #7: crashed: WARNING in bpf_probe_read_compat run #8: crashed: WARNING in bpf_probe_read_compat run #9: crashed: WARNING in bpf_probe_read_compat representative crash: WARNING in bpf_probe_read_compat, types: [WARNING] # git bisect good 8fa590bf344816c925810331eea8387627bbeb40 Bisecting: 17577 revisions left to test after this (roughly 14 steps) [ecf1d926661bec4080a79c0ac9dbfe02b31702cf] mailmap: map Dikshita Agarwal's old address to his current one determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit ecf1d926661bec4080a79c0ac9dbfe02b31702cf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7a97a81a60ddf070985fbcf12cc43b352087fcf0afff34c3da7902ab1730ced2 run #0: crashed: WARNING in bpf_probe_read_compat run #1: crashed: WARNING in bpf_probe_read_compat run #2: crashed: WARNING in bpf_probe_read_compat run #3: crashed: WARNING in bpf_probe_read_compat run #4: crashed: WARNING in bpf_probe_read_compat run #5: crashed: WARNING in bpf_probe_read_compat run #6: crashed: inconsistent lock state in valid_state run #7: crashed: WARNING in bpf_probe_read_compat run #8: crashed: WARNING in bpf_probe_read_compat run #9: crashed: WARNING in bpf_probe_read_compat representative crash: WARNING in bpf_probe_read_compat, types: [WARNING] # git bisect good ecf1d926661bec4080a79c0ac9dbfe02b31702cf Bisecting: 8775 revisions left to test after this (roughly 13 steps) [5b9a7bb72fddbc5247f56ede55d485fab7abdf92] Merge tag 'for-6.4/io_uring-2023-04-21' of git://git.kernel.dk/linux determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit 5b9a7bb72fddbc5247f56ede55d485fab7abdf92 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cf2b5f4883c6c72d5f061673cede8679383cb688400f0696dbbe8ba103c10f51 all runs: crashed: WARNING in bpf_probe_read_compat representative crash: WARNING in bpf_probe_read_compat, types: [WARNING] # git bisect good 5b9a7bb72fddbc5247f56ede55d485fab7abdf92 Bisecting: 4419 revisions left to test after this (roughly 12 steps) [97b2ff294381d05e59294a931c4db55276470cb5] Merge tag 'staging-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit 97b2ff294381d05e59294a931c4db55276470cb5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6634d046806ed88ecd94e4245b643be908630af3e19086a68b5129439530e607 all runs: OK false negative chance: 0.000 # git bisect bad 97b2ff294381d05e59294a931c4db55276470cb5 Bisecting: 2177 revisions left to test after this (roughly 11 steps) [91b6d02ddcd113352bdd895990b252065c596de7] Bluetooth: Add new quirk for broken set random RPA timeout for ATS2851 determine whether the revision contains the guilty commit revision ecf1d926661bec4080a79c0ac9dbfe02b31702cf crashed and is reachable testing commit 91b6d02ddcd113352bdd895990b252065c596de7 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ae6370646e1f7cf241dd6016b6c4d562781d34924132de27e0b156682c446c2d all runs: OK false negative chance: 0.000 # git bisect bad 91b6d02ddcd113352bdd895990b252065c596de7 Bisecting: 1088 revisions left to test after this (roughly 10 steps) [0cc6fb8a0c360de23606d013eb029a8c3e78bcc8] wifi: iwlwifi: nvm-parse: enable 160/320 MHz for AP mode determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit 0cc6fb8a0c360de23606d013eb029a8c3e78bcc8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3c5d3be294a713c9172869d5bb695a68ca3b953ad9d19453db3848da1e427890 run #0: crashed: WARNING in bpf_probe_read_compat run #1: crashed: WARNING in bpf_probe_read_compat run #2: crashed: inconsistent lock state in valid_state run #3: crashed: WARNING in bpf_probe_read_compat run #4: crashed: WARNING in bpf_probe_read_compat run #5: crashed: WARNING in bpf_probe_read_compat run #6: crashed: WARNING in bpf_probe_read_compat run #7: crashed: WARNING in bpf_probe_read_compat run #8: crashed: WARNING in bpf_probe_read_compat run #9: crashed: WARNING in bpf_probe_read_compat representative crash: WARNING in bpf_probe_read_compat, types: [WARNING] # git bisect good 0cc6fb8a0c360de23606d013eb029a8c3e78bcc8 Bisecting: 543 revisions left to test after this (roughly 9 steps) [1e264f9d2918b5737023c44a23ae04def1095210] net: dsa: qca8k: add LEDs basic support determine whether the revision contains the guilty commit revision ecf1d926661bec4080a79c0ac9dbfe02b31702cf crashed and is reachable testing commit 1e264f9d2918b5737023c44a23ae04def1095210 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4fbf63440c0135061cd9077efda9c8f5c06a2eac4988338f3e9b094be7701897 all runs: OK false negative chance: 0.000 # git bisect bad 1e264f9d2918b5737023c44a23ae04def1095210 Bisecting: 272 revisions left to test after this (roughly 8 steps) [6499fe6edc4fd5b91aed4d5cd84bd113e1c58d5f] bpf: Remove bpf_cgroup_kptr_get() kfunc determine whether the revision contains the guilty commit revision cfeafd94668910334a77c9437a18212baf9f5610 crashed and is reachable testing commit 6499fe6edc4fd5b91aed4d5cd84bd113e1c58d5f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8f00d389e291b0cf30f9506beed05eb5ab8c72f33394a7e463c48fda51b06d1c run #0: crashed: WARNING in bpf_probe_read_compat run #1: crashed: WARNING in bpf_probe_read_compat run #2: crashed: WARNING in bpf_probe_read_compat run #3: crashed: WARNING in bpf_probe_read_compat run #4: crashed: inconsistent lock state in valid_state run #5: crashed: WARNING in bpf_probe_read_compat run #6: crashed: WARNING in bpf_probe_read_compat run #7: crashed: WARNING in bpf_probe_read_compat run #8: crashed: inconsistent lock state in valid_state run #9: crashed: WARNING in bpf_probe_read_compat representative crash: WARNING in bpf_probe_read_compat, types: [WARNING] # git bisect good 6499fe6edc4fd5b91aed4d5cd84bd113e1c58d5f Bisecting: 136 revisions left to test after this (roughly 7 steps) [8c0d0fe04449b9ea2654bf435e51171fbf2a71ac] net: macb: Optimize reading HW timestamp determine whether the revision contains the guilty commit revision ecf1d926661bec4080a79c0ac9dbfe02b31702cf crashed and is reachable testing commit 8c0d0fe04449b9ea2654bf435e51171fbf2a71ac gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7133695c5e35c1d777f5edc1102e261fa7173e6b94824dc5ed5db5f346b314a5 all runs: OK false negative chance: 0.000 # git bisect bad 8c0d0fe04449b9ea2654bf435e51171fbf2a71ac Bisecting: 67 revisions left to test after this (roughly 6 steps) [301f227fc860624d37ba5dae9da57dcf371268db] net: piggy back on the memory barrier in bql when waking queues determine whether the revision contains the guilty commit revision ecf1d926661bec4080a79c0ac9dbfe02b31702cf crashed and is reachable testing commit 301f227fc860624d37ba5dae9da57dcf371268db gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: dd16ee29ec879c84b057b96bbc216d859871add9f4f3968813dc9134b09ff8b9 all runs: crashed: WARNING in bpf_probe_read_compat representative crash: WARNING in bpf_probe_read_compat, types: [WARNING] # git bisect good 301f227fc860624d37ba5dae9da57dcf371268db Bisecting: 33 revisions left to test after this (roughly 5 steps) [50762d9af307b1c466fe0e1441c7923975927d98] net: docs: update the sample code in driver.rst determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit 50762d9af307b1c466fe0e1441c7923975927d98 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e41497bc51a4edd64825e62ebc9d755e76175a5af06a23f5e041b8b1bbb5207b run #0: crashed: WARNING in bpf_probe_read_compat run #1: crashed: WARNING in bpf_probe_read_compat run #2: crashed: WARNING in bpf_probe_read_compat run #3: crashed: WARNING in bpf_probe_read_compat run #4: crashed: WARNING in bpf_probe_read_compat run #5: crashed: WARNING in bpf_probe_read_compat run #6: crashed: WARNING in bpf_probe_read_compat run #7: crashed: WARNING in bpf_probe_read_compat run #8: crashed: WARNING in bpf_probe_read_compat run #9: crashed: inconsistent lock state in valid_state representative crash: WARNING in bpf_probe_read_compat, types: [WARNING] # git bisect good 50762d9af307b1c466fe0e1441c7923975927d98 Bisecting: 16 revisions left to test after this (roughly 4 steps) [8c5c2a4898e3d6bad86e29d471e023c8a19ba799] bpf, sockmap: Revert buggy deadlock fix in the sockhash and sockmap determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit 8c5c2a4898e3d6bad86e29d471e023c8a19ba799 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 78e97e89422618f39a7bd39f5b2cbd2dce0bbbe1b123455e9b764bb14fc2d6cb all runs: OK false negative chance: 0.000 # git bisect bad 8c5c2a4898e3d6bad86e29d471e023c8a19ba799 Bisecting: 8 revisions left to test after this (roughly 3 steps) [5a674611d116a5fc28c5429beea2b78c6e2933ef] selftests/bpf: Fix use of uninitialized op_name in log tests determine whether the revision contains the guilty commit revision 6499fe6edc4fd5b91aed4d5cd84bd113e1c58d5f crashed and is reachable testing commit 5a674611d116a5fc28c5429beea2b78c6e2933ef gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a4b35083cd7459e6a7307ac96b5ac284477d795dc66e839ad0a636cd9b3bd34b all runs: OK false negative chance: 0.000 # git bisect bad 5a674611d116a5fc28c5429beea2b78c6e2933ef Bisecting: 3 revisions left to test after this (roughly 2 steps) [c50e96099edb134bf107fafc02715fbc4aa2277f] bpf,fou: Add bpf_skb_{set,get}_fou_encap kfuncs determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit c50e96099edb134bf107fafc02715fbc4aa2277f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8b16f7f7b2900045afe46406c0d17de9ff955eae6c256db13c19bd524c196f32 all runs: crashed: WARNING in bpf_probe_read_compat representative crash: WARNING in bpf_probe_read_compat, types: [WARNING] # git bisect good c50e96099edb134bf107fafc02715fbc4aa2277f Bisecting: 1 revision left to test after this (roughly 1 step) [bbc73e6855b80144cd43d165696f1ff56d6192c9] Merge branch 'Add FOU support for externally controlled ipip devices' determine whether the revision contains the guilty commit revision 6499fe6edc4fd5b91aed4d5cd84bd113e1c58d5f crashed and is reachable testing commit bbc73e6855b80144cd43d165696f1ff56d6192c9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c41686f18604b22007b99f4f9f8f67bfb5614e2152bb6959a8957bd26a7c52fc all runs: crashed: WARNING in bpf_probe_read_compat representative crash: WARNING in bpf_probe_read_compat, types: [WARNING] # git bisect good bbc73e6855b80144cd43d165696f1ff56d6192c9 Bisecting: 0 revisions left to test after this (roughly 0 steps) [d319f344561de23e810515d109c7278919bff7b0] mm: Fix copy_from_user_nofault(). determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit d319f344561de23e810515d109c7278919bff7b0 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d705379fdcc17715ff1f3f6fbaeb720a15251d4c9d35d2398b1a133e6af14dc8 all runs: OK false negative chance: 0.000 # git bisect bad d319f344561de23e810515d109c7278919bff7b0 d319f344561de23e810515d109c7278919bff7b0 is the first bad commit commit d319f344561de23e810515d109c7278919bff7b0 Author: Alexei Starovoitov Date: Mon Apr 10 19:43:44 2023 +0200 mm: Fix copy_from_user_nofault(). There are several issues with copy_from_user_nofault(): - access_ok() is designed for user context only and for that reason it has WARN_ON_IN_IRQ() which triggers when bpf, kprobe, eprobe and perf on ppc are calling it from irq. - it's missing nmi_uaccess_okay() which is a nop on all architectures except x86 where it's required. The comment in arch/x86/mm/tlb.c explains the details why it's necessary. Calling copy_from_user_nofault() from bpf, [ke]probe without this check is not safe. - __copy_from_user_inatomic() under CONFIG_HARDENED_USERCOPY is calling check_object_size()->__check_object_size()->check_heap_object()->find_vmap_area()->spin_lock() which is not safe to do from bpf, [ke]probe and perf due to potential deadlock. Fix all three issues. At the end the copy_from_user_nofault() becomes equivalent to copy_from_user_nmi() from safety point of view with a difference in the return value. Reported-by: Hsin-Wei Hung Signed-off-by: Alexei Starovoitov Signed-off-by: Florian Lehner Tested-by: Hsin-Wei Hung Tested-by: Florian Lehner Link: https://lore.kernel.org/r/20230410174345.4376-2-dev@der-flo.net Signed-off-by: Alexei Starovoitov mm/maccess.c | 16 +++++++++++----- mm/usercopy.c | 2 +- 2 files changed, 12 insertions(+), 6 deletions(-) accumulated error probability: 0.00 culprit signature: d705379fdcc17715ff1f3f6fbaeb720a15251d4c9d35d2398b1a133e6af14dc8 parent signature: c41686f18604b22007b99f4f9f8f67bfb5614e2152bb6959a8957bd26a7c52fc revisions tested: 28, total time: 8h43m59.177015882s (build: 4h50m41.458343862s, test: 3h34m9.943091265s) first good commit: d319f344561de23e810515d109c7278919bff7b0 mm: Fix copy_from_user_nofault(). recipients (to): ["ast@kernel.org" "dev@der-flo.net" "hsinweih@uci.edu"] recipients (cc): []