ci starts bisection 2025-02-19 05:41:06.411652744 +0000 UTC m=+23748.351177024 bisecting cause commit starting from e5d3fd687aac5eceb1721fa92b9f49afcf4c3717 building syzkaller on c37c724966f290881c3123580e5e708f620086bf fetch other tags and check if the commit is present ensuring issue is reproducible on original commit e5d3fd687aac5eceb1721fa92b9f49afcf4c3717 testing commit e5d3fd687aac5eceb1721fa92b9f49afcf4c3717 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d1ebd744d0be971f41b0454808f0eefdc095b450be183743224f6a776aed500e all runs: crashed: general protection fault in bcsp_close representative crash: general protection fault in bcsp_close, types: [UNKNOWN] check whether we can drop unnecessary instrumentation disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit e5d3fd687aac5eceb1721fa92b9f49afcf4c3717 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 22d5263881323de3c58bdc6e306f5a40d61c25caadbfd13f36b7797aeb7c1a9f all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bcsp_close representative crash: BUG: unable to handle kernel NULL pointer dereference in bcsp_close, types: [UNKNOWN] the bug reproduces without the instrumentation disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed kconfig minimization: base=4062 full=8265 leaves diff=2121 split chunks (needed=false): <2121> split chunk #0 of len 2121 into 5 parts testing without sub-chunk 1/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit e5d3fd687aac5eceb1721fa92b9f49afcf4c3717 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 23e2804e13aab8704c1d0027ffd48cc07d1d0adf1dc331fede7b33161b714359 all runs: OK false negative chance: 0.000 testing without sub-chunk 2/5 disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit e5d3fd687aac5eceb1721fa92b9f49afcf4c3717 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9a14c15164cf8c18e1cee0f35ef3ea5a2c6a4c8c063afe52e84b682bd68b03bc all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bcsp_close representative crash: BUG: unable to handle kernel NULL pointer dereference in bcsp_close, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit e5d3fd687aac5eceb1721fa92b9f49afcf4c3717 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f02ef45b144150ada931ee785d5f8bbd2d0a7ff79b0d9b8b9e90db6e9d80ac8b all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bcsp_close representative crash: BUG: unable to handle kernel NULL pointer dereference in bcsp_close, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit e5d3fd687aac5eceb1721fa92b9f49afcf4c3717 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 79bb9a7131747c359b82ab22026bc5420af241ee568cbcd3a805f102bd967cd7 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bcsp_close representative crash: BUG: unable to handle kernel NULL pointer dereference in bcsp_close, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit e5d3fd687aac5eceb1721fa92b9f49afcf4c3717 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9cf8296fea365e458ac45a964fb907fa9cc474915d25ce6be69dfe20f119b1ad all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bcsp_close representative crash: BUG: unable to handle kernel NULL pointer dereference in bcsp_close, types: [UNKNOWN] the chunk can be dropped minimized to 425 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_NHLT ACPI_PLATFORM_PROFILE ADFS_FS AFFS_FS AFS_FS AFS_FSCACHE AF_KCM AF_RXRPC AF_RXRPC_IPV6 AIX_PARTITION AMD_SFH_HID AMIGA_PARTITION ANDROID_BINDER_IPC ANON_VMA_NAME APERTURE_HELPERS APPLE_MFI_FASTCHARGE AR5523 ARCH_ENABLE_MEMORY_HOTREMOVE ARCH_ENABLE_THP_MIGRATION ARCH_HAS_CRC64 ARCH_HAS_EXECMEM_ROX ARCH_HAS_USER_SHADOW_STACK ARCH_SUPPORTS_HUGE_PFNMAP ARCH_SUPPORTS_PMD_PFNMAP ARCH_SUPPORTS_PUD_PFNMAP ARCH_WANT_PMD_MKWRITE ASM_MODVERSIONS ASUS_TF103C_DOCK 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_LEDS ATH10K_PCI ATH10K_USB ATH11K ATH6KL ATH6KL_USB ATH9K ATH9K_AHB ATH9K_BTCOEX_SUPPORT ATH9K_CHANNEL_CONTEXT ATH9K_COMMON ATH9K_COMMON_DEBUG ATH9K_COMMON_SPECTRAL 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_ERASURE_CODING BCACHEFS_FS BCACHEFS_POSIX_ACL BCACHEFS_QUOTA BCACHEFS_SIX_OPTIMISTIC_SPIN 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_DEV_BSGLIB BLK_DEV_INTEGRITY 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_HCIBCM203X BT_HCIBFUSB BT_HCIBPA10X BT_HCIBTUSB BT_HCIBTUSB_AUTOSUSPEND 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_INTEL BT_LE BT_LEDS BT_LE_L2CAP_ECRED BT_MRVL BT_MRVL_SDIO BT_MSFTEXT BT_MTK BT_MTKSDIO BT_MTKUART 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_ESD_USB CAN_ETAS_ES58X CAN_F81604 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_UCAN CAN_VCAN CAN_VXCAN 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_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_MAX CMDLINE_PARTITION COMEDI COMEDI_DT9812 COMEDI_NI_USB6501 COMEDI_USBDUX COMEDI_USBDUXFAST COMEDI_USBDUXSIGMA COMEDI_USB_DRIVERS COMEDI_VMK80XX COMPAT_NETLINK_MESSAGES COUNTER CPUFREQ_ARCH_CUR_FREQ CRAMFS CRAMFS_BLOCKDEV CRAMFS_MTD CRC4 CRC64 CRC64_ARCH CRC7 CRC8 CRC_ITU_T CRC_T10DIF CRC_T10DIF_ARCH CRYPTO_842 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 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_ECDH CRYPTO_ECRDSA CRYPTO_ENGINE CRYPTO_ESSIV CRYPTO_FCRYPT CRYPTO_GHASH_CLMUL_NI_INTEL CRYPTO_HCTR2 CRYPTO_KDF800108_CTR 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_LZ4 CRYPTO_LZ4HC 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_SSSE3 CRYPTO_SHA256_SSSE3 CRYPTO_SHA512_SSSE3 CRYPTO_SIMD 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_WP512 CRYPTO_XCBC CRYPTO_XCTR CRYPTO_XTS CRYPTO_XXHASH CRYPTO_ZSTD CUSE CYPRESS_FIRMWARE DAMON DAMON_PADDR DAMON_RECLAIM DAMON_VADDR DAX DCA DCB DEFAULT_CODEL DEVICE_MIGRATION DEVICE_PRIVATE DEV_COREDUMP DEV_DAX DLN2_ADC DMABUF_HEAPS DMABUF_HEAPS_CMA DMABUF_HEAPS_SYSTEM DMABUF_MOVE_NOTIFY DMA_CMA DMA_ENGINE_RAID DM_AUDIT DM_BIO_PRISON DM_BUFIO DM_CACHE DM_CACHE_SMQ DM_CLONE DM_CRYPT DM_FLAKEY DM_INTEGRITY DM_MULTIPATH DM_MULTIPATH_QL DM_MULTIPATH_ST DM_PERSISTENT_DATA DM_RAID DM_SNAPSHOT DM_THIN_PROVISIONING DM_UEVENT DM_VERITY DM_VERITY_FEC DM_WRITECACHE DM_ZONED DRAGONRISE_FF DRM DRM_AUX_BRIDGE DRM_BOCHS DRM_BRIDGE DRM_BUDDY DRM_CIRRUS_QEMU DRM_CLIENT DRM_CLIENT_DEFAULT_FBDEV DRM_CLIENT_LIB DRM_CLIENT_SELECTION DRM_CLIENT_SETUP DRM_DEBUG_MM DRM_DISPLAY_DP_AUX_BUS DRM_DISPLAY_DP_HELPER DRM_DISPLAY_DSC_HELPER DRM_DISPLAY_HDCP_HELPER DRM_DISPLAY_HDMI_HELPER DRM_DISPLAY_HELPER DRM_FBDEV_EMULATION DRM_GEM_SHMEM_HELPER ENCRYPTED_KEYS FSCACHE FUSE_FS GPIOLIB HAMRADIO HID_DRAGONRISE IIO INFINIBAND INFINIBAND_ADDR_TRANS INFINIBAND_RTRS_CLIENT IOSCHED_BFQ 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 WLAN WLAN_VENDOR_ATH X86_X32_ABI ZONE_DEVICE] disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed picked [v6.13 v6.12 v6.11 v6.9 v6.7 v6.5 v6.3 v6.1 v5.18 v5.15 v5.12 v5.9 v5.6 v5.3 v5.0 v4.19] out of 36 release tags testing release v6.13 testing commit ffd294d346d185b70e28b1a28abe367bbfe53c04 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4193937ccda84e3a8c71a882d33a9a16cb28c9460d025689dc9b79247587a342 all runs: OK false negative chance: 0.000 # git bisect start e5d3fd687aac5eceb1721fa92b9f49afcf4c3717 ffd294d346d185b70e28b1a28abe367bbfe53c04 Bisecting: 7522 revisions left to test after this (roughly 13 steps) [647d69605c70368d54fc012fce8a43e8e5955b04] Merge tag 'pci-v6.14-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci testing commit 647d69605c70368d54fc012fce8a43e8e5955b04 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e18a96b92dc7115452fe7b285e138da1ffb497f80caf85d7565a69074d23aee4 all runs: OK false negative chance: 0.000 # git bisect good 647d69605c70368d54fc012fce8a43e8e5955b04 Bisecting: 3780 revisions left to test after this (roughly 12 steps) [f0fdccc06649ac0c473dfe530bb50bc1ac214276] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap.git testing commit f0fdccc06649ac0c473dfe530bb50bc1ac214276 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b6715765b9c9b2beaa4637680fb6bf21ddbe911b3662fa790fe9ae7dbe0b172a all runs: OK false negative chance: 0.000 # git bisect good f0fdccc06649ac0c473dfe530bb50bc1ac214276 Bisecting: 1892 revisions left to test after this (roughly 11 steps) [5f29e7505e47c9492edde5e8200ee3af878a2130] Merge branch 'for-linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git testing commit 5f29e7505e47c9492edde5e8200ee3af878a2130 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1334e42c82210acca2a60bc2c0fa1164c89bf464e354071e1bc0eefd650693f2 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bcsp_close representative crash: BUG: unable to handle kernel NULL pointer dereference in bcsp_close, types: [UNKNOWN] # git bisect bad 5f29e7505e47c9492edde5e8200ee3af878a2130 Bisecting: 952 revisions left to test after this (roughly 10 steps) [86141f499fef7c72cc2a9b3bb838a7f5746e22bc] Merge branch 'next' of git://linuxtv.org/media-ci/media-pending.git testing commit 86141f499fef7c72cc2a9b3bb838a7f5746e22bc gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d5e1edc4f0328f26678165d5cddb31ee7b0f6503dc65e0118d965c94fd57c261 all runs: OK false negative chance: 0.000 # git bisect good 86141f499fef7c72cc2a9b3bb838a7f5746e22bc Bisecting: 472 revisions left to test after this (roughly 9 steps) [a32af912f5ff55e4364070b8f5aa29f8643037a0] Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git testing commit a32af912f5ff55e4364070b8f5aa29f8643037a0 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 96f3710de784a7e4b1e45e6e4b1c384c31f5d31200a72278a0e67d0a6a5d3835 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bcsp_close representative crash: BUG: unable to handle kernel NULL pointer dereference in bcsp_close, types: [UNKNOWN] # git bisect bad a32af912f5ff55e4364070b8f5aa29f8643037a0 Bisecting: 239 revisions left to test after this (roughly 8 steps) [12739192b1996a6f8814ea3bef5f45110bc5a74c] Merge branch 'rate-management-on-traffic-classes-misc' testing commit 12739192b1996a6f8814ea3bef5f45110bc5a74c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2abb7f19365c4deb70b4a797a188bfcc677be76dd6a7b40b63dd5f120927e5be all runs: OK false negative chance: 0.000 # git bisect good 12739192b1996a6f8814ea3bef5f45110bc5a74c Bisecting: 146 revisions left to test after this (roughly 7 steps) [7b131bd1cbc1fa012996ebb6a877063e6e1c60f6] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git testing commit 7b131bd1cbc1fa012996ebb6a877063e6e1c60f6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 056622516e9e42c4be9757920852c2325d33ca4deeebd1dd9b034e6eb645d20a all runs: OK false negative chance: 0.000 # git bisect good 7b131bd1cbc1fa012996ebb6a877063e6e1c60f6 Bisecting: 73 revisions left to test after this (roughly 6 steps) [09cc58d5944155d6e12a4e02e44c87dd667f43af] bnxt_en: Refactor bnxt_free_tx_rings() to free per TX ring testing commit 09cc58d5944155d6e12a4e02e44c87dd667f43af gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 73eb5fdd0206d6b32deebc42c6c583e1d8151d98317a583555a1f597bc00e3cd all runs: OK false negative chance: 0.000 # git bisect good 09cc58d5944155d6e12a4e02e44c87dd667f43af Bisecting: 36 revisions left to test after this (roughly 5 steps) [ab39ad6796e59b967cf32652503f5a95f38b3632] selftests/bpf: Extend test fs_kfuncs to cover security.bpf. xattr names testing commit ab39ad6796e59b967cf32652503f5a95f38b3632 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5415853b5c74b6fc490c4baa7030d81b40fb69e02f2fe304225b81bc4a1cb582 all runs: OK false negative chance: 0.000 # git bisect good ab39ad6796e59b967cf32652503f5a95f38b3632 Bisecting: 15 revisions left to test after this (roughly 4 steps) [09840e966bb039f426ef9f8da7261cec0c27b87d] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git testing commit 09840e966bb039f426ef9f8da7261cec0c27b87d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7db5ccf38f9a1135b3aefb0c030dc41a3b4e4d4d3ddcfa13e81e21d96374b625 all runs: OK false negative chance: 0.000 # git bisect good 09840e966bb039f426ef9f8da7261cec0c27b87d Bisecting: 7 revisions left to test after this (roughly 3 steps) [f138582b22269e3c372bb7bf470628082749c9c9] Bluetooth: MGMT: Remove unused mgmt_*_discovery_complete testing commit f138582b22269e3c372bb7bf470628082749c9c9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 731e8fdb4050291d415f8e8ae02938be5b726d42c4bdf5f078b6031bae5606b7 all runs: OK false negative chance: 0.000 # git bisect good f138582b22269e3c372bb7bf470628082749c9c9 Bisecting: 3 revisions left to test after this (roughly 2 steps) [a32a4b65fe2b7f8cf5ffb94e4c0b1a1de683a304] Bluetooth: btintel_pcie: Fix a potential race condition testing commit a32a4b65fe2b7f8cf5ffb94e4c0b1a1de683a304 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 06a380f5b375399b386954b0b0bfad13c03381ab60f088ec42d261bbe5da02af all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bcsp_close representative crash: BUG: unable to handle kernel NULL pointer dereference in bcsp_close, types: [UNKNOWN] # git bisect bad a32a4b65fe2b7f8cf5ffb94e4c0b1a1de683a304 Bisecting: 1 revision left to test after this (roughly 1 step) [059ba62c8e76783fab1d282bdad0bb8647f38f9f] Bluetooth: btintel: Add DSBR support for ScP testing commit 059ba62c8e76783fab1d282bdad0bb8647f38f9f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7eeb785297f9d46267dbdd1dda6f4054f85c853c9b99a2ca0da12644ce32a966 all runs: OK false negative chance: 0.000 # git bisect good 059ba62c8e76783fab1d282bdad0bb8647f38f9f Bisecting: 0 revisions left to test after this (roughly 0 steps) [3ca66179e56d25f1e3ed1608241abb487c63e9b7] Bluetooth: hci_uart: fix race during initialization testing commit 3ca66179e56d25f1e3ed1608241abb487c63e9b7 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9decd8ea1740c7d961a09bbc599687ca82b9e85770769ff4c3a9cd7fe0d2f75b all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bcsp_close representative crash: BUG: unable to handle kernel NULL pointer dereference in bcsp_close, types: [UNKNOWN] # git bisect bad 3ca66179e56d25f1e3ed1608241abb487c63e9b7 3ca66179e56d25f1e3ed1608241abb487c63e9b7 is the first bad commit commit 3ca66179e56d25f1e3ed1608241abb487c63e9b7 Author: Arseniy Krasnov Date: Thu Jan 30 21:43:26 2025 +0300 Bluetooth: hci_uart: fix race during initialization 'hci_register_dev()' calls power up function, which is executed by kworker - 'hci_power_on()'. This function does access to bluetooth chip using callbacks from 'hci_ldisc.c', for example 'hci_uart_send_frame()'. Now 'hci_uart_send_frame()' checks 'HCI_UART_PROTO_READY' bit set, and if not - it fails. Problem is that 'HCI_UART_PROTO_READY' is set after 'hci_register_dev()', and there is tiny chance that 'hci_power_on()' will be executed before setting this bit. In that case HCI init logic fails. Patch moves setting of 'HCI_UART_PROTO_READY' before calling function 'hci_uart_register_dev()'. Signed-off-by: Arseniy Krasnov Signed-off-by: Luiz Augusto von Dentz drivers/bluetooth/hci_ldisc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) accumulated error probability: 0.00 culprit signature: 9decd8ea1740c7d961a09bbc599687ca82b9e85770769ff4c3a9cd7fe0d2f75b parent signature: 7eeb785297f9d46267dbdd1dda6f4054f85c853c9b99a2ca0da12644ce32a966 revisions tested: 22, total time: 8h24m11.563994449s (build: 4h15m1.825436117s, test: 3h32m47.456509672s) first bad commit: 3ca66179e56d25f1e3ed1608241abb487c63e9b7 Bluetooth: hci_uart: fix race during initialization recipients (to): ["avkrasnov@salutedevices.com" "linux-bluetooth@vger.kernel.org" "luiz.dentz@gmail.com" "luiz.von.dentz@intel.com" "marcel@holtmann.org"] recipients (cc): ["linux-kernel@vger.kernel.org"] crash: BUG: unable to handle kernel NULL pointer dereference in bcsp_close BUG: kernel NULL pointer dereference, address: 0000000000000148 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 800000010db00067 P4D 800000010db00067 PUD 0 Oops: Oops: 0000 [#1] PREEMPT SMP PTI CPU: 0 UID: 0 PID: 3363 Comm: syz.2.16 Not tainted 6.14.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:__lock_acquire+0x2e/0x4e0 kernel/locking/lockdep.c:5091 Code: 56 41 55 41 54 53 48 83 ec 18 65 4c 8b 34 25 80 02 03 00 83 3d a2 48 aa 02 00 0f 84 20 02 00 00 49 89 ff 48 c7 c0 38 6b a6 84 <48> 39 07 0f 84 0d 02 00 00 4d 89 cd 89 cd 89 d1 83 fe 01 77 0c 89 RSP: 0018:ffffc90003527c50 EFLAGS: 00010002 RAX: ffffffff84a66b38 RBX: 0000000000000046 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000148 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff82594640 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88810231d280 R15: 0000000000000148 FS: 0000555568f2d500(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000148 CR3: 00000001023fe000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0xd9/0x1f0 kernel/locking/lockdep.c:5851 __timer_delete_sync+0x54/0xe0 kernel/time/timer.c:1644 bcsp_close+0x1d/0xb0 drivers/bluetooth/hci_bcsp.c:740 hci_uart_tty_close+0xb6/0x120 drivers/bluetooth/hci_ldisc.c:557 tty_ldisc_close drivers/tty/tty_ldisc.c:455 [inline] tty_ldisc_kill+0x66/0xc0 drivers/tty/tty_ldisc.c:613 tty_ldisc_release+0xc9/0x120 drivers/tty/tty_ldisc.c:781 tty_release_struct+0x10/0x80 drivers/tty/tty_io.c:1690 tty_release+0x4ef/0x640 drivers/tty/tty_io.c:1861 __fput+0x102/0x280 fs/file_table.c:448 task_work_run+0x82/0xb0 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xa3/0x1b0 kernel/entry/common.c:218 do_syscall_64+0x9a/0x190 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe06ff8cde9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffeb8720fe8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007fe0701a7ba0 RCX: 00007fe06ff8cde9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007fe0701a7ba0 R08: 0000000000000000 R09: 00000003b87212df R10: 000000000003fdc4 R11: 0000000000000246 R12: 000000000000f1f4 R13: 00007ffeb87210e0 R14: ffffffffffffffff R15: 00007ffeb8721100 Modules linked in: CR2: 0000000000000148 ---[ end trace 0000000000000000 ]--- RIP: 0010:__lock_acquire+0x2e/0x4e0 kernel/locking/lockdep.c:5091 Code: 56 41 55 41 54 53 48 83 ec 18 65 4c 8b 34 25 80 02 03 00 83 3d a2 48 aa 02 00 0f 84 20 02 00 00 49 89 ff 48 c7 c0 38 6b a6 84 <48> 39 07 0f 84 0d 02 00 00 4d 89 cd 89 cd 89 d1 83 fe 01 77 0c 89 RSP: 0018:ffffc90003527c50 EFLAGS: 00010002 RAX: ffffffff84a66b38 RBX: 0000000000000046 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000148 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff82594640 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88810231d280 R15: 0000000000000148 FS: 0000555568f2d500(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000148 CR3: 00000001023fe000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 56 push %rsi 1: 41 55 push %r13 3: 41 54 push %r12 5: 53 push %rbx 6: 48 83 ec 18 sub $0x18,%rsp a: 65 4c 8b 34 25 80 02 mov %gs:0x30280,%r14 11: 03 00 13: 83 3d a2 48 aa 02 00 cmpl $0x0,0x2aa48a2(%rip) # 0x2aa48bc 1a: 0f 84 20 02 00 00 je 0x240 20: 49 89 ff mov %rdi,%r15 23: 48 c7 c0 38 6b a6 84 mov $0xffffffff84a66b38,%rax * 2a: 48 39 07 cmp %rax,(%rdi) <-- trapping instruction 2d: 0f 84 0d 02 00 00 je 0x240 33: 4d 89 cd mov %r9,%r13 36: 89 cd mov %ecx,%ebp 38: 89 d1 mov %edx,%ecx 3a: 83 fe 01 cmp $0x1,%esi 3d: 77 0c ja 0x4b 3f: 89 .byte 0x89