ci starts bisection 2024-04-07 04:40:35.650494628 +0000 UTC m=+83790.242578512 bisecting cause commit starting from 8568bb2ccc278f344e6ac44af6ed010a90aa88dc building syzkaller on ca620dd8f97f5b3a9134b687b5584203019518fb ensuring issue is reproducible on original commit 8568bb2ccc278f344e6ac44af6ed010a90aa88dc testing commit 8568bb2ccc278f344e6ac44af6ed010a90aa88dc gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8a6dae72a805f03d3ab225d4f7359b5297193e25c979aab79c04728cf261c795 all runs: crashed: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt representative crash: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt, types: [ATOMIC_SLEEP] check whether we can drop unnecessary instrumentation disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 8568bb2ccc278f344e6ac44af6ed010a90aa88dc gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 747a9e2033c522b2205439f3f73ad594bffcfa07d8f7fae13d93553f25d16787 all runs: crashed: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt representative crash: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt, types: [ATOMIC_SLEEP] the bug reproduces without the instrumentation disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed kconfig minimization: base=3937 full=8019 leaves diff=2032 split chunks (needed=false): <2032> split chunk #0 of len 2032 into 5 parts testing without sub-chunk 1/5 disabling configs for [UBSAN BUG KASAN LOCKDEP HANG LEAK], they are not needed testing commit 8568bb2ccc278f344e6ac44af6ed010a90aa88dc gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 524a6fe4967e3047f7e0f099353d88a13640418b5247a21c4ab6545fd36f0c0e all runs: OK false negative chance: 0.000 testing without sub-chunk 2/5 disabling configs for [LOCKDEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 8568bb2ccc278f344e6ac44af6ed010a90aa88dc gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a8ac777d944d4bb229c02ef606e51fd04f338251f2698dcc7ec8b79c5174a395 all runs: crashed: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt representative crash: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt, types: [ATOMIC_SLEEP] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [LOCKDEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 8568bb2ccc278f344e6ac44af6ed010a90aa88dc gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 919d4538ad4b8c34336786ec7769734cb839d45a93a137bde58de2fab90b00ca all runs: crashed: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt representative crash: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt, types: [ATOMIC_SLEEP] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 8568bb2ccc278f344e6ac44af6ed010a90aa88dc gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: dbe097dfe5c5079560db338b931e50ddf64715c3012ce5820a82c88603ca8813 all runs: crashed: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt representative crash: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt, types: [ATOMIC_SLEEP] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [BUG KASAN LOCKDEP HANG LEAK UBSAN], they are not needed testing commit 8568bb2ccc278f344e6ac44af6ed010a90aa88dc gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fa884fcd81b9165a37cedaa159c4e004984e2e017e3bcfe6f66e1f16d048691d all runs: crashed: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt representative crash: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt, types: [ATOMIC_SLEEP] the chunk can be dropped minimized to 407 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_HAS_KERNEL_FPU_SUPPORT ARCH_HAS_UBSAN 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_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 CC_HAS_SANE_FUNCTION_ALIGNMENT 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_DECLARE_COHERENT 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 DRM_CIRRUS_QEMU 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 [BUG KASAN LOCKDEP HANG LEAK UBSAN], they are not needed picked [v6.8 v6.7 v6.6 v6.4 v6.2 v6.0 v5.18 v5.16 v5.13 v5.10 v5.7 v5.4 v5.1 v4.19] out of 31 release tags testing release v6.8 testing commit e8f897f4afef0031fe618a8e94127a0934896aba gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c721911d1f03c08047ae90f0b9dddfff8d4fcfe2fc760853dc0e1edb05df0580 all runs: crashed: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt representative crash: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt, types: [ATOMIC_SLEEP] 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: 4560404cf4b541f108cc66cdd2b936362fd0a9284943bdba3681d116c76b0f61 all runs: crashed: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt representative crash: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt, types: [ATOMIC_SLEEP] testing release v6.6 testing commit ffc253263a1375a65fa6c9f62a893e9767fbebfa gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 655774c0cc5e93635f8fdfc7d18b646269c319ec831260c63ba5ed0b5ee11ab3 all runs: crashed: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt representative crash: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt, types: [ATOMIC_SLEEP] testing release v6.4 testing commit 6995e2de6891c724bfeb2db33d7b87775f913ad1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d7a586af8ff3cd4a6026f78a7924bf75d1bdc3e29e4abe1f37949bfb25583a8f all runs: OK false negative chance: 0.000 # git bisect start ffc253263a1375a65fa6c9f62a893e9767fbebfa 6995e2de6891c724bfeb2db33d7b87775f913ad1 Bisecting: 14974 revisions left to test after this (roughly 14 steps) [692f5510159c79bfa312a4e27a15e266232bfb4c] Merge tag 'asoc-v6.6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus testing commit 692f5510159c79bfa312a4e27a15e266232bfb4c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a43cc8c8d4a02ba575bf253774d17e7bd607b556164bd77a097e79b20e657eef all runs: OK false negative chance: 0.000 # git bisect good 692f5510159c79bfa312a4e27a15e266232bfb4c Bisecting: 7105 revisions left to test after this (roughly 13 steps) [0e72db77672ff4758a31fb5259c754a7bb229751] Merge tag 'soc-dt-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc testing commit 0e72db77672ff4758a31fb5259c754a7bb229751 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 665a4ffbcad1042dbf39e1e8252f77ac559969d2705e2f343b8830a5de257cf0 all runs: crashed: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt representative crash: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt, types: [ATOMIC_SLEEP] # git bisect bad 0e72db77672ff4758a31fb5259c754a7bb229751 Bisecting: 3474 revisions left to test after this (roughly 12 steps) [bd6c11bc43c496cddfc6cf603b5d45365606dbd5] Merge tag 'net-next-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next testing commit bd6c11bc43c496cddfc6cf603b5d45365606dbd5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d3f11c5fe97a60496e3d085d3727a4f3dd6d50ef7f29b8bc37ff343a88a6d37b all runs: crashed: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt representative crash: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt, types: [ATOMIC_SLEEP] # git bisect bad bd6c11bc43c496cddfc6cf603b5d45365606dbd5 Bisecting: 2176 revisions left to test after this (roughly 11 steps) [bebfbf07c7db7321e26b6aae0d7078d3d1294464] Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next testing commit bebfbf07c7db7321e26b6aae0d7078d3d1294464 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3d3eae0fcccf38b319196bcdd972da99d13187ccc5bbfe37e3d00dc10da94bab all runs: crashed: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt representative crash: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt, types: [ATOMIC_SLEEP] # git bisect bad bebfbf07c7db7321e26b6aae0d7078d3d1294464 Bisecting: 1108 revisions left to test after this (roughly 10 steps) [832140804e3b3ad19d73adebd25f69ed98778c58] devlink: clear flag on port register error path testing commit 832140804e3b3ad19d73adebd25f69ed98778c58 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 34ffa618d047ba053d01c470be16ba2220e456026a1bdb51867f989299c11d51 all runs: OK false negative chance: 0.000 # git bisect good 832140804e3b3ad19d73adebd25f69ed98778c58 Bisecting: 554 revisions left to test after this (roughly 9 steps) [0c2f92f6a5ac258457e7c9d55c74f14a0f1937cd] wifi: iwlwifi: api: fix a small upper/lower-case typo testing commit 0c2f92f6a5ac258457e7c9d55c74f14a0f1937cd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 55a95120efa6bd85a0723da909148520c61d1d7540ab9cca6932636d755c97fa all runs: crashed: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt representative crash: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt, types: [ATOMIC_SLEEP] # git bisect bad 0c2f92f6a5ac258457e7c9d55c74f14a0f1937cd Bisecting: 276 revisions left to test after this (roughly 8 steps) [36122201eeaefd78547def9681aa5d83b5a00b6a] net: hns3: fix wrong rpu tln reg issue testing commit 36122201eeaefd78547def9681aa5d83b5a00b6a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d00fd4e3becd28dc4f5b14981f73c73b2b2122a4c615eca626ab944e4f5d1fc4 all runs: crashed: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt representative crash: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt, types: [ATOMIC_SLEEP] # git bisect bad 36122201eeaefd78547def9681aa5d83b5a00b6a Bisecting: 138 revisions left to test after this (roughly 7 steps) [123c26311859b1b1848b1cfe80feac228fd5afb5] Bluetooth: btusb: Move btusb_recv_event_intel to btintel testing commit 123c26311859b1b1848b1cfe80feac228fd5afb5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ce71f48a667dd38d918099ed948a01bbdcd61376262734ba6616696358cc9b60 all runs: crashed: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt representative crash: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt, types: [ATOMIC_SLEEP] # git bisect bad 123c26311859b1b1848b1cfe80feac228fd5afb5 Bisecting: 68 revisions left to test after this (roughly 6 steps) [0c2910ae7fa0caa0f1adc6fed73c23e5593b307b] net: stmmac: xgmac: RX queue routing configuration testing commit 0c2910ae7fa0caa0f1adc6fed73c23e5593b307b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f40d67cb0f30d5df4af0a868cffced0f1e17dd31b166a2c43ad32ad33fa37622 all runs: OK false negative chance: 0.000 # git bisect good 0c2910ae7fa0caa0f1adc6fed73c23e5593b307b Bisecting: 34 revisions left to test after this (roughly 5 steps) [06d3fdfcdf5cefb06f2024b9d3dad356779399cf] Bluetooth: hci_qca: Add qcom devcoredump support testing commit 06d3fdfcdf5cefb06f2024b9d3dad356779399cf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8f2a5bcf07b8720768fa469fe5b64bdd5be546deafe21f4b327bbc3de267da47 all runs: crashed: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt representative crash: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt, types: [ATOMIC_SLEEP] # git bisect bad 06d3fdfcdf5cefb06f2024b9d3dad356779399cf Bisecting: 16 revisions left to test after this (roughly 4 steps) [f5370ba3590d1e141c288eed2c0e53618b91356d] bonding: remove unnecessary NULL check in bond_destructor testing commit f5370ba3590d1e141c288eed2c0e53618b91356d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4ed9d11c79947b22aaf4caad53f93767c87aea26fb2eb2ec1ed103ded70ef9ce all runs: OK false negative chance: 0.000 # git bisect good f5370ba3590d1e141c288eed2c0e53618b91356d Bisecting: 8 revisions left to test after this (roughly 3 steps) [044014ce85a17c0b7fab8e5df0925792010c29b2] Bluetooth: btrtl: Add Realtek devcoredump support testing commit 044014ce85a17c0b7fab8e5df0925792010c29b2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5b4d1b9f888d0c2278446afdcf11ddfc2b6a0a6483542e5444ccaa40fc246cf2 all runs: OK false negative chance: 0.000 # git bisect good 044014ce85a17c0b7fab8e5df0925792010c29b2 Bisecting: 4 revisions left to test after this (roughly 2 steps) [6bfa273e533d7b25eee3d74e28a7fe8e6a8e7a93] Bluetooth: Consolidate code around sk_alloc into a helper function testing commit 6bfa273e533d7b25eee3d74e28a7fe8e6a8e7a93 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d21dea7cf810a2720d1e9d59f4dd2c0d311f4adbaeb901807c1d3e7e63ee07f2 all runs: crashed: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt representative crash: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt, types: [ATOMIC_SLEEP] # git bisect bad 6bfa273e533d7b25eee3d74e28a7fe8e6a8e7a93 Bisecting: 1 revision left to test after this (roughly 1 step) [7f74563e6140e42b4ffae62adbef7a65967a3f98] Bluetooth: ISO: do not emit new LE Create CIS if previous is pending testing commit 7f74563e6140e42b4ffae62adbef7a65967a3f98 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: da9457b3be1c1c3da3a495d460f96dbb6ddef71e8fc3f445ac9e9b3801baddfa all runs: crashed: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt representative crash: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt, types: [ATOMIC_SLEEP] # git bisect bad 7f74563e6140e42b4ffae62adbef7a65967a3f98 Bisecting: 0 revisions left to test after this (roughly 0 steps) [a0bfde167b506423111ddb8cd71930497a40fc54] Bluetooth: ISO: Add support for connecting multiple BISes testing commit a0bfde167b506423111ddb8cd71930497a40fc54 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1040b0518465940516872a8596470765e415b70307fee49f83c553c9ce04bce2 all runs: crashed: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt representative crash: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt, types: [ATOMIC_SLEEP] # git bisect bad a0bfde167b506423111ddb8cd71930497a40fc54 a0bfde167b506423111ddb8cd71930497a40fc54 is the first bad commit commit a0bfde167b506423111ddb8cd71930497a40fc54 Author: Iulia Tanasescu Date: Tue May 30 17:21:59 2023 +0300 Bluetooth: ISO: Add support for connecting multiple BISes It is required for some configurations to have multiple BISes as part of the same BIG. Similar to the flow implemented for unicast, DEFER_SETUP will also be used to bind multiple BISes for the same BIG, before starting Periodic Advertising and creating the BIG. The user will have to open a new socket for each BIS. By setting the BT_DEFER_SETUP socket option and calling connect, a new connection will be added for the BIG and advertising handle set by the socket QoS parameters. Since all BISes will be bound for the same BIG and advertising handle, the socket QoS options and base parameters should match for all connections. By calling connect on a socket that does not have the BT_DEFER_SETUP option set, periodic advertising will be started and the BIG will be created, with a BIS for each previously bound connection. Since a BIG cannot be reconfigured with additional BISes after creation, no more connections can be bound for the BIG after the start periodic advertising and create BIG commands have been queued. The bis_cleanup function has also been updated, so that the advertising set and the BIG will not be terminated unless there are no more bound or connected BISes. The HCI_CONN_BIG_CREATED connection flag has been added to indicate that the BIG has been successfully created. This flag is checked at bis_cleanup, so that the BIG is only terminated if the HCI_LE_Create_BIG_Complete has been received. This implementation has been tested on hardware, using the "isotest" tool with an additional command line option, to specify the number of BISes to create as part of the desired BIG: tools/isotest -i hci0 -s 00:00:00:00:00:00 -N 2 -G 1 -T 1 The btmon log shows that a BIG containing 2 BISes has been created: < HCI Command: LE Create Broadcast Isochronous Group (0x08|0x0068) plen 31 Handle: 0x01 Advertising Handle: 0x01 Number of BIS: 2 SDU Interval: 10000 us (0x002710) Maximum SDU size: 40 Maximum Latency: 10 ms (0x000a) RTN: 0x02 PHY: LE 2M (0x02) Packing: Sequential (0x00) Framing: Unframed (0x00) Encryption: 0x00 Broadcast Code: 00000000000000000000000000000000 > HCI Event: Command Status (0x0f) plen 4 LE Create Broadcast Isochronous Group (0x08|0x0068) ncmd 1 Status: Success (0x00) > HCI Event: LE Meta Event (0x3e) plen 23 LE Broadcast Isochronous Group Complete (0x1b) Status: Success (0x00) Handle: 0x01 BIG Synchronization Delay: 1974 us (0x0007b6) Transport Latency: 1974 us (0x0007b6) PHY: LE 2M (0x02) NSE: 3 BN: 1 PTO: 1 IRC: 3 Maximum PDU: 40 ISO Interval: 10.00 msec (0x0008) Connection Handle #0: 10 Connection Handle #1: 11 < HCI Command: LE Setup Isochronous Data Path (0x08|0x006e) plen 13 Handle: 10 Data Path Direction: Input (Host to Controller) (0x00) Data Path: HCI (0x00) Coding Format: Transparent (0x03) Company Codec ID: Ericsson Technology Licensing (0) Vendor Codec ID: 0 Controller Delay: 0 us (0x000000) Codec Configuration Length: 0 Codec Configuration: > HCI Event: Command Complete (0x0e) plen 6 LE Setup Isochronous Data Path (0x08|0x006e) ncmd 1 Status: Success (0x00) Handle: 10 < HCI Command: LE Setup Isochronous Data Path (0x08|0x006e) plen 13 Handle: 11 Data Path Direction: Input (Host to Controller) (0x00) Data Path: HCI (0x00) Coding Format: Transparent (0x03) Company Codec ID: Ericsson Technology Licensing (0) Vendor Codec ID: 0 Controller Delay: 0 us (0x000000) Codec Configuration Length: 0 Codec Configuration: > HCI Event: Command Complete (0x0e) plen 6 LE Setup Isochronous Data Path (0x08|0x006e) ncmd 1 Status: Success (0x00) Handle: 11 < ISO Data TX: Handle 10 flags 0x02 dlen 44 < ISO Data TX: Handle 11 flags 0x02 dlen 44 > HCI Event: Number of Completed Packets (0x13) plen 5 Num handles: 1 Handle: 10 Count: 1 > HCI Event: Number of Completed Packets (0x13) plen 5 Num handles: 1 Handle: 11 Count: 1 Signed-off-by: Iulia Tanasescu Signed-off-by: Luiz Augusto von Dentz include/net/bluetooth/hci_core.h | 30 ++++++++ net/bluetooth/hci_conn.c | 152 +++++++++++++++++++++++++++------------ net/bluetooth/hci_event.c | 52 ++++++++------ net/bluetooth/iso.c | 28 ++++++-- 4 files changed, 189 insertions(+), 73 deletions(-) accumulated error probability: 0.00 culprit signature: 1040b0518465940516872a8596470765e415b70307fee49f83c553c9ce04bce2 parent signature: 5b4d1b9f888d0c2278446afdcf11ddfc2b6a0a6483542e5444ccaa40fc246cf2 revisions tested: 26, total time: 9h17m54.65929401s (build: 4h43m7.455715888s, test: 4h13m35.729592754s) first bad commit: a0bfde167b506423111ddb8cd71930497a40fc54 Bluetooth: ISO: Add support for connecting multiple BISes recipients (to): ["davem@davemloft.net" "edumazet@google.com" "iulia.tanasescu@nxp.com" "johan.hedberg@gmail.com" "kuba@kernel.org" "linux-bluetooth@vger.kernel.org" "luiz.dentz@gmail.com" "luiz.von.dentz@intel.com" "marcel@holtmann.org" "netdev@vger.kernel.org" "pabeni@redhat.com"] recipients (cc): ["linux-kernel@vger.kernel.org"] crash: BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 BUG: sleeping function called from invalid context at kernel/locking/mutex.c:580 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 1268, name: kworker/u5:1 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 4 locks held by kworker/u5:1/1268: #0: ffff888100f95d38 ((wq_completion)hci0#2){....}-{0:0}, at: process_one_work+0x1d7/0x4a0 kernel/workqueue.c:2572 #1: ffffc90002bf3e48 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: process_one_work+0x201/0x4a0 kernel/workqueue.c:2574 #2: ffff88810b68c078 (&hdev->lock){....}-{3:3}, at: hci_le_create_big_complete_evt+0x5b/0x250 net/bluetooth/hci_event.c:6947 #3: ffffffff8377e740 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 include/trace/events/initcall.h:48 CPU: 0 PID: 1268 Comm: kworker/u5:1 Not tainted 6.5.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: hci0 hci_rx_work Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x83/0xd0 lib/dump_stack.c:106 __might_resched+0x1a3/0x1c0 kernel/sched/core.c:10189 __mutex_lock_common+0x7d/0xe50 kernel/locking/mutex.c:580 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x1b/0x30 kernel/locking/mutex.c:799 hci_connect_cfm include/net/bluetooth/hci_core.h:1852 [inline] hci_le_create_big_complete_evt+0x131/0x250 net/bluetooth/hci_event.c:6970 hci_event_func net/bluetooth/hci_event.c:7512 [inline] hci_event_packet+0x30b/0x540 net/bluetooth/hci_event.c:7567 hci_rx_work+0x1c1/0x4d0 net/bluetooth/hci_core.c:4090 process_one_work+0x253/0x4a0 kernel/workqueue.c:2600 worker_thread+0x1d6/0x380 kernel/workqueue.c:2751 kthread+0xf8/0x110 kernel/kthread.c:389 ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:304 Bluetooth: hci0: command 0x0409 tx timeout Bluetooth: hci0: command 0x041b tx timeout BUG: sleeping function called from invalid context at kernel/locking/mutex.c:580 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 1268, name: kworker/u5:1 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 4 locks held by kworker/u5:1/1268: #0: ffff888100f95d38 ((wq_completion)hci0#2){....}-{0:0}, at: process_one_work+0x1d7/0x4a0 kernel/workqueue.c:2572 #1: ffffc90002bf3e48 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: process_one_work+0x201/0x4a0 kernel/workqueue.c:2574 #2: ffff88810b68c078 (&hdev->lock){....}-{3:3}, at: hci_le_create_big_complete_evt+0x5b/0x250 net/bluetooth/hci_event.c:6947 #3: ffffffff8377e740 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 include/trace/events/initcall.h:48 CPU: 1 PID: 1268 Comm: kworker/u5:1 Tainted: G W 6.5.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: hci0 hci_rx_work Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x83/0xd0 lib/dump_stack.c:106 __might_resched+0x1a3/0x1c0 kernel/sched/core.c:10189 __mutex_lock_common+0x7d/0xe50 kernel/locking/mutex.c:580 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x1b/0x30 kernel/locking/mutex.c:799 hci_connect_cfm include/net/bluetooth/hci_core.h:1852 [inline] hci_le_create_big_complete_evt+0x131/0x250 net/bluetooth/hci_event.c:6970 hci_event_func net/bluetooth/hci_event.c:7512 [inline] hci_event_packet+0x30b/0x540 net/bluetooth/hci_event.c:7567 hci_rx_work+0x1c1/0x4d0 net/bluetooth/hci_core.c:4090 process_one_work+0x253/0x4a0 kernel/workqueue.c:2600 worker_thread+0x1d6/0x380 kernel/workqueue.c:2751 kthread+0xf8/0x110 kernel/kthread.c:389 ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:304 BUG: sleeping function called from invalid context at kernel/locking/mutex.c:580 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 1268, name: kworker/u5:1 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 4 locks held by kworker/u5:1/1268: #0: ffff888100f95d38 ((wq_completion)hci0#2){....}-{0:0}, at: process_one_work+0x1d7/0x4a0 kernel/workqueue.c:2572 #1: ffffc90002bf3e48 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: process_one_work+0x201/0x4a0 kernel/workqueue.c:2574 #2: ffff88810b68c078 (&hdev->lock){....}-{3:3}, at: hci_le_create_big_complete_evt+0x5b/0x250 net/bluetooth/hci_event.c:6947 #3: ffffffff8377e740 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 include/trace/events/initcall.h:48 CPU: 0 PID: 1268 Comm: kworker/u5:1 Tainted: G W 6.5.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: hci0 hci_rx_work Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x83/0xd0 lib/dump_stack.c:106 __might_resched+0x1a3/0x1c0 kernel/sched/core.c:10189 __mutex_lock_common+0x7d/0xe50 kernel/locking/mutex.c:580 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x1b/0x30 kernel/locking/mutex.c:799 hci_connect_cfm include/net/bluetooth/hci_core.h:1852 [inline] hci_le_create_big_complete_evt+0x131/0x250 net/bluetooth/hci_event.c:6970 hci_event_func net/bluetooth/hci_event.c:7512 [inline] hci_event_packet+0x30b/0x540 net/bluetooth/hci_event.c:7567 hci_rx_work+0x1c1/0x4d0 net/bluetooth/hci_core.c:4090 process_one_work+0x253/0x4a0 kernel/workqueue.c:2600 worker_thread+0x1d6/0x380 kernel/workqueue.c:2751 kthread+0xf8/0x110 kernel/kthread.c:389 ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:304 BUG: sleeping function called from invalid context at kernel/locking/mutex.c:580 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 1268, name: kworker/u5:1 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 4 locks held by kworker/u5:1/1268: #0: ffff888100f95d38 ((wq_completion)hci0#2){....}-{0:0}, at: process_one_work+0x1d7/0x4a0 kernel/workqueue.c:2572 #1: ffffc90002bf3e48 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: process_one_work+0x201/0x4a0 kernel/workqueue.c:2574 #2: ffff88810b68c078 (&hdev->lock){....}-{3:3}, at: hci_le_create_big_complete_evt+0x5b/0x250 net/bluetooth/hci_event.c:6947 #3: ffffffff8377e740 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 include/trace/events/initcall.h:48 CPU: 0 PID: 1268 Comm: kworker/u5:1 Tainted: G W 6.5.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: hci0 hci_rx_work Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x83/0xd0 lib/dump_stack.c:106 __might_resched+0x1a3/0x1c0 kernel/sched/core.c:10189 __mutex_lock_common+0x7d/0xe50 kernel/locking/mutex.c:580 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x1b/0x30 kernel/locking/mutex.c:799 hci_connect_cfm include/net/bluetooth/hci_core.h:1852 [inline] hci_le_create_big_complete_evt+0x131/0x250 net/bluetooth/hci_event.c:6970 hci_event_func net/bluetooth/hci_event.c:7512 [inline] hci_event_packet+0x30b/0x540 net/bluetooth/hci_event.c:7567 hci_rx_work+0x1c1/0x4d0 net/bluetooth/hci_core.c:4090 process_one_work+0x253/0x4a0 kernel/workqueue.c:2600 worker_thread+0x1d6/0x380 kernel/workqueue.c:2751 kthread+0xf8/0x110 kernel/kthread.c:389 ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:304 BUG: sleeping function called from invalid context at kernel/locking/mutex.c:580 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 1268, name: kworker/u5:1 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 4 locks held by kworker/u5:1/1268: #0: ffff888100f95d38 ((wq_completion)hci0#2){....}-{0:0}, at: process_one_work+0x1d7/0x4a0 kernel/workqueue.c:2572 #1: ffffc90002bf3e48 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: process_one_work+0x201/0x4a0 kernel/workqueue.c:2574 #2: ffff88810b68c078 (&hdev->lock){....}-{3:3}, at: hci_le_create_big_complete_evt+0x5b/0x250 net/bluetooth/hci_event.c:6947 #3: ffffffff8377e740 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 include/trace/events/initcall.h:48 CPU: 0 PID: 1268 Comm: kworker/u5:1 Tainted: G W 6.5.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: hci0 hci_rx_work Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x83/0xd0 lib/dump_stack.c:106 __might_resched+0x1a3/0x1c0 kernel/sched/core.c:10189 __mutex_lock_common+0x7d/0xe50 kernel/locking/mutex.c:580 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x1b/0x30 kernel/locking/mutex.c:799 hci_connect_cfm include/net/bluetooth/hci_core.h:1852 [inline] hci_le_create_big_complete_evt+0x131/0x250 net/bluetooth/hci_event.c:6970 hci_event_func net/bluetooth/hci_event.c:7512 [inline] hci_event_packet+0x30b/0x540 net/bluetooth/hci_event.c:7567 hci_rx_work+0x1c1/0x4d0 net/bluetooth/hci_core.c:4090 process_one_work+0x253/0x4a0 kernel/workqueue.c:2600 worker_thread+0x1d6/0x380 kernel/workqueue.c:2751 kthread+0xf8/0x110 kernel/kthread.c:389 ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:304 Bluetooth: hci0: command 0x0419 tx timeout BUG: sleeping function called from invalid context at kernel/locking/mutex.c:580 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 1268, name: kworker/u5:1 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 4 locks held by kworker/u5:1/1268: #0: ffff888100f95d38 ((wq_completion)hci0#2){....}-{0:0}, at: process_one_work+0x1d7/0x4a0 kernel/workqueue.c:2572 #1: ffffc90002bf3e48 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: process_one_work+0x201/0x4a0 kernel/workqueue.c:2574 #2: ffff88810b68c078 (&hdev->lock){....}-{3:3}, at: hci_le_create_big_complete_evt+0x5b/0x250 net/bluetooth/hci_event.c:6947 #3: ffffffff8377e740 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 include/trace/events/initcall.h:48 CPU: 0 PID: 1268 Comm: kworker/u5:1 Tainted: G W 6.5.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: hci0 hci_rx_work Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x83/0xd0 lib/dump_stack.c:106 __might_resched+0x1a3/0x1c0 kernel/sched/core.c:10189 __mutex_lock_common+0x7d/0xe50 kernel/locking/mutex.c:580 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x1b/0x30 kernel/locking/mutex.c:799 hci_connect_cfm include/net/bluetooth/hci_core.h:1852 [inline] hci_le_create_big_complete_evt+0x131/0x250 net/bluetooth/hci_event.c:6970 hci_event_func net/bluetooth/hci_event.c:7512 [inline] hci_event_packet+0x30b/0x540 net/bluetooth/hci_event.c:7567 hci_rx_work+0x1c1/0x4d0 net/bluetooth/hci_core.c:4090 process_one_work+0x253/0x4a0 kernel/workqueue.c:2600 worker_thread+0x1d6/0x380 kernel/workqueue.c:2751 kthread+0xf8/0x110 kernel/kthread.c:389 ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:304 Bluetooth: hci0: command 0x206c tx timeout BUG: sleeping function called from invalid context at kernel/locking/mutex.c:580 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 1268, name: kworker/u5:1 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 4 locks held by kworker/u5:1/1268: #0: ffff888100f95d38 ((wq_completion)hci0#2){....}-{0:0}, at: process_one_work+0x1d7/0x4a0 kernel/workqueue.c:2572 #1: ffffc90002bf3e48 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: process_one_work+0x201/0x4a0 kernel/workqueue.c:2574 #2: ffff88810b68c078 (&hdev->lock){....}-{3:3}, at: hci_le_create_big_complete_evt+0x5b/0x250 net/bluetooth/hci_event.c:6947 #3: ffffffff8377e740 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 include/trace/events/initcall.h:48 CPU: 0 PID: 1268 Comm: kworker/u5:1 Tainted: G W 6.5.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: hci0 hci_rx_work Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x83/0xd0 lib/dump_stack.c:106 __might_resched+0x1a3/0x1c0 kernel/sched/core.c:10189 __mutex_lock_common+0x7d/0xe50 kernel/locking/mutex.c:580 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x1b/0x30 kernel/locking/mutex.c:799 hci_connect_cfm include/net/bluetooth/hci_core.h:1852 [inline] hci_le_create_big_complete_evt+0x131/0x250 net/bluetooth/hci_event.c:6970 hci_event_func net/bluetooth/hci_event.c:7512 [inline] hci_event_packet+0x30b/0x540 net/bluetooth/hci_event.c:7567 hci_rx_work+0x1c1/0x4d0 net/bluetooth/hci_core.c:4090 process_one_work+0x253/0x4a0 kernel/workqueue.c:2600 worker_thread+0x1d6/0x380 kernel/workqueue.c:2751 kthread+0xf8/0x110 kernel/kthread.c:389 ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:304