ci2 starts bisection 2024-11-07 22:56:24.666661852 +0000 UTC m=+41411.397219822 bisecting cause commit starting from ff7afaeca1a15fbeaa2c4795ee806c0667bd77b2 building syzkaller on 867e44df36d93e8127938eca6f6a5c339a2ba0b8 ensuring issue is reproducible on original commit ff7afaeca1a15fbeaa2c4795ee806c0667bd77b2 testing commit ff7afaeca1a15fbeaa2c4795ee806c0667bd77b2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b41802f411a8c14284ae89795f4fc54a1ce9e461f0e0e1f58e7d4e45952a2acb all runs: crashed: kernel BUG in bch2_trans_node_iter_init representative crash: kernel BUG in bch2_trans_node_iter_init, types: [BUG] check whether we can drop unnecessary instrumentation disabling configs for [LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit ff7afaeca1a15fbeaa2c4795ee806c0667bd77b2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5bc5544dd066cd45511d527eb331171714bab51ee9d99aed17c76258352fb29e all runs: crashed: kernel BUG in bch2_trans_node_iter_init representative crash: kernel BUG in bch2_trans_node_iter_init, types: [BUG] the bug reproduces without the instrumentation disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed kconfig minimization: base=4037 full=8185 leaves diff=2110 split chunks (needed=false): <2110> split chunk #0 of len 2110 into 5 parts testing without sub-chunk 1/5 disabling configs for [UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit ff7afaeca1a15fbeaa2c4795ee806c0667bd77b2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: df7671532531c68c68882e7f7ebb88bbd5d7682cf323ed4376a1388640cded57 all runs: OK false negative chance: 0.000 testing without sub-chunk 2/5 disabling configs for [LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit ff7afaeca1a15fbeaa2c4795ee806c0667bd77b2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7abc3814a24a412d8d18fa9938b868b4a69163aad56332e0bb64c7cbec4dbb93 all runs: crashed: kernel BUG in bch2_trans_node_iter_init representative crash: kernel BUG in bch2_trans_node_iter_init, types: [BUG] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit ff7afaeca1a15fbeaa2c4795ee806c0667bd77b2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7088a7ccd646ec128fb9e6ad004678279855c05af75136144b31448894af925c all runs: crashed: kernel BUG in bch2_trans_node_iter_init representative crash: kernel BUG in bch2_trans_node_iter_init, 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 ff7afaeca1a15fbeaa2c4795ee806c0667bd77b2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d7f17bd5f05f6b7b4c05ccc2243c29b33906493de5e47fd2b0ea81d40684a235 all runs: crashed: kernel BUG in bch2_trans_node_iter_init representative crash: kernel BUG in bch2_trans_node_iter_init, types: [BUG] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN KASAN], they are not needed testing commit ff7afaeca1a15fbeaa2c4795ee806c0667bd77b2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0febb5db76c4164ea5d9e35fd03e324ce2d5c1ce868a07d9da25816ecc586a21 all runs: crashed: kernel BUG in bch2_trans_node_iter_init representative crash: kernel BUG in bch2_trans_node_iter_init, types: [BUG] the chunk can be dropped minimized to 422 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_BINDERFS ANDROID_BINDER_IPC ANON_VMA_NAME APERTURE_HELPERS APPLE_MFI_FASTCHARGE AR5523 ARCH_ENABLE_MEMORY_HOTREMOVE ARCH_ENABLE_THP_MIGRATION 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_DEBUG_MM DRM_DISPLAY_DP_AUX_BUS DRM_DISPLAY_DP_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 DRM_PANEL DRM_PANEL_BRIDGE DRM_PANEL_EDP DRM_PANEL_ORIENTATION_QUIRKS DRM_SIMPLEDRM DRM_TTM 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 [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], 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: 434038e618e64749fc0ed60db984480bf034fee6cdf4c2effaa8252d701ef0e9 all runs: OK false negative chance: 0.000 # git bisect start ff7afaeca1a15fbeaa2c4795ee806c0667bd77b2 98f7e32f20d28ec452afb208f9cffc08448a2652 Bisecting: 7034 revisions left to test after this (roughly 13 steps) [de848da12f752170c2ebe114804a985314fd5a6a] Merge tag 'drm-next-2024-09-19' of https://gitlab.freedesktop.org/drm/kernel testing commit de848da12f752170c2ebe114804a985314fd5a6a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bd7c45af27861f2bddf56a497308e722a59a265e820bb16ede5d19bdbbb1227c all runs: OK false negative chance: 0.000 # git bisect good de848da12f752170c2ebe114804a985314fd5a6a Bisecting: 3522 revisions left to test after this (roughly 12 steps) [fe29393877be63363247510b99ae9a8068cacb31] Merge tag 'spi-fix-v6.12-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi testing commit fe29393877be63363247510b99ae9a8068cacb31 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2f97cd2efdb8b9b4745374e20b485055546623e2d22ff0d3e43f2b4669feadc0 all runs: OK false negative chance: 0.000 # git bisect good fe29393877be63363247510b99ae9a8068cacb31 Bisecting: 1758 revisions left to test after this (roughly 11 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: a8e17dde1f3c01133c77703313abdd033135ee73476d00c4dad994337535e836 all runs: OK false negative chance: 0.000 # git bisect good ac308609567d31fe44be80ab757a5ddf062362ef Bisecting: 877 revisions left to test after this (roughly 10 steps) [b68c18957029b7be71a73f89a083856305536e1f] Merge tag 'usb-6.12-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb testing commit b68c18957029b7be71a73f89a083856305536e1f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: efd9d630ece1c0fb4945de44f2771b7df1a451d94b3a03e993ba49dda8b444fa all runs: crashed: kernel BUG in bch2_trans_node_iter_init representative crash: kernel BUG in bch2_trans_node_iter_init, types: [BUG] # git bisect bad b68c18957029b7be71a73f89a083856305536e1f Bisecting: 442 revisions left to test after this (roughly 9 steps) [e993457df65896696e165defa8a468a831d0da1b] maple_tree: add regression test for spanning store bug testing commit e993457df65896696e165defa8a468a831d0da1b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8f8ace5806729b387f5e16764eabc3089a034efa530adb1cd30f859a9a6a08e1 all runs: OK false negative chance: 0.000 # git bisect good e993457df65896696e165defa8a468a831d0da1b Bisecting: 228 revisions left to test after this (roughly 8 steps) [b1b46751671be5a426982f037a47ae05f37ff80b] mm: fix follow_pfnmap API lockdep assert testing commit b1b46751671be5a426982f037a47ae05f37ff80b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5abb7db980070b339787e6f7ae5b68f28158f29353a2965a9bc9739a887219af all runs: crashed: kernel BUG in bch2_trans_node_iter_init representative crash: kernel BUG in bch2_trans_node_iter_init, types: [BUG] # git bisect bad b1b46751671be5a426982f037a47ae05f37ff80b Bisecting: 126 revisions left to test after this (roughly 7 steps) [c964ced7726294d40913f2127c3f185a92cb4a41] Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma testing commit c964ced7726294d40913f2127c3f185a92cb4a41 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0f69e5ce3c3cf6a1ccb2bf0ddd11bcd28efb5beb39938a4664fcf3cdbad70cab all runs: crashed: kernel BUG in bch2_trans_node_iter_init representative crash: kernel BUG in bch2_trans_node_iter_init, types: [BUG] # git bisect bad c964ced7726294d40913f2127c3f185a92cb4a41 Bisecting: 42 revisions left to test after this (roughly 6 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: 0faa8a3e1f983fb550468b28778366f2a0b65cbe0e15698781c5b1ac566e87fe all runs: crashed: kernel BUG in bch2_trans_node_iter_init representative crash: kernel BUG in bch2_trans_node_iter_init, types: [BUG] # git bisect bad 2f87d0916ce0d2925cedbc9e8f5d6291ba2ac7b2 Bisecting: 21 revisions left to test after this (roughly 5 steps) [573ddcdc56077615f8db045cd06b44dd8fc01f4b] bcachefs: fix uaf in bch2_dio_write_done() testing commit 573ddcdc56077615f8db045cd06b44dd8fc01f4b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 57808a70baeb81d2d84b3793dff8ca8edd4c45ecf7fc1afd5d44a3808ee2c103 all runs: crashed: kernel BUG in bch2_trans_node_iter_init representative crash: kernel BUG in bch2_trans_node_iter_init, types: [BUG] # git bisect bad 573ddcdc56077615f8db045cd06b44dd8fc01f4b Bisecting: 10 revisions left to test after this (roughly 4 steps) [a1541541480073365ac701a1125d750a86bfd644] bcachefs: Release transaction before wake up testing commit a1541541480073365ac701a1125d750a86bfd644 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6e7af98c334b3235022cdab663e9952e4ef10bc8d598b3ff30773933c3fc87e8 all runs: crashed: kernel BUG in bch2_trans_node_iter_init representative crash: kernel BUG in bch2_trans_node_iter_init, types: [BUG] # git bisect bad a1541541480073365ac701a1125d750a86bfd644 Bisecting: 5 revisions left to test after this (roughly 3 steps) [cba31b7eee41eb34941d040bddaed3628f160cae] bcachefs: Delete vestigal check_inode() checks testing commit cba31b7eee41eb34941d040bddaed3628f160cae gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ce4f18cb0bea146e22d86c30ff327c6f71f7421c5e4f3631bca13d40226cf570 all runs: crashed: kernel BUG in bch2_trans_node_iter_init representative crash: kernel BUG in bch2_trans_node_iter_init, types: [BUG] # git bisect bad cba31b7eee41eb34941d040bddaed3628f160cae Bisecting: 2 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: 8ce2d1bb8cbd7f481ff4cfe8e1715397a70c0cd99cde0367891241fe38a9a1db all runs: crashed: kernel BUG in bch2_trans_node_iter_init representative crash: kernel BUG in bch2_trans_node_iter_init, 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: 36eac21c4908f532abc25356175987b4a98b9991249c3ce9eb58e119b2313124 all runs: crashed: kernel BUG in bch2_trans_node_iter_init representative crash: kernel BUG in bch2_trans_node_iter_init, 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: 46f9ce9c3b997926ef40d31fde732e045f8fcc3adee63136761243dc0107a430 culprit signature: 36eac21c4908f532abc25356175987b4a98b9991249c3ce9eb58e119b2313124 parent signature: 46f9ce9c3b997926ef40d31fde732e045f8fcc3adee63136761243dc0107a430 revisions tested: 21, total time: 3h38m47.234890044s (build: 1h35m39.756155018s, test: 1h54m33.104972897s) first bad commit: bf4baaa087e2be0279991f1dbf9acaa7a4c9148c bcachefs: Fix lockdep splat in bch2_accounting_read recipients (to): ["kent.overstreet@linux.dev"] recipients (cc): [] crash: kernel BUG in bch2_trans_node_iter_init missing backpointer for btree=subvolumes l=1 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0 got: u64s 5 type deleted 0:9175040:0 len 0 ver 0 want: u64s 9 type backpointer 0:9175040:0 len 0 ver 0: bucket=0:35:0 btree=subvolumes l=1 offset=0:0 len=256 pos=SPOS_MAX, fixing missing backpointer for btree=snapshots l=1 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ebb8d5a9e3463bdb written 16 min_key POS_MIN durability: 1 ptr: 0:32:0 gen 0 got: u64s 5 type deleted 0:8388608:0 len 0 ver 0 want: u64s 9 type backpointer 0:8388608:0 len 0 ver 0: bucket=0:32:0 btree=snapshots l=1 offset=0:0 len=256 pos=SPOS_MAX, fixing ------------[ cut here ]------------ kernel BUG at fs/bcachefs/btree_iter.c:2916! Oops: invalid opcode: 0000 [#1] PREEMPT SMP PTI CPU: 0 UID: 0 PID: 3350 Comm: syz.2.15 Not tainted 6.12.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:bch2_trans_node_iter_init+0x16c/0x180 fs/bcachefs/btree_iter.c:2916 Code: 01 00 00 73 27 65 48 8b 04 25 28 00 00 00 48 3b 44 24 18 75 1a 48 83 c4 20 5b 41 5c 41 5e 41 5f 5d c3 cc cc cc cc 90 0f 0b 90 <0f> 0b 90 0f 0b e8 7a fb 41 01 66 2e 0f 1f 84 00 00 00 00 00 90 90 RSP: 0018:ffffc9000364f3d8 EFLAGS: 00010293 RAX: 0000000000000003 RBX: ffffc9000364f7b8 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffff888105f643e8 RDI: 0000000000000c19 RBP: ffffffffffffffff R08: 0000000000000000 R09: 0000000000000000 R10: ffff888105f663c8 R11: 000000000000024d R12: ffff888105f64000 R13: 0000000000001c00 R14: 0000000000000000 R15: 000000000000000b FS: 00007f98b2fa06c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f6a442f648 CR3: 0000000107f82000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bch2_backpointer_get_node+0x13f/0x2e0 fs/bcachefs/backpointers.c:358 bch2_backpointer_get_key+0x2c8/0x320 fs/bcachefs/backpointers.c:335 check_bp_exists fs/bcachefs/backpointers.c:579 [inline] check_extent_to_backpointers+0xb47/0x1220 fs/bcachefs/backpointers.c:683 check_btree_root_to_backpointers fs/bcachefs/backpointers.c:717 [inline] bch2_check_extents_to_backpointers_pass fs/bcachefs/backpointers.c:868 [inline] bch2_check_extents_to_backpointers+0x65f/0xbe0 fs/bcachefs/backpointers.c:932 bch2_run_recovery_pass fs/bcachefs/recovery_passes.c:185 [inline] bch2_run_recovery_passes+0x14f/0x240 fs/bcachefs/recovery_passes.c:232 bch2_fs_recovery+0x8a5/0x11e0 fs/bcachefs/recovery.c:861 bch2_fs_start+0x1b9/0x270 fs/bcachefs/super.c:1037 bch2_fs_get_tree+0x2b5/0x640 fs/bcachefs/fs.c:2080 vfs_get_tree+0x27/0xf0 fs/super.c:1800 do_new_mount+0x15a/0x3a0 fs/namespace.c:3507 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4055 [inline] __se_sys_mount+0x148/0x1b0 fs/namespace.c:4032 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xe0/0x220 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f98b217feba Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007f98b2f9fe68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f98b2f9fef0 RCX: 00007f98b217feba RDX: 0000000020000040 RSI: 0000000020005900 RDI: 00007f98b2f9feb0 RBP: 0000000020000040 R08: 00007f98b2f9fef0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020005900 R13: 00007f98b2f9feb0 R14: 00000000000058fe R15: 0000000020000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:bch2_trans_node_iter_init+0x16c/0x180 fs/bcachefs/btree_iter.c:2916 Code: 01 00 00 73 27 65 48 8b 04 25 28 00 00 00 48 3b 44 24 18 75 1a 48 83 c4 20 5b 41 5c 41 5e 41 5f 5d c3 cc cc cc cc 90 0f 0b 90 <0f> 0b 90 0f 0b e8 7a fb 41 01 66 2e 0f 1f 84 00 00 00 00 00 90 90 RSP: 0018:ffffc9000364f3d8 EFLAGS: 00010293 RAX: 0000000000000003 RBX: ffffc9000364f7b8 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffff888105f643e8 RDI: 0000000000000c19 RBP: ffffffffffffffff R08: 0000000000000000 R09: 0000000000000000 R10: ffff888105f663c8 R11: 000000000000024d R12: ffff888105f64000 R13: 0000000000001c00 R14: 0000000000000000 R15: 000000000000000b FS: 00007f98b2fa06c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f6a442f648 CR3: 0000000107f82000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400