ci starts bisection 2024-11-16 18:21:43.562023767 +0000 UTC m=+69430.730752224 bisecting cause commit starting from 929beafbe7acce3267c06115e13e03ff6e50548a building syzkaller on 179b040e9d2068ccf2d0e0d3b084dd2293d85e04 fetch other tags and check if the commit is present ensuring issue is reproducible on original commit 929beafbe7acce3267c06115e13e03ff6e50548a testing commit 929beafbe7acce3267c06115e13e03ff6e50548a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 14bda3f8b6ba662b69cbeca6f1d9db2718ee1bf962ac9ae090b77ac24627ebc7 all runs: crashed: possible deadlock in loop_reconfigure_limits representative crash: possible deadlock in loop_reconfigure_limits, types: [LOCKDEP] check whether we can drop unnecessary instrumentation disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed testing commit 929beafbe7acce3267c06115e13e03ff6e50548a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6ae3e97f56b358089d5ef2200c8b9dd3a60dbbe03d2fda3a9981afc5613bf8fd all runs: OK false negative chance: 0.000 kconfig minimization: base=4045 full=8235 leaves diff=2123 split chunks (needed=false): <2123> split chunk #0 of len 2123 into 5 parts testing without sub-chunk 1/5 testing commit 929beafbe7acce3267c06115e13e03ff6e50548a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ba885a4ebe852866f92076bbeb36d98482c8b9c88251c552ab9bcc2f29a5bfdc all runs: crashed: possible deadlock in loop_reconfigure_limits representative crash: possible deadlock in loop_reconfigure_limits, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 2/5 testing commit 929beafbe7acce3267c06115e13e03ff6e50548a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 929beafbe7acce3267c06115e13e03ff6e50548a: drivers/gpu/drm/bridge/aux-bridge.c:116: undefined reference to `devm_drm_of_get_bridge' testing without sub-chunk 3/5 testing commit 929beafbe7acce3267c06115e13e03ff6e50548a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: de178ce7dcd405a59ff42ac508f40c1dacc5b75b903f1aad028796889dd7704d all runs: crashed: possible deadlock in loop_reconfigure_limits representative crash: possible deadlock in loop_reconfigure_limits, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 4/5 testing commit 929beafbe7acce3267c06115e13e03ff6e50548a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ceddbe313ea114a4bebdaeb1dd30136741b46f338c130d64626dfff662d42412 all runs: crashed: possible deadlock in loop_reconfigure_limits representative crash: possible deadlock in loop_reconfigure_limits, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 5/5 testing commit 929beafbe7acce3267c06115e13e03ff6e50548a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5ffdd1baabb540f017e4a4053b03e6739e7047cf545adec76555fb04e6ea4c5b all runs: crashed: possible deadlock in loop_reconfigure_limits representative crash: possible deadlock in loop_reconfigure_limits, types: [LOCKDEP] the chunk can be dropped minimized to 425 configs; suspects: [6LOWPAN ARCH_ENABLE_MEMORY_HOTREMOVE ASUS_WMI CHARGER_BQ24190 CMA COMMON_CLK DAX DLM DRM DRM_BRIDGE DRM_I915 DRM_I915_USERPTR DRM_KMS_HELPER DRM_MIPI_DSI DRM_PANEL DRM_PANEL_BRIDGE DRM_PANEL_EDP DRM_PANEL_ORIENTATION_QUIRKS DRM_SIMPLEDRM DRM_TTM DRM_TTM_HELPER DRM_UDL DRM_VGEM DRM_VIRTIO_GPU DRM_VIRTIO_GPU_KMS DRM_VKMS DRM_VMWGFX DUMMY DVB_AF9013 DVB_AF9033 DVB_AS102 DVB_AS102_FE DVB_B2C2_FLEXCOP DVB_B2C2_FLEXCOP_USB DVB_CORE DVB_DIB3000MB DVB_DIB3000MC DVB_EC100 DVB_GP8PSK_FE DVB_RTL2830 DVB_RTL2832 DVB_RTL2832_SDR DVB_TEST_DRIVERS DVB_TTUSB_BUDGET DVB_TTUSB_DEC DVB_USB DVB_USB_A800 DVB_USB_AF9005 DVB_USB_AF9005_REMOTE DVB_USB_AF9015 DVB_USB_AF9035 DVB_USB_ANYSEE DVB_USB_AU6610 DVB_USB_AZ6007 DVB_USB_AZ6027 DVB_USB_CE6230 DVB_USB_CINERGY_T2 DVB_USB_CXUSB DVB_USB_CXUSB_ANALOG DVB_USB_DIB0700 DVB_USB_DIB3000MC DVB_USB_DIBUSB_MB DVB_USB_DIBUSB_MC DVB_USB_DIGITV DVB_USB_DTT200U DVB_USB_DTV5100 DVB_USB_DVBSKY DVB_USB_DW2102 DVB_USB_EC168 DVB_USB_GL861 DVB_USB_GP8PSK DVB_USB_LME2510 DVB_USB_M920X DVB_USB_MXL111SF DVB_USB_NOVA_T_USB2 DVB_USB_OPERA1 DVB_USB_PCTV452E DVB_USB_RTL28XXU DVB_USB_TECHNISAT_USB2 DVB_USB_TTUSB2 DVB_USB_UMT_010 DVB_USB_V2 DVB_USB_VP702X DVB_USB_VP7045 DVB_USB_ZD1301 DVB_VIDTV DVB_ZL10353 ECRYPT_FS ECRYPT_FS_MESSAGING EDAC EEPROM_93CX6 EFS_FS ENCRYPTED_KEYS EQUALIZER EROFS_FS EROFS_FS_BACKED_BY_FILE EROFS_FS_POSIX_ACL EROFS_FS_SECURITY EROFS_FS_XATTR EROFS_FS_ZIP EVM EVM_ADD_XATTRS EVM_ATTR_FSUUID EXFAT_FS EXPORTFS_BLOCK_OPS EXT3_FS EXT3_FS_POSIX_ACL EXT3_FS_SECURITY EXTCON EXTCON_INTEL_CHT_WC EXTCON_PTN5150 EXTCON_USBC_TUSB320 F2FS_CHECK_FS F2FS_FAULT_INJECTION F2FS_FS F2FS_FS_COMPRESSION F2FS_FS_LZ4 F2FS_FS_LZ4HC F2FS_FS_LZO F2FS_FS_LZORLE F2FS_FS_POSIX_ACL F2FS_FS_SECURITY F2FS_FS_XATTR F2FS_FS_ZSTD F2FS_STAT_FS FANOTIFY FANOTIFY_ACCESS_PERMISSIONS FB FB_CFB_COPYAREA FB_CFB_FILLRECT FB_CFB_IMAGEBLIT FB_CORE FB_DEFERRED_IO FB_DEVICE FB_IOMEM_FOPS FB_IOMEM_HELPERS FB_NOTIFY FB_SYSMEM_FOPS FB_SYSMEM_HELPERS FB_SYSMEM_HELPERS_DEFERRED FB_SYS_COPYAREA FB_SYS_FILLRECT FB_SYS_IMAGEBLIT FB_TILEBLITTING FB_VESA FB_VGA16 FB_VIRTUAL FDDI FIREWIRE FIREWIRE_NET FIREWIRE_OHCI FIREWIRE_SBP2 FONT_8x16 FONT_8x8 FONT_SUPPORT FRAMEBUFFER_CONSOLE FRAMEBUFFER_CONSOLE_DETECT_PRIMARY FRAMEBUFFER_CONSOLE_ROTATION FS_DAX FS_DAX_PMD FS_ENCRYPTION FS_ENCRYPTION_ALGS FS_STACK FS_VERITY FS_VERITY_BUILTIN_SIGNATURES FTL FUSE_DAX FUSE_FS FW_LOADER_COMPRESS FW_LOADER_PAGED_BUF FW_LOADER_SYSFS FW_LOADER_USER_HELPER FW_LOADER_USER_HELPER_FALLBACK GACT_PROB GARP GENERIC_PHY GET_FREE_REGION GFS2_FS GFS2_FS_LOCKING_DLM GNSS GNSS_USB GOOGLE_COREBOOT_TABLE GOOGLE_FIRMWARE GOOGLE_MEMCONSOLE GOOGLE_MEMCONSOLE_COREBOOT GOOGLE_VPD GPIOLIB GPIOLIB_IRQCHIP GPIO_ACPI GPIO_DLN2 GPIO_LJCA GPIO_VIPERBOARD GREENASIA_FF GREYBUS GREYBUS_BRIDGED_PHY GREYBUS_ES2 GREYBUS_HID GREYBUS_USB GROUP_SCHED_WEIGHT GTP GUEST_PERF_EVENTS GVE HAVE_ARCH_NODE_DEV_GROUP HAVE_ARCH_USERFAULTFD_MINOR HAVE_ARCH_USERFAULTFD_WP HAVE_BOOTMEM_INFO_NODE HAVE_CLK_PREPARE HAVE_KVM_CPU_RELAX_INTERCEPT HAVE_KVM_DIRTY_RING HAVE_KVM_DIRTY_RING_ACQ_REL HAVE_KVM_DIRTY_RING_TSO HAVE_KVM_IRQCHIP HAVE_KVM_IRQ_BYPASS HAVE_KVM_IRQ_ROUTING HAVE_KVM_MSI HAVE_KVM_NO_POLL HAVE_KVM_PFNCACHE HAVE_KVM_PM_NOTIFIER HAVE_KVM_READONLY_MEM HAVE_SCHED_AVG_IRQ HDLC HDLC_CISCO HDLC_FR HDLC_PPP HDLC_RAW HDLC_RAW_ETH HDLC_X25 HDMI HFSPLUS_FS HFS_FS HID_ACCUTOUCH HID_ACRUX HID_ACRUX_FF HID_ALPS HID_APPLEIR HID_ASUS HID_AUREAL HID_BATTERY_STRENGTH HID_BETOP_FF HID_BIGBEN_FF HID_CMEDIA HID_CORSAIR HID_COUGAR HID_CP2112 HID_CREATIVE_SB0540 HID_ELAN HID_ELECOM HID_ELO HID_EMS_FF HID_EVISION HID_FT260 HID_GEMBIRD HID_GFRM HID_GLORIOUS HID_GOOGLE_STADIA_FF HID_GREENASIA HID_GT683R HID_HOLTEK HID_ICADE HID_JABRA HID_KEYTOUCH HID_KYE HID_LCPOWER HID_LED HID_LENOVO HID_LETSKETCH HID_LOGITECH_DJ HID_LOGITECH_HIDPP HID_MACALLY HID_MAGICMOUSE HID_MALTRON HID_MAYFLASH HID_MCP2200 HID_MCP2221 HID_MEGAWORLD_FF HID_MULTITOUCH HID_NTI HID_ORTEK HID_PENMOUNT HID_PICOLCD HID_PICOLCD_BACKLIGHT HID_PICOLCD_CIR HID_PICOLCD_FB HID_PICOLCD_LCD HID_PICOLCD_LEDS HID_PLANTRONICS HID_PRIMAX HID_PRODIKEYS HID_PXRC HID_RAZER HID_RETRODE HID_RMI HID_ROCCAT HID_SAITEK HID_SEMITEK HID_SENSOR_ACCEL_3D HID_SENSOR_ALS HID_SENSOR_CUSTOM_INTEL_HINGE HID_SENSOR_CUSTOM_SENSOR HID_SENSOR_DEVICE_ROTATION HID_SENSOR_GYRO_3D HID_SENSOR_HUB HID_SENSOR_HUMIDITY HID_SENSOR_IIO_COMMON HID_SENSOR_IIO_TRIGGER HID_SENSOR_INCLINOMETER_3D HID_SENSOR_MAGNETOMETER_3D HID_SENSOR_PRESS HID_SENSOR_PROX HID_SENSOR_TEMP HID_SIGMAMICRO HID_SPEEDLINK HID_STEELSERIES HID_THINGM HID_TIVO HID_TOPRE HID_TWINHAN HID_U2FZERO HID_UCLOGIC HID_UDRAW_PS3 HID_VIEWSONIC HID_VIVALDI HID_VIVALDI_COMMON HID_VRC2 HID_WACOM HID_WALTOP HID_WIIMOTE HID_XIAOMI HID_XINMO HID_ZYDACRON HMM_MIRROR HOLTEK_FF HOTPLUG_PCI_PCIE HPET_MMAP HPET_MMAP_DEFAULT HPFS_FS I2C_ALGOBIT I2C_CHARDEV I2C_CP2615 I2C_DESIGNWARE_CORE I2C_DESIGNWARE_PLATFORM I2C_DIOLAN_U2C I2C_DLN2 I2C_HID_ACPI I2C_HID_CORE I2C_HID_OF I2C_LJCA I2C_MUX I2C_MUX_REG I2C_ROBOTFUZZ_OSIF I2C_SI4713 I2C_SLAVE I2C_SLAVE_EEPROM I2C_TINY_USB I2C_VIPERBOARD IEEE802154 IEEE802154_6LOWPAN IEEE802154_ATUSB IEEE802154_DRIVERS IEEE802154_HWSIM IEEE802154_NL802154_EXPERIMENTAL IEEE802154_SOCKET IFB IIO IIO_BUFFER IIO_KFIFO_BUF IIO_TRIGGER IIO_TRIGGERED_BUFFER IKCONFIG IKCONFIG_PROC IMA IMA_APPRAISE IMA_APPRAISE_MODSIG IMA_DEFAULT_HASH_SHA256 IMA_LSM_RULES IMA_MEASURE_ASYMMETRIC_KEYS IMA_NG_TEMPLATE IMA_QUEUE_EARLY_BOOT_KEYS IMA_READ_POLICY IMA_WRITE_POLICY INET6_ESPINTCP INET6_ESP_OFFLOAD INET6_IPCOMP INET6_TUNNEL INET6_XFRM_TUNNEL INET_AH INET_DCCP_DIAG INET_DIAG INET_DIAG_DESTROY INET_ESP INET_ESPINTCP INET_ESP_OFFLOAD INET_IPCOMP INET_MPTCP_DIAG INET_RAW_DIAG INET_SCTP_DIAG INET_TCP_DIAG INET_UDP_DIAG INET_XFRM_TUNNEL INFINIBAND INFINIBAND_ADDR_TRANS INFINIBAND_ADDR_TRANS_CONFIGFS INFINIBAND_IPOIB INFINIBAND_IPOIB_CM INFINIBAND_IPOIB_DEBUG INFINIBAND_ISER INFINIBAND_ON_DEMAND_PAGING INFINIBAND_RTRS INFINIBAND_SRP INFINIBAND_USER_ACCESS INFINIBAND_USER_MAD INFINIBAND_USER_MEM INPUT_ATI_REMOTE2 INPUT_CM109 INPUT_IMS_PCU INPUT_JOYDEV INPUT_KEYSPAN_REMOTE INPUT_LEDS INPUT_MOUSEDEV INPUT_MOUSEDEV_PSAUX INPUT_POWERMATE INPUT_UINPUT INPUT_YEALINK INTEGRITY INTEGRITY_ASYMMETRIC_KEYS INTEGRITY_AUDIT INTEGRITY_SIGNATURE INTEGRITY_TRUSTED_KEYRING INTEL_CHTWC_INT33FE INTEL_IDMA64 INTEL_IOATDMA INTEL_IOMMU_DEFAULT_ON INTEL_IOMMU_SVM INTEL_ISHTP_ECLITE INTEL_ISH_FIRMWARE_DOWNLOADER INTEL_ISH_HID INTEL_SOC_PMIC_CHTWC INTERVAL_TREE_SPAN_ITER IOMMUFD IOMMUFD_DRIVER IOMMUFD_TEST IP6_NF_MATCH_AH IP6_NF_MATCH_EUI64 IP6_NF_MATCH_FRAG IP6_NF_MATCH_HL IP6_NF_MATCH_MH IP6_NF_MATCH_OPTS IP6_NF_MATCH_RPFILTER IP6_NF_MATCH_RT IP6_NF_MATCH_SRH IP6_NF_NAT IP6_NF_RAW IP6_NF_SECURITY IP6_NF_TARGET_HL IP6_NF_TARGET_MASQUERADE IP6_NF_TARGET_NPT IP6_NF_TARGET_SYNPROXY IPV6_FOU IPV6_FOU_TUNNEL IPV6_GRE IPV6_ILA IPV6_MIP6 IPV6_MROUTE IPV6_MROUTE_MULTIPLE_TABLES IPV6_MULTIPLE_TABLES IPV6_OPTIMISTIC_DAD IPV6_PIMSM_V2 IPV6_ROUTER_PREF IPV6_ROUTE_INFO IPV6_RPL_LWTUNNEL IPV6_SEG6_BPF IPV6_SEG6_HMAC IPV6_SEG6_LWTUNNEL IPV6_SIT_6RD IPV6_SUBTREES IPV6_TUNNEL IPV6_VTI IPVLAN IPVLAN_L3S IPVTAP IP_DCCP IP_DCCP_CCID3 IP_DCCP_TFRC_LIB IP_FIB_TRIE_STATS IP_MROUTE_MULTIPLE_TABLES IP_NF_ARPFILTER IP_NF_ARPTABLES IP_NF_ARP_MANGLE IP_NF_MATCH_AH IP_NF_MATCH_ECN IP_NF_MATCH_RPFILTER IP_NF_MATCH_TTL IP_NF_RAW IP_NF_SECURITY IP_NF_TARGET_ECN IP_NF_TARGET_NETMAP IP_NF_TARGET_REDIRECT IP_NF_TARGET_SYNPROXY IP_NF_TARGET_TTL IP_ROUTE_CLASSID IP_SCTP IP_SET IP_SET_BITMAP_IP IP_SET_BITMAP_IPMAC IP_SET_BITMAP_PORT IP_SET_HASH_IP IP_SET_HASH_IPMAC IP_SET_HASH_IPMARK IP_SET_HASH_IPPORT IP_SET_HASH_IPPORTIP IP_SET_HASH_IPPORTNET IP_SET_HASH_MAC IP_SET_HASH_NET IP_SET_HASH_NETIFACE IP_SET_HASH_NETNET IP_SET_HASH_NETPORT IP_SET_HASH_NETPORTNET IP_SET_LIST_SET IP_VS IP_VS_DH IP_VS_FO IP_VS_FTP IP_VS_IPV6 IP_VS_PROTO_TCP IRQ_TIME_ACCOUNTING LAPB LCD_CLASS_DEVICE MAC802154 MEDIA_DIGITAL_TV_SUPPORT MEDIA_RADIO_SUPPORT MEDIA_SDR_SUPPORT MEDIA_SUPPORT MEDIA_TEST_SUPPORT MEDIA_USB_SUPPORT MEMORY_HOTPLUG MEMORY_HOTREMOVE MFD_DLN2 MFD_VIPERBOARD MPTCP MTD NETFILTER_ADVANCED NET_ACT_GACT NET_ACT_MIRRED NET_IPGRE_DEMUX NFT_COMPAT NFT_COMPAT_ARP NFT_FWD_NETDEV NF_TABLES NF_TABLES_ARP NF_TABLES_NETDEV RADIO_ADAPTERS RADIO_SI4713 RAS RC_CORE REGULATOR RFKILL SND SOUND STAGING TRANSPARENT_HUGEPAGE TYPEC TYPEC_MUX_PI3USB30532 USB_LJCA USB_ROLES_INTEL_XHCI USB_ROLE_SWITCH VIDEO_DEV VIRTIO_FS WAN ZONE_DEVICE] picked [v6.11 v6.10 v6.9 v6.7 v6.5 v6.3 v6.1 v5.19 v5.16 v5.13 v5.10 v5.7 v5.4 v5.1 v4.19] out of 34 release tags testing release v6.11 testing commit 98f7e32f20d28ec452afb208f9cffc08448a2652 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a63ff10c2ccd8439cfaf476299d8cf71074c454455d4f31b381b0af53d36720a all runs: OK false negative chance: 0.000 # git bisect start 929beafbe7acce3267c06115e13e03ff6e50548a 98f7e32f20d28ec452afb208f9cffc08448a2652 Bisecting: 12320 revisions left to test after this (roughly 14 steps) [7bc22763d51fc6308550bb61ad83e8aecbb88ae2] Merge branch 'net-airoha-fix-pse-memory-configuration' testing commit 7bc22763d51fc6308550bb61ad83e8aecbb88ae2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0061ac0ecb79b552797cacaa7eaff4d232e4f9c3ff686214cc4cd8ada7749dbe all runs: OK false negative chance: 0.000 # git bisect good 7bc22763d51fc6308550bb61ad83e8aecbb88ae2 Bisecting: 6629 revisions left to test after this (roughly 13 steps) [d3b128e6fcf77d81651fee7f8652da1e13ab7289] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git testing commit d3b128e6fcf77d81651fee7f8652da1e13ab7289 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7c69f1c095392ef03ddaf56a57d637176356265ce0bcb283c93c6d263f41a98a all runs: OK false negative chance: 0.000 # git bisect good d3b128e6fcf77d81651fee7f8652da1e13ab7289 Bisecting: 3319 revisions left to test after this (roughly 12 steps) [3df81bd3ed228d360649d9933bc117281be730a2] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git testing commit 3df81bd3ed228d360649d9933bc117281be730a2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7bf1d1d7248021e71504f39b1aa775ad4dff81a50b1a50bb08ccbad24a131364 all runs: OK false negative chance: 0.000 # git bisect good 3df81bd3ed228d360649d9933bc117281be730a2 Bisecting: 1660 revisions left to test after this (roughly 11 steps) [0ce34a9eb6c59facb5d641a4fec943cf5b33d444] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext.git testing commit 0ce34a9eb6c59facb5d641a4fec943cf5b33d444 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3d49cf32b6f5379917d2871df7c482170b70fd7adad8da74ea5ba939fce12331 all runs: crashed: possible deadlock in loop_reconfigure_limits representative crash: possible deadlock in loop_reconfigure_limits, types: [LOCKDEP] # git bisect bad 0ce34a9eb6c59facb5d641a4fec943cf5b33d444 Bisecting: 886 revisions left to test after this (roughly 10 steps) [884ea00115d8d5aab134d2341ea21cb9b4981a3b] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git testing commit 884ea00115d8d5aab134d2341ea21cb9b4981a3b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 492e40730e36b7e8c43030d1c2f7b3522e44ed01ae6c5db0042c9aae64a54a08 all runs: crashed: possible deadlock in loop_reconfigure_limits representative crash: possible deadlock in loop_reconfigure_limits, types: [LOCKDEP] # git bisect bad 884ea00115d8d5aab134d2341ea21cb9b4981a3b Bisecting: 403 revisions left to test after this (roughly 9 steps) [2d23b783681ea91c5418fc059cdb2f277553a495] Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git testing commit 2d23b783681ea91c5418fc059cdb2f277553a495 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 08f3cbc0a6f2bfc4fa9a13e3e8b9d7bf65a2ffc21bfb2d1764c20dd8fcbf27f6 all runs: crashed: possible deadlock in loop_reconfigure_limits representative crash: possible deadlock in loop_reconfigure_limits, types: [LOCKDEP] # git bisect bad 2d23b783681ea91c5418fc059cdb2f277553a495 Bisecting: 223 revisions left to test after this (roughly 8 steps) [42df3c8640ec7d64cc506e767f01fb2944a7164d] Merge branch 'for-6.13/block' into for-next testing commit 42df3c8640ec7d64cc506e767f01fb2944a7164d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5d43d11ed418b4fba8b3e059b095569c02ff7439eae5865499c9b5f0de4b39a8 all runs: crashed: possible deadlock in loop_reconfigure_limits representative crash: possible deadlock in loop_reconfigure_limits, types: [LOCKDEP] # git bisect bad 42df3c8640ec7d64cc506e767f01fb2944a7164d Bisecting: 71 revisions left to test after this (roughly 6 steps) [2fb4c53cb7181aab745594c25e0babc895e6b3f9] io_uring: add helper of io_req_commit_cqe() testing commit 2fb4c53cb7181aab745594c25e0babc895e6b3f9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f2ade2b3e54f41e5c0f6e1fe410939092301090abc74454206f25c9f79ed8006 all runs: OK false negative chance: 0.000 # git bisect good 2fb4c53cb7181aab745594c25e0babc895e6b3f9 Bisecting: 35 revisions left to test after this (roughly 5 steps) [2f5a65ef30a636d5030917eebd283ac447a212af] block: add a bdev_limits helper testing commit 2f5a65ef30a636d5030917eebd283ac447a212af gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 442d51023f5b0d72d85382f6341f7654747147ca477a0103cec68a3f7d9f9494 all runs: crashed: possible deadlock in blk_trace_setup representative crash: possible deadlock in blk_trace_setup, types: [LOCKDEP] # git bisect bad 2f5a65ef30a636d5030917eebd283ac447a212af Bisecting: 17 revisions left to test after this (roughly 4 steps) [27b5d4170cda9a7ad0596d540d57e063bf5da26e] ublk: merge stop_work and quiesce_work testing commit 27b5d4170cda9a7ad0596d540d57e063bf5da26e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3c1606a830307314daf26db18deb31d8eee24f4a75e3ee23ec03717361ffedf4 all runs: OK false negative chance: 0.000 # git bisect good 27b5d4170cda9a7ad0596d540d57e063bf5da26e Bisecting: 8 revisions left to test after this (roughly 3 steps) [919b5139bd1d557a4d4cd4b2466e2440dda65484] block: flush all throttled bios when deleting the cgroup testing commit 919b5139bd1d557a4d4cd4b2466e2440dda65484 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 71cf442323541add4b8c9bcba71861cc031b66ce371393d4ec0ab311440539ea all runs: OK false negative chance: 0.000 # git bisect good 919b5139bd1d557a4d4cd4b2466e2440dda65484 Bisecting: 4 revisions left to test after this (roughly 2 steps) [e203e20a8b2b67eb12f87aa3ee625cda5e686434] blk-mq: Unexport blk_mq_flush_busy_ctxs() testing commit e203e20a8b2b67eb12f87aa3ee625cda5e686434 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1f2e850c343b6be6032bdf029c57f2470d9a8088ac33c025b5681795cf7a7845 all runs: OK false negative chance: 0.000 # git bisect good e203e20a8b2b67eb12f87aa3ee625cda5e686434 Bisecting: 2 revisions left to test after this (roughly 1 step) [6b6f6c41c8ac9b5ef758f16b793e1fd998cd25b4] nvme: core: switch to non_owner variant of start_freeze/unfreeze queue testing commit 6b6f6c41c8ac9b5ef758f16b793e1fd998cd25b4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a669ad450ebba2b12c5a7d45dc2df2b35962053ce9eb520b46242788aa4df42d all runs: OK false negative chance: 0.000 # git bisect good 6b6f6c41c8ac9b5ef758f16b793e1fd998cd25b4 Bisecting: 0 revisions left to test after this (roughly 1 step) [e4e535bff2bc82bb49a633775f9834beeaa527db] iov_iter: don't require contiguous pages in iov_iter_extract_bvec_pages testing commit e4e535bff2bc82bb49a633775f9834beeaa527db gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6ac06749ccccb7b345be0b49f9af10fe5b917034d94b0e7f4f3c42be3b7f0381 all runs: crashed: possible deadlock in blk_trace_setup representative crash: possible deadlock in blk_trace_setup, types: [LOCKDEP] # git bisect bad e4e535bff2bc82bb49a633775f9834beeaa527db Bisecting: 0 revisions left to test after this (roughly 0 steps) [f1be1788a32e8fa63416ad4518bbd1a85a825c9d] block: model freeze & enter queue as lock for supporting lockdep testing commit f1be1788a32e8fa63416ad4518bbd1a85a825c9d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: aad7187a0b61ba53d9668a98ea4f7ca19a3ed1ae86fd04a4c9e135aade5c7041 all runs: crashed: possible deadlock in blk_trace_setup representative crash: possible deadlock in blk_trace_setup, types: [LOCKDEP] # git bisect bad f1be1788a32e8fa63416ad4518bbd1a85a825c9d f1be1788a32e8fa63416ad4518bbd1a85a825c9d is the first bad commit commit f1be1788a32e8fa63416ad4518bbd1a85a825c9d Author: Ming Lei Date: Fri Oct 25 08:37:20 2024 +0800 block: model freeze & enter queue as lock for supporting lockdep Recently we got several deadlock report[1][2][3] caused by blk_mq_freeze_queue and blk_enter_queue(). Turns out the two are just like acquiring read/write lock, so model them as read/write lock for supporting lockdep: 1) model q->q_usage_counter as two locks(io and queue lock) - queue lock covers sync with blk_enter_queue() - io lock covers sync with bio_enter_queue() 2) make the lockdep class/key as per-queue: - different subsystem has very different lock use pattern, shared lock class causes false positive easily - freeze_queue degrades to no lock in case that disk state becomes DEAD because bio_enter_queue() won't be blocked any more - freeze_queue degrades to no lock in case that request queue becomes dying because blk_enter_queue() won't be blocked any more 3) model blk_mq_freeze_queue() as acquire_exclusive & try_lock - it is exclusive lock, so dependency with blk_enter_queue() is covered - it is trylock because blk_mq_freeze_queue() are allowed to run concurrently 4) model blk_enter_queue() & bio_enter_queue() as acquire_read() - nested blk_enter_queue() are allowed - dependency with blk_mq_freeze_queue() is covered - blk_queue_exit() is often called from other contexts(such as irq), and it can't be annotated as lock_release(), so simply do it in blk_enter_queue(), this way still covered cases as many as possible With lockdep support, such kind of reports may be reported asap and needn't wait until the real deadlock is triggered. For example, lockdep report can be triggered in the report[3] with this patch applied. [1] occasional block layer hang when setting 'echo noop > /sys/block/sda/queue/scheduler' https://bugzilla.kernel.org/show_bug.cgi?id=219166 [2] del_gendisk() vs blk_queue_enter() race condition https://lore.kernel.org/linux-block/20241003085610.GK11458@google.com/ [3] queue_freeze & queue_enter deadlock in scsi https://lore.kernel.org/linux-block/ZxG38G9BuFdBpBHZ@fedora/T/#u Reviewed-by: Christoph Hellwig Signed-off-by: Ming Lei Link: https://lore.kernel.org/r/20241025003722.3630252-4-ming.lei@redhat.com Signed-off-by: Jens Axboe block/blk-core.c | 18 ++++++++++++++++-- block/blk-mq.c | 26 ++++++++++++++++++++++---- block/blk.h | 29 ++++++++++++++++++++++++++--- block/genhd.c | 15 +++++++++++---- include/linux/blkdev.h | 6 ++++++ 5 files changed, 81 insertions(+), 13 deletions(-) accumulated error probability: 0.00 culprit signature: aad7187a0b61ba53d9668a98ea4f7ca19a3ed1ae86fd04a4c9e135aade5c7041 parent signature: a669ad450ebba2b12c5a7d45dc2df2b35962053ce9eb520b46242788aa4df42d revisions tested: 22, total time: 5h10m15.965623487s (build: 2h43m49.172993426s, test: 2h12m6.459058464s) first bad commit: f1be1788a32e8fa63416ad4518bbd1a85a825c9d block: model freeze & enter queue as lock for supporting lockdep recipients (to): ["axboe@kernel.dk" "hch@lst.de" "ming.lei@redhat.com"] recipients (cc): [] crash: possible deadlock in blk_trace_setup ====================================================== WARNING: possible circular locking dependency detected 6.12.0-rc4-syzkaller #0 Not tainted ------------------------------------------------------ syz.3.15/3109 is trying to acquire lock: ffff88810b3f3918 (&mm->mmap_lock){++++}-{3:3}, at: __might_fault+0x92/0x100 mm/memory.c:6705 but task is already holding lock: ffff888103f3c278 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_setup+0xa8/0x190 kernel/trace/blktrace.c:647 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #3 (&q->debugfs_mutex){+.+.}-{3:3}: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825 __mutex_lock_common kernel/locking/mutex.c:608 [inline] __mutex_lock+0x136/0xd70 kernel/locking/mutex.c:752 blk_mq_init_sched+0x39f/0x730 block/blk-mq-sched.c:473 elevator_init_mq+0x15f/0x240 block/elevator.c:605 add_disk_fwnode+0xfe/0xd20 block/genhd.c:413 sd_probe+0xa77/0x10c0 drivers/scsi/sd.c:4024 really_probe+0x2eb/0x960 drivers/base/dd.c:658 __driver_probe_device+0x138/0x310 drivers/base/dd.c:800 driver_probe_device+0x4b/0x3a0 drivers/base/dd.c:830 __driver_attach_async_helper+0x133/0x250 drivers/base/dd.c:1148 async_run_entry_fn+0x9e/0x3f0 kernel/async.c:129 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0x96c/0x1540 kernel/workqueue.c:3310 worker_thread+0x727/0xb10 kernel/workqueue.c:3391 kthread+0x2e0/0x380 kernel/kthread.c:389 ret_from_fork+0x32/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 -> #2 (&q->q_usage_counter(io)){++++}-{0:0}: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825 bio_queue_enter block/blk.h:75 [inline] blk_mq_submit_bio+0x3d0/0x1a00 block/blk-mq.c:3069 __submit_bio+0x1cc/0x410 block/blk-core.c:629 __submit_bio_noacct_mq block/blk-core.c:710 [inline] submit_bio_noacct_nocheck+0x422/0xdf0 block/blk-core.c:739 ext4_io_submit fs/ext4/page-io.c:377 [inline] io_submit_add_bh fs/ext4/page-io.c:418 [inline] ext4_bio_write_folio+0xd33/0x1540 fs/ext4/page-io.c:560 mpage_submit_folio+0x142/0x1a0 fs/ext4/inode.c:1921 mpage_map_and_submit_buffers fs/ext4/inode.c:2167 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2299 [inline] ext4_do_writepages+0x19ab/0x3090 fs/ext4/inode.c:2724 ext4_writepages+0x201/0x380 fs/ext4/inode.c:2813 do_writepages+0x357/0x880 mm/page-writeback.c:2683 __writeback_single_inode+0xf9/0xbe0 fs/fs-writeback.c:1658 writeback_sb_inodes+0x678/0x1020 fs/fs-writeback.c:1954 __writeback_inodes_wb+0x11c/0x1e0 fs/fs-writeback.c:2025 wb_writeback+0x366/0x800 fs/fs-writeback.c:2136 wb_check_background_flush fs/fs-writeback.c:2206 [inline] wb_do_writeback fs/fs-writeback.c:2294 [inline] wb_workfn+0xac5/0xec0 fs/fs-writeback.c:2321 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0x96c/0x1540 kernel/workqueue.c:3310 worker_thread+0x727/0xb10 kernel/workqueue.c:3391 kthread+0x2e0/0x380 kernel/kthread.c:389 ret_from_fork+0x32/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 -> #1 (jbd2_handle){++++}-{0:0}: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825 start_this_handle+0x1b1b/0x1d80 fs/jbd2/transaction.c:448 jbd2__journal_start+0x2a5/0x580 fs/jbd2/transaction.c:505 __ext4_journal_start_sb+0x182/0x410 fs/ext4/ext4_jbd2.c:112 __ext4_journal_start fs/ext4/ext4_jbd2.h:326 [inline] ext4_dirty_inode+0x8d/0x100 fs/ext4/inode.c:5981 __mark_inode_dirty+0x227/0xa30 fs/fs-writeback.c:2493 generic_update_time fs/inode.c:2043 [inline] inode_update_time fs/inode.c:2056 [inline] touch_atime+0x2e3/0x4e0 fs/inode.c:2128 file_accessed include/linux/fs.h:2528 [inline] ext4_file_mmap+0x13f/0x460 fs/ext4/file.c:797 call_mmap include/linux/fs.h:2172 [inline] mmap_region+0x1136/0x2250 mm/mmap.c:1447 do_mmap+0x708/0xc80 mm/mmap.c:496 vm_mmap_pgoff+0x202/0x350 mm/util.c:588 ksys_mmap_pgoff+0x41e/0x610 mm/mmap.c:542 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x210 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f -> #0 (&mm->mmap_lock){++++}-{3:3}: check_prev_add kernel/locking/lockdep.c:3161 [inline] check_prevs_add kernel/locking/lockdep.c:3280 [inline] validate_chain+0x18ef/0x5920 kernel/locking/lockdep.c:3904 __lock_acquire+0x1384/0x2050 kernel/locking/lockdep.c:5202 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825 __might_fault+0xab/0x100 mm/memory.c:6705 _inline_copy_from_user include/linux/uaccess.h:161 [inline] _copy_from_user+0x25/0xa0 lib/usercopy.c:18 copy_from_user include/linux/uaccess.h:203 [inline] __blk_trace_setup kernel/trace/blktrace.c:626 [inline] blk_trace_setup+0xc7/0x190 kernel/trace/blktrace.c:648 sg_ioctl_common drivers/scsi/sg.c:1121 [inline] sg_ioctl+0xafd/0x2b40 drivers/scsi/sg.c:1163 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xa8/0xf0 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x210 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f other info that might help us debug this: Chain exists of: &mm->mmap_lock --> &q->q_usage_counter(io) --> &q->debugfs_mutex Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&q->debugfs_mutex); lock(&q->q_usage_counter(io)); lock(&q->debugfs_mutex); rlock(&mm->mmap_lock); *** DEADLOCK *** 1 lock held by syz.3.15/3109: #0: ffff888103f3c278 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_setup+0xa8/0x190 kernel/trace/blktrace.c:647 stack backtrace: CPU: 0 UID: 0 PID: 3109 Comm: syz.3.15 Not tainted 6.12.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x198/0x250 lib/dump_stack.c:120 print_circular_bug+0x13a/0x1b0 kernel/locking/lockdep.c:2074 check_noncircular+0x36a/0x4a0 kernel/locking/lockdep.c:2206 check_prev_add kernel/locking/lockdep.c:3161 [inline] check_prevs_add kernel/locking/lockdep.c:3280 [inline] validate_chain+0x18ef/0x5920 kernel/locking/lockdep.c:3904 __lock_acquire+0x1384/0x2050 kernel/locking/lockdep.c:5202 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825 __might_fault+0xab/0x100 mm/memory.c:6705 _inline_copy_from_user include/linux/uaccess.h:161 [inline] _copy_from_user+0x25/0xa0 lib/usercopy.c:18 copy_from_user include/linux/uaccess.h:203 [inline] __blk_trace_setup kernel/trace/blktrace.c:626 [inline] blk_trace_setup+0xc7/0x190 kernel/trace/blktrace.c:648 sg_ioctl_common drivers/scsi/sg.c:1121 [inline] sg_ioctl+0xafd/0x2b40 drivers/scsi/sg.c:1163 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xa8/0xf0 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x210 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f11b677e719 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f11b74df038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f11b6935f80 RCX: 00007f11b677e719 RDX: 0000000000000000 RSI: 00000000c0481273 RDI: 0000000000000003 RBP: 00007f11b67f139e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f11b6935f80 R15: 00007ffde84963e8