ci starts bisection 2024-11-05 21:29:31.056519285 +0000 UTC m=+4062.827763754 bisecting cause commit starting from 850f22c42f4b0a14a015aecc26f46f9948ded6dd building syzkaller on 509da42949c4013fb236ebf6e25d3562d110198c ensuring issue is reproducible on original commit 850f22c42f4b0a14a015aecc26f46f9948ded6dd testing commit 850f22c42f4b0a14a015aecc26f46f9948ded6dd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b8c62e026253f8fc905f67e7552d8cbbece4c972f2df9fa83fc2fadbd19fd1ad all runs: crashed: kernel BUG in __bch2_btree_node_hash_insert representative crash: kernel BUG in __bch2_btree_node_hash_insert, types: [BUG] check whether we can drop unnecessary instrumentation disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 850f22c42f4b0a14a015aecc26f46f9948ded6dd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bee096fae0cc3e1346eafe94bf472318b2967bb0df6508289effb7584ec01a85 all runs: crashed: kernel BUG in __bch2_btree_node_hash_insert representative crash: kernel BUG in __bch2_btree_node_hash_insert, types: [BUG] the bug reproduces without the instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed kconfig minimization: base=4045 full=8232 leaves diff=2119 split chunks (needed=false): <2119> split chunk #0 of len 2119 into 5 parts testing without sub-chunk 1/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 850f22c42f4b0a14a015aecc26f46f9948ded6dd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e77cc74f465568c48c59c27ce0bd0ccadca259d7f2e14a806fcf5339e0bd17e2 all runs: OK false negative chance: 0.000 testing without sub-chunk 2/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN KASAN], they are not needed testing commit 850f22c42f4b0a14a015aecc26f46f9948ded6dd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d68a1903416aa09a7f68fa77d5e2166dfde25aee856b23f22e9946459a66f074 all runs: crashed: kernel BUG in __bch2_btree_node_hash_insert representative crash: kernel BUG in __bch2_btree_node_hash_insert, types: [BUG] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN KASAN], they are not needed testing commit 850f22c42f4b0a14a015aecc26f46f9948ded6dd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 86d683a76755bade8b656e06a29a72f623c04ad27f85dbd1b5378bf0657b08fe all runs: crashed: kernel BUG in __bch2_btree_node_hash_insert representative crash: kernel BUG in __bch2_btree_node_hash_insert, types: [BUG] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 850f22c42f4b0a14a015aecc26f46f9948ded6dd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 30eecc5311afdcf1ce6792ba5d7556f4ecbc719590a42b4ff3f7d1c371c688ba all runs: crashed: kernel BUG in __bch2_btree_node_hash_insert representative crash: kernel BUG in __bch2_btree_node_hash_insert, types: [BUG] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 850f22c42f4b0a14a015aecc26f46f9948ded6dd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2643c283a22bcbd41d41bfefd22b2f08b79f70c7f32abedf4c6c3927f9a012f3 all runs: crashed: kernel BUG in __bch2_btree_node_hash_insert representative crash: kernel BUG in __bch2_btree_node_hash_insert, types: [BUG] the chunk can be dropped minimized to 424 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_EC 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_BINDERFS ANDROID_BINDER_IPC ANON_VMA_NAME APERTURE_HELPERS APPLE_MFI_FASTCHARGE AR5523 ARCH_ENABLE_MEMORY_HOTREMOVE ARCH_ENABLE_THP_MIGRATION ARCH_HAS_EXECMEM_ROX ARCH_HAS_USER_SHADOW_STACK ARCH_SUPPORTS_HUGE_PFNMAP ARCH_SUPPORTS_PMD_PFNMAP ARCH_SUPPORTS_PUD_PFNMAP ARCH_SUPPORTS_RT 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 CRAMFS CRAMFS_BLOCKDEV CRAMFS_MTD CRC4 CRC64 CRC64_ROCKSOFT CRC7 CRC8 CRC_ITU_T CRC_T10DIF 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_CHACHA20POLY1305 CRYPTO_CHACHA20_X86_64 CRYPTO_CRC32 CRYPTO_CRC32C_INTEL CRYPTO_CRC32_PCLMUL CRYPTO_CRC64_ROCKSOFT CRYPTO_CRCT10DIF CRYPTO_CRCT10DIF_PCLMUL CRYPTO_CRYPTD 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_KEYWRAP CRYPTO_KHAZAD CRYPTO_KPP CRYPTO_LIB_ARC4 CRYPTO_LIB_CHACHA CRYPTO_LIB_CHACHA20POLY1305 CRYPTO_LIB_CURVE25519 CRYPTO_LIB_CURVE25519_GENERIC CRYPTO_LIB_POLY1305 CRYPTO_LIB_POLY1305_GENERIC CRYPTO_LRW CRYPTO_LZ4 CRYPTO_LZ4HC 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_AVX_X86_64 CRYPTO_SM4_AESNI_AVX2_X86_64 CRYPTO_SM4_AESNI_AVX_X86_64 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_XCTR 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_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 DRM_GM12U320 DRM_GUD DRM_I915 DRM_I915_CAPTURE_ERROR DRM_I915_COMPRESS_ERROR DRM_I915_USERPTR DRM_KMS_HELPER DRM_MIPI_DSI 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 WIRELESS_EXT WLAN WLAN_VENDOR_ATH X86_X32_ABI ZONE_DEVICE] disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed picked [v6.11 v6.10 v6.9 v6.7 v6.5 v6.3 v6.1 v5.19 v5.16 v5.13 v5.10 v5.7 v5.4 v5.1 v4.19] out of 34 release tags testing release v6.11 testing commit 98f7e32f20d28ec452afb208f9cffc08448a2652 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: eecb756525fba294c1c60f03e479c6f5d09571c50f471be4b80b24a5164cb752 all runs: OK false negative chance: 0.000 # git bisect start 850f22c42f4b0a14a015aecc26f46f9948ded6dd 98f7e32f20d28ec452afb208f9cffc08448a2652 Bisecting: 11692 revisions left to test after this (roughly 14 steps) [033af36def3e8676b344f4b4817b5ad81ed22aa7] Merge tag 'cxl-for-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl testing commit 033af36def3e8676b344f4b4817b5ad81ed22aa7 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f68b9a4db8a9e3c5fde80e4ea67e544f0c0fe977ff3b6d77aba8a26ed8b5cdb5 all runs: OK false negative chance: 0.000 # git bisect good 033af36def3e8676b344f4b4817b5ad81ed22aa7 Bisecting: 5999 revisions left to test after this (roughly 13 steps) [1b0e4d4bc58d82ca4c74c3d14dc31b904ded8cdd] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git testing commit 1b0e4d4bc58d82ca4c74c3d14dc31b904ded8cdd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 830f6013c1af6830923b92a701052de5ebd528aefaef2a356f03c1269105bf07 all runs: crashed: kernel BUG in __bch2_btree_node_hash_insert representative crash: kernel BUG in __bch2_btree_node_hash_insert, types: [BUG] # git bisect bad 1b0e4d4bc58d82ca4c74c3d14dc31b904ded8cdd Bisecting: 2824 revisions left to test after this (roughly 12 steps) [6e03a0038ef3bb06bfc72e478b42adf0ea637fc9] Merge branch 'mm-everything' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm testing commit 6e03a0038ef3bb06bfc72e478b42adf0ea637fc9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 559641cffcc22f8286879698c44ec7c1a654168815fdbb72340ae64943168629 all runs: crashed: kernel BUG in bch2_fs_btree_cache_exit representative crash: kernel BUG in bch2_fs_btree_cache_exit, types: [BUG] # git bisect bad 6e03a0038ef3bb06bfc72e478b42adf0ea637fc9 Bisecting: 1439 revisions left to test after this (roughly 11 steps) [5e9ab267bec1cf6d1127a7fabd7d7108865bb0fb] Merge tag 'pm-6.12-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm testing commit 5e9ab267bec1cf6d1127a7fabd7d7108865bb0fb gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1789d160b40fdabd871ebfe20981a21e704a845eb51df29c34dfffcdfff325b7 run #0: crashed: kernel BUG in bch2_fs_btree_cache_exit run #1: crashed: kernel BUG in bch2_fs_btree_cache_exit run #2: crashed: kernel BUG in bch2_fs_btree_cache_exit run #3: crashed: kernel BUG in bch2_fs_btree_write_buffer_exit run #4: crashed: kernel BUG in bch2_fs_btree_cache_exit run #5: crashed: kernel BUG in bch2_fs_btree_cache_exit run #6: crashed: kernel BUG in bch2_fs_btree_cache_exit run #7: crashed: kernel BUG in bch2_fs_btree_cache_exit run #8: crashed: kernel BUG in bch2_fs_btree_cache_exit run #9: crashed: kernel BUG in bch2_fs_btree_cache_exit representative crash: kernel BUG in bch2_fs_btree_cache_exit, types: [BUG] # git bisect bad 5e9ab267bec1cf6d1127a7fabd7d7108865bb0fb Bisecting: 711 revisions left to test after this (roughly 10 steps) [ac308609567d31fe44be80ab757a5ddf062362ef] Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux testing commit ac308609567d31fe44be80ab757a5ddf062362ef gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 20fcec66480caa994bd93e57d78e559698a584e7b384f9dbdeb0d2a2c5b24544 all runs: OK false negative chance: 0.000 # git bisect good ac308609567d31fe44be80ab757a5ddf062362ef Bisecting: 352 revisions left to test after this (roughly 9 steps) [6254d537277947fc086324954ddfba1188ba8212] Merge tag 'nfs-for-6.12-2' of git://git.linux-nfs.org/projects/anna/linux-nfs testing commit 6254d537277947fc086324954ddfba1188ba8212 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 436a9bd227e7e4e11a97c3614836027d568a1f33d5f96b21af0a3bb74e9d55f5 all runs: OK false negative chance: 0.000 # git bisect good 6254d537277947fc086324954ddfba1188ba8212 Bisecting: 161 revisions left to test after this (roughly 8 steps) [07d6bf634bc8f93caf8920c9d61df761645336e2] Merge tag 'net-6.12-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit 07d6bf634bc8f93caf8920c9d61df761645336e2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e3f8c7d9919fbbcc7b6d72416e4f6009631511a6d5b753ae0175989c4342ceb4 all runs: crashed: kernel BUG in bch2_fs_btree_cache_exit representative crash: kernel BUG in bch2_fs_btree_cache_exit, types: [BUG] # git bisect bad 07d6bf634bc8f93caf8920c9d61df761645336e2 Bisecting: 95 revisions left to test after this (roughly 7 steps) [2f87d0916ce0d2925cedbc9e8f5d6291ba2ac7b2] Merge tag 'trace-ringbuffer-v6.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace testing commit 2f87d0916ce0d2925cedbc9e8f5d6291ba2ac7b2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f7f3f849025d12b6e379ae788336f7f867b411d2ce1a2d0c52c22511420a3088 all runs: crashed: kernel BUG in bch2_fs_btree_cache_exit representative crash: kernel BUG in bch2_fs_btree_cache_exit, types: [BUG] # git bisect bad 2f87d0916ce0d2925cedbc9e8f5d6291ba2ac7b2 Bisecting: 47 revisions left to test after this (roughly 6 steps) [ba01565ced22c04749a6f71aa8a658d3a64734bc] Merge tag 'usb-6.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb testing commit ba01565ced22c04749a6f71aa8a658d3a64734bc gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: aae867b4e002f3b56d082419dfdcf7c474be0b185bb467bbf34d45da3849b0b8 all runs: OK false negative chance: 0.000 # git bisect good ba01565ced22c04749a6f71aa8a658d3a64734bc Bisecting: 23 revisions left to test after this (roughly 5 steps) [9f25dbe0bf91108be38c690628910c3ee85f6c1c] bcachefs: Add missing validation for bch_stripe.csum_granularity_bits testing commit 9f25dbe0bf91108be38c690628910c3ee85f6c1c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 519de6eaebc2cd23a07caf40f539b3e2d01ae3d57696be900283f680875d12ff all runs: crashed: kernel BUG in bch2_fs_btree_cache_exit representative crash: kernel BUG in bch2_fs_btree_cache_exit, types: [BUG] # git bisect bad 9f25dbe0bf91108be38c690628910c3ee85f6c1c Bisecting: 11 revisions left to test after this (roughly 4 steps) [a30f32222df2a3777f8c09ef460ae8ad278021e6] bcachefs: Fix NULL pointer dereference in bch2_opt_to_text testing commit a30f32222df2a3777f8c09ef460ae8ad278021e6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fe8e227292dc5869837b9ffa315a7d7e5c9a424ac482613d3cc68faa682672da all runs: crashed: kernel BUG in bch2_fs_btree_cache_exit representative crash: kernel BUG in bch2_fs_btree_cache_exit, types: [BUG] # git bisect bad a30f32222df2a3777f8c09ef460ae8ad278021e6 Bisecting: 5 revisions left to test after this (roughly 3 steps) [9b23fdbd5d29beb5bd272c304e0d978edd32f513] bcachefs: bcachefs_metadata_version_inode_has_child_snapshots testing commit 9b23fdbd5d29beb5bd272c304e0d978edd32f513 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bbd3d42b3a48052d3a0e3a33966aa16957d6c81597610b5f70b129eab7f9209d all runs: crashed: kernel BUG in bch2_fs_btree_cache_exit representative crash: kernel BUG in bch2_fs_btree_cache_exit, types: [BUG] # git bisect bad 9b23fdbd5d29beb5bd272c304e0d978edd32f513 Bisecting: 2 revisions left to test after this (roughly 2 steps) [38864eccf78b4e8ab9e2b7a4320943b1feb6872a] bcachefs: reattach_inode() now correctly handles interior snapshot nodes testing commit 38864eccf78b4e8ab9e2b7a4320943b1feb6872a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6a92d958712ed9141ee339295247bc39181b536fc856e32613878daee340bfc5 all runs: crashed: kernel BUG in bch2_fs_btree_cache_exit representative crash: kernel BUG in bch2_fs_btree_cache_exit, types: [BUG] # git bisect bad 38864eccf78b4e8ab9e2b7a4320943b1feb6872a Bisecting: 0 revisions left to test after this (roughly 1 step) [bade9711e0905eaa99e2ed98fc9642acaf9ba2b5] bcachefs: Split out check_unreachable_inodes() pass testing commit bade9711e0905eaa99e2ed98fc9642acaf9ba2b5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1290f20faa43e3dc8ab2fb70484df8509d3bcf76066bb2b517582a41d00e48c5 all runs: crashed: kernel BUG in bch2_fs_btree_cache_exit representative crash: kernel BUG in bch2_fs_btree_cache_exit, types: [BUG] # git bisect bad bade9711e0905eaa99e2ed98fc9642acaf9ba2b5 Bisecting: 0 revisions left to test after this (roughly 0 steps) [bf4baaa087e2be0279991f1dbf9acaa7a4c9148c] bcachefs: Fix lockdep splat in bch2_accounting_read testing commit bf4baaa087e2be0279991f1dbf9acaa7a4c9148c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8f2f5d1359f86a00b6731c5baf1b0ca0062303f4ef9db239eef91d1f8f117530 all runs: crashed: kernel BUG in bch2_fs_btree_cache_exit representative crash: kernel BUG in bch2_fs_btree_cache_exit, types: [BUG] # git bisect bad bf4baaa087e2be0279991f1dbf9acaa7a4c9148c bf4baaa087e2be0279991f1dbf9acaa7a4c9148c is the first bad commit commit bf4baaa087e2be0279991f1dbf9acaa7a4c9148c Author: Kent Overstreet Date: Sat Oct 5 17:37:02 2024 -0400 bcachefs: Fix lockdep splat in bch2_accounting_read We can't take sb_lock while holding mark_lock, so split out replicas_entry_validate() and replicas_entry_sb_validate() - replicas_entry_validate() now uses the normal online device interface. 00039 ========= TEST set_option 00039 00039 WATCHDOG 30 00040 bcachefs (vdb): starting version 1.12: rebalance_work_acct_fix opts=errors=panic 00040 bcachefs (vdb): initializing new filesystem 00040 bcachefs (vdb): going read-write 00040 bcachefs (vdb): marking superblocks 00040 bcachefs (vdb): initializing freespace 00040 bcachefs (vdb): done initializing freespace 00040 bcachefs (vdb): reading snapshots table 00040 bcachefs (vdb): reading snapshots done 00040 bcachefs (vdb): done starting filesystem 00040 zstd 00041 bcachefs (vdb): shutting down 00041 bcachefs (vdb): going read-only 00041 bcachefs (vdb): finished waiting for writes to stop 00041 bcachefs (vdb): flushing journal and stopping allocators, journal seq 3 00041 bcachefs (vdb): flushing journal and stopping allocators complete, journal seq 11 00041 bcachefs (vdb): shutdown complete, journal seq 12 00041 bcachefs (vdb): marking filesystem clean 00041 bcachefs (vdb): shutdown complete 00041 Setting option on offline fs 00041 bch2_write_super(): fatal error : attempting to write superblock that wasn't version downgraded (1.12: (unknown version) > 1.10: disk_accounting_v3) 00041 fatal error - emergency read only 00041 bch2_write_super(): fatal error : attempting to write superblock that wasn't version downgraded (1.12: (unknown version) > 1.10: disk_accounting_v3) 00042 bcachefs (vdb): starting version 1.12: rebalance_work_acct_fix opts=errors=panic,compression=zstd 00042 bcachefs (vdb): recovering from clean shutdown, journal seq 12 00042 bcachefs (vdb): accounting_read... 00042 00042 ====================================================== 00042 WARNING: possible circular locking dependency detected 00042 6.12.0-rc1-ktest-g805e938a8502 #6807 Not tainted 00042 ------------------------------------------------------ 00042 mount.bcachefs/665 is trying to acquire lock: 00045 ffffff80cc280908 (&c->sb_lock){+.+.}-{3:3}, at: bch2_replicas_entry_validate (fs/bcachefs/replicas.c:102) 00045 00045 but task is already holding lock: 00048 ffffff80cc284870 (&c->mark_lock){++++}-{0:0}, at: bch2_accounting_read (fs/bcachefs/disk_accounting.c:670 (discriminator 1)) 00048 00048 which lock already depends on the new lock. 00048 00048 00048 the existing dependency chain (in reverse order) is: 00048 00048 -> #1 (&c->mark_lock){++++}-{0:0}: 00049 percpu_down_write (kernel/locking/percpu-rwsem.c:232) 00052 bch2_sb_replicas_to_cpu_replicas (fs/bcachefs/replicas.c:583) 00055 bch2_sb_to_fs (fs/bcachefs/super-io.c:614) 00057 bch2_fs_open (fs/bcachefs/super.c:828 fs/bcachefs/super.c:2050) 00060 bch2_fs_get_tree (fs/bcachefs/fs.c:2067) 00062 vfs_get_tree (fs/super.c:1801) 00064 path_mount (fs/namespace.c:3507 fs/namespace.c:3834) 00066 __arm64_sys_mount (fs/namespace.c:3847 fs/namespace.c:4055 fs/namespace.c:4032 fs/namespace.c:4032) 00067 invoke_syscall.constprop.0 (arch/arm64/include/asm/syscall.h:61 arch/arm64/kernel/syscall.c:54) 00068 do_el0_svc (include/linux/thread_info.h:127 (discriminator 2) arch/arm64/kernel/syscall.c:140 (discriminator 2) arch/arm64/kernel/syscall.c:151 (discriminator 2)) 00069 el0_svc (arch/arm64/include/asm/irqflags.h:82 arch/arm64/include/asm/irqflags.h:123 arch/arm64/include/asm/irqflags.h:136 arch/arm64/kernel/entry-common.c:165 arch/arm64/kernel/entry-common.c:178 arch/arm64/kernel/entry-common.c:713) 00069 ========= FAILED TIMEOUT set_option in 30s Signed-off-by: Kent Overstreet fs/bcachefs/replicas.c | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) accumulated error probability: 0.00 parent commit 0f25eb4b60771f08fbcca878a8f7f88086d0c885 wasn't tested testing commit 0f25eb4b60771f08fbcca878a8f7f88086d0c885 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 36634c191523f8c1eb95849a62f22a06a53bae62a9e21de08b852956fd090787 culprit signature: 8f2f5d1359f86a00b6731c5baf1b0ca0062303f4ef9db239eef91d1f8f117530 parent signature: 36634c191523f8c1eb95849a62f22a06a53bae62a9e21de08b852956fd090787 revisions tested: 23, total time: 7h29m9.957389045s (build: 4h33m44.567625918s, test: 2h37m15.595846536s) first bad commit: bf4baaa087e2be0279991f1dbf9acaa7a4c9148c bcachefs: Fix lockdep splat in bch2_accounting_read recipients (to): ["kent.overstreet@linux.dev" "kent.overstreet@linux.dev" "linux-bcachefs@vger.kernel.org" "terrelln@fb.com"] recipients (cc): ["linux-kernel@vger.kernel.org"] crash: kernel BUG in bch2_fs_btree_cache_exit bcachefs (loop2): unshutdown complete, journal seq 15 bcachefs (loop2): done going read-only, filesystem not clean bcachefs (loop2): shutdown complete ------------[ cut here ]------------ kernel BUG at fs/bcachefs/btree_cache.c:594! Oops: invalid opcode: 0000 [#1] PREEMPT SMP PTI CPU: 1 UID: 0 PID: 2960 Comm: syz-executor Not tainted 6.12.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:bch2_fs_btree_cache_exit+0x4e1/0x4f0 fs/bcachefs/btree_cache.c:593 Code: 01 e8 eb a4 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc 90 0f 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 RSP: 0018:ffffc90002f33dc8 EFLAGS: 00010202 RAX: 0000100000000000 RBX: ffff888110381c78 RCX: ffff888174057628 RDX: ffff888174057628 RSI: ffff888110381c78 RDI: ffff8881027be628 RBP: ffff888110381c78 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888110380000 R13: ffff8881027bf228 R14: ffff888110381a80 R15: ffff888110380000 FS: 000055556d397500(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005577c3eec568 CR3: 000000010235a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __bch2_fs_free fs/bcachefs/super.c:555 [inline] bch2_fs_release+0x1dd/0x400 fs/bcachefs/super.c:609 kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0xac/0x1b0 lib/kobject.c:737 deactivate_locked_super+0x2d/0x90 fs/super.c:473 cleanup_mnt+0xf8/0x150 fs/namespace.c:1373 task_work_run+0x82/0xb0 kernel/task_work.c:228 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:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xb6/0x200 kernel/entry/common.c:218 do_syscall_64+0xed/0x220 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8e29d7fa47 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007fff5a86e438 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f8e29d7fa47 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff5a86e4f0 RBP: 00007fff5a86e4f0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff5a86f570 R13: 00007f8e29df123c R14: 0000000000010035 R15: 00007fff5a86f5b0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:bch2_fs_btree_cache_exit+0x4e1/0x4f0 fs/bcachefs/btree_cache.c:593 Code: 01 e8 eb a4 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc 90 0f 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 RSP: 0018:ffffc90002f33dc8 EFLAGS: 00010202 RAX: 0000100000000000 RBX: ffff888110381c78 RCX: ffff888174057628 RDX: ffff888174057628 RSI: ffff888110381c78 RDI: ffff8881027be628 RBP: ffff888110381c78 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888110380000 R13: ffff8881027bf228 R14: ffff888110381a80 R15: ffff888110380000 FS: 000055556d397500(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005577c3eec568 CR3: 000000010235a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400