ci starts bisection 2024-02-04 15:15:32.240557862 +0000 UTC m=+83942.059174597 bisecting fixing commit since 2cf4f94d8e8646803f8fb0facf134b0cd7fb691a building syzkaller on 3ad490ea48468e50fe91f6f6b2ca4cbc74d924bf ensuring issue is reproducible on original commit 2cf4f94d8e8646803f8fb0facf134b0cd7fb691a testing commit 2cf4f94d8e8646803f8fb0facf134b0cd7fb691a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a35b2b640d5cd3281dfe11a624ef260d9f7466a599aff33c406045c3969f46f4 all runs: crashed: possible deadlock in hci_rfkill_set_block representative crash: possible deadlock in hci_rfkill_set_block, 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 2cf4f94d8e8646803f8fb0facf134b0cd7fb691a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6895ef48c6e51cdb2b44b25b0893be139d160da92be305ccc3e7e47193924164 all runs: crashed: possible deadlock in hci_rfkill_set_block representative crash: possible deadlock in hci_rfkill_set_block, types: [LOCKDEP] the bug reproduces without the instrumentation disabling configs for [KASAN ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed kconfig minimization: base=3937 full=7658 leaves diff=2015 split chunks (needed=false): <2015> split chunk #0 of len 2015 into 5 parts testing without sub-chunk 1/5 disabling configs for [BUG KASAN ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 2cf4f94d8e8646803f8fb0facf134b0cd7fb691a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 20b382e204b06088846c22d95b6b9043bfa47ec64b0b27cc47e5f5e429b10838 all runs: OK false negative chance: 0.000 testing without sub-chunk 2/5 disabling configs for [LEAK UBSAN BUG KASAN ATOMIC_SLEEP HANG], they are not needed testing commit 2cf4f94d8e8646803f8fb0facf134b0cd7fb691a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 23d86d6c1ca759ffbdf840976d15f30ba13ab765da96e1b52659f4c109ea7fef all runs: crashed: possible deadlock in hci_rfkill_set_block representative crash: possible deadlock in hci_rfkill_set_block, 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 2cf4f94d8e8646803f8fb0facf134b0cd7fb691a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a0e022e2548fac38220881efc95447581700da39c4015165aafd1aadc15fb92b all runs: crashed: possible deadlock in hci_rfkill_set_block representative crash: possible deadlock in hci_rfkill_set_block, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [BUG KASAN ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 2cf4f94d8e8646803f8fb0facf134b0cd7fb691a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 706f4865b7a5388b8cbe7c4ae3853821ccc47999dd6efb1f67d8d77d7dd411ac all runs: crashed: possible deadlock in hci_rfkill_set_block representative crash: possible deadlock in hci_rfkill_set_block, 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 2cf4f94d8e8646803f8fb0facf134b0cd7fb691a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b4ebeed778f5de992aa26c8ffce8606c9f95f9533c241fe9dbd4fa49011528e8 all runs: crashed: possible deadlock in hci_rfkill_set_block representative crash: possible deadlock in hci_rfkill_set_block, types: [LOCKDEP] 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_GENERIC_CRASHKERNEL_RESERVATION ARCH_WANT_PMD_MKWRITE ASM_MODVERSIONS ASYNC_CORE ASYNC_MEMCPY ASYNC_PQ ASYNC_RAID6_RECOV ASYNC_TX_DMA ASYNC_XOR AS_HAS_NON_CONST_LEB128 AS_IS_GNU 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_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_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_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 CC_HAS_AUTO_VAR_INIT_ZERO_BARE CC_HAS_UBSAN_BOUNDS_STRICT CC_HAS_ZERO_CALL_USED_REGS CC_NO_ARRAY_BOUNDS 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 CPU_IBPB_ENTRY CPU_IBRS_ENTRY CRAMFS CRAMFS_BLOCKDEV CRAMFS_MTD CRASH_CORE 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_CFB 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_OFB 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_DBGFS 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 ENCRYPTED_KEYS EXTCON FSCACHE FUSE_FS GPIOLIB HAMRADIO 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 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 ATOMIC_SLEEP HANG], they are not needed testing current HEAD 54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478 testing commit 54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 948eaf049247b20506b4ac811c63602a64b1ca8be6f3eaa09a2a4a34b898ee5f all runs: OK false negative chance: 0.000 # git bisect start 54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478 2cf4f94d8e8646803f8fb0facf134b0cd7fb691a Bisecting: 7686 revisions left to test after this (roughly 13 steps) [ba5afb9a84df2e6b26a1b6389b98849cd16ea757] fs: rework listmount() implementation determine whether the revision contains the guilty commit revision 2cf4f94d8e8646803f8fb0facf134b0cd7fb691a crashed and is reachable testing commit ba5afb9a84df2e6b26a1b6389b98849cd16ea757 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 580cc43a8309a153e17a65fa6518a13111ec6bd59a66e4628112512a6f2c8db3 all runs: OK false negative chance: 0.000 # git bisect bad ba5afb9a84df2e6b26a1b6389b98849cd16ea757 Bisecting: 3542 revisions left to test after this (roughly 12 steps) [de927f6c0b07d9e698416c5b287c521b07694cac] Merge tag 's390-6.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux determine whether the revision contains the guilty commit revision 2cf4f94d8e8646803f8fb0facf134b0cd7fb691a crashed and is reachable testing commit de927f6c0b07d9e698416c5b287c521b07694cac gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ef5bf53607ab378e50da8d873a226f3be9d5bec994d21e4b55c64a3da4ccef7f all runs: OK false negative chance: 0.000 # git bisect bad de927f6c0b07d9e698416c5b287c521b07694cac Bisecting: 1602 revisions left to test after this (roughly 11 steps) [9f2a635235823cf016eb8af0aeb3c0b2b25cea64] Merge tag 'mm-nonmm-stable-2024-01-09-10-33' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm determine whether the revision contains the guilty commit revision 2cf4f94d8e8646803f8fb0facf134b0cd7fb691a crashed and is reachable testing commit 9f2a635235823cf016eb8af0aeb3c0b2b25cea64 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cc2518451762865c8e0c6b4688fc1a4055d735e698b6e5fff9adc27db86e2f60 all runs: OK false negative chance: 0.000 # git bisect bad 9f2a635235823cf016eb8af0aeb3c0b2b25cea64 Bisecting: 814 revisions left to test after this (roughly 10 steps) [968b80332432172dbbb773e749a43bdc846d1a13] Merge tag 'powerpc-6.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux determine whether the revision contains the guilty commit revision 2cf4f94d8e8646803f8fb0facf134b0cd7fb691a crashed and is reachable testing commit 968b80332432172dbbb773e749a43bdc846d1a13 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e415c0b3ea3cfd138ba4f132bf50ce2bd9925d1dd3c391d770874da392c606b7 all runs: OK false negative chance: 0.000 # git bisect bad 968b80332432172dbbb773e749a43bdc846d1a13 Bisecting: 425 revisions left to test after this (roughly 9 steps) [a476aae3f1dc78a162a0d2e7945feea7d2b29401] x86/csum: clean up `csum_partial' further determine whether the revision contains the guilty commit revision 2cf4f94d8e8646803f8fb0facf134b0cd7fb691a crashed and is reachable testing commit a476aae3f1dc78a162a0d2e7945feea7d2b29401 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2979a4c251e0637d1d98bfa410436bafb5b23d03e0efe58abf9bde94f7d5fc3e all runs: OK false negative chance: 0.000 # git bisect bad a476aae3f1dc78a162a0d2e7945feea7d2b29401 Bisecting: 209 revisions left to test after this (roughly 8 steps) [2618280dedb2f3a35e51c158d31859276a8832b9] Merge tag 'i2c-for-6.7-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux determine whether the revision contains the guilty commit revision 2cf4f94d8e8646803f8fb0facf134b0cd7fb691a crashed and is reachable testing commit 2618280dedb2f3a35e51c158d31859276a8832b9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 042605a9c386410f235621c2e3e8ffcb0a17040f55e20b2f74a5d62f85a6829c all runs: OK false negative chance: 0.000 # git bisect bad 2618280dedb2f3a35e51c158d31859276a8832b9 Bisecting: 114 revisions left to test after this (roughly 7 steps) [74769d810ead7e7af1a481f07a4d890861a6a4cc] Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf determine whether the revision contains the guilty commit checking the merge base c7402612e2e61b76177f22e6e7f705adcbecc6fe no existing result, test the revision testing commit c7402612e2e61b76177f22e6e7f705adcbecc6fe gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f3e57fcdf892f5da4b2936279c598344f83e4609054520423cc35e20076ef27f all runs: crashed: possible deadlock in hci_rfkill_set_block representative crash: possible deadlock in hci_rfkill_set_block, types: [LOCKDEP] testing commit 74769d810ead7e7af1a481f07a4d890861a6a4cc gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 46ab309b1c2909d64657b02599ea40427557edc843b1b2bbd0474a138dac5b0e all runs: OK false negative chance: 0.000 # git bisect bad 74769d810ead7e7af1a481f07a4d890861a6a4cc Bisecting: 38 revisions left to test after this (roughly 5 steps) [309fdb1c33fe726d92d0030481346f24e1b01f07] ethernet: atheros: fix a memleak in atl1e_setup_ring_resources determine whether the revision contains the guilty commit revision c7402612e2e61b76177f22e6e7f705adcbecc6fe crashed and is reachable testing commit 309fdb1c33fe726d92d0030481346f24e1b01f07 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cd8ad50328328ddec78d0de776a3eb2fbda33e5c5f23dcd34cce157af96a72a3 all runs: crashed: possible deadlock in hci_rfkill_set_block representative crash: possible deadlock in hci_rfkill_set_block, types: [LOCKDEP] # git bisect good 309fdb1c33fe726d92d0030481346f24e1b01f07 Bisecting: 14 revisions left to test after this (roughly 4 steps) [498444e390b48134e550c9d65b5a1b1f56745acd] Merge tag 'for-net-2023-12-15' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth determine whether the revision contains the guilty commit revision 309fdb1c33fe726d92d0030481346f24e1b01f07 crashed and is reachable testing commit 498444e390b48134e550c9d65b5a1b1f56745acd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3438b23a5a48fca6999f69a4f8e57016c28efea5a03044ee5e28fb2ed66b6287 all runs: OK false negative chance: 0.000 # git bisect bad 498444e390b48134e550c9d65b5a1b1f56745acd Bisecting: 11 revisions left to test after this (roughly 4 steps) [01a564bab4876007ce35f312e16797dfe40e4823] net: check vlan filter feature in vlan_vids_add_by_dev() and vlan_vids_del_by_dev() determine whether the revision contains the guilty commit revision 309fdb1c33fe726d92d0030481346f24e1b01f07 crashed and is reachable testing commit 01a564bab4876007ce35f312e16797dfe40e4823 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 83ed2412e07e6924b11e9066c56c56164008e020b1420e897875561025e3407c all runs: crashed: possible deadlock in hci_rfkill_set_block representative crash: possible deadlock in hci_rfkill_set_block, types: [LOCKDEP] # git bisect good 01a564bab4876007ce35f312e16797dfe40e4823 Bisecting: 5 revisions left to test after this (roughly 3 steps) [78b99eb1faa7371bf9c534690f26a71b6996622d] Bluetooth: L2CAP: Send reject on command corrupted request determine whether the revision contains the guilty commit revision c7402612e2e61b76177f22e6e7f705adcbecc6fe crashed and is reachable testing commit 78b99eb1faa7371bf9c534690f26a71b6996622d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8268c69e767d5ded9489b6201cda4efb929aceaf02a44c1f5162d02deb5e3f6b all runs: OK false negative chance: 0.000 # git bisect bad 78b99eb1faa7371bf9c534690f26a71b6996622d Bisecting: 2 revisions left to test after this (roughly 2 steps) [99e67d46e5ff3c7c901af6009edec72d3d363be8] Bluetooth: hci_event: Fix not checking if HCI_OP_INQUIRY has been sent determine whether the revision contains the guilty commit revision 309fdb1c33fe726d92d0030481346f24e1b01f07 crashed and is reachable testing commit 99e67d46e5ff3c7c901af6009edec72d3d363be8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4abe6eda83bc3afeb36fed3adb41b3fa0bc17a26b176bcce1f8de497d5fc692e all runs: OK false negative chance: 0.000 # git bisect bad 99e67d46e5ff3c7c901af6009edec72d3d363be8 Bisecting: 0 revisions left to test after this (roughly 1 step) [769bf60e17ee1a56a81e7c031192c3928312c52e] Bluetooth: Fix deadlock in vhci_send_frame determine whether the revision contains the guilty commit revision 309fdb1c33fe726d92d0030481346f24e1b01f07 crashed and is reachable testing commit 769bf60e17ee1a56a81e7c031192c3928312c52e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0e1152adcc59e2f64e303d10cd69665ff68f1cf69698c1762d958ca2f9103114 all runs: OK false negative chance: 0.000 # git bisect bad 769bf60e17ee1a56a81e7c031192c3928312c52e Bisecting: 0 revisions left to test after this (roughly 0 steps) [f67eabffb57d0bee379994a18ec5f462b2cbdf86] Bluetooth: Fix not notifying when connection encryption changes determine whether the revision contains the guilty commit revision c7402612e2e61b76177f22e6e7f705adcbecc6fe crashed and is reachable testing commit f67eabffb57d0bee379994a18ec5f462b2cbdf86 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 89bbc62281ea2c0a2210dd96bde7f78a2851cfe56ccc19a65c3616b2e26aafac all runs: crashed: possible deadlock in hci_rfkill_set_block representative crash: possible deadlock in hci_rfkill_set_block, types: [LOCKDEP] # git bisect good f67eabffb57d0bee379994a18ec5f462b2cbdf86 769bf60e17ee1a56a81e7c031192c3928312c52e is the first bad commit commit 769bf60e17ee1a56a81e7c031192c3928312c52e Author: Ying Hsu Date: Fri Nov 10 01:46:05 2023 +0000 Bluetooth: Fix deadlock in vhci_send_frame syzbot found a potential circular dependency leading to a deadlock: -> #3 (&hdev->req_lock){+.+.}-{3:3}: __mutex_lock_common+0x1b6/0x1bc2 kernel/locking/mutex.c:599 __mutex_lock kernel/locking/mutex.c:732 [inline] mutex_lock_nested+0x17/0x1c kernel/locking/mutex.c:784 hci_dev_do_close+0x3f/0x9f net/bluetooth/hci_core.c:551 hci_rfkill_set_block+0x130/0x1ac net/bluetooth/hci_core.c:935 rfkill_set_block+0x1e6/0x3b8 net/rfkill/core.c:345 rfkill_fop_write+0x2d8/0x672 net/rfkill/core.c:1274 vfs_write+0x277/0xcf5 fs/read_write.c:594 ksys_write+0x19b/0x2bd fs/read_write.c:650 do_syscall_x64 arch/x86/entry/common.c:55 [inline] do_syscall_64+0x51/0xba arch/x86/entry/common.c:93 entry_SYSCALL_64_after_hwframe+0x61/0xcb -> #2 (rfkill_global_mutex){+.+.}-{3:3}: __mutex_lock_common+0x1b6/0x1bc2 kernel/locking/mutex.c:599 __mutex_lock kernel/locking/mutex.c:732 [inline] mutex_lock_nested+0x17/0x1c kernel/locking/mutex.c:784 rfkill_register+0x30/0x7e3 net/rfkill/core.c:1045 hci_register_dev+0x48f/0x96d net/bluetooth/hci_core.c:2622 __vhci_create_device drivers/bluetooth/hci_vhci.c:341 [inline] vhci_create_device+0x3ad/0x68f drivers/bluetooth/hci_vhci.c:374 vhci_get_user drivers/bluetooth/hci_vhci.c:431 [inline] vhci_write+0x37b/0x429 drivers/bluetooth/hci_vhci.c:511 call_write_iter include/linux/fs.h:2109 [inline] new_sync_write fs/read_write.c:509 [inline] vfs_write+0xaa8/0xcf5 fs/read_write.c:596 ksys_write+0x19b/0x2bd fs/read_write.c:650 do_syscall_x64 arch/x86/entry/common.c:55 [inline] do_syscall_64+0x51/0xba arch/x86/entry/common.c:93 entry_SYSCALL_64_after_hwframe+0x61/0xcb -> #1 (&data->open_mutex){+.+.}-{3:3}: __mutex_lock_common+0x1b6/0x1bc2 kernel/locking/mutex.c:599 __mutex_lock kernel/locking/mutex.c:732 [inline] mutex_lock_nested+0x17/0x1c kernel/locking/mutex.c:784 vhci_send_frame+0x68/0x9c drivers/bluetooth/hci_vhci.c:75 hci_send_frame+0x1cc/0x2ff net/bluetooth/hci_core.c:2989 hci_sched_acl_pkt net/bluetooth/hci_core.c:3498 [inline] hci_sched_acl net/bluetooth/hci_core.c:3583 [inline] hci_tx_work+0xb94/0x1a60 net/bluetooth/hci_core.c:3654 process_one_work+0x901/0xfb8 kernel/workqueue.c:2310 worker_thread+0xa67/0x1003 kernel/workqueue.c:2457 kthread+0x36a/0x430 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 -> #0 ((work_completion)(&hdev->tx_work)){+.+.}-{0:0}: check_prev_add kernel/locking/lockdep.c:3053 [inline] check_prevs_add kernel/locking/lockdep.c:3172 [inline] validate_chain kernel/locking/lockdep.c:3787 [inline] __lock_acquire+0x2d32/0x77fa kernel/locking/lockdep.c:5011 lock_acquire+0x273/0x4d5 kernel/locking/lockdep.c:5622 __flush_work+0xee/0x19f kernel/workqueue.c:3090 hci_dev_close_sync+0x32f/0x1113 net/bluetooth/hci_sync.c:4352 hci_dev_do_close+0x47/0x9f net/bluetooth/hci_core.c:553 hci_rfkill_set_block+0x130/0x1ac net/bluetooth/hci_core.c:935 rfkill_set_block+0x1e6/0x3b8 net/rfkill/core.c:345 rfkill_fop_write+0x2d8/0x672 net/rfkill/core.c:1274 vfs_write+0x277/0xcf5 fs/read_write.c:594 ksys_write+0x19b/0x2bd fs/read_write.c:650 do_syscall_x64 arch/x86/entry/common.c:55 [inline] do_syscall_64+0x51/0xba arch/x86/entry/common.c:93 entry_SYSCALL_64_after_hwframe+0x61/0xcb This change removes the need for acquiring the open_mutex in vhci_send_frame, thus eliminating the potential deadlock while maintaining the required packet ordering. Fixes: 92d4abd66f70 ("Bluetooth: vhci: Fix race when opening vhci device") Signed-off-by: Ying Hsu Signed-off-by: Luiz Augusto von Dentz drivers/bluetooth/hci_vhci.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) accumulated error probability: 0.00 culprit signature: 0e1152adcc59e2f64e303d10cd69665ff68f1cf69698c1762d958ca2f9103114 parent signature: 89bbc62281ea2c0a2210dd96bde7f78a2851cfe56ccc19a65c3616b2e26aafac revisions tested: 23, total time: 8h5m30.334724544s (build: 4h14m56.945103112s, test: 3h33m29.745451769s) first good commit: 769bf60e17ee1a56a81e7c031192c3928312c52e Bluetooth: Fix deadlock in vhci_send_frame recipients (to): ["linux-bluetooth@vger.kernel.org" "luiz.dentz@gmail.com" "luiz.von.dentz@intel.com" "marcel@holtmann.org" "yinghsu@chromium.org"] recipients (cc): ["linux-kernel@vger.kernel.org"]