ci starts bisection 2023-12-12 03:33:29.648698268 +0000 UTC m=+402533.754156016 bisecting cause commit starting from 2ebe81c814355d000fe49d9c4213983844dcb32b building syzkaller on 28b24332d95f2f7df44ec7e7a5e0025bcadc6277 ensuring issue is reproducible on original commit 2ebe81c814355d000fe49d9c4213983844dcb32b testing commit 2ebe81c814355d000fe49d9c4213983844dcb32b gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: dc54c627832851ea39a99267563cb19d93572f4031019747ad960334fe2dd5ad run #0: crashed: possible deadlock in console_flush_all run #1: crashed: possible deadlock in console_flush_all run #2: crashed: possible deadlock in task_fork_fair run #3: crashed: possible deadlock in console_flush_all run #4: crashed: possible deadlock in console_flush_all run #5: crashed: possible deadlock in console_flush_all run #6: crashed: possible deadlock in task_fork_fair run #7: crashed: possible deadlock in console_flush_all run #8: crashed: possible deadlock in console_flush_all run #9: crashed: possible deadlock in console_flush_all run #10: crashed: possible deadlock in console_flush_all run #11: crashed: possible deadlock in console_flush_all run #12: crashed: possible deadlock in console_flush_all run #13: crashed: possible deadlock in console_flush_all run #14: crashed: possible deadlock in console_flush_all run #15: crashed: possible deadlock in task_fork_fair run #16: crashed: possible deadlock in console_flush_all run #17: crashed: possible deadlock in console_flush_all run #18: crashed: possible deadlock in console_flush_all run #19: crashed: possible deadlock in console_flush_all representative crash: possible deadlock in console_flush_all, types: [LOCKDEP] check whether we can drop unnecessary instrumentation disabling configs for [KASAN ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 2ebe81c814355d000fe49d9c4213983844dcb32b gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 323c2e8af2e620e09c75f8603c39d5b1d5d4fba6a6b7bf374ead84f2d7d41dcb all runs: crashed: possible deadlock in console_flush_all representative crash: possible deadlock in console_flush_all, types: [LOCKDEP] the bug reproduces without the instrumentation disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed kconfig minimization: base=3923 full=7654 leaves diff=2004 split chunks (needed=false): <2004> split chunk #0 of len 2004 into 5 parts testing without sub-chunk 1/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 2ebe81c814355d000fe49d9c4213983844dcb32b gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 45c79a730c9d5517db21223a4ca1ee294b58d3ce8db37b183615823621900775 all runs: crashed: possible deadlock in console_flush_all representative crash: possible deadlock in console_flush_all, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [LEAK UBSAN BUG KASAN ATOMIC_SLEEP HANG], they are not needed testing commit 2ebe81c814355d000fe49d9c4213983844dcb32b gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4dd44827d7a459e77bf1a63a0c2b671bec6757b43fd64cea5a3eb7229183751a all runs: crashed: possible deadlock in console_flush_all representative crash: possible deadlock in console_flush_all, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [KASAN ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 2ebe81c814355d000fe49d9c4213983844dcb32b gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: aa2ce8dfb595dd0e0ad8dac859bb15f105ac405a51dce9ff99aa326710bf280e run #0: crashed: possible deadlock in task_fork_fair run #1: crashed: possible deadlock in console_flush_all run #2: crashed: possible deadlock in task_fork_fair run #3: crashed: possible deadlock in task_fork_fair run #4: crashed: possible deadlock in task_fork_fair run #5: crashed: possible deadlock in task_fork_fair run #6: crashed: possible deadlock in task_fork_fair run #7: crashed: possible deadlock in console_flush_all run #8: crashed: possible deadlock in console_flush_all run #9: crashed: possible deadlock in task_fork_fair representative crash: possible deadlock in task_fork_fair, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [KASAN ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 2ebe81c814355d000fe49d9c4213983844dcb32b gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4ab34b8562af37bf1201d0528ab7491850f4af474d3f1205fd38a5655557a11f run #0: crashed: possible deadlock in console_flush_all run #1: crashed: possible deadlock in console_flush_all run #2: crashed: possible deadlock in console_flush_all run #3: crashed: possible deadlock in console_flush_all run #4: crashed: possible deadlock in console_flush_all run #5: crashed: possible deadlock in console_flush_all run #6: crashed: possible deadlock in console_flush_all run #7: crashed: possible deadlock in console_flush_all run #8: crashed: possible deadlock in __schedule run #9: crashed: possible deadlock in console_flush_all representative crash: possible deadlock in console_flush_all, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [UBSAN BUG KASAN ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 2ebe81c814355d000fe49d9c4213983844dcb32b gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d2fee27f0bba0e0040ec3a724d5552079df926f070c10f0666fc30f4c2a507d5 all runs: OK false negative chance: 0.000 minimized to 400 configs; suspects: [ARCH_ENABLE_MEMORY_HOTREMOVE ATM BCMA BLK_DEV_ZONED BPF_SYSCALL CARDBUS CFG80211 CFG80211_WEXT CMA COMMON_CLK CONTIG_ALLOC CRYPTO_842 CRYPTO_LZ4 CRYPTO_LZ4HC CRYPTO_LZO CRYPTO_ZSTD DVB_CORE EXTCON FB GPIOLIB HID_ZEROPLUS I2C_MUX IIO IOMMUFD IRQ_REMAP KVM KVM_INTEL 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_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_FS USB_CONFIGFS_F_HID 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_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_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_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_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_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 USERFAULTFD USERIO USERMODE_DRIVER USER_RETURN_NOTIFIER UVC_COMMON U_SERIAL_CONSOLE V4L2_MEM2MEM_DEV V4L_TEST_DRIVERS VALIDATE_FS_PARSER VDPA VDPA_SIM VDPA_SIM_BLOCK VDPA_SIM_NET VDPA_USER VETH VFIO VFIO_DEVICE_CDEV 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_TASK VHOST_VDPA VHOST_VSOCK VIDEOBUF2_CORE VIDEOBUF2_DMA_CONTIG VIDEOBUF2_DMA_SG VIDEOBUF2_MEMOPS VIDEOBUF2_V4L2 VIDEOBUF2_VMALLOC VIDEOMODE_HELPERS VIDEO_AU0828 VIDEO_AU0828_RC VIDEO_AU0828_V4L2 VIDEO_CMDLINE 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_NOMODESET VIDEO_PVRUSB2 VIDEO_PVRUSB2_DVB VIDEO_PVRUSB2_SYSFS VIDEO_SAA711X VIDEO_STK1160 VIDEO_TUNER VIDEO_TVEEPROM VIDEO_USBTV 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 WLAN_VENDOR_PURELIFI WLAN_VENDOR_SILABS X86_SGX X86_SGX_KVM X86_USER_SHADOW_STACK X86_X2APIC X86_X32_ABI 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 ZEROPLUS_FF ZLIB_DEFLATE ZONEFS_FS ZPOOL ZRAM ZRAM_DEF_COMP_LZORLE ZSMALLOC ZSTD_COMPRESS ZSWAP ZSWAP_COMPRESSOR_DEFAULT_LZO ZSWAP_DEFAULT_ON ZSWAP_ZPOOL_DEFAULT_ZSMALLOC] disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed picked [v6.6 v6.5 v6.4 v6.2 v6.0 v5.18 v5.16 v5.14 v5.11 v5.8 v5.5 v5.2 v4.20 v4.19] out of 29 release tags testing release v6.6 testing commit ffc253263a1375a65fa6c9f62a893e9767fbebfa gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c72a511a7d82405c56597f8ffef2e2e8c4533127ac97abb6f2b591ebad2f01f1 run #0: crashed: possible deadlock in console_flush_all run #1: crashed: possible deadlock in console_flush_all run #2: crashed: possible deadlock in console_flush_all run #3: crashed: possible deadlock in console_flush_all run #4: crashed: possible deadlock in console_flush_all run #5: crashed: possible deadlock in console_flush_all run #6: crashed: possible deadlock in __schedule run #7: crashed: possible deadlock in console_flush_all run #8: crashed: possible deadlock in console_flush_all run #9: OK representative crash: possible deadlock in console_flush_all, types: [LOCKDEP] testing release v6.5 testing commit 2dde18cd1d8fac735875f2e4987f11817cc0bc2c gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cfd5fd1ba7fff3fd4de1462e741cb6f65bc6eca7cd6459da2e9a919a4e168906 run #0: crashed: possible deadlock in console_flush_all run #1: crashed: possible deadlock in __schedule run #2: crashed: possible deadlock in console_flush_all run #3: crashed: possible deadlock in console_flush_all run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK representative crash: possible deadlock in console_flush_all, types: [LOCKDEP] testing release v6.4 testing commit 6995e2de6891c724bfeb2db33d7b87775f913ad1 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c856996975117d504f84218674f28ec52225e01d2ab5b653c3addb2a827b2fe7 run #0: crashed: possible deadlock in console_flush_all run #1: crashed: possible deadlock in __schedule run #2: crashed: possible deadlock in console_flush_all run #3: crashed: possible deadlock in console_flush_all run #4: OK run #5: OK 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: possible deadlock in console_flush_all, types: [LOCKDEP] testing release v6.2 testing commit c9c3395d5e3dcc6daee66c6908354d47bf98cb0c gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1d68ca356ac78645efd7e2f7d5bea54b3cfc2d0895ff9b9e0922dac8a061b275 run #0: crashed: possible deadlock in console_emit_next_record run #1: crashed: possible deadlock in console_emit_next_record run #2: crashed: possible deadlock in __schedule run #3: OK run #4: OK run #5: OK 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: possible deadlock in console_emit_next_record, types: [LOCKDEP] testing release v6.0 testing commit 4fe89d07dcc2804c8b562f6c7896a45643d34b2f gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8baccbf3816906e52bcb70e07a93f875ee4dfc2b3ca5b3e2cd83da810100db4a run #0: crashed: possible deadlock in console_emit_next_record run #1: crashed: possible deadlock in console_emit_next_record run #2: crashed: possible deadlock in __schedule run #3: OK run #4: OK run #5: OK 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: possible deadlock in console_emit_next_record, types: [LOCKDEP] testing release v5.18 testing commit 4b0986a3613c92f4ec1bdc7f60ec66fea135991f gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: eb25f35d9f5cec0bd055dd1e8f367e7963b7a276bfcd34c9afcc7a389eae4f80 run #0: crashed: possible deadlock in __schedule run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK 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: possible deadlock in __schedule, types: [LOCKDEP] testing release v5.16 testing commit df0cc57e057f18e44dac8e6c18aba47ab53202f9 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bafd9f1a2a5ae84eb8f4697863a6c8202d82628210a1c4981b9a7197654ec362 run #0: crashed: possible deadlock in __schedule run #1: crashed: possible deadlock in console_unlock run #2: crashed: possible deadlock in __schedule run #3: crashed: possible deadlock in console_unlock run #4: OK run #5: OK 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: possible deadlock in __schedule, types: [LOCKDEP] testing release v5.14 testing commit 7d2a07b769330c34b4deabeed939325c77a7ec2f gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c24d5c204ffecaa1a99a30c1f24176745ee00ae63f986c9b82feb9d24ea4a09f run #0: crashed: possible deadlock in console_unlock run #1: crashed: possible deadlock in console_unlock run #2: OK run #3: OK run #4: OK run #5: OK 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: possible deadlock in console_unlock, types: [LOCKDEP] testing release v5.11 testing commit f40ddce88593482919761f74910f42f4b84c004b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a2df84554880867bfa722172ce0b4495cd90a6fbe8e6547e82f2f85d2cb88e48 all runs: OK false negative chance: 0.000 # git bisect start 7d2a07b769330c34b4deabeed939325c77a7ec2f f40ddce88593482919761f74910f42f4b84c004b Bisecting: 24610 revisions left to test after this (roughly 15 steps) [85f3f17b5db2dd9f8a094a0ddc665555135afd22] Merge branch 'md-fixes' of https://git.kernel.org/pub/scm/linux/kernel/git/song/md into block-5.13 testing commit 85f3f17b5db2dd9f8a094a0ddc665555135afd22 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3bfaa581180893c4983b719b626d63399ba1f8429929376a0b24c4f7dea980a3 run #0: crashed: possible deadlock in console_unlock run #1: crashed: possible deadlock in console_unlock run #2: OK run #3: OK run #4: OK run #5: OK 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: possible deadlock in console_unlock, types: [LOCKDEP] # git bisect bad 85f3f17b5db2dd9f8a094a0ddc665555135afd22 Bisecting: 11313 revisions left to test after this (roughly 14 steps) [e216674a5b5781694223ff3f0c4f2cc721a36ab0] Merge branch '10GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue testing commit e216674a5b5781694223ff3f0c4f2cc721a36ab0 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ee1c726f722070ad901186d818676c67a42336a1e93c48673b5cea692c7bdfb7 run #0: crashed: possible deadlock in console_unlock 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 __schedule run #5: crashed: possible deadlock in console_unlock run #6: crashed: possible deadlock in console_unlock run #7: crashed: possible deadlock in console_unlock run #8: crashed: possible deadlock in __schedule run #9: crashed: possible deadlock in __schedule run #10: crashed: possible deadlock in __schedule run #11: crashed: possible deadlock in __schedule run #12: crashed: possible deadlock in console_unlock run #13: crashed: possible deadlock in __schedule run #14: crashed: possible deadlock in console_unlock run #15: crashed: possible deadlock in console_unlock run #16: crashed: possible deadlock in __schedule run #17: crashed: possible deadlock in __schedule run #18: crashed: possible deadlock in __schedule run #19: crashed: possible deadlock in __schedule representative crash: possible deadlock in console_unlock, types: [LOCKDEP] # git bisect bad e216674a5b5781694223ff3f0c4f2cc721a36ab0 Bisecting: 5786 revisions left to test after this (roughly 13 steps) [de1617578849acab8e16c9ffdce39b91fb50639d] Merge tag 'media/v5.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media testing commit de1617578849acab8e16c9ffdce39b91fb50639d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a495caf89cd804834ae88d5fa96bc4ad3f44976945daf70af4e2c6dcace4c373 all runs: OK false negative chance: 0.000 # git bisect good de1617578849acab8e16c9ffdce39b91fb50639d Bisecting: 2921 revisions left to test after this (roughly 12 steps) [36c1b20d15703662aa0f14a32a8bd19ab3a33076] Merge tag 'i3c/for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/i3c/linux testing commit 36c1b20d15703662aa0f14a32a8bd19ab3a33076 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 68ed9602a065ba48abb8d9cf2186657665ec345a990cc284b2d1701ef4bb9c1d all runs: OK false negative chance: 0.000 # git bisect good 36c1b20d15703662aa0f14a32a8bd19ab3a33076 Bisecting: 1461 revisions left to test after this (roughly 11 steps) [a56ff24efbba18f4361415597f145f4b5773be3e] Merge tag 'objtool-core-2021-02-23' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip testing commit a56ff24efbba18f4361415597f145f4b5773be3e gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6fd84c7c120b21736587ada60bed0b443b3a26ebcc0e69580d100d4f123b8757 all runs: OK false negative chance: 0.000 # git bisect good a56ff24efbba18f4361415597f145f4b5773be3e Bisecting: 692 revisions left to test after this (roughly 10 steps) [e229b429bb4af24d9828758c0c851bb6a4169400] Merge tag 'char-misc-5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc testing commit e229b429bb4af24d9828758c0c851bb6a4169400 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5b2c66176c3b8915df8e5a19b3ff01cb2dcc7ab9e2c87f0cd6a15e3cbc350511 all runs: OK false negative chance: 0.000 # git bisect good e229b429bb4af24d9828758c0c851bb6a4169400 Bisecting: 336 revisions left to test after this (roughly 9 steps) [5b47b10e8fb92f8beca6aa8a7d97fc84e090384c] Merge tag 'pci-v5.12-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci testing commit 5b47b10e8fb92f8beca6aa8a7d97fc84e090384c gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: af57ca3e733c6d17af04b89723de4472c847debabb0d5830ced61f70a8861ab1 all runs: OK false negative chance: 0.000 # git bisect good 5b47b10e8fb92f8beca6aa8a7d97fc84e090384c Bisecting: 154 revisions left to test after this (roughly 7 steps) [fdce29602f865b016012eadeaec99800da916d3d] Merge tag 'drm-next-2021-02-26' of git://anongit.freedesktop.org/drm/drm testing commit fdce29602f865b016012eadeaec99800da916d3d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cf6d6e717be8411f9dbf3520c5d58809a532f5aa8d42d7e53d4132c7d9d81d48 all runs: OK false negative chance: 0.000 # git bisect good fdce29602f865b016012eadeaec99800da916d3d Bisecting: 77 revisions left to test after this (roughly 6 steps) [0d1bf7a5e2252f1683ace3675ec8c4562bf1b0ac] Merge tag 'wireless-drivers-2021-02-26' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers testing commit 0d1bf7a5e2252f1683ace3675ec8c4562bf1b0ac gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c9259f83927f89b70c97c02d0c205083133365161a4a82338b2a063b7f0da7ab run #0: crashed: possible deadlock in console_unlock run #1: crashed: possible deadlock in console_unlock run #2: crashed: possible deadlock in __schedule run #3: crashed: possible deadlock in __schedule run #4: crashed: possible deadlock in __schedule run #5: crashed: possible deadlock in console_unlock run #6: crashed: possible deadlock in console_unlock run #7: crashed: possible deadlock in __schedule run #8: crashed: possible deadlock in console_unlock run #9: crashed: possible deadlock in __schedule run #10: crashed: possible deadlock in __schedule run #11: crashed: possible deadlock in __schedule run #12: crashed: possible deadlock in __schedule run #13: crashed: possible deadlock in console_unlock run #14: crashed: possible deadlock in __schedule run #15: crashed: possible deadlock in console_unlock run #16: crashed: possible deadlock in __schedule run #17: crashed: possible deadlock in __schedule run #18: crashed: possible deadlock in console_unlock run #19: OK representative crash: possible deadlock in console_unlock, types: [LOCKDEP] # git bisect bad 0d1bf7a5e2252f1683ace3675ec8c4562bf1b0ac Bisecting: 45 revisions left to test after this (roughly 5 steps) [16c10bede8b3d8594279752bf53153491f3f944f] virtio-input: add multi-touch support testing commit 16c10bede8b3d8594279752bf53153491f3f944f gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f33be9a8650a49d1bfbc14da9922ad0c61597e5d9ff041e181f516ab0c938c94 run #0: crashed: possible deadlock in console_unlock run #1: crashed: possible deadlock in __schedule 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 __schedule run #6: crashed: possible deadlock in __schedule run #7: crashed: possible deadlock in console_unlock run #8: crashed: possible deadlock in console_unlock 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: possible deadlock in console_unlock run #13: crashed: possible deadlock in console_unlock run #14: crashed: possible deadlock in __schedule run #15: crashed: possible deadlock in __schedule run #16: OK run #17: OK run #18: OK run #19: OK representative crash: possible deadlock in console_unlock, types: [LOCKDEP] # git bisect bad 16c10bede8b3d8594279752bf53153491f3f944f Bisecting: 15 revisions left to test after this (roughly 4 steps) [0b0177089c60236b6a785346cfaab081acd9be26] virtio-pci-modern: introduce helpers for setting and getting features testing commit 0b0177089c60236b6a785346cfaab081acd9be26 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cf951efc8b4b1d0c8f6e3bd6c28a9e435ab5555d4dbae3f2428a974e98163072 run #0: crashed: possible deadlock in console_unlock 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: possible deadlock in __schedule run #6: crashed: possible deadlock in __schedule run #7: crashed: possible deadlock in console_unlock run #8: crashed: possible deadlock in __schedule 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: possible deadlock in __schedule 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: possible deadlock in __schedule run #17: crashed: possible deadlock in console_unlock run #18: OK run #19: OK representative crash: possible deadlock in console_unlock, types: [LOCKDEP] # git bisect bad 0b0177089c60236b6a785346cfaab081acd9be26 Bisecting: 7 revisions left to test after this (roughly 3 steps) [a3c06ae158dd6fa8336157c31d9234689d068d02] vdpa_sim_net: Add support for user supported devices testing commit a3c06ae158dd6fa8336157c31d9234689d068d02 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a7548aefd32da37f494d272f11281a027dc84f23a10d125a00490369ad5588f2 run #0: crashed: possible deadlock in __schedule run #1: crashed: possible deadlock in console_unlock run #2: crashed: possible deadlock in console_unlock run #3: crashed: possible deadlock in __schedule run #4: crashed: possible deadlock in __schedule run #5: crashed: possible deadlock in console_unlock 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 __schedule run #10: crashed: possible deadlock in __schedule run #11: crashed: possible deadlock in console_unlock run #12: crashed: possible deadlock in console_unlock run #13: crashed: possible deadlock in __schedule run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK representative crash: possible deadlock in __schedule, types: [LOCKDEP] # git bisect bad a3c06ae158dd6fa8336157c31d9234689d068d02 Bisecting: 3 revisions left to test after this (roughly 2 steps) [fd70a406a344e084ac680c3f14e71d37d6023883] vdpa: Extend routine to accept vdpa device name testing commit fd70a406a344e084ac680c3f14e71d37d6023883 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e1c96f7c4238503abd8aea90b70ced1d1f31ff9607078a61a6e789f3fbc5837b all runs: OK false negative chance: 0.000 # git bisect good fd70a406a344e084ac680c3f14e71d37d6023883 Bisecting: 1 revision left to test after this (roughly 1 step) [903f7bcaedb84ca47998e609015a34ddde93742e] vdpa: Enable a user to add and delete a vdpa device testing commit 903f7bcaedb84ca47998e609015a34ddde93742e gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0096a74b844308282b549691fb847c73006173f0895050d9f1d2f052eb001911 all runs: OK false negative chance: 0.000 # git bisect good 903f7bcaedb84ca47998e609015a34ddde93742e Bisecting: 0 revisions left to test after this (roughly 0 steps) [bc0d90ee021f1baecd6aaa010d787eb373aa74dd] vdpa: Enable user to query vdpa device info testing commit bc0d90ee021f1baecd6aaa010d787eb373aa74dd gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 439b76473c24727ee7d0e5acb3db42938e0cd4ea299b158583b390f3ec686cc1 all runs: OK false negative chance: 0.000 # git bisect good bc0d90ee021f1baecd6aaa010d787eb373aa74dd a3c06ae158dd6fa8336157c31d9234689d068d02 is the first bad commit commit a3c06ae158dd6fa8336157c31d9234689d068d02 Author: Parav Pandit Date: Tue Jan 5 12:32:03 2021 +0200 vdpa_sim_net: Add support for user supported devices Enable user to create vdpasim net simulate devices. Show vdpa management device that supports creating, deleting vdpa devices. $ vdpa mgmtdev show vdpasim_net: supported_classes net $ vdpa mgmtdev show -jp { "show": { "vdpasim_net": { "supported_classes": { "net" } } } Create a vdpa device of type networking named as "foo2" from the management device vdpasim: $ vdpa dev add mgmtdev vdpasim_net name foo2 Show the newly created vdpa device by its name: $ vdpa dev show foo2 foo2: type network mgmtdev vdpasim_net vendor_id 0 max_vqs 2 max_vq_size 256 $ vdpa dev show foo2 -jp { "dev": { "foo2": { "type": "network", "mgmtdev": "vdpasim_net", "vendor_id": 0, "max_vqs": 2, "max_vq_size": 256 } } } Delete the vdpa device after its use: $ vdpa dev del foo2 Signed-off-by: Parav Pandit Reviewed-by: Eli Cohen Acked-by: Jason Wang Link: https://lore.kernel.org/r/20210105103203.82508-7-parav@nvidia.com Signed-off-by: Michael S. Tsirkin drivers/vdpa/vdpa_sim/vdpa_sim.c | 3 +- drivers/vdpa/vdpa_sim/vdpa_sim.h | 2 + drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 96 ++++++++++++++++++++++++++---------- 3 files changed, 75 insertions(+), 26 deletions(-) accumulated error probability: 0.00 culprit signature: a7548aefd32da37f494d272f11281a027dc84f23a10d125a00490369ad5588f2 parent signature: 439b76473c24727ee7d0e5acb3db42938e0cd4ea299b158583b390f3ec686cc1 reproducer is flaky (0.55 repro chance estimate) revisions tested: 31, total time: 8h51m34.733660894s (build: 2h31m55.329696341s, test: 5h52m9.014018776s) first bad commit: a3c06ae158dd6fa8336157c31d9234689d068d02 vdpa_sim_net: Add support for user supported devices recipients (to): ["elic@nvidia.com" "jasowang@redhat.com" "mst@redhat.com" "parav@nvidia.com"] recipients (cc): [] crash: possible deadlock in __schedule ====================================================== WARNING: possible circular locking dependency detected 5.11.0-syzkaller #0 Not tainted ------------------------------------------------------ syz-executor.4/4137 is trying to acquire lock: ffffffff82ea29a0 (console_owner){....}-{0:0}, at: console_trylock_spinning kernel/printk/printk.c:1778 [inline] ffffffff82ea29a0 (console_owner){....}-{0:0}, at: vprintk_emit+0x1ce/0x2f0 kernel/printk/printk.c:2091 but task is already holding lock: ffff888237c2bc98 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1320 [inline] ffff888237c2bc98 (&rq->lock){-.-.}-{2:2}, at: __schedule+0xf0/0x950 kernel/sched/core.c:4995 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #4 (&rq->lock){-.-.}-{2:2}: __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x27/0x40 kernel/locking/spinlock.c:151 rq_lock kernel/sched/sched.h:1320 [inline] task_fork_fair+0x37/0x150 kernel/sched/fair.c:10767 sched_fork+0x111/0x290 kernel/sched/core.c:3778 copy_process+0x969/0x1c70 kernel/fork.c:2067 kernel_clone+0x96/0x3c0 kernel/fork.c:2462 kernel_thread+0x50/0x70 kernel/fork.c:2514 rest_init+0x19/0x23f init/main.c:686 start_kernel+0x492/0x4b2 init/main.c:1061 secondary_startup_64_no_verify+0xb0/0xbb -> #3 (&p->pi_lock){-.-.}-{2:2}: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x36/0x50 kernel/locking/spinlock.c:159 try_to_wake_up+0x4e/0x710 kernel/sched/core.c:3349 __wake_up_common+0x88/0x1a0 kernel/sched/wait.c:108 __wake_up_common_lock+0x77/0xb0 kernel/sched/wait.c:138 tty_port_default_wakeup+0x16/0x30 drivers/tty/tty_port.c:50 serial8250_tx_chars+0x100/0x1e0 drivers/tty/serial/8250/8250_port.c:1832 serial8250_handle_irq.part.0+0xce/0xe0 drivers/tty/serial/8250/8250_port.c:1919 serial8250_handle_irq drivers/tty/serial/8250/8250_port.c:1892 [inline] serial8250_default_handle_irq+0x3d/0x80 drivers/tty/serial/8250/8250_port.c:1935 serial8250_interrupt+0x57/0xf0 drivers/tty/serial/8250/8250_core.c:126 __handle_irq_event_percpu+0xbd/0x260 kernel/irq/handle.c:156 handle_irq_event_percpu kernel/irq/handle.c:196 [inline] handle_irq_event+0x50/0xb0 kernel/irq/handle.c:213 handle_edge_irq+0x7c/0x210 kernel/irq/chip.c:819 asm_call_irq_on_stack+0xf/0x20 __run_irq_on_irqstack arch/x86/include/asm/irq_stack.h:48 [inline] run_irq_on_irqstack_cond arch/x86/include/asm/irq_stack.h:101 [inline] handle_irq arch/x86/kernel/irq.c:230 [inline] __common_interrupt arch/x86/kernel/irq.c:249 [inline] common_interrupt+0xe9/0x190 arch/x86/kernel/irq.c:239 asm_common_interrupt+0x1e/0x40 arch/x86/include/asm/idtentry.h:620 native_safe_halt arch/x86/include/asm/irqflags.h:60 [inline] arch_safe_halt arch/x86/include/asm/irqflags.h:103 [inline] acpi_safe_halt drivers/acpi/processor_idle.c:110 [inline] acpi_idle_do_entry+0x4f/0x60 drivers/acpi/processor_idle.c:516 acpi_idle_enter+0x78/0xb0 drivers/acpi/processor_idle.c:647 cpuidle_enter_state+0x8e/0x420 drivers/cpuidle/cpuidle.c:237 cpuidle_enter+0x24/0x40 drivers/cpuidle/cpuidle.c:351 call_cpuidle kernel/sched/idle.c:158 [inline] cpuidle_idle_call kernel/sched/idle.c:239 [inline] do_idle+0x1d9/0x270 kernel/sched/idle.c:299 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:396 start_kernel+0x492/0x4b2 init/main.c:1061 secondary_startup_64_no_verify+0xb0/0xbb -> #2 (&tty->write_wait){-.-.}-{2:2}: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x36/0x50 kernel/locking/spinlock.c:159 __wake_up_common_lock+0x5d/0xb0 kernel/sched/wait.c:137 tty_port_default_wakeup+0x16/0x30 drivers/tty/tty_port.c:50 serial8250_tx_chars+0x100/0x1e0 drivers/tty/serial/8250/8250_port.c:1832 serial8250_handle_irq.part.0+0xce/0xe0 drivers/tty/serial/8250/8250_port.c:1919 serial8250_handle_irq drivers/tty/serial/8250/8250_port.c:1892 [inline] serial8250_default_handle_irq+0x3d/0x80 drivers/tty/serial/8250/8250_port.c:1935 serial8250_interrupt+0x57/0xf0 drivers/tty/serial/8250/8250_core.c:126 __handle_irq_event_percpu+0xbd/0x260 kernel/irq/handle.c:156 handle_irq_event_percpu kernel/irq/handle.c:196 [inline] handle_irq_event+0x50/0xb0 kernel/irq/handle.c:213 handle_edge_irq+0x7c/0x210 kernel/irq/chip.c:819 asm_call_irq_on_stack+0xf/0x20 __run_irq_on_irqstack arch/x86/include/asm/irq_stack.h:48 [inline] run_irq_on_irqstack_cond arch/x86/include/asm/irq_stack.h:101 [inline] handle_irq arch/x86/kernel/irq.c:230 [inline] __common_interrupt arch/x86/kernel/irq.c:249 [inline] common_interrupt+0xe9/0x190 arch/x86/kernel/irq.c:239 asm_common_interrupt+0x1e/0x40 arch/x86/include/asm/idtentry.h:620 native_safe_halt arch/x86/include/asm/irqflags.h:60 [inline] arch_safe_halt arch/x86/include/asm/irqflags.h:103 [inline] acpi_safe_halt drivers/acpi/processor_idle.c:110 [inline] acpi_idle_do_entry+0x4f/0x60 drivers/acpi/processor_idle.c:516 acpi_idle_enter+0x78/0xb0 drivers/acpi/processor_idle.c:647 cpuidle_enter_state+0x8e/0x420 drivers/cpuidle/cpuidle.c:237 cpuidle_enter+0x24/0x40 drivers/cpuidle/cpuidle.c:351 call_cpuidle kernel/sched/idle.c:158 [inline] cpuidle_idle_call kernel/sched/idle.c:239 [inline] do_idle+0x1d9/0x270 kernel/sched/idle.c:299 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:396 start_kernel+0x492/0x4b2 init/main.c:1061 secondary_startup_64_no_verify+0xb0/0xbb -> #1 (&port_lock_key){-.-.}-{2:2}: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x36/0x50 kernel/locking/spinlock.c:159 serial8250_console_write+0x282/0x320 drivers/tty/serial/8250/8250_port.c:3292 call_console_drivers kernel/printk/printk.c:1856 [inline] console_unlock+0x40b/0x5a0 kernel/printk/printk.c:2570 vprintk_emit+0x133/0x2f0 kernel/printk/printk.c:2092 printk+0x53/0x6a kernel/printk/printk.c:2140 register_console+0x1b9/0x270 kernel/printk/printk.c:2921 univ8250_console_init+0x1f/0x22 drivers/tty/serial/8250/8250_core.c:690 console_init+0x16f/0x221 kernel/printk/printk.c:3021 start_kernel+0x3ca/0x4b2 init/main.c:989 secondary_startup_64_no_verify+0xb0/0xbb -> #0 (console_owner){....}-{0:0}: check_prev_add kernel/locking/lockdep.c:2868 [inline] check_prevs_add kernel/locking/lockdep.c:2993 [inline] validate_chain kernel/locking/lockdep.c:3608 [inline] __lock_acquire+0x10e3/0x1aa0 kernel/locking/lockdep.c:4832 lock_acquire kernel/locking/lockdep.c:5442 [inline] lock_acquire+0xbf/0x3b0 kernel/locking/lockdep.c:5407 console_trylock_spinning kernel/printk/printk.c:1799 [inline] vprintk_emit+0x201/0x2f0 kernel/printk/printk.c:2091 printk+0x53/0x6a kernel/printk/printk.c:2140 fail_dump lib/fault-inject.c:45 [inline] should_fail.cold+0x22/0x37 lib/fault-inject.c:146 strncpy_from_user+0x27/0x160 lib/strncpy_from_user.c:118 strncpy_from_user_nofault+0x24/0x60 mm/maccess.c:279 bpf_probe_read_user_str_common kernel/trace/bpf_trace.c:194 [inline] ____bpf_probe_read_user_str kernel/trace/bpf_trace.c:203 [inline] bpf_probe_read_user_str+0x18/0x40 kernel/trace/bpf_trace.c:200 ___bpf_prog_run+0xe0/0x19a0 kernel/bpf/core.c:1513 __bpf_prog_run32+0x34/0x60 kernel/bpf/core.c:1678 bpf_dispatcher_nop_func include/linux/bpf.h:651 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2085 [inline] bpf_trace_run3+0x74/0x160 kernel/trace/bpf_trace.c:2123 __traceiter_sched_switch+0x31/0x50 include/trace/events/sched.h:222 trace_sched_switch include/trace/events/sched.h:222 [inline] __schedule+0x3b8/0x950 kernel/sched/core.c:5075 schedule+0x56/0xc0 kernel/sched/core.c:5157 exit_to_user_mode_loop kernel/entry/common.c:162 [inline] exit_to_user_mode_prepare+0xf5/0x1d0 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x1a/0x60 kernel/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 other info that might help us debug this: Chain exists of: console_owner --> &p->pi_lock --> &rq->lock Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&rq->lock); lock(&p->pi_lock); lock(&rq->lock); lock(console_owner); *** DEADLOCK *** 2 locks held by syz-executor.4/4137: #0: ffff888237c2bc98 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1320 [inline] #0: ffff888237c2bc98 (&rq->lock){-.-.}-{2:2}, at: __schedule+0xf0/0x950 kernel/sched/core.c:4995 #1: ffffffff82f84d40 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run3+0x0/0x160 kernel/trace/bpf_trace.c:2122 stack backtrace: CPU: 0 PID: 4137 Comm: syz-executor.4 Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x77/0x97 lib/dump_stack.c:120 check_noncircular+0xcc/0xe0 kernel/locking/lockdep.c:2117 check_prev_add kernel/locking/lockdep.c:2868 [inline] check_prevs_add kernel/locking/lockdep.c:2993 [inline] validate_chain kernel/locking/lockdep.c:3608 [inline] __lock_acquire+0x10e3/0x1aa0 kernel/locking/lockdep.c:4832 lock_acquire kernel/locking/lockdep.c:5442 [inline] lock_acquire+0xbf/0x3b0 kernel/locking/lockdep.c:5407 console_trylock_spinning kernel/printk/printk.c:1799 [inline] vprintk_emit+0x201/0x2f0 kernel/printk/printk.c:2091 printk+0x53/0x6a kernel/printk/printk.c:2140 fail_dump lib/fault-inject.c:45 [inline] should_fail.cold+0x22/0x37 lib/fault-inject.c:146 strncpy_from_user+0x27/0x160 lib/strncpy_from_user.c:118 strncpy_from_user_nofault+0x24/0x60 mm/maccess.c:279 bpf_probe_read_user_str_common kernel/trace/bpf_trace.c:194 [inline] ____bpf_probe_read_user_str kernel/trace/bpf_trace.c:203 [inline] bpf_probe_read_user_str+0x18/0x40 kernel/trace/bpf_trace.c:200 ___bpf_prog_run+0xe0/0x19a0 kernel/bpf/core.c:1513 __bpf_prog_run32+0x34/0x60 kernel/bpf/core.c:1678 bpf_dispatcher_nop_func include/linux/bpf.h:651 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2085 [inline] bpf_trace_run3+0x74/0x160 kernel/trace/bpf_trace.c:2123 __traceiter_sched_switch+0x31/0x50 include/trace/events/sched.h:222 trace_sched_switch include/trace/events/sched.h:222 [inline] __schedule+0x3b8/0x950 kernel/sched/core.c:5075 schedule+0x56/0xc0 kernel/sched/core.c:5157 exit_to_user_mode_loop kernel/entry/common.c:162 [inline] exit_to_user_mode_prepare+0xf5/0x1d0 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x1a/0x60 kernel/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f35fbffbba9 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:00007f35fbb7e0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: 00000000000000d8 RBX: 00007f35fc11af80 RCX: 00007f35fbffbba9 RDX: 0000000000000000 RSI: 0000000020000940 RDI: 0000000000000003 RBP: 00007f35fbb7e120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 000000000000000b R14: 00007f35fc11af80 R15: 00007ffc6298ac38