ci starts bisection 2024-02-05 15:04:48.590195656 +0000 UTC m=+42.293327069 bisecting cause commit starting from 076d56d74f17e625b3d63cf4743b3d7d02180379 building syzkaller on 60bf9982e3c5f47dee643bd88d86c7f0b631e32d fetch other tags and check if the commit is present ensuring issue is reproducible on original commit 076d56d74f17e625b3d63cf4743b3d7d02180379 testing commit 076d56d74f17e625b3d63cf4743b3d7d02180379 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f115983c694cd963c93b2a83fe329cac0c96ef8ee8854d24a2ea273042dccb5c run #0: crashed: INFO: task hung in bond_destructor run #1: crashed: INFO: task hung in hci_release_dev run #2: crashed: INFO: task hung in hci_release_dev run #3: crashed: INFO: task hung in hci_release_dev run #4: crashed: INFO: task hung in hci_release_dev run #5: crashed: INFO: task hung in hci_release_dev run #6: crashed: INFO: task hung in hci_release_dev run #7: crashed: INFO: task hung in hci_release_dev run #8: crashed: INFO: task hung in hci_release_dev run #9: crashed: INFO: task hung in hci_release_dev run #10: crashed: INFO: task hung in hci_release_dev run #11: crashed: INFO: task hung in hci_release_dev run #12: crashed: INFO: task hung in hci_release_dev run #13: crashed: INFO: task hung in hci_release_dev run #14: crashed: INFO: task hung in hci_release_dev run #15: crashed: INFO: task hung in hci_release_dev run #16: crashed: INFO: task hung in hci_release_dev run #17: crashed: INFO: task hung in hci_release_dev run #18: crashed: INFO: task hung in hci_release_dev run #19: crashed: INFO: task hung in hci_release_dev representative crash: INFO: task hung in bond_destructor, types: [HANG] check whether we can drop unnecessary instrumentation disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP LEAK UBSAN BUG], they are not needed testing commit 076d56d74f17e625b3d63cf4743b3d7d02180379 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2c64717afaddf8f2df70d33c1071f05196899859a022b6307e9330eea2f4ceaf all runs: crashed: INFO: task hung in hci_release_dev representative crash: INFO: task hung in hci_release_dev, types: [HANG] the bug reproduces without the instrumentation disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP LEAK UBSAN BUG], they are not needed kconfig minimization: base=3937 full=7979 leaves diff=2014 split chunks (needed=false): <2014> split chunk #0 of len 2014 into 5 parts testing without sub-chunk 1/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 076d56d74f17e625b3d63cf4743b3d7d02180379 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ba088913db47abd7569a0df10cc8ce3cdc4f1713280e5beb6e483eaecf7b63f1 all runs: OK false negative chance: 0.000 testing without sub-chunk 2/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 076d56d74f17e625b3d63cf4743b3d7d02180379 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 173ad773768e7a314a17e630039c3c91a18f6781490117ee55b358b9713ecd7a all runs: crashed: INFO: task hung in hci_release_dev representative crash: INFO: task hung in hci_release_dev, types: [HANG] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 076d56d74f17e625b3d63cf4743b3d7d02180379 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 23d29d8dea640fcf1e98a74c020058ba9f8e879dc5c9fdcbe898bd1e2cb6658f all runs: crashed: INFO: task hung in hci_release_dev representative crash: INFO: task hung in hci_release_dev, types: [HANG] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 076d56d74f17e625b3d63cf4743b3d7d02180379 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 15f439e5e29f2d2703768485d83737f26e0c48d823f6a9c355433e62b1cb1e55 all runs: crashed: INFO: task hung in hci_release_dev representative crash: INFO: task hung in hci_release_dev, types: [HANG] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 076d56d74f17e625b3d63cf4743b3d7d02180379 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: eea931bec43085553babef421c692e3a337da7585460c72f40b2267a354240bd all runs: crashed: INFO: task hung in hci_release_dev representative crash: INFO: task hung in hci_release_dev, types: [HANG] the chunk can be dropped minimized to 403 configs; suspects: [6LOWPAN 6LOWPAN_GHC_EXT_HDR_DEST 6LOWPAN_GHC_EXT_HDR_FRAG 6LOWPAN_GHC_EXT_HDR_HOP 6LOWPAN_GHC_EXT_HDR_ROUTE 6LOWPAN_GHC_ICMPV6 6LOWPAN_GHC_UDP 6LOWPAN_NHC 6LOWPAN_NHC_DEST 6LOWPAN_NHC_FRAGMENT 6LOWPAN_NHC_HOP 6LOWPAN_NHC_IPV6 6LOWPAN_NHC_MOBILITY 6LOWPAN_NHC_ROUTING 6LOWPAN_NHC_UDP 6PACK 842_COMPRESS 842_DECOMPRESS 9P_FSCACHE 9P_FS_POSIX_ACL 9P_FS_SECURITY ACORN_PARTITION ACORN_PARTITION_ADFS ACORN_PARTITION_CUMANA ACORN_PARTITION_EESOX ACORN_PARTITION_ICS ACORN_PARTITION_POWERTEC ACORN_PARTITION_RISCIX ACPI_NFIT ACPI_PLATFORM_PROFILE ADDRESS_MASKING ADFS_FS AFFS_FS AFS_FS AFS_FSCACHE AF_KCM AF_RXRPC AF_RXRPC_IPV6 AIX_PARTITION AMIGA_PARTITION ANDROID_BINDERFS ANDROID_BINDER_IPC ANON_VMA_NAME APERTURE_HELPERS AR5523 ARCH_ENABLE_MEMORY_HOTREMOVE ARCH_ENABLE_THP_MIGRATION ARCH_HAS_CPU_PASID ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATION ARCH_WANT_PMD_MKWRITE ASM_MODVERSIONS ASYNC_CORE ASYNC_MEMCPY ASYNC_PQ ASYNC_RAID6_RECOV ASYNC_TX_DMA ASYNC_XOR ATARI_PARTITION ATA_GENERIC ATA_OVER_ETH ATH10K ATH10K_CE ATH10K_PCI ATH10K_USB ATH11K ATH6KL ATH6KL_USB ATH9K ATH9K_AHB ATH9K_BTCOEX_SUPPORT ATH9K_CHANNEL_CONTEXT ATH9K_COMMON ATH9K_COMMON_DEBUG ATH9K_DEBUGFS ATH9K_DYNACK ATH9K_HTC ATH9K_HTC_DEBUGFS ATH9K_HW ATH9K_PCI ATH9K_PCOEM ATH9K_RFKILL ATH_COMMON ATM ATM_BR2684 ATM_CLIP ATM_DRIVERS ATM_LANE ATM_MPOA ATM_TCP AUXILIARY_BUS AX25 AX25_DAMA_SLAVE AX88796B_PHY BAREUDP BATMAN_ADV BATMAN_ADV_BATMAN_V BATMAN_ADV_BLA BATMAN_ADV_DAT BATMAN_ADV_MCAST BATMAN_ADV_NC BCACHE BCACHEFS_DEBUG BCACHEFS_FS BCACHEFS_QUOTA BCMA BCMA_HOST_PCI_POSSIBLE BEFS_FS BFQ_CGROUP_DEBUG BFQ_GROUP_IOSCHED BFS_FS BIG_KEYS BLK_CGROUP_PUNT_BIO BLK_CGROUP_RWSTAT BLK_DEBUG_FS_ZONED BLK_DEV_BSGLIB BLK_DEV_INTEGRITY BLK_DEV_INTEGRITY_T10 BLK_DEV_NBD BLK_DEV_NULL_BLK BLK_DEV_NULL_BLK_FAULT_INJECTION BLK_DEV_NVME BLK_DEV_PMEM BLK_DEV_RAM BLK_DEV_RNBD BLK_DEV_RNBD_CLIENT BLK_DEV_THROTTLING BLK_DEV_ZONED BLK_ICQ BLK_INLINE_ENCRYPTION BLK_INLINE_ENCRYPTION_FALLBACK BLK_WBT BLK_WBT_MQ BONDING BOOT_VESA_SUPPORT BPF_EVENTS BPF_JIT BPF_JIT_ALWAYS_ON BPF_JIT_DEFAULT_ON BPF_LSM BPF_PRELOAD BPF_PRELOAD_UMD BPF_STREAM_PARSER BPF_SYSCALL BPQETHER BRIDGE BRIDGE_CFM BRIDGE_EBT_802_3 BRIDGE_EBT_AMONG BRIDGE_EBT_ARP BRIDGE_EBT_ARPREPLY BRIDGE_EBT_BROUTE BRIDGE_EBT_DNAT BRIDGE_EBT_IP BRIDGE_EBT_IP6 BRIDGE_EBT_LIMIT BRIDGE_EBT_LOG BRIDGE_EBT_MARK BRIDGE_EBT_MARK_T BRIDGE_EBT_NFLOG BRIDGE_EBT_PKTTYPE BRIDGE_EBT_REDIRECT BRIDGE_EBT_SNAT BRIDGE_EBT_STP BRIDGE_EBT_T_FILTER BRIDGE_EBT_T_NAT BRIDGE_EBT_VLAN BRIDGE_IGMP_SNOOPING BRIDGE_MRP BRIDGE_NF_EBTABLES BRIDGE_NF_EBTABLES_LEGACY BRIDGE_VLAN_FILTERING BSD_DISKLABEL BSD_PROCESS_ACCT_V3 BT BTRFS_ASSERT BTRFS_FS BTRFS_FS_POSIX_ACL BTRFS_FS_REF_VERIFY BTT BT_6LOWPAN BT_ATH3K BT_BCM BT_BNEP BT_BNEP_MC_FILTER BT_BNEP_PROTO_FILTER BT_BREDR BT_CMTP BT_HCIBCM203X BT_HCIBFUSB BT_HCIBPA10X BT_HCIBTUSB BT_HCIBTUSB_BCM BT_HCIBTUSB_MTK BT_HCIBTUSB_POLL_SYNC BT_HCIBTUSB_RTL BT_HCIUART BT_HCIUART_3WIRE BT_HCIUART_AG6XX BT_HCIUART_BCSP BT_HCIUART_H4 BT_HCIUART_LL BT_HCIUART_MRVL BT_HCIUART_QCA BT_HCIUART_SERDEV BT_HCIVHCI BT_HIDP BT_HS BT_INTEL BT_LE BT_LEDS BT_LE_L2CAP_ECRED BT_MRVL BT_MRVL_SDIO BT_MSFTEXT BT_MTK BT_QCA BT_RFCOMM BT_RFCOMM_TTY BT_RTL CACHEFILES CAIF CAIF_DEBUG CAIF_DRIVERS CAIF_NETDEV CAIF_TTY CAIF_USB CAIF_VIRTIO CAN CAN_8DEV_USB CAN_BCM CAN_CALC_BITTIMING CAN_DEV CAN_EMS_USB CAN_GS_USB CAN_GW CAN_IFI_CANFD CAN_ISOTP CAN_J1939 CAN_KVASER_USB CAN_MCBA_USB CAN_NETLINK CAN_PEAK_USB CAN_RAW CAN_RX_OFFLOAD CAN_SLCAN CAN_VCAN CAN_VXCAN CAPI_TRACE CARL9170 CARL9170_HWRNG CARL9170_LEDS CARL9170_WPC CEC_CORE CEPH_FS CEPH_FSCACHE CEPH_FS_POSIX_ACL CEPH_LIB CEPH_LIB_USE_DNS_RESOLVER CFG80211 CFG80211_CRDA_SUPPORT CFG80211_DEBUGFS CFG80211_DEFAULT_PS CFG80211_REQUIRE_SIGNED_REGDB CFG80211_USE_KERNEL_REGDB_KEYS CFG80211_WEXT CFS_BANDWIDTH CGROUP_BPF CHARGER_BQ24190 CHARGER_ISP1704 CHR_DEV_ST CIFS CIFS_ALLOW_INSECURE_LEGACY CIFS_DEBUG CIFS_DFS_UPCALL CIFS_FSCACHE CIFS_POSIX CIFS_SMB_DIRECT CIFS_SWN_UPCALL CIFS_UPCALL CIFS_XATTR CLOSURES CLS_U32_MARK CLS_U32_PERF CMA CMA_SIZE_SEL_MBYTES CMDLINE_PARTITION COMEDI COMEDI_DT9812 COMEDI_NI_USB6501 COMEDI_USBDUX COMEDI_USBDUXFAST COMEDI_USBDUXSIGMA COMEDI_USB_DRIVERS COMEDI_VMK80XX COMPAT_NETLINK_MESSAGES COUNTER CRAMFS CRAMFS_BLOCKDEV CRAMFS_MTD CRC4 CRC64 CRC64_ROCKSOFT CRC7 CRC8 CRC_ITU_T CRC_T10DIF CRYPTO_ADIANTUM CRYPTO_AEGIS128 CRYPTO_AEGIS128_AESNI_SSE2 CRYPTO_AES_NI_INTEL CRYPTO_AES_TI CRYPTO_ANSI_CPRNG CRYPTO_ANUBIS CRYPTO_ARC4 CRYPTO_ARCH_HAVE_LIB_BLAKE2S CRYPTO_ARCH_HAVE_LIB_CHACHA CRYPTO_ARCH_HAVE_LIB_CURVE25519 CRYPTO_ARCH_HAVE_LIB_POLY1305 CRYPTO_ARIA CRYPTO_ARIA_AESNI_AVX_X86_64 CRYPTO_BLAKE2B CRYPTO_BLAKE2S_X86 CRYPTO_BLOWFISH CRYPTO_BLOWFISH_COMMON CRYPTO_BLOWFISH_X86_64 CRYPTO_CAMELLIA CRYPTO_CAMELLIA_AESNI_AVX2_X86_64 CRYPTO_CAMELLIA_AESNI_AVX_X86_64 CRYPTO_CAMELLIA_X86_64 CRYPTO_CAST5 CRYPTO_CAST5_AVX_X86_64 CRYPTO_CAST6 CRYPTO_CAST6_AVX_X86_64 CRYPTO_CAST_COMMON CRYPTO_CHACHA20 CRYPTO_CHACHA20POLY1305 CRYPTO_CHACHA20_X86_64 CRYPTO_CRC32 CRYPTO_CRC32C_INTEL CRYPTO_CRC32_PCLMUL CRYPTO_CRC64_ROCKSOFT CRYPTO_CRCT10DIF CRYPTO_CRCT10DIF_PCLMUL CRYPTO_CRYPTD CRYPTO_CTS CRYPTO_CURVE25519 CRYPTO_CURVE25519_X86 CRYPTO_DEFLATE CRYPTO_DES CRYPTO_DES3_EDE_X86_64 CRYPTO_DEV_CCP CRYPTO_DEV_CCP_DD CRYPTO_DEV_PADLOCK CRYPTO_DEV_PADLOCK_AES CRYPTO_DEV_PADLOCK_SHA CRYPTO_DEV_QAT CRYPTO_DEV_QAT_C3XXX CRYPTO_DEV_QAT_C3XXXVF CRYPTO_DEV_QAT_C62X CRYPTO_DEV_QAT_C62XVF CRYPTO_DEV_QAT_DH895xCC CRYPTO_DEV_QAT_DH895xCCVF CRYPTO_DEV_VIRTIO CRYPTO_DH CRYPTO_DRBG_CTR CRYPTO_DRBG_HASH CRYPTO_ECC CRYPTO_ECDH CRYPTO_ECRDSA CRYPTO_ENGINE CRYPTO_ESSIV CRYPTO_FCRYPT CRYPTO_GHASH_CLMUL_NI_INTEL CRYPTO_HCTR2 CRYPTO_KDF800108_CTR CRYPTO_KEYWRAP CRYPTO_KHAZAD CRYPTO_KPP CRYPTO_LIB_ARC4 CRYPTO_LIB_CHACHA CRYPTO_LIB_CHACHA20POLY1305 CRYPTO_LIB_CHACHA_GENERIC CRYPTO_LIB_CURVE25519 CRYPTO_LIB_CURVE25519_GENERIC CRYPTO_LIB_DES CRYPTO_LIB_POLY1305 CRYPTO_LIB_POLY1305_GENERIC CRYPTO_LRW CRYPTO_MICHAEL_MIC CRYPTO_NHPOLY1305 CRYPTO_NHPOLY1305_AVX2 CRYPTO_NHPOLY1305_SSE2 CRYPTO_PCBC CRYPTO_PCRYPT CRYPTO_POLY1305 CRYPTO_POLY1305_X86_64 CRYPTO_POLYVAL CRYPTO_POLYVAL_CLMUL_NI CRYPTO_RMD160 CRYPTO_SEED CRYPTO_SERPENT CRYPTO_SERPENT_AVX2_X86_64 CRYPTO_SERPENT_AVX_X86_64 CRYPTO_SERPENT_SSE2_X86_64 CRYPTO_SHA1 CRYPTO_SHA1_SSSE3 CRYPTO_SHA256_SSSE3 CRYPTO_SHA512_SSSE3 CRYPTO_SIMD CRYPTO_SM2 CRYPTO_SM3 CRYPTO_SM3_AVX_X86_64 CRYPTO_SM4 CRYPTO_SM4_AESNI_AVX2_X86_64 CRYPTO_SM4_AESNI_AVX_X86_64 CRYPTO_SM4_GENERIC CRYPTO_STREEBOG CRYPTO_TEA CRYPTO_TWOFISH CRYPTO_TWOFISH_AVX_X86_64 CRYPTO_TWOFISH_COMMON CRYPTO_TWOFISH_X86_64 CRYPTO_TWOFISH_X86_64_3WAY CRYPTO_USER CRYPTO_USER_API CRYPTO_USER_API_AEAD CRYPTO_USER_API_ENABLE_OBSOLETE CRYPTO_USER_API_HASH CRYPTO_USER_API_RNG CRYPTO_USER_API_SKCIPHER CRYPTO_VMAC CRYPTO_WP512 CRYPTO_XCBC CRYPTO_XCTR CRYPTO_XTS CRYPTO_XXHASH CUSE CYPRESS_FIRMWARE DAMON DAMON_PADDR DAMON_RECLAIM DAMON_VADDR DAX DCA DCB DEFAULT_PFIFO_FAST DEVICE_MIGRATION DEVICE_PRIVATE DEV_COREDUMP DEV_DAX DLN2_ADC DMABUF_HEAPS DMABUF_HEAPS_CMA DMABUF_HEAPS_SYSTEM DMABUF_MOVE_NOTIFY DMA_CMA DMA_ENGINE_RAID DM_AUDIT DM_BIO_PRISON DM_BUFIO DM_CACHE DM_CACHE_SMQ DM_CLONE DM_CRYPT DM_FLAKEY DM_INTEGRITY DM_MULTIPATH DM_MULTIPATH_QL DM_MULTIPATH_ST DM_PERSISTENT_DATA DM_RAID DM_SNAPSHOT DM_THIN_PROVISIONING DM_UEVENT DM_VERITY DM_VERITY_FEC DM_WRITECACHE DM_ZONED DRAGONRISE_FF DRM DRM_BOCHS DRM_BUDDY ENCRYPTED_KEYS EXTCON FSCACHE FUSE_FS GPIOLIB HAMRADIO HID_DRAGONRISE IIO INFINIBAND INFINIBAND_ADDR_TRANS INFINIBAND_RTRS_CLIENT IOSCHED_BFQ ISDN ISDN_CAPI LIBNVDIMM MAC80211 MAC80211_DEBUGFS MAC80211_LEDS MEDIA_SUPPORT MEMORY_HOTPLUG MEMORY_HOTREMOVE MFD_DLN2 MMC MTD NET_CLS_U32 NET_SCH_DEFAULT PARTITION_ADVANCED RFKILL SERIAL_DEV_BUS TLS TLS_DEVICE TRANSPARENT_HUGEPAGE TRUSTED_KEYS USB_GADGET USB_PHY VLAN_8021Q WANT_COMPAT_NETLINK_MESSAGES WEXT_CORE WIRELESS WIRELESS_EXT WLAN WLAN_VENDOR_ATH X86_X32_ABI ZONE_DEVICE] disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed picked [v6.7 v6.6 v6.5 v6.3 v6.1 v5.19 v5.17 v5.15 v5.12 v5.9 v5.6 v5.3 v5.0 v4.19] out of 30 release tags testing release v6.7 testing commit 0dd3ee31125508cd67f7e7172247f05b7fd1753a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 484b287715eb9b354dd323ca09f1937a5206f06d3a47d9e57cc642db244dbba1 all runs: OK false negative chance: 0.000 # git bisect start 076d56d74f17e625b3d63cf4743b3d7d02180379 0dd3ee31125508cd67f7e7172247f05b7fd1753a Bisecting: 8597 revisions left to test after this (roughly 13 steps) [cf65598d5909acf5e7b7dc9e21786e386356bc81] Merge tag 'drm-next-2024-01-10' of git://anongit.freedesktop.org/drm/drm testing commit cf65598d5909acf5e7b7dc9e21786e386356bc81 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f59ec695cbcb43d145122bb0e1c2829da7930ef9497da5e77b0868a59e7bc864 all runs: OK false negative chance: 0.000 # git bisect good cf65598d5909acf5e7b7dc9e21786e386356bc81 Bisecting: 4318 revisions left to test after this (roughly 12 steps) [80fc600fafee8ba981da6ed41a572800c8e11de6] Merge tag 'coccinelle-for-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux testing commit 80fc600fafee8ba981da6ed41a572800c8e11de6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e73acea72d4fb6069a8744cc254b6760ed140f8ed7e2cfe06fea60eac93dfc78 all runs: OK false negative chance: 0.000 # git bisect good 80fc600fafee8ba981da6ed41a572800c8e11de6 Bisecting: 2194 revisions left to test after this (roughly 11 steps) [4babbcfd4b04c458ae7836cdfcb53dd472008546] Merge branch 'docs-next' of git://git.lwn.net/linux.git testing commit 4babbcfd4b04c458ae7836cdfcb53dd472008546 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2ffc13ece70d66e9b7f474aa559bcefbb4cf99e304dcdbd1d338224dd34b5964 all runs: OK false negative chance: 0.000 # git bisect good 4babbcfd4b04c458ae7836cdfcb53dd472008546 Bisecting: 1075 revisions left to test after this (roughly 10 steps) [3bb6ec23ab4c8bd817c2a1d639e12287a9a5cc1f] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git testing commit 3bb6ec23ab4c8bd817c2a1d639e12287a9a5cc1f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e9569b050b5228c07ab2a1a2be11eb650bf3fc73316d63ec61af64e7f073f65d all runs: OK false negative chance: 0.000 # git bisect good 3bb6ec23ab4c8bd817c2a1d639e12287a9a5cc1f Bisecting: 552 revisions left to test after this (roughly 9 steps) [e6ead6ea890b2c2df0faf62ca2da15392cdc4165] Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt.git testing commit e6ead6ea890b2c2df0faf62ca2da15392cdc4165 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1809a50a2d175788af54e73f324f633626d2b2a6d7dcc6ef63286734f23195a5 all runs: crashed: INFO: task hung in hci_release_dev representative crash: INFO: task hung in hci_release_dev, types: [HANG] # git bisect bad e6ead6ea890b2c2df0faf62ca2da15392cdc4165 Bisecting: 231 revisions left to test after this (roughly 8 steps) [be364bf6099dc52d26ce25e2996fa2a04502a890] Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git testing commit be364bf6099dc52d26ce25e2996fa2a04502a890 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0df8540724ae4d7ae3e882665d24489ade13f6ad6b27b4dd20ea83762aeabb9f all runs: OK false negative chance: 0.000 # git bisect good be364bf6099dc52d26ce25e2996fa2a04502a890 Bisecting: 112 revisions left to test after this (roughly 7 steps) [b043e7f00dfd9def840c03a8eb1cb56b0def4db9] Merge branch 'next' of https://github.com/kvm-x86/linux.git testing commit b043e7f00dfd9def840c03a8eb1cb56b0def4db9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 539a5176ea519683ec0444838a97a48d878552e569f1061df559ecc96610bba3 all runs: OK false negative chance: 0.000 # git bisect good b043e7f00dfd9def840c03a8eb1cb56b0def4db9 Bisecting: 54 revisions left to test after this (roughly 6 steps) [6806f880feafd5a565f00714f2f6254e7c80e961] Merge branch 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git testing commit 6806f880feafd5a565f00714f2f6254e7c80e961 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2d17775036171ff142b607c70b0cb100e7cdaa7492fabea33919eefe0e09b8cf all runs: crashed: INFO: task hung in hci_release_dev representative crash: INFO: task hung in hci_release_dev, types: [HANG] # git bisect bad 6806f880feafd5a565f00714f2f6254e7c80e961 Bisecting: 28 revisions left to test after this (roughly 5 steps) [6e50cdc4feb87e269649adb2c7498ce98fcf458c] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git testing commit 6e50cdc4feb87e269649adb2c7498ce98fcf458c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5ef4c0380371b0c00e7365a8d4a1f8a1674df64ecbe3350f5273fe901ae165de all runs: crashed: INFO: task hung in hci_release_dev representative crash: INFO: task hung in hci_release_dev, types: [HANG] # git bisect bad 6e50cdc4feb87e269649adb2c7498ce98fcf458c Bisecting: 14 revisions left to test after this (roughly 4 steps) [c5404d4e6df6faba1007544b5f4e62c7c14416dd] workqueue: Make wq_adjust_max_active() round-robin pwqs while activating testing commit c5404d4e6df6faba1007544b5f4e62c7c14416dd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 50434a3cef08d2ba2ded54d08f74efe4d8945aa75e22bc9da24559336c3624f4 all runs: OK false negative chance: 0.000 # git bisect good c5404d4e6df6faba1007544b5f4e62c7c14416dd Bisecting: 7 revisions left to test after this (roughly 3 steps) [15930da42f8981dc42c19038042947b475b19f47] workqueue: Don't call cpumask_test_cpu() with -1 CPU in wq_update_node_max_active() testing commit 15930da42f8981dc42c19038042947b475b19f47 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8d9a552bd1111c1b211a2ec5543d925edad7d0f76b3203a75a6554c18afa68b4 all runs: crashed: INFO: task hung in hci_release_dev representative crash: INFO: task hung in hci_release_dev, types: [HANG] # git bisect bad 15930da42f8981dc42c19038042947b475b19f47 Bisecting: 3 revisions left to test after this (roughly 2 steps) [91ccc6e7233bb10a9c176aa4cc70d6f432a441a5] workqueue: Introduce struct wq_node_nr_active testing commit 91ccc6e7233bb10a9c176aa4cc70d6f432a441a5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1221ef2c852b0c62e44f55b9e37ab32df458e75d90c9b47f1a7ecc9ca4d8a083 all runs: crashed: INFO: task hung in hci_release_dev representative crash: INFO: task hung in hci_release_dev, types: [HANG] # git bisect bad 91ccc6e7233bb10a9c176aa4cc70d6f432a441a5 Bisecting: 0 revisions left to test after this (roughly 1 step) [dd6c3c5441263723305a9c52c5ccc899a4653000] workqueue: Move pwq_dec_nr_in_flight() to the end of work item handling testing commit dd6c3c5441263723305a9c52c5ccc899a4653000 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 375c80c6e58a7abb8d67898a2bd3ab1f3f115e928155a3c64d747f6ce3654987 all runs: crashed: INFO: task hung in hci_release_dev representative crash: INFO: task hung in hci_release_dev, types: [HANG] # git bisect bad dd6c3c5441263723305a9c52c5ccc899a4653000 Bisecting: 0 revisions left to test after this (roughly 0 steps) [9f66cff212bb3c1cd25996aaa0dfd0c9e9d8baab] workqueue: RCU protect wq->dfl_pwq and implement accessors for it testing commit 9f66cff212bb3c1cd25996aaa0dfd0c9e9d8baab gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2e97a064b2059640a15c40c640e911d032a84005a5b9e4222f7f7141cdbeb36e all runs: OK false negative chance: 0.000 # git bisect good 9f66cff212bb3c1cd25996aaa0dfd0c9e9d8baab dd6c3c5441263723305a9c52c5ccc899a4653000 is the first bad commit commit dd6c3c5441263723305a9c52c5ccc899a4653000 Author: Tejun Heo Date: Mon Jan 29 08:11:24 2024 -1000 workqueue: Move pwq_dec_nr_in_flight() to the end of work item handling The planned shared nr_active handling for unbound workqueues will make pwq_dec_nr_active() sometimes drop the pool lock temporarily to acquire other pool locks, which is necessary as retirement of an nr_active count from one pool may need kick off an inactive work item in another pool. This patch moves pwq_dec_nr_in_flight() call in try_to_grab_pending() to the end of work item handling so that work item state changes stay atomic. process_one_work() which is the other user of pwq_dec_nr_in_flight() already calls it at the end of work item handling. Comments are added to both call sites and pwq_dec_nr_in_flight(). This shouldn't cause any behavior changes. Signed-off-by: Tejun Heo Reviewed-by: Lai Jiangshan kernel/workqueue.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) accumulated error probability: 0.00 culprit signature: 375c80c6e58a7abb8d67898a2bd3ab1f3f115e928155a3c64d747f6ce3654987 parent signature: 2e97a064b2059640a15c40c640e911d032a84005a5b9e4222f7f7141cdbeb36e revisions tested: 22, total time: 10h15m19.384643358s (build: 4h14m12.717392046s, test: 4h1m51.336848101s) first bad commit: dd6c3c5441263723305a9c52c5ccc899a4653000 workqueue: Move pwq_dec_nr_in_flight() to the end of work item handling recipients (to): ["jiangshanlai@gmail.com" "linux-kernel@vger.kernel.org" "tj@kernel.org" "tj@kernel.org"] recipients (cc): ["jiangshanlai@gmail.com"] crash: INFO: task hung in hci_release_dev INFO: task syz-executor.0:2380 blocked for more than 143 seconds. Not tainted 6.7.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:13400 pid:2380 tgid:2380 ppid:1979 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x613/0x9b0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0xab/0x110 kernel/sched/core.c:6817 schedule_timeout+0x88/0x190 kernel/time/timer.c:2159 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common+0xfa/0x1c0 kernel/sched/completion.c:127 __flush_workqueue+0x313/0x5a0 kernel/workqueue.c:3310 drain_workqueue+0x7f/0x120 kernel/workqueue.c:3423 destroy_workqueue+0x57/0x3c0 kernel/workqueue.c:4916 hci_release_dev+0x69/0x5a0 net/bluetooth/hci_core.c:2774 bt_host_release+0x2c/0x40 net/bluetooth/hci_sysfs.c:94 device_release+0x31/0x70 kobject_cleanup lib/kobject.c:682 [inline] kobject_release lib/kobject.c:716 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x61/0x180 lib/kobject.c:733 hci_uart_tty_close+0xa5/0x120 drivers/bluetooth/hci_ldisc.c:552 tty_ldisc_close drivers/tty/tty_ldisc.c:455 [inline] tty_ldisc_kill+0x66/0xc0 drivers/tty/tty_ldisc.c:607 tty_ldisc_release+0x10c/0x120 drivers/tty/tty_ldisc.c:775 tty_release_struct+0x10/0x80 drivers/tty/tty_io.c:1692 tty_release+0x501/0x660 drivers/tty/tty_io.c:1863 __fput+0xf4/0x290 fs/file_table.c:376 __do_sys_close fs/open.c:1554 [inline] __se_sys_close+0x6a/0xc0 fs/open.c:1539 do_syscall_64+0x94/0x1a0 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f2cc6c7cc9a RSP: 002b:00007ffd59c44210 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f2cc6c7cc9a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 0000000000000032 R08: 0000001b2f560000 R09: 00007f2cc6dabf8c R10: 00007ffd59c44360 R11: 0000000000000293 R12: 00007f2cc68001d8 R13: ffffffffffffffff R14: 00007f2cc6800000 R15: 000000000000a37f Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff83b7ec80 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff83b7ec80 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff83b7ec80 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x30/0x100 kernel/locking/lockdep.c:6614 2 locks held by getty/1414: #0: ffff888100e8f8a0 (&tty->ldisc_sem){....}-{0:0}, at: tty_ldisc_ref_wait+0x20/0x40 drivers/tty/tty_ldisc.c:243 #1: ffffc90002c872f0 (&ldata->atomic_read_lock){....}-{3:3}, at: n_tty_read+0x242/0x910 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.0/2380: #0: ffff88810abc28a0 (&tty->ldisc_sem){....}-{0:0}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:289 [inline] #0: ffff88810abc28a0 (&tty->ldisc_sem){....}-{0:0}, at: tty_ldisc_lock_pair_timeout drivers/tty/tty_ldisc.c:352 [inline] #0: ffff88810abc28a0 (&tty->ldisc_sem){....}-{0:0}, at: tty_ldisc_lock_pair drivers/tty/tty_ldisc.c:366 [inline] #0: ffff88810abc28a0 (&tty->ldisc_sem){....}-{0:0}, at: tty_ldisc_release+0xa7/0x120 drivers/tty/tty_ldisc.c:774 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.7.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x83/0xd0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x146/0x160 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x8e/0x140 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0x5da/0x600 kernel/hung_task.c:379 kthread+0xe9/0x100 kernel/kthread.c:388 ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 527 Comm: kworker/u4:4 Not tainted 6.7.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__default_send_IPI_dest_field+0x3e/0x60 arch/x86/kernel/apic/ipi.c:186 Code: 5f ff 00 10 00 00 74 0f f3 90 f7 04 25 00 c3 5f ff 00 10 00 00 75 f1 c1 e5 18 89 2c 25 10 c3 5f ff 09 de 89 34 25 00 c3 5f ff <5b> 5d c3 cc cc cc cc e8 16 ff ff ff be 00 04 00 00 eb da 66 2e 0f RSP: 0018:ffffc900016abc08 EFLAGS: 00000002 RAX: 8a1a8314aab2ba00 RBX: 0000000000000800 RCX: ffff8881012cb700 RDX: 0000000000000800 RSI: 00000000000008fb RDI: 0000000000000002 RBP: 0000000002000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff810663b0 R12: ffffffff8103dbe0 R13: ffff888237d34b80 R14: 0000000000000000 R15: ffff888237c30480 FS: 0000000000000000(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffa273dbd58 CR3: 0000000003a44000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: _flat_send_IPI_mask arch/x86/kernel/apic/apic_flat_64.c:36 [inline] flat_send_IPI_mask+0x34/0x80 arch/x86/kernel/apic/apic_flat_64.c:44 arch_send_call_function_single_ipi arch/x86/include/asm/smp.h:101 [inline] send_call_function_single_ipi kernel/smp.c:117 [inline] smp_call_function_many_cond+0x57a/0xae0 kernel/smp.c:837 on_each_cpu_cond_mask+0x3a/0x70 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2087 [inline] text_poke_bp_batch+0x21c/0x310 arch/x86/kernel/alternative.c:2359 text_poke_flush arch/x86/kernel/alternative.c:2488 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2495 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked kernel/jump_label.c:205 [inline] static_key_enable+0x40/0x60 kernel/jump_label.c:218 toggle_allocation_gate+0x3a/0x130 mm/kfence/core.c:826 process_one_work kernel/workqueue.c:2742 [inline] process_scheduled_works+0x250/0x500 kernel/workqueue.c:2818 worker_thread+0x23d/0x300 kernel/workqueue.c:2899 kthread+0xe9/0x100 kernel/kthread.c:388 ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242