ci starts bisection 2024-11-21 03:22:29.902571758 +0000 UTC m=+110.605548888 bisecting cause commit starting from ac24e26aa08fe026804f678599f805eb13374a5d building syzkaller on 4fca1650892b7aba6ac219ce521543d411cf96ac ensuring issue is reproducible on original commit ac24e26aa08fe026804f678599f805eb13374a5d testing commit ac24e26aa08fe026804f678599f805eb13374a5d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3f2f10e191b2750a8f734ce9868c9c04930f694708485a527c33d8f5faae1a48 all runs: crashed: kernel BUG in bch2_btree_node_lock_write representative crash: kernel BUG in bch2_btree_node_lock_write, types: [BUG] check whether we can drop unnecessary instrumentation disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit ac24e26aa08fe026804f678599f805eb13374a5d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8d5e4e987dd0e2b7fece08e2c25e85ccbb0d63b913962521b0ae5b0359b84583 all runs: crashed: kernel BUG in bch2_btree_set_root representative crash: kernel BUG in bch2_btree_set_root, 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=4045 full=8239 leaves diff=2123 split chunks (needed=false): <2123> split chunk #0 of len 2123 into 5 parts testing without sub-chunk 1/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN KASAN], they are not needed testing commit ac24e26aa08fe026804f678599f805eb13374a5d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ce14d4175321c1ab5a771fe3892b9bac70d64ea578aeb8c9405890f27322e53e all runs: OK false negative chance: 0.000 testing without sub-chunk 2/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed testing commit ac24e26aa08fe026804f678599f805eb13374a5d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c1570bcc8eed0c1a1f48c5c2eaf6af8af84e55bc6d108ccb1674f5afac0490f5 all runs: crashed: kernel BUG in bch2_btree_set_root representative crash: kernel BUG in bch2_btree_set_root, types: [BUG] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit ac24e26aa08fe026804f678599f805eb13374a5d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4b0f9d262b4e2e97b7f5c078bb82cb773d7392a4206ba638c88fed140dc1b3cc run #0: crashed: kernel BUG in bch2_btree_set_root run #1: crashed: kernel BUG in bch2_btree_set_root run #2: crashed: kernel BUG in bch2_btree_set_root run #3: crashed: kernel BUG in bch2_btree_set_root run #4: crashed: kernel BUG in bch2_btree_set_root run #5: crashed: kernel BUG in bch2_btree_set_root run #6: crashed: kernel BUG in bch2_btree_set_root run #7: crashed: kernel BUG in bch2_btree_set_root run #8: crashed: kernel BUG in bch2_btree_set_root run #9: OK representative crash: kernel BUG in bch2_btree_set_root, types: [BUG] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit ac24e26aa08fe026804f678599f805eb13374a5d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 70ab51406364d42cda106f411fef29a4ef82d931a9c062a39dd600b4080991a3 all runs: crashed: kernel BUG in bch2_btree_set_root representative crash: kernel BUG in bch2_btree_set_root, 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 ac24e26aa08fe026804f678599f805eb13374a5d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9bcef4fe243d6efa2b26e36ec5c72fd6ad581436210c34000d989b82a46c5d0e run #0: crashed: kernel BUG in bch2_btree_set_root run #1: crashed: kernel BUG in bch2_btree_set_root run #2: crashed: kernel BUG in bch2_btree_set_root run #3: crashed: kernel BUG in bch2_btree_set_root run #4: crashed: kernel BUG in bch2_btree_set_root run #5: crashed: kernel BUG in bch2_btree_set_root run #6: crashed: kernel BUG in bch2_btree_set_root run #7: crashed: kernel BUG in bch2_btree_set_root run #8: crashed: kernel BUG in bch2_btree_set_root run #9: OK representative crash: kernel BUG in bch2_btree_set_root, types: [BUG] 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_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_DEFAULT_CRASH_DUMP ARCH_ENABLE_MEMORY_HOTREMOVE ARCH_ENABLE_THP_MIGRATION ARCH_HAS_EXECMEM_ROX ARCH_HAS_PREEMPT_LAZY ARCH_HAS_USER_SHADOW_STACK ARCH_SUPPORTS_AUTOFDO_CLANG ARCH_SUPPORTS_HUGE_PFNMAP ARCH_SUPPORTS_PMD_PFNMAP ARCH_SUPPORTS_PROPELLER_CLANG 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 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], they are not needed picked [v6.12 v6.11 v6.10 v6.8 v6.6 v6.4 v6.2 v6.0 v5.17 v5.14 v5.11 v5.8 v5.5 v5.2 v4.20 v4.19] out of 35 release tags testing release v6.12 testing commit adc218676eef25575469234709c2d87185ca223a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 330e325db95f8bc0bc1e3304a5ea62f48709b13bb8f337fa152ab8ef68b2c9da all runs: OK false negative chance: 0.000 # git bisect start ac24e26aa08fe026804f678599f805eb13374a5d adc218676eef25575469234709c2d87185ca223a Bisecting: 6991 revisions left to test after this (roughly 13 steps) [d31f3cc4b907e39d39bc3579b145a342f404f931] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git testing commit d31f3cc4b907e39d39bc3579b145a342f404f931 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 608e0927f1de29b1f320f39a9a06fb8ad34087f32f7cf19e34a4054da2314e3a run #0: crashed: kernel BUG in bch2_btree_set_root run #1: crashed: kernel BUG in bch2_btree_set_root run #2: crashed: kernel BUG in bch2_btree_set_root run #3: crashed: kernel BUG in bch2_btree_set_root run #4: crashed: kernel BUG in bch2_btree_set_root run #5: crashed: kernel BUG in bch2_btree_set_root run #6: crashed: kernel BUG in bch2_btree_set_root run #7: crashed: kernel BUG in bch2_btree_set_root run #8: crashed: kernel BUG in bch2_btree_set_root run #9: OK representative crash: kernel BUG in bch2_btree_set_root, types: [BUG] # git bisect bad d31f3cc4b907e39d39bc3579b145a342f404f931 Bisecting: 2889 revisions left to test after this (roughly 11 steps) [1baf67228881c3330c3ddc0b59b6a70cd0eb34ee] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rmk/linux.git testing commit 1baf67228881c3330c3ddc0b59b6a70cd0eb34ee gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 597c70fa82389312d9783476f3637be1d0c0618f3d67a568a6d7115e74412873 run #0: boot failed: can't ssh into the instance run #1: boot failed: can't ssh into the instance run #2: boot failed: can't ssh into the instance run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK false negative chance: 0.000 # git bisect good 1baf67228881c3330c3ddc0b59b6a70cd0eb34ee Bisecting: 1453 revisions left to test after this (roughly 11 steps) [a7def71cca720bc10c06ecf3ce46233a2dd30a7c] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/alarsson/linux-sparc.git testing commit a7def71cca720bc10c06ecf3ce46233a2dd30a7c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a2a0b0cc757c1320d4596790f4ecf6ec7f7a17cb1888d8d91951cb590a3823d9 all runs: OK false negative chance: 0.000 # git bisect good a7def71cca720bc10c06ecf3ce46233a2dd30a7c Bisecting: 749 revisions left to test after this (roughly 10 steps) [f2ca50ca24be29bf24faa49b408b920601e588e0] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git testing commit f2ca50ca24be29bf24faa49b408b920601e588e0 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 699f46d3be80825935f054a1421b758141b1abc5cbdcf1f54778643f25f3c1e9 run #0: crashed: kernel BUG in bch2_btree_set_root run #1: crashed: kernel BUG in bch2_btree_set_root run #2: crashed: kernel BUG in bch2_btree_set_root run #3: crashed: kernel BUG in bch2_btree_set_root run #4: crashed: kernel BUG in bch2_btree_set_root run #5: crashed: kernel BUG in bch2_btree_set_root run #6: crashed: kernel BUG in bch2_btree_set_root run #7: crashed: kernel BUG in bch2_btree_set_root run #8: crashed: kernel BUG in bch2_btree_set_root run #9: OK representative crash: kernel BUG in bch2_btree_set_root, types: [BUG] # git bisect bad f2ca50ca24be29bf24faa49b408b920601e588e0 Bisecting: 318 revisions left to test after this (roughly 9 steps) [83088a083aae3e8099d23168f9747cb9ab3611e1] Merge branch 'nfsd-next' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux testing commit 83088a083aae3e8099d23168f9747cb9ab3611e1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 68b88eb215de12650548e9240be96479bdb5b1e689fbde8c54c9e7ed659ea92a all runs: crashed: kernel BUG in bch2_btree_set_root representative crash: kernel BUG in bch2_btree_set_root, types: [BUG] # git bisect bad 83088a083aae3e8099d23168f9747cb9ab3611e1 Bisecting: 198 revisions left to test after this (roughly 8 steps) [89e0b75a22e7a904081d0e73cd63c96456acb0d6] Merge branch 'dev' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat.git testing commit 89e0b75a22e7a904081d0e73cd63c96456acb0d6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5a29ec04f5d58cafff6cf39308bbc4e4b988d325a9dc3963383229c1c9f7de90 all runs: crashed: kernel BUG in bch2_btree_set_root representative crash: kernel BUG in bch2_btree_set_root, types: [BUG] # git bisect bad 89e0b75a22e7a904081d0e73cd63c96456acb0d6 Bisecting: 92 revisions left to test after this (roughly 7 steps) [4fb361e5799e3cf3041661b00832ff644c53166a] bcachefs: Delete backpointers check in try_alloc_bucket() testing commit 4fb361e5799e3cf3041661b00832ff644c53166a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1beca26d418a407498fb96dea42c515e1213588a057f1c14665336b73cad5036 all runs: crashed: kernel BUG in bch2_btree_set_root representative crash: kernel BUG in bch2_btree_set_root, types: [BUG] # git bisect bad 4fb361e5799e3cf3041661b00832ff644c53166a Bisecting: 46 revisions left to test after this (roughly 6 steps) [23131d452dfead39a8de012e07573359972a7308] bcachefs: Add bch_io_opts fields for indicating whether the opts came from the inode testing commit 23131d452dfead39a8de012e07573359972a7308 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1faee5d345b5d4c37f3ddd696dd16b6a956179e5791693ab21568f6e42ce7797 all runs: OK false negative chance: 0.000 # git bisect good 23131d452dfead39a8de012e07573359972a7308 Bisecting: 23 revisions left to test after this (roughly 5 steps) [fefb302fc48a45759602e353a7b45f777a97150a] bcachefs: add support for true/false & yes/no in bool-type options testing commit fefb302fc48a45759602e353a7b45f777a97150a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 54d5cc107cbd4cfbb9cfb6e2ab064d03829a4130822e99390f7c96d0fa5de799 all runs: OK false negative chance: 0.000 # git bisect good fefb302fc48a45759602e353a7b45f777a97150a Bisecting: 11 revisions left to test after this (roughly 4 steps) [00a12e883977f62dcb334a658e1d4d47f9af337a] bcachefs: lru errors are expected when reconstructing alloc testing commit 00a12e883977f62dcb334a658e1d4d47f9af337a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3eebe24d1e96a8e3b18bf71f754732d5a44e521728efafc53f09a5f94a5f64f3 all runs: OK false negative chance: 0.000 # git bisect good 00a12e883977f62dcb334a658e1d4d47f9af337a Bisecting: 5 revisions left to test after this (roughly 3 steps) [fc37ce188e47d09fbf426cb261feec593a54e86c] bcachefs: rework bch2_bucket_alloc_freelist() freelist iteration testing commit fc37ce188e47d09fbf426cb261feec593a54e86c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ef6718f9ec6267c870bdeb9789cc2e0ac2dd256968e2b907f3954ac5f822a2cb all runs: OK false negative chance: 0.000 # git bisect good fc37ce188e47d09fbf426cb261feec593a54e86c Bisecting: 2 revisions left to test after this (roughly 2 steps) [c7e3dd8f701d269a517c399c29c82a7adb0443a1] bcachefs: discard_one_bucket() now uses need_discard_or_freespace_err() testing commit c7e3dd8f701d269a517c399c29c82a7adb0443a1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 296da7f38595f6aa3642e9b200f4eb002e657c73c04d79f3ead884aaad5e8b51 all runs: crashed: kernel BUG in bch2_btree_set_root representative crash: kernel BUG in bch2_btree_set_root, types: [BUG] # git bisect bad c7e3dd8f701d269a517c399c29c82a7adb0443a1 Bisecting: 0 revisions left to test after this (roughly 1 step) [ae3f8444dda7fc97e0760e6fb6e6c9d31e7b22fa] bcachefs: bch2_bucket_do_index(): inconsistent_err -> fsck_err testing commit ae3f8444dda7fc97e0760e6fb6e6c9d31e7b22fa gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c2b9669cf274872a451e11f54309155bfb720c97b57d40a8266ceb6c0403b357 run #0: crashed: kernel BUG in bch2_btree_set_root run #1: crashed: kernel BUG in bch2_btree_set_root run #2: crashed: kernel BUG in bch2_btree_set_root run #3: crashed: kernel BUG in bch2_btree_set_root run #4: crashed: kernel BUG in bch2_btree_set_root run #5: crashed: kernel BUG in bch2_btree_set_root run #6: crashed: kernel BUG in bch2_btree_set_root run #7: crashed: kernel BUG in bch2_btree_set_root run #8: OK run #9: OK representative crash: kernel BUG in bch2_btree_set_root, types: [BUG] # git bisect bad ae3f8444dda7fc97e0760e6fb6e6c9d31e7b22fa Bisecting: 0 revisions left to test after this (roughly 0 steps) [feb21a9b4c1a8527e0a61c85eec4c078c558aee9] bcachefs: try_alloc_bucket() now uses bch2_check_discard_freespace_key() testing commit feb21a9b4c1a8527e0a61c85eec4c078c558aee9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 93591ffdafc30ecfc0b91b669dc3f731370bdd23b7194429ce0f639fa217c4ad all runs: crashed: kernel BUG in bch2_btree_set_root representative crash: kernel BUG in bch2_btree_set_root, types: [BUG] # git bisect bad feb21a9b4c1a8527e0a61c85eec4c078c558aee9 feb21a9b4c1a8527e0a61c85eec4c078c558aee9 is the first bad commit commit feb21a9b4c1a8527e0a61c85eec4c078c558aee9 Author: Kent Overstreet Date: Sun Oct 27 00:40:43 2024 -0400 bcachefs: try_alloc_bucket() now uses bch2_check_discard_freespace_key() check_discard_freespace_key() was doing all the same checks as try_alloc_bucket(), but with repair. Signed-off-by: Kent Overstreet fs/bcachefs/alloc_background.c | 80 ++++++++++++++++++++---------------- fs/bcachefs/alloc_background.h | 2 + fs/bcachefs/alloc_foreground.c | 93 +++++++----------------------------------- 3 files changed, 62 insertions(+), 113 deletions(-) accumulated error probability: 0.00 culprit signature: 93591ffdafc30ecfc0b91b669dc3f731370bdd23b7194429ce0f639fa217c4ad parent signature: ef6718f9ec6267c870bdeb9789cc2e0ac2dd256968e2b907f3954ac5f822a2cb revisions tested: 22, total time: 8h54m31.917353529s (build: 4h8m42.175917524s, test: 2h37m41.791118539s) first bad commit: feb21a9b4c1a8527e0a61c85eec4c078c558aee9 bcachefs: try_alloc_bucket() now uses bch2_check_discard_freespace_key() recipients (to): ["kent.overstreet@linux.dev" "kent.overstreet@linux.dev" "linux-bcachefs@vger.kernel.org"] recipients (cc): ["linux-kernel@vger.kernel.org"] crash: kernel BUG in bch2_btree_set_root journal_seq 0 need_discard 0 need_inc_gen 0 dirty_sectors 256 stripe_sectors 0 cached_sectors 0 stripe 0 stripe_redundancy 0 io_time[READ] 0 io_time[WRITE] 0 fragmentation 0 bp_start 8 incorrectly set at freespace:0:24:0 (free 0, genbits 0 should be 0), fixing ------------[ cut here ]------------ kernel BUG at fs/bcachefs/btree_locking.h:306! Oops: invalid opcode: 0000 [#1] PREEMPT SMP PTI CPU: 0 UID: 0 PID: 357 Comm: kworker/u8:4 Not tainted 6.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Workqueue: btree_node_rewrite async_btree_node_rewrite_work RIP: 0010:__btree_node_lock_write fs/bcachefs/btree_locking.h:306 [inline] RIP: 0010:bch2_btree_node_lock_write fs/bcachefs/btree_locking.h:327 [inline] RIP: 0010:bch2_btree_set_root+0x38a/0x3a0 fs/bcachefs/btree_update_interior.c:1323 Code: 24 48 89 da e8 b7 ee 0c 00 65 ff 0d 08 f6 6c 7e 49 89 ed 0f 85 bd fc ff ff 0f 1f 44 00 00 e9 b3 fc ff ff 90 0f 0b 90 0f 0b 90 <0f> 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 eb 98 0f 1f 44 00 00 RSP: 0018:ffffc90001067c48 EFLAGS: 00010206 RAX: 0000000000000000 RBX: ffff88810a7e9800 RCX: 0000000000000000 RDX: ffff88810435c268 RSI: ffffffff83ab17f5 RDI: ffffffff838b0fca RBP: ffff88810b76c000 R08: 0000000000000000 R09: ffffc90001067bf8 R10: ffff888179cb203f R11: 0000000000000000 R12: ffff888104349000 R13: ffff88810435c268 R14: 0000000000000000 R15: ffff88810e380000 FS: 0000000000000000(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f20be3619a0 CR3: 0000000003e46000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bch2_btree_node_rewrite+0x2de/0x4a0 fs/bcachefs/btree_update_interior.c:2172 async_btree_node_rewrite_trans fs/bcachefs/btree_update_interior.c:2236 [inline] async_btree_node_rewrite_work+0x172/0x490 fs/bcachefs/btree_update_interior.c:2249 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0x2e6/0x6b0 kernel/workqueue.c:3310 worker_thread+0x212/0x2d0 kernel/workqueue.c:3391 kthread+0xf5/0x110 kernel/kthread.c:389 ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__btree_node_lock_write fs/bcachefs/btree_locking.h:306 [inline] RIP: 0010:bch2_btree_node_lock_write fs/bcachefs/btree_locking.h:327 [inline] RIP: 0010:bch2_btree_set_root+0x38a/0x3a0 fs/bcachefs/btree_update_interior.c:1323 Code: 24 48 89 da e8 b7 ee 0c 00 65 ff 0d 08 f6 6c 7e 49 89 ed 0f 85 bd fc ff ff 0f 1f 44 00 00 e9 b3 fc ff ff 90 0f 0b 90 0f 0b 90 <0f> 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 eb 98 0f 1f 44 00 00 RSP: 0018:ffffc90001067c48 EFLAGS: 00010206 RAX: 0000000000000000 RBX: ffff88810a7e9800 RCX: 0000000000000000 RDX: ffff88810435c268 RSI: ffffffff83ab17f5 RDI: ffffffff838b0fca RBP: ffff88810b76c000 R08: 0000000000000000 R09: ffffc90001067bf8 R10: ffff888179cb203f R11: 0000000000000000 R12: ffff888104349000 R13: ffff88810435c268 R14: 0000000000000000 R15: ffff88810e380000 FS: 0000000000000000(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f20be3619a0 CR3: 0000000003e46000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400