ci starts bisection 2023-09-20 18:56:13.120794392 +0000 UTC m=+633117.139918403 bisecting cause commit starting from 1f6ce8392d6ff486af5ca96df9ded5882c4b6977 building syzkaller on d2ee9228555a1697ea8957f68403df8e4c55f42d fetch other tags and check if the commit is present ensuring issue is reproducible on original commit 1f6ce8392d6ff486af5ca96df9ded5882c4b6977 testing commit 1f6ce8392d6ff486af5ca96df9ded5882c4b6977 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 832100b465277b18fa3371ee3c7206663149c33e20d145160732cd19a8aaed45 all runs: crashed: BUG: sleeping function called from invalid context in __hci_cmd_sync_sk representative crash: BUG: sleeping function called from invalid context in __hci_cmd_sync_sk, types: [ATOMIC_SLEEP] check whether we can drop unnecessary instrumentation disabling configs for [KASAN LOCKDEP HANG LEAK UBSAN BUG], they are not needed testing commit 1f6ce8392d6ff486af5ca96df9ded5882c4b6977 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2479a9539de02d5f6e877cf3ed7a946eeac41f1ae08e68044fbe0befac37c237 all runs: crashed: BUG: sleeping function called from invalid context in __hci_cmd_sync_sk representative crash: BUG: sleeping function called from invalid context in __hci_cmd_sync_sk, types: [ATOMIC_SLEEP] the bug reproduces without the instrumentation disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP HANG], they are not needed kconfig minimization: base=3883 full=7630 leaves diff=2000 split chunks (needed=false): <2000> split chunk #0 of len 2000 into 5 parts testing without sub-chunk 1/5 disabling configs for [KASAN LOCKDEP HANG LEAK UBSAN BUG], they are not needed testing commit 1f6ce8392d6ff486af5ca96df9ded5882c4b6977 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 36cccd30372a983dddf509cd5f1c07d41ba1b122f76d873d7920808606e1c88c all runs: OK false negative chance: 0.000 testing without sub-chunk 2/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 1f6ce8392d6ff486af5ca96df9ded5882c4b6977 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 89307d91eac47074668649b5ec53bd99c575595b8aed770589b408839ef5507d all runs: crashed: BUG: sleeping function called from invalid context in __hci_cmd_sync_sk representative crash: BUG: sleeping function called from invalid context in __hci_cmd_sync_sk, types: [ATOMIC_SLEEP] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 1f6ce8392d6ff486af5ca96df9ded5882c4b6977 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f9491513835a5d1d8a570f006ce6d2b20cf5d1da33ad832700ed82eb2f1ce25b all runs: crashed: BUG: sleeping function called from invalid context in __hci_cmd_sync_sk representative crash: BUG: sleeping function called from invalid context in __hci_cmd_sync_sk, types: [ATOMIC_SLEEP] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [KASAN LOCKDEP HANG LEAK UBSAN BUG], they are not needed testing commit 1f6ce8392d6ff486af5ca96df9ded5882c4b6977 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e8a518277cdd8dacae3fc5bd3dafa1ef50ac3a88efd137df4dc3a3f4a4053a4b all runs: crashed: BUG: sleeping function called from invalid context in __hci_cmd_sync_sk representative crash: BUG: sleeping function called from invalid context in __hci_cmd_sync_sk, 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 1f6ce8392d6ff486af5ca96df9ded5882c4b6977 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9ff1c68e22b6e348c45949f706422082416b78e9da4f482bfea476c765f99582 all runs: crashed: BUG: sleeping function called from invalid context in __hci_cmd_sync_sk representative crash: BUG: sleeping function called from invalid context in __hci_cmd_sync_sk, types: [ATOMIC_SLEEP] the chunk can be dropped minimized to 400 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 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 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_FD 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_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_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 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_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_ECB 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_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 DIMLIB 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 DRM_CIRRUS_QEMU DRM_DEBUG_MM 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_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 [HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed picked [v6.3 v6.2 v6.1 v5.19 v5.17 v5.15 v5.13 v5.11 v5.8 v5.5 v5.2 v4.20 v4.19] out of 26 release tags testing release v6.3 testing commit 457391b0380335d5e9a5babdec90ac53928b23b4 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 14ea7810fca027b09168101e41c9861a21c8b4cc737976060f3ac908eb1ed164 all runs: OK false negative chance: 0.000 # git bisect start 1f6ce8392d6ff486af5ca96df9ded5882c4b6977 457391b0380335d5e9a5babdec90ac53928b23b4 Bisecting: 12424 revisions left to test after this (roughly 14 steps) [c5eb8bf76718cf2e2f36aac216a99014f00927de] Merge tag 'leds-next-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds testing commit c5eb8bf76718cf2e2f36aac216a99014f00927de gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: baabfcb88eeb78457b33abccab80fc71b5648306e5fdbe82201e637be4f8a70b all runs: OK false negative chance: 0.000 # git bisect good c5eb8bf76718cf2e2f36aac216a99014f00927de Bisecting: 6138 revisions left to test after this (roughly 13 steps) [52090b5a33119989350af55d269d4464c255a2df] Merge branch 'master' of git://linuxtv.org/mchehab/media-next.git testing commit 52090b5a33119989350af55d269d4464c255a2df gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fbbcdd2b2837604bdc422777b1c90e5318d0df4f2643d96c82f19418cfac79ab all runs: OK false negative chance: 0.000 # git bisect good 52090b5a33119989350af55d269d4464c255a2df Bisecting: 3072 revisions left to test after this (roughly 12 steps) [ad090d05baab08568c61a0dfe93b9faf5cc1f4f1] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git testing commit ad090d05baab08568c61a0dfe93b9faf5cc1f4f1 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 134f66a09ad4ab32f11d58c219e75d252c13e466d9c4bf42d0dbd52e996347a5 all runs: crashed: BUG: sleeping function called from invalid context in __hci_cmd_sync_sk representative crash: BUG: sleeping function called from invalid context in __hci_cmd_sync_sk, types: [ATOMIC_SLEEP] # git bisect bad ad090d05baab08568c61a0dfe93b9faf5cc1f4f1 Bisecting: 1754 revisions left to test after this (roughly 11 steps) [369813c49f9aed5df143fd50999fb80d9e24b810] Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git testing commit 369813c49f9aed5df143fd50999fb80d9e24b810 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 03fbb206ee81c1551059de811dfa84090da74d46a76679cd0d1b9af1be13e760 all runs: crashed: BUG: sleeping function called from invalid context in __hci_cmd_sync_sk representative crash: BUG: sleeping function called from invalid context in __hci_cmd_sync_sk, types: [ATOMIC_SLEEP] # git bisect bad 369813c49f9aed5df143fd50999fb80d9e24b810 Bisecting: 654 revisions left to test after this (roughly 9 steps) [ddb8701dcb67aff0155d507c63cb1e201daf3ad6] Merge branch 'splice-net-handle-msg_splice_pages-in-af_kcm' testing commit ddb8701dcb67aff0155d507c63cb1e201daf3ad6 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2e9f847283ed1a15cd613fe7df6b1786c6dae4b515bb54e801596a7dbd840e4e all runs: OK false negative chance: 0.000 # git bisect good ddb8701dcb67aff0155d507c63cb1e201daf3ad6 Bisecting: 324 revisions left to test after this (roughly 8 steps) [72d77bad12c6b2207be10824c0f05ba55123161f] Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue testing commit 72d77bad12c6b2207be10824c0f05ba55123161f gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6bdc9a0e56ea7e989087ea9c1f836a85a1b4e028c9424b7c0ffd695d8a3b1f05 all runs: OK false negative chance: 0.000 # git bisect good 72d77bad12c6b2207be10824c0f05ba55123161f Bisecting: 138 revisions left to test after this (roughly 7 steps) [1fa24970825036192facf6d1cd7804df63bbddbd] Merge branch 'main' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git testing commit 1fa24970825036192facf6d1cd7804df63bbddbd gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d08d2dddbf9f2371d881b3a20c2d389f4b70a931ae73f60e1cef48526a9779f5 all runs: OK false negative chance: 0.000 # git bisect good 1fa24970825036192facf6d1cd7804df63bbddbd Bisecting: 68 revisions left to test after this (roughly 6 steps) [eef49501698d30a310feeb564a538bc7b763fd33] Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/wpan/wpan-next.git testing commit eef49501698d30a310feeb564a538bc7b763fd33 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a7e4bf2385e6a7e32304253d668217d6f988c54c9e1d70797e85e4747c3d385c all runs: crashed: BUG: sleeping function called from invalid context in __hci_cmd_sync_sk representative crash: BUG: sleeping function called from invalid context in __hci_cmd_sync_sk, types: [ATOMIC_SLEEP] # git bisect bad eef49501698d30a310feeb564a538bc7b763fd33 Bisecting: 35 revisions left to test after this (roughly 5 steps) [c6b453a2df022b917ce4d8349c90d8b0d53ba785] Merge branch 'main' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/ipvs-next.git testing commit c6b453a2df022b917ce4d8349c90d8b0d53ba785 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1cee604e0cef4aadc8f033f2b36838d43405bb45ed79c6b9c51d5c65a39b8d60 all runs: OK false negative chance: 0.000 # git bisect good c6b453a2df022b917ce4d8349c90d8b0d53ba785 Bisecting: 17 revisions left to test after this (roughly 4 steps) [08d4a27ebdf3e74c8fbef0504652aefc36185a09] Bluetooth: hci_bcm: do not mark valid bd_addr as invalid testing commit 08d4a27ebdf3e74c8fbef0504652aefc36185a09 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 31ef89454337e23983e3b133293c811ae9a616c3e60c1ddcceeab9c87c965cda all runs: crashed: BUG: sleeping function called from invalid context in __hci_cmd_sync_sk representative crash: BUG: sleeping function called from invalid context in __hci_cmd_sync_sk, types: [ATOMIC_SLEEP] # git bisect bad 08d4a27ebdf3e74c8fbef0504652aefc36185a09 Bisecting: 8 revisions left to test after this (roughly 3 steps) [49d0d4d86bfbd2313a388e264ca25db2a2aeef4e] Bluetooth: hci_sync: add lock to protect HCI_UNREGISTER testing commit 49d0d4d86bfbd2313a388e264ca25db2a2aeef4e gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3b511178f6c5d42e831bb57f7391b76a2a013d9992994bf37417a0397eacc837 all runs: OK false negative chance: 0.000 # git bisect good 49d0d4d86bfbd2313a388e264ca25db2a2aeef4e Bisecting: 4 revisions left to test after this (roughly 2 steps) [9f3f983ad1cffcdd21cf06730f9baa6a3421edd0] Bluetooth: fix use-bdaddr-property quirk testing commit 9f3f983ad1cffcdd21cf06730f9baa6a3421edd0 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3549e20d66ae024accfcbdac3fc368444a24ae71dee8a59af08f4a1775b51abe all runs: crashed: BUG: sleeping function called from invalid context in __hci_cmd_sync_sk representative crash: BUG: sleeping function called from invalid context in __hci_cmd_sync_sk, types: [ATOMIC_SLEEP] # git bisect bad 9f3f983ad1cffcdd21cf06730f9baa6a3421edd0 Bisecting: 1 revision left to test after this (roughly 1 step) [2e846cd83f6285f4fee49389954b1b1215f5e504] Bluetooth: ISO: Add support for connecting multiple BISes testing commit 2e846cd83f6285f4fee49389954b1b1215f5e504 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e1acaa847fe2a51cd7be624477e7bdc3fcbf905ae8cae66739c74d97e614b8e7 all runs: crashed: BUG: sleeping function called from invalid context in __hci_cmd_sync_sk representative crash: BUG: sleeping function called from invalid context in __hci_cmd_sync_sk, types: [ATOMIC_SLEEP] # git bisect bad 2e846cd83f6285f4fee49389954b1b1215f5e504 Bisecting: 0 revisions left to test after this (roughly 0 steps) [ae0a49f2c531822e5d20d05b2fa6cd33fbac8d4e] Bluetooth: L2CAP: Fix use-after-free testing commit ae0a49f2c531822e5d20d05b2fa6cd33fbac8d4e gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ddaeacffc23c9a0172bd84a0f1910c304e810a73decb26cc52787c28d655b686 all runs: OK false negative chance: 0.000 # git bisect good ae0a49f2c531822e5d20d05b2fa6cd33fbac8d4e 2e846cd83f6285f4fee49389954b1b1215f5e504 is the first bad commit commit 2e846cd83f6285f4fee49389954b1b1215f5e504 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: e1acaa847fe2a51cd7be624477e7bdc3fcbf905ae8cae66739c74d97e614b8e7 parent signature: ddaeacffc23c9a0172bd84a0f1910c304e810a73decb26cc52787c28d655b686 revisions tested: 22, total time: 3h57m2.389548807s (build: 1h35m25.215528093s, test: 2h9m9.460095489s) first bad commit: 2e846cd83f6285f4fee49389954b1b1215f5e504 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_cmd_sync_sk Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 BUG: sleeping function called from invalid context at net/bluetooth/hci_sync.c:166 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 42, name: kworker/u5:0 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 4 locks held by kworker/u5:0/42: #0: ffff88810ea89d38 ((wq_completion)hci0#2){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:863 [inline] #0: ffff88810ea89d38 ((wq_completion)hci0#2){....}-{0:0}, at: process_one_work+0x1f7/0x4f0 kernel/workqueue.c:2368 #1: ffffc9000037be78 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:863 [inline] #1: ffffc9000037be78 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: process_one_work+0x1f7/0x4f0 kernel/workqueue.c:2368 #2: ffff88810e290078 (&hdev->lock){....}-{3:3}, at: hci_le_create_big_complete_evt+0x69/0x2f0 net/bluetooth/hci_event.c:6921 #3: ffffffff83382ac0 (rcu_read_lock){....}-{1:2}, at: hci_le_ev_skb_pull net/bluetooth/hci_event.c:79 [inline] #3: ffffffff83382ac0 (rcu_read_lock){....}-{1:2}, at: hci_le_create_big_complete_evt+0x4a/0x2f0 net/bluetooth/hci_event.c:6917 CPU: 1 PID: 42 Comm: kworker/u5:0 Not tainted 6.4.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Workqueue: hci0 hci_rx_work Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x3d/0x60 lib/dump_stack.c:106 __might_resched+0x188/0x1e0 kernel/sched/core.c:10153 __hci_cmd_sync_sk+0x152/0x590 net/bluetooth/hci_sync.c:166 __hci_cmd_sync_status_sk net/bluetooth/hci_sync.c:247 [inline] __hci_cmd_sync_status net/bluetooth/hci_sync.c:273 [inline] hci_le_terminate_big_sync+0x4d/0xd0 net/bluetooth/hci_sync.c:1671 hci_le_create_big_complete_evt+0x249/0x2f0 net/bluetooth/hci_event.c:6956 hci_event_func net/bluetooth/hci_event.c:7486 [inline] hci_event_packet+0x1f7/0x560 net/bluetooth/hci_event.c:7541 hci_rx_work+0x9b/0x650 net/bluetooth/hci_core.c:4064 process_one_work+0x285/0x4f0 kernel/workqueue.c:2405 worker_thread+0x4e/0x340 kernel/workqueue.c:2552 kthread+0xea/0x110 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Bluetooth: hci0: Opcode 0x206a failed: -110 BUG: sleeping function called from invalid context at net/bluetooth/hci_sync.c:166 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 42, name: kworker/u5:0 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 4 locks held by kworker/u5:0/42: #0: ffff88810ea89d38 ((wq_completion)hci0#2){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:863 [inline] #0: ffff88810ea89d38 ((wq_completion)hci0#2){....}-{0:0}, at: process_one_work+0x1f7/0x4f0 kernel/workqueue.c:2368 #1: ffffc9000037be78 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:863 [inline] #1: ffffc9000037be78 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: process_one_work+0x1f7/0x4f0 kernel/workqueue.c:2368 #2: ffff88810e290078 (&hdev->lock){....}-{3:3}, at: hci_le_create_big_complete_evt+0x69/0x2f0 net/bluetooth/hci_event.c:6921 #3: ffffffff83382ac0 (rcu_read_lock){....}-{1:2}, at: hci_le_ev_skb_pull net/bluetooth/hci_event.c:79 [inline] #3: ffffffff83382ac0 (rcu_read_lock){....}-{1:2}, at: hci_le_create_big_complete_evt+0x4a/0x2f0 net/bluetooth/hci_event.c:6917 CPU: 1 PID: 42 Comm: kworker/u5:0 Tainted: G W 6.4.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Workqueue: hci0 hci_rx_work Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x3d/0x60 lib/dump_stack.c:106 __might_resched+0x188/0x1e0 kernel/sched/core.c:10153 __hci_cmd_sync_sk+0x152/0x590 net/bluetooth/hci_sync.c:166 __hci_cmd_sync_status_sk net/bluetooth/hci_sync.c:247 [inline] __hci_cmd_sync_status net/bluetooth/hci_sync.c:273 [inline] hci_le_terminate_big_sync+0x4d/0xd0 net/bluetooth/hci_sync.c:1671 hci_le_create_big_complete_evt+0x249/0x2f0 net/bluetooth/hci_event.c:6956 hci_event_func net/bluetooth/hci_event.c:7486 [inline] hci_event_packet+0x1f7/0x560 net/bluetooth/hci_event.c:7541 hci_rx_work+0x9b/0x650 net/bluetooth/hci_core.c:4064 process_one_work+0x285/0x4f0 kernel/workqueue.c:2405 worker_thread+0x4e/0x340 kernel/workqueue.c:2552 kthread+0xea/0x110 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Bluetooth: hci0: Opcode 0x206a failed: -110 BUG: sleeping function called from invalid context at net/bluetooth/hci_sync.c:166 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 42, name: kworker/u5:0 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 4 locks held by kworker/u5:0/42: #0: ffff88810ea89d38 ((wq_completion)hci0#2){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:863 [inline] #0: ffff88810ea89d38 ((wq_completion)hci0#2){....}-{0:0}, at: process_one_work+0x1f7/0x4f0 kernel/workqueue.c:2368 #1: ffffc9000037be78 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:863 [inline] #1: ffffc9000037be78 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: process_one_work+0x1f7/0x4f0 kernel/workqueue.c:2368 #2: ffff88810e290078 (&hdev->lock){....}-{3:3}, at: hci_le_create_big_complete_evt+0x69/0x2f0 net/bluetooth/hci_event.c:6921 #3: ffffffff83382ac0 (rcu_read_lock){....}-{1:2}, at: hci_le_ev_skb_pull net/bluetooth/hci_event.c:79 [inline] #3: ffffffff83382ac0 (rcu_read_lock){....}-{1:2}, at: hci_le_create_big_complete_evt+0x4a/0x2f0 net/bluetooth/hci_event.c:6917 CPU: 1 PID: 42 Comm: kworker/u5:0 Tainted: G W 6.4.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Workqueue: hci0 hci_rx_work Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x3d/0x60 lib/dump_stack.c:106 __might_resched+0x188/0x1e0 kernel/sched/core.c:10153 __hci_cmd_sync_sk+0x152/0x590 net/bluetooth/hci_sync.c:166 __hci_cmd_sync_status_sk net/bluetooth/hci_sync.c:247 [inline] __hci_cmd_sync_status net/bluetooth/hci_sync.c:273 [inline] hci_le_terminate_big_sync+0x4d/0xd0 net/bluetooth/hci_sync.c:1671 hci_le_create_big_complete_evt+0x249/0x2f0 net/bluetooth/hci_event.c:6956 hci_event_func net/bluetooth/hci_event.c:7486 [inline] hci_event_packet+0x1f7/0x560 net/bluetooth/hci_event.c:7541 hci_rx_work+0x9b/0x650 net/bluetooth/hci_core.c:4064 process_one_work+0x285/0x4f0 kernel/workqueue.c:2405 worker_thread+0x4e/0x340 kernel/workqueue.c:2552 kthread+0xea/0x110 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Bluetooth: hci0: Opcode 0x206a failed: -110 BUG: sleeping function called from invalid context at net/bluetooth/hci_sync.c:166 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 42, name: kworker/u5:0 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 4 locks held by kworker/u5:0/42: #0: ffff88810ea89d38 ((wq_completion)hci0#2){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:863 [inline] #0: ffff88810ea89d38 ((wq_completion)hci0#2){....}-{0:0}, at: process_one_work+0x1f7/0x4f0 kernel/workqueue.c:2368 #1: ffffc9000037be78 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:863 [inline] #1: ffffc9000037be78 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: process_one_work+0x1f7/0x4f0 kernel/workqueue.c:2368 #2: ffff88810e290078 (&hdev->lock){....}-{3:3}, at: hci_le_create_big_complete_evt+0x69/0x2f0 net/bluetooth/hci_event.c:6921 #3: ffffffff83382ac0 (rcu_read_lock){....}-{1:2}, at: hci_le_ev_skb_pull net/bluetooth/hci_event.c:79 [inline] #3: ffffffff83382ac0 (rcu_read_lock){....}-{1:2}, at: hci_le_create_big_complete_evt+0x4a/0x2f0 net/bluetooth/hci_event.c:6917 CPU: 1 PID: 42 Comm: kworker/u5:0 Tainted: G W 6.4.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Workqueue: hci0 hci_rx_work Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x3d/0x60 lib/dump_stack.c:106 __might_resched+0x188/0x1e0 kernel/sched/core.c:10153 __hci_cmd_sync_sk+0x152/0x590 net/bluetooth/hci_sync.c:166 __hci_cmd_sync_status_sk net/bluetooth/hci_sync.c:247 [inline] __hci_cmd_sync_status net/bluetooth/hci_sync.c:273 [inline] hci_le_terminate_big_sync+0x4d/0xd0 net/bluetooth/hci_sync.c:1671 hci_le_create_big_complete_evt+0x249/0x2f0 net/bluetooth/hci_event.c:6956 hci_event_func net/bluetooth/hci_event.c:7486 [inline] hci_event_packet+0x1f7/0x560 net/bluetooth/hci_event.c:7541 hci_rx_work+0x9b/0x650 net/bluetooth/hci_core.c:4064 process_one_work+0x285/0x4f0 kernel/workqueue.c:2405 worker_thread+0x4e/0x340 kernel/workqueue.c:2552 kthread+0xea/0x110 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Bluetooth: hci0: Opcode 0x206a failed: -110 BUG: sleeping function called from invalid context at net/bluetooth/hci_sync.c:166 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 42, name: kworker/u5:0 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 4 locks held by kworker/u5:0/42: #0: ffff88810ea89d38 ((wq_completion)hci0#2){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:863 [inline] #0: ffff88810ea89d38 ((wq_completion)hci0#2){....}-{0:0}, at: process_one_work+0x1f7/0x4f0 kernel/workqueue.c:2368 #1: ffffc9000037be78 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: wake_up_worker kernel/workqueue.c:863 [inline] #1: ffffc9000037be78 ((work_completion)(&hdev->rx_work)){....}-{0:0}, at: process_one_work+0x1f7/0x4f0 kernel/workqueue.c:2368 #2: ffff88810e290078 (&hdev->lock){....}-{3:3}, at: hci_le_create_big_complete_evt+0x69/0x2f0 net/bluetooth/hci_event.c:6921 #3: ffffffff83382ac0 (rcu_read_lock){....}-{1:2}, at: hci_le_ev_skb_pull net/bluetooth/hci_event.c:79 [inline] #3: ffffffff83382ac0 (rcu_read_lock){....}-{1:2}, at: hci_le_create_big_complete_evt+0x4a/0x2f0 net/bluetooth/hci_event.c:6917 CPU: 0 PID: 42 Comm: kworker/u5:0 Tainted: G W 6.4.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Workqueue: hci0 hci_rx_work Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x3d/0x60 lib/dump_stack.c:106 __might_resched+0x188/0x1e0 kernel/sched/core.c:10153 __hci_cmd_sync_sk+0x152/0x590 net/bluetooth/hci_sync.c:166 __hci_cmd_sync_status_sk net/bluetooth/hci_sync.c:247 [inline] __hci_cmd_sync_status net/bluetooth/hci_sync.c:273 [inline] hci_le_terminate_big_sync+0x4d/0xd0 net/bluetooth/hci_sync.c:1671 hci_le_create_big_complete_evt+0x249/0x2f0 net/bluetooth/hci_event.c:6956 hci_event_func net/bluetooth/hci_event.c:7486 [inline] hci_event_packet+0x1f7/0x560 net/bluetooth/hci_event.c:7541 hci_rx_work+0x9b/0x650 net/bluetooth/hci_core.c:4064 process_one_work+0x285/0x4f0 kernel/workqueue.c:2405 worker_thread+0x4e/0x340 kernel/workqueue.c:2552 kthread+0xea/0x110 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308