ci2 starts bisection 2024-07-08 06:50:34.345547397 +0000 UTC m=+251181.006036343 bisecting fixing commit since 83655231580bc07485a4ac2a6c971c3a175dd27d building syzkaller on c0f1611a36d66bb0bb8e2f294b97fb685bfc5f9c ensuring issue is reproducible on original commit 83655231580bc07485a4ac2a6c971c3a175dd27d testing commit 83655231580bc07485a4ac2a6c971c3a175dd27d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 18d02a503203beb1e953cbbed9c750c49c4c86adaab3872496f17f10a27cd19d run #0: crashed: possible deadlock in console_unlock run #1: crashed: possible deadlock in console_unlock run #2: crashed: WARNING in bpf_probe_read_user run #3: crashed: possible deadlock in console_unlock run #4: crashed: possible deadlock in console_unlock run #5: crashed: WARNING in bpf_probe_read_user run #6: crashed: WARNING in bpf_probe_read_user run #7: crashed: possible deadlock in console_unlock run #8: crashed: possible deadlock in console_unlock run #9: crashed: WARNING in bpf_probe_read_user run #10: crashed: possible deadlock in console_unlock run #11: crashed: WARNING in NUM run #12: crashed: WARNING in bpf_probe_read_user run #13: crashed: possible deadlock in console_unlock run #14: crashed: possible deadlock in console_unlock run #15: crashed: possible deadlock in console_unlock run #16: crashed: WARNING in bpf_probe_read_user run #17: crashed: possible deadlock in console_unlock run #18: crashed: possible deadlock in console_unlock run #19: crashed: possible deadlock in console_unlock representative crash: possible deadlock in console_unlock, types: [LOCKDEP WARNING] check whether we can drop unnecessary instrumentation disabling configs for [UBSAN KASAN ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 83655231580bc07485a4ac2a6c971c3a175dd27d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e6fe95a48d6d42c7221bff6aebfb3d1f5e6d327b5f97fa2d99a680ef112ba6a7 all runs: OK false negative chance: 0.000 kconfig minimization: base=3703 full=7269 leaves diff=1984 split chunks (needed=false): <1984> split chunk #0 of len 1984 into 5 parts testing without sub-chunk 1/5 testing commit 83655231580bc07485a4ac2a6c971c3a175dd27d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2d2414f9caf78d41cd5a685779f6e60ec556b25894a195321c9835803f3ad83e run #0: crashed: possible deadlock in console_unlock run #1: crashed: WARNING in bpf_probe_read_user run #2: crashed: possible deadlock in console_unlock run #3: crashed: possible deadlock in console_unlock run #4: crashed: possible deadlock in console_unlock run #5: crashed: possible deadlock in console_unlock run #6: crashed: possible deadlock in console_unlock run #7: crashed: possible deadlock in lock_timer_base run #8: crashed: possible deadlock in console_unlock run #9: crashed: possible deadlock in console_unlock representative crash: possible deadlock in console_unlock, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 2/5 testing commit 83655231580bc07485a4ac2a6c971c3a175dd27d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fd983578741a976dbd7876d75bfb80c666e71294ef9b32f20f391d6e5931bd5d run #0: crashed: possible deadlock in lock_timer_base run #1: crashed: possible deadlock in console_unlock run #2: crashed: possible deadlock in console_unlock run #3: crashed: possible deadlock in console_unlock run #4: crashed: possible deadlock in console_unlock run #5: crashed: WARNING in bpf_probe_read_user run #6: crashed: possible deadlock in console_unlock run #7: crashed: possible deadlock in console_unlock run #8: crashed: possible deadlock in console_unlock run #9: crashed: possible deadlock in console_unlock representative crash: possible deadlock in lock_timer_base, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 3/5 testing commit 83655231580bc07485a4ac2a6c971c3a175dd27d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8a7703a099910ced0d25e074d6dfdf9635c69c6dcf4e4c1a2b63273f7f040bcf all runs: crashed: possible deadlock in console_unlock representative crash: possible deadlock in console_unlock, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 4/5 testing commit 83655231580bc07485a4ac2a6c971c3a175dd27d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 73693fecdb39c706f199a486ee8d86108f6e8da22a6e37045a1215b4bdbb3a9d all runs: crashed: WARNING in bpf_probe_read_user representative crash: WARNING in bpf_probe_read_user, types: [WARNING] the chunk can be dropped testing without sub-chunk 5/5 testing commit 83655231580bc07485a4ac2a6c971c3a175dd27d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 044b5beaf6f39b701166534c9bcdbd74572db681ddb5a9917067994d0311bb06 all runs: OK false negative chance: 0.000 minimized to 396 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_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_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_OF_SIMPLE USB_DWC3_PCI USB_DWC3_ULPI USB_DYNAMIC_MINORS USB_EG20T 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_LIBCOMPOSITE USB_LINK_LAYER_TEST USB_M5602 USB_MA901 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_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_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 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 83655231580bc07485a4ac2a6c971c3a175dd27d and 256abd8e550ce977b728be79a74e1729438b4948 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: 691f3367b6d73ec33676548b9c819599356156faa802c72cf71e333642156183 all runs: crashed: WARNING in bpf_probe_read_user representative crash: WARNING in bpf_probe_read_user, types: [WARNING] testing current HEAD 256abd8e550ce977b728be79a74e1729438b4948 testing commit 256abd8e550ce977b728be79a74e1729438b4948 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 778a33c5d8443b38000379cee6ec7fb3e7b61795c6d9087b60f87bf64be6b1e4 all runs: OK false negative chance: 0.000 # git bisect start 256abd8e550ce977b728be79a74e1729438b4948 8bb7eca972ad531c9b149c0a51ab43a417385813 Bisecting: 118873 revisions left to test after this (roughly 17 steps) [307e14c039063f0c9bd7a18a7add8f940580dcc9] Merge tag '6.3-rc-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6 determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit 307e14c039063f0c9bd7a18a7add8f940580dcc9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b387ea22d432097108fef3f7a1dfdfbb50ddb054aebf672040fd3a7984590df8 all runs: crashed: WARNING in bpf_probe_read_user representative crash: WARNING in bpf_probe_read_user, types: [WARNING] # git bisect good 307e14c039063f0c9bd7a18a7add8f940580dcc9 Bisecting: 60144 revisions left to test after this (roughly 16 steps) [5a6a09e97199d6600d31383055f9d43fbbcbe86f] Merge tag 'cgroup-for-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit 5a6a09e97199d6600d31383055f9d43fbbcbe86f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ec0e6bc2fa6fc3f98ad88aa128fbbac90cf5cf0a62eeb41061fc8517cd04576e all runs: OK false negative chance: 0.000 # git bisect bad 5a6a09e97199d6600d31383055f9d43fbbcbe86f Bisecting: 29343 revisions left to test after this (roughly 15 steps) [ff7ddcf0db48a7d9ae536eb0875428117be1d1f1] Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit ff7ddcf0db48a7d9ae536eb0875428117be1d1f1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b7f2b320e0f97b226594bb273b0fe95c591ba67f6b3185dc7388fdd2f591014f 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 ff7ddcf0db48a7d9ae536eb0875428117be1d1f1 Bisecting: 29343 revisions left to test after this (roughly 15 steps) [dc18582211b34bce8250ddf3cac2a2230e192120] net: sfp: add support for setting signalling rate determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit dc18582211b34bce8250ddf3cac2a2230e192120 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3d8ff6efbb26bce5a460864dd359a40bd707baa22536b86fb22ed708bf854e4d all runs: OK false negative chance: 0.000 # git bisect bad dc18582211b34bce8250ddf3cac2a2230e192120 Bisecting: 11190 revisions left to test after this (roughly 14 steps) [c8cc58e289ed3b5bc50258f52776cf3dfa3bad66] Merge tag 'drm-next-2023-04-24' of git://anongit.freedesktop.org/drm/drm determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit c8cc58e289ed3b5bc50258f52776cf3dfa3bad66 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 47d54a20acc298272c4b634eb92286ba03aa95a44a7a12a3ec18ea4fe66c4579 all runs: crashed: WARNING in bpf_probe_read_user representative crash: WARNING in bpf_probe_read_user, types: [WARNING] # git bisect good c8cc58e289ed3b5bc50258f52776cf3dfa3bad66 Bisecting: 5595 revisions left to test after this (roughly 13 steps) [fc2e58b8b7c94b8fe23977775550de00472f6a74] Merge tag 'spi-v6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi determine whether the revision contains the guilty commit revision c8cc58e289ed3b5bc50258f52776cf3dfa3bad66 crashed and is reachable testing commit fc2e58b8b7c94b8fe23977775550de00472f6a74 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 29a74c6f63bf70a4e7f595dd1f25c65f999cd3ffbdfbf19e36c6e5f4dfe6ed92 all runs: OK false negative chance: 0.000 # git bisect bad fc2e58b8b7c94b8fe23977775550de00472f6a74 Bisecting: 3297 revisions left to test after this (roughly 12 steps) [b68ee1c6131c540a62ecd443be89c406401df091] Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi determine whether the revision contains the guilty commit revision c8cc58e289ed3b5bc50258f52776cf3dfa3bad66 crashed and is reachable testing commit b68ee1c6131c540a62ecd443be89c406401df091 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7f32ec761cea364b532e1f1cbbd3af2f0adb9fe7b0779ad950c23cbb1105fbc4 all runs: crashed: WARNING in bpf_probe_read_user representative crash: WARNING in bpf_probe_read_user, types: [WARNING] # git bisect good b68ee1c6131c540a62ecd443be89c406401df091 Bisecting: 1648 revisions left to test after this (roughly 11 steps) [f1836a424518a09b17ee2b69e81e9477321a0aff] Merge tag 'ipsec-next-2023-04-19' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit f1836a424518a09b17ee2b69e81e9477321a0aff gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3550ced3c3ec5266f688962c8d363529a8fa7a3722a29387a9e238bb911457b2 all runs: OK false negative chance: 0.000 # git bisect bad f1836a424518a09b17ee2b69e81e9477321a0aff Bisecting: 867 revisions left to test after this (roughly 10 steps) [dee1efb301f4c380f454bc84c2258b3d594c9615] Merge branch 'tools-ynl-fill-in-some-gaps-of-ethtool-spec' determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit dee1efb301f4c380f454bc84c2258b3d594c9615 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f37e943e9708b7cf0ee72b655b927949c6abe6dd968875591384bce02de49777 all runs: crashed: WARNING in bpf_probe_read_user representative crash: WARNING in bpf_probe_read_user, types: [WARNING] # git bisect good dee1efb301f4c380f454bc84c2258b3d594c9615 Bisecting: 468 revisions left to test after this (roughly 9 steps) [800e68c44ffe71f9715f745b38fd1af6910b3773] Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net determine whether the revision contains the guilty commit revision dee1efb301f4c380f454bc84c2258b3d594c9615 crashed and is reachable testing commit 800e68c44ffe71f9715f745b38fd1af6910b3773 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8b2779f2bef7af744f4111885f99ad3519bb44bb9338bf35a8cec9925fe07e94 all runs: crashed: WARNING in bpf_probe_read_user representative crash: WARNING in bpf_probe_read_user, types: [WARNING] # git bisect good 800e68c44ffe71f9715f745b38fd1af6910b3773 Bisecting: 233 revisions left to test after this (roughly 8 steps) [c0801598e5430d9da2d406ed32fcedbef23977fc] selftests: xsk: Add test UNALIGNED_INV_DESC_4K1_FRAME_SIZE determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit c0801598e5430d9da2d406ed32fcedbef23977fc gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 742e625fac2042479ff130814125ad488156397ad1ec4d093b624bac4ff88e18 all runs: crashed: WARNING in bpf_probe_read_user representative crash: WARNING in bpf_probe_read_user, types: [WARNING] # git bisect good c0801598e5430d9da2d406ed32fcedbef23977fc Bisecting: 116 revisions left to test after this (roughly 7 steps) [62e40c8568251c65026712a90a9a486dc5d06d56] net/mlx5: DR, Apply new accelerated modify action and decapl3 determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit 62e40c8568251c65026712a90a9a486dc5d06d56 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b89dede57bbb616142ecb5092c32fa1e13e3175cbf5e4638925d5d18a4ee91c1 all runs: OK false negative chance: 0.000 # git bisect bad 62e40c8568251c65026712a90a9a486dc5d06d56 Bisecting: 58 revisions left to test after this (roughly 6 steps) [07de32655bb4e4518cdb8ce4e2e0d6ed49f2ceb0] net: mscc: ocelot: debugging print for statistics regions determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit 07de32655bb4e4518cdb8ce4e2e0d6ed49f2ceb0 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c0eef43c7c3da987758ad73e181f4dae874a46bc51fe35674e44f668b156a355 all runs: OK false negative chance: 0.000 # git bisect bad 07de32655bb4e4518cdb8ce4e2e0d6ed49f2ceb0 Bisecting: 28 revisions left to test after this (roughly 5 steps) [5787540827a9e2cdecf38166e648b2924a57443f] selftests/bpf: Add tests to validate log_true_size feature determine whether the revision contains the guilty commit revision 307e14c039063f0c9bd7a18a7add8f940580dcc9 crashed and is reachable testing commit 5787540827a9e2cdecf38166e648b2924a57443f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 00830aab86993305ecf30f2fae8d8b007d8ad9771c021b2f89c3a38f9a808b48 all runs: crashed: WARNING in bpf_probe_read_user representative crash: WARNING in bpf_probe_read_user, types: [WARNING] # git bisect good 5787540827a9e2cdecf38166e648b2924a57443f Bisecting: 14 revisions left to test after this (roughly 4 steps) [bbc73e6855b80144cd43d165696f1ff56d6192c9] Merge branch 'Add FOU support for externally controlled ipip devices' determine whether the revision contains the guilty commit revision 307e14c039063f0c9bd7a18a7add8f940580dcc9 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: fab6c2c115b6f084e9568fb7b449dd0894c1fca35907c811d0a0dad2e26c31b4 all runs: crashed: WARNING in bpf_probe_read_user representative crash: WARNING in bpf_probe_read_user, types: [WARNING] # git bisect good bbc73e6855b80144cd43d165696f1ff56d6192c9 Bisecting: 7 revisions left to test after this (roughly 3 steps) [0c5f48599bed55c13d6f979ea824554bdebdf2ad] xsk: Simplify xp_aligned_validate_desc implementation determine whether the revision contains the guilty commit revision c0801598e5430d9da2d406ed32fcedbef23977fc crashed and is reachable testing commit 0c5f48599bed55c13d6f979ea824554bdebdf2ad gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0318068c8a99bc883ba2e514cc9f509cec5669d78a76fb6f2eb752a490012fea all runs: OK false negative chance: 0.000 # git bisect bad 0c5f48599bed55c13d6f979ea824554bdebdf2ad Bisecting: 2 revisions left to test after this (roughly 2 steps) [c1e07a80cf23d3a6e96172bc9a73bfa912a9fcbc] selftests/bpf: Fix leaked bpf_link in get_stackid_cannot_attach determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit c1e07a80cf23d3a6e96172bc9a73bfa912a9fcbc gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7f89c4d6552c8f734ae1d3f1f4785f2d01c1ac074c1b12a20a9f44bfed1608a8 all runs: OK false negative chance: 0.000 # git bisect bad c1e07a80cf23d3a6e96172bc9a73bfa912a9fcbc Bisecting: 1 revision left to test after this (roughly 1 step) [5a674611d116a5fc28c5429beea2b78c6e2933ef] selftests/bpf: Fix use of uninitialized op_name in log tests determine whether the revision contains the guilty commit revision c0801598e5430d9da2d406ed32fcedbef23977fc 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: ff2aab9d5b05bd63b42b9ac1c8fd1f768a8e619c2983114836229ed73af8ac1c all runs: OK false negative chance: 0.000 # git bisect bad 5a674611d116a5fc28c5429beea2b78c6e2933ef 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 c0801598e5430d9da2d406ed32fcedbef23977fc 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: d2751f35432c7b6c6a135161fcc445d342d65aea305a838d76aa13c060a5575d 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: d2751f35432c7b6c6a135161fcc445d342d65aea305a838d76aa13c060a5575d parent signature: fab6c2c115b6f084e9568fb7b449dd0894c1fca35907c811d0a0dad2e26c31b4 revisions tested: 28, total time: 5h14m0.652409752s (build: 1h49m17.055261678s, test: 3h14m35.395281504s) first good commit: d319f344561de23e810515d109c7278919bff7b0 mm: Fix copy_from_user_nofault(). recipients (to): ["ast@kernel.org" "dev@der-flo.net" "hsinweih@uci.edu"] recipients (cc): []