ci starts bisection 2024-06-06 10:55:59.512759136 +0000 UTC m=+54017.274460351 bisecting cause commit starting from 0e1980c40b6edfa68b6acf926bab22448a6e40c9 building syzkaller on 3113787fe7a0c96998737e520aa95c303fdd41ef fetch other tags and check if the commit is present ensuring issue is reproducible on original commit 0e1980c40b6edfa68b6acf926bab22448a6e40c9 testing commit 0e1980c40b6edfa68b6acf926bab22448a6e40c9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6264826449fffe76fb0a2cc251f133f3f21295bd389ca452d66875991db62c0e all runs: crashed: kernel BUG in gc_bucket representative crash: kernel BUG in gc_bucket, 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 0e1980c40b6edfa68b6acf926bab22448a6e40c9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ecd17368900af0fb43a885891b854991c6e5abd22ccfeff41b855f6b4f9c1095 all runs: crashed: kernel BUG in bch2_check_allocations representative crash: kernel BUG in bch2_check_allocations, types: [BUG] the bug reproduces without the instrumentation disabling configs for [LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed kconfig minimization: base=3976 full=8048 leaves diff=2030 split chunks (needed=false): <2030> split chunk #0 of len 2030 into 5 parts testing without sub-chunk 1/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 0e1980c40b6edfa68b6acf926bab22448a6e40c9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b267fde9aed0689f70a908b9640ad43a93bcc0ef96e917b11a1efc1f4f1dd173 all runs: OK false negative chance: 0.000 testing without sub-chunk 2/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 0e1980c40b6edfa68b6acf926bab22448a6e40c9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 02cdf5b99350315c86abdaf45ca5505d077297a8f5adf2c4b54b14fbe4dd57e5 all runs: crashed: kernel BUG in bch2_check_allocations representative crash: kernel BUG in bch2_check_allocations, 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 0e1980c40b6edfa68b6acf926bab22448a6e40c9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8e2bd89d066ea45382233032d2a3ad962e7d37143d6c5338fd976721e1265333 all runs: crashed: kernel BUG in bch2_check_allocations representative crash: kernel BUG in bch2_check_allocations, 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 0e1980c40b6edfa68b6acf926bab22448a6e40c9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e7c4d3da42bead09f120aea4b7eaef71f2e70df3f642060fbdb47e4bb08f3259 all runs: crashed: kernel BUG in bch2_check_allocations representative crash: kernel BUG in bch2_check_allocations, 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 0e1980c40b6edfa68b6acf926bab22448a6e40c9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1f9004f0e7ce6dacf7c004b4810ab2df74330bf59e82fc901f833e0c2c39eca3 all runs: crashed: kernel BUG in bch2_check_allocations representative crash: kernel BUG in bch2_check_allocations, types: [BUG] the chunk can be dropped minimized to 406 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 ADDRESS_MASKING ADFS_FS AFFS_FS AFS_FS AFS_FSCACHE AF_KCM AF_RXRPC AF_RXRPC_IPV6 AIX_PARTITION AMIGA_PARTITION ANDROID_BINDERFS ANDROID_BINDER_IPC ANON_VMA_NAME APERTURE_HELPERS AR5523 ARCH_CONFIGURES_CPU_MITIGATIONS ARCH_ENABLE_MEMORY_HOTREMOVE ARCH_ENABLE_THP_MIGRATION ARCH_HAS_CPU_PASID ARCH_WANT_PMD_MKWRITE ASM_MODVERSIONS ASYNC_CORE ASYNC_MEMCPY ASYNC_PQ ASYNC_RAID6_RECOV ASYNC_TX_DMA ASYNC_XOR AS_VAES AS_VPCLMULQDQ ATARI_PARTITION ATA_GENERIC ATA_OVER_ETH ATH10K ATH10K_CE ATH10K_PCI ATH10K_USB ATH11K ATH6KL ATH6KL_USB ATH9K ATH9K_AHB ATH9K_BTCOEX_SUPPORT ATH9K_CHANNEL_CONTEXT ATH9K_COMMON ATH9K_COMMON_DEBUG ATH9K_DEBUGFS ATH9K_DYNACK ATH9K_HTC ATH9K_HTC_DEBUGFS ATH9K_HW ATH9K_PCI ATH9K_PCOEM ATH9K_RFKILL ATH_COMMON ATM ATM_BR2684 ATM_CLIP ATM_DRIVERS ATM_LANE ATM_MPOA ATM_TCP AUXILIARY_BUS AX25 AX25_DAMA_SLAVE AX88796B_PHY BAREUDP BATMAN_ADV BATMAN_ADV_BATMAN_V BATMAN_ADV_BLA BATMAN_ADV_DAT BATMAN_ADV_MCAST BATMAN_ADV_NC BCACHE 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_INTEGRITY_T10 BLK_DEV_NBD BLK_DEV_NULL_BLK BLK_DEV_NULL_BLK_FAULT_INJECTION BLK_DEV_NVME BLK_DEV_PMEM BLK_DEV_RAM BLK_DEV_RNBD BLK_DEV_RNBD_CLIENT BLK_DEV_THROTTLING BLK_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_CMTP BT_HCIBCM203X BT_HCIBFUSB BT_HCIBPA10X BT_HCIBTUSB BT_HCIBTUSB_BCM BT_HCIBTUSB_MTK BT_HCIBTUSB_POLL_SYNC BT_HCIBTUSB_RTL BT_HCIUART BT_HCIUART_3WIRE BT_HCIUART_AG6XX BT_HCIUART_BCSP BT_HCIUART_H4 BT_HCIUART_LL BT_HCIUART_MRVL BT_HCIUART_QCA BT_HCIUART_SERDEV BT_HCIVHCI BT_HIDP BT_INTEL BT_LE BT_LEDS BT_LE_L2CAP_ECRED BT_MRVL BT_MRVL_SDIO BT_MSFTEXT BT_MTK BT_QCA BT_RFCOMM BT_RFCOMM_TTY BT_RTL CACHEFILES CAIF CAIF_DEBUG CAIF_DRIVERS CAIF_NETDEV CAIF_TTY CAIF_USB CAIF_VIRTIO CAN CAN_8DEV_USB CAN_BCM CAN_CALC_BITTIMING CAN_DEV CAN_EMS_USB CAN_GS_USB CAN_GW CAN_IFI_CANFD CAN_ISOTP CAN_J1939 CAN_KVASER_USB CAN_MCBA_USB CAN_NETLINK CAN_PEAK_USB CAN_RAW CAN_RX_OFFLOAD CAN_SLCAN CAN_VCAN CAN_VXCAN CAPI_TRACE CARL9170 CARL9170_HWRNG CARL9170_LEDS CARL9170_WPC CEC_CORE CEPH_FS CEPH_FSCACHE CEPH_FS_POSIX_ACL CEPH_LIB CEPH_LIB_USE_DNS_RESOLVER CFG80211 CFG80211_CRDA_SUPPORT CFG80211_DEBUGFS CFG80211_DEFAULT_PS CFG80211_REQUIRE_SIGNED_REGDB CFG80211_USE_KERNEL_REGDB_KEYS CFG80211_WEXT CFS_BANDWIDTH CGROUP_BPF CHARGER_BQ24190 CHARGER_ISP1704 CHR_DEV_ST CIFS CIFS_ALLOW_INSECURE_LEGACY CIFS_DEBUG CIFS_DFS_UPCALL CIFS_FSCACHE CIFS_POSIX CIFS_SMB_DIRECT CIFS_SWN_UPCALL CIFS_UPCALL CIFS_XATTR CLOSURES CLS_U32_MARK CLS_U32_PERF CMA CMA_SIZE_SEL_MBYTES CMDLINE_PARTITION COMEDI COMEDI_DT9812 COMEDI_NI_USB6501 COMEDI_USBDUX COMEDI_USBDUXFAST COMEDI_USBDUXSIGMA COMEDI_USB_DRIVERS COMEDI_VMK80XX COMPAT_NETLINK_MESSAGES COUNTER CRAMFS CRAMFS_BLOCKDEV CRAMFS_MTD CRC4 CRC64 CRC64_ROCKSOFT CRC7 CRC8 CRC_ITU_T CRC_T10DIF CRYPTO_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_INTEL CRYPTO_CRC32_PCLMUL CRYPTO_CRC64_ROCKSOFT CRYPTO_CRCT10DIF CRYPTO_CRCT10DIF_PCLMUL CRYPTO_CRYPTD CRYPTO_CTS CRYPTO_CURVE25519 CRYPTO_CURVE25519_X86 CRYPTO_DEFLATE CRYPTO_DES CRYPTO_DES3_EDE_X86_64 CRYPTO_DEV_CCP CRYPTO_DEV_CCP_DD CRYPTO_DEV_PADLOCK CRYPTO_DEV_PADLOCK_AES CRYPTO_DEV_PADLOCK_SHA CRYPTO_DEV_QAT CRYPTO_DEV_QAT_C3XXX CRYPTO_DEV_QAT_C3XXXVF CRYPTO_DEV_QAT_C62X CRYPTO_DEV_QAT_C62XVF CRYPTO_DEV_QAT_DH895xCC CRYPTO_DEV_QAT_DH895xCCVF CRYPTO_DEV_VIRTIO CRYPTO_DH CRYPTO_DRBG_CTR CRYPTO_DRBG_HASH CRYPTO_ECC CRYPTO_ECDH CRYPTO_ECRDSA CRYPTO_ENGINE CRYPTO_ESSIV CRYPTO_FCRYPT CRYPTO_GHASH_CLMUL_NI_INTEL CRYPTO_HCTR2 CRYPTO_KDF800108_CTR CRYPTO_KEYWRAP CRYPTO_KHAZAD CRYPTO_KPP CRYPTO_LIB_AESCFB 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_SIG CRYPTO_SIMD CRYPTO_SM2 CRYPTO_SM3 CRYPTO_SM3_AVX_X86_64 CRYPTO_SM4 CRYPTO_SM4_AESNI_AVX2_X86_64 CRYPTO_SM4_AESNI_AVX_X86_64 CRYPTO_SM4_GENERIC CRYPTO_STREEBOG CRYPTO_TEA CRYPTO_TWOFISH CRYPTO_TWOFISH_AVX_X86_64 CRYPTO_TWOFISH_COMMON CRYPTO_TWOFISH_X86_64 CRYPTO_TWOFISH_X86_64_3WAY CRYPTO_USER CRYPTO_USER_API CRYPTO_USER_API_AEAD CRYPTO_USER_API_ENABLE_OBSOLETE CRYPTO_USER_API_HASH CRYPTO_USER_API_RNG CRYPTO_USER_API_SKCIPHER CRYPTO_VMAC CRYPTO_WP512 CRYPTO_XCBC CRYPTO_XCTR CRYPTO_XTS CRYPTO_XXHASH CRYPTO_ZSTD CUSE CYPRESS_FIRMWARE DAMON DAMON_PADDR DAMON_RECLAIM DAMON_VADDR DAX DCA DCB DEFAULT_PFIFO_FAST 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 DMA_NEED_SYNC 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 ENCRYPTED_KEYS EXTCON FSCACHE FUSE_FS GPIOLIB HAMRADIO IIO INFINIBAND INFINIBAND_ADDR_TRANS INFINIBAND_RTRS_CLIENT IOSCHED_BFQ ISDN ISDN_CAPI 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.9 v6.8 v6.7 v6.5 v6.3 v6.1 v5.19 v5.17 v5.14 v5.11 v5.8 v5.5 v5.2 v4.20 v4.19] out of 32 release tags testing release v6.9 testing commit a38297e3fb012ddfa7ce0321a7e5a8daeb1872b6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 969a9cc1d902794f5ec26c4fbccf09813515faa35f7fa5641b03c35662b6691b all runs: OK false negative chance: 0.000 # git bisect start 0e1980c40b6edfa68b6acf926bab22448a6e40c9 a38297e3fb012ddfa7ce0321a7e5a8daeb1872b6 Bisecting: 7735 revisions left to test after this (roughly 13 steps) [3c999d1ae3c75991902a1a7dad0cb62c2a3008b4] Merge tag 'wq-for-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq testing commit 3c999d1ae3c75991902a1a7dad0cb62c2a3008b4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d967af4edaf58949dd8bcc9e06378ea96e3163f36d2173a4b69cbfb7c096ac55 all runs: OK false negative chance: 0.000 # git bisect good 3c999d1ae3c75991902a1a7dad0cb62c2a3008b4 Bisecting: 3875 revisions left to test after this (roughly 12 steps) [d90be6e4aaf23cd4a2c202891399cbafe669aaab] Merge tag 'driver-core-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core testing commit d90be6e4aaf23cd4a2c202891399cbafe669aaab gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2238f8947cafe97eb0efdc2d0a0adb33b74e0ef10c386385c811458b38b43473 all runs: OK false negative chance: 0.000 # git bisect good d90be6e4aaf23cd4a2c202891399cbafe669aaab Bisecting: 1912 revisions left to test after this (roughly 11 steps) [8fc3504ade0bb3c4453008827a5a984231118c79] Merge branch 'fs-next' of linux-next testing commit 8fc3504ade0bb3c4453008827a5a984231118c79 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cd5ca7c1de477d8c83744e41a8181d2a601438db22427421f4b53780add12e47 all runs: crashed: kernel BUG in bch2_check_allocations representative crash: kernel BUG in bch2_check_allocations, types: [BUG] # git bisect bad 8fc3504ade0bb3c4453008827a5a984231118c79 Bisecting: 986 revisions left to test after this (roughly 10 steps) [fd65887b95d4184b76357ea5cdb92be2fadc079a] Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec.git testing commit fd65887b95d4184b76357ea5cdb92be2fadc079a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fabb9b08ea6fbd1a6a4c5b8af647cef991b31d9d58614a5abca64d3a4bfc8866 all runs: OK false negative chance: 0.000 # git bisect good fd65887b95d4184b76357ea5cdb92be2fadc079a Bisecting: 536 revisions left to test after this (roughly 9 steps) [244c4a9d97301ac5d8c2f070ee6ad9365afb9459] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git testing commit 244c4a9d97301ac5d8c2f070ee6ad9365afb9459 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 905070c23763c4c085536875af544fbcdcead8893032c74fe2b394f3bbd871d3 all runs: OK false negative chance: 0.000 # git bisect good 244c4a9d97301ac5d8c2f070ee6ad9365afb9459 Bisecting: 271 revisions left to test after this (roughly 8 steps) [e9dec6d4bb3688c7f735884eb88bd20a9602da30] Merge branch 'clk-next' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git testing commit e9dec6d4bb3688c7f735884eb88bd20a9602da30 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 87c7a7005dd7fd6452a3a99826de8c5a24bfd302447b26268d6493ab988775c0 all runs: OK false negative chance: 0.000 # git bisect good e9dec6d4bb3688c7f735884eb88bd20a9602da30 Bisecting: 165 revisions left to test after this (roughly 7 steps) [aa0d3341f6f23eddc8bf4c314f079cc8b25cc376] Merge branch 'for-next-next-v6.10-20240529' into for-next-20240529 testing commit aa0d3341f6f23eddc8bf4c314f079cc8b25cc376 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d5cb40620d3831d68feff49ad9a816c03c1750d5ba32b28ecf9e38717e179339 all runs: OK false negative chance: 0.000 # git bisect good aa0d3341f6f23eddc8bf4c314f079cc8b25cc376 Bisecting: 83 revisions left to test after this (roughly 6 steps) [2851885a90c2953649cdf42ccba921e3d1b88739] Merge branch 'for_next' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git testing commit 2851885a90c2953649cdf42ccba921e3d1b88739 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 50b4e60e92e0ef87a9049be65882574dded2d710853c804e2b8d24f9026d0e5e all runs: crashed: kernel BUG in bch2_check_allocations representative crash: kernel BUG in bch2_check_allocations, types: [BUG] # git bisect bad 2851885a90c2953649cdf42ccba921e3d1b88739 Bisecting: 40 revisions left to test after this (roughly 5 steps) [4c71ead7ff08f24d48a191c174a74fdf8ae80bdd] bcachefs: dev_usage updated by new accounting testing commit 4c71ead7ff08f24d48a191c174a74fdf8ae80bdd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c6355b9eb7c7dcdadc3ede32989760b590a555a2a66e68e6b1a1cfb500b20bbc all runs: crashed: kernel BUG in bch2_check_allocations representative crash: kernel BUG in bch2_check_allocations, types: [BUG] # git bisect bad 4c71ead7ff08f24d48a191c174a74fdf8ae80bdd Bisecting: 20 revisions left to test after this (roughly 4 steps) [83208cbf2f08c270033003e10f3e7351de64a5c5] bcachefs: Don't return -EROFS from mount on inconsistency error testing commit 83208cbf2f08c270033003e10f3e7351de64a5c5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 373d9a01754c76eb61f6b202b70ff3ce1aa346dc151515e92918757f23dc77ca all runs: OK false negative chance: 0.000 # git bisect good 83208cbf2f08c270033003e10f3e7351de64a5c5 Bisecting: 10 revisions left to test after this (roughly 3 steps) [c635c2ca516d517af1d9aab9983e5a152a09f1a3] bcachefs: check_key_has_inode() testing commit c635c2ca516d517af1d9aab9983e5a152a09f1a3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4fcc0853ad643f3bc9bbc267f1949a0293c1e5f5ce9eed86b077cbe9a002a614 all runs: OK false negative chance: 0.000 # git bisect good c635c2ca516d517af1d9aab9983e5a152a09f1a3 Bisecting: 5 revisions left to test after this (roughly 3 steps) [f4bf2995b246f90003250be36721af11043e2c66] bcachefs: Add error code to defer option parsing testing commit f4bf2995b246f90003250be36721af11043e2c66 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 930352133e04cbce673997811587104c3bf48640535666296efdb1d2acc26fe9 all runs: OK false negative chance: 0.000 # git bisect good f4bf2995b246f90003250be36721af11043e2c66 Bisecting: 2 revisions left to test after this (roughly 2 steps) [abeece38e819c9119c6c3acea602c23c8b67e345] bcachefs: Accumulate accounting keys in journal replay testing commit abeece38e819c9119c6c3acea602c23c8b67e345 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 49f8ebc3e7e04f716d2842164b1800d27716ac104ebfb99b2b64456a3ecd3328 all runs: crashed: kernel BUG in bch2_check_allocations representative crash: kernel BUG in bch2_check_allocations, types: [BUG] # git bisect bad abeece38e819c9119c6c3acea602c23c8b67e345 Bisecting: 0 revisions left to test after this (roughly 1 step) [228e1c91ae5ec44f38aa8852aa3953005badce82] bcachefs: KEY_TYPE_accounting testing commit 228e1c91ae5ec44f38aa8852aa3953005badce82 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ac5c88e78936dca4cfb36b1a3110292d91170a392ddbe481371373714e3ed43c all runs: crashed: kernel BUG in bch2_check_allocations representative crash: kernel BUG in bch2_check_allocations, types: [BUG] # git bisect bad 228e1c91ae5ec44f38aa8852aa3953005badce82 Bisecting: 0 revisions left to test after this (roughly 0 steps) [3d203ae77a81af3291d01ba909ab5e18929ac198] bcachefs: use new mount API testing commit 3d203ae77a81af3291d01ba909ab5e18929ac198 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6be2a89db07ae843bbeffd4f2fca7b6692c84f60758802ff9fc8f7c81235a24c all runs: OK false negative chance: 0.000 # git bisect good 3d203ae77a81af3291d01ba909ab5e18929ac198 228e1c91ae5ec44f38aa8852aa3953005badce82 is the first bad commit commit 228e1c91ae5ec44f38aa8852aa3953005badce82 Author: Kent Overstreet Date: Wed Dec 27 18:31:46 2023 -0500 bcachefs: KEY_TYPE_accounting New key type for the disk space accounting rewrite. - Holds a variable sized array of u64s (may be more than one for accounting e.g. compressed and uncompressed size, or buckets and sectors for a given data type) - Updates are deltas, not new versions of the key: this means updates to accounting can happen via the btree write buffer, which we'll be teaching to accumulate deltas. Signed-off-by: Kent Overstreet fs/bcachefs/Makefile | 3 +- fs/bcachefs/bcachefs_format.h | 56 +++----------- fs/bcachefs/bkey_methods.c | 1 + fs/bcachefs/disk_accounting.c | 70 +++++++++++++++++ fs/bcachefs/disk_accounting.h | 52 +++++++++++++ fs/bcachefs/disk_accounting_format.h | 144 +++++++++++++++++++++++++++++++++++ fs/bcachefs/recovery.c | 1 + fs/bcachefs/sb-downgrade.c | 20 ++++- fs/bcachefs/sb-errors_format.h | 3 +- 9 files changed, 300 insertions(+), 50 deletions(-) create mode 100644 fs/bcachefs/disk_accounting.c create mode 100644 fs/bcachefs/disk_accounting.h create mode 100644 fs/bcachefs/disk_accounting_format.h accumulated error probability: 0.00 culprit signature: ac5c88e78936dca4cfb36b1a3110292d91170a392ddbe481371373714e3ed43c parent signature: 6be2a89db07ae843bbeffd4f2fca7b6692c84f60758802ff9fc8f7c81235a24c revisions tested: 23, total time: 7h15m1.926410857s (build: 3h42m34.509978482s, test: 2h51m12.298285616s) first bad commit: 228e1c91ae5ec44f38aa8852aa3953005badce82 bcachefs: KEY_TYPE_accounting recipients (to): ["kent.overstreet@linux.dev" "kent.overstreet@linux.dev" "linux-bcachefs@vger.kernel.org"] recipients (cc): ["bfoster@redhat.com" "linux-kernel@vger.kernel.org"] crash: kernel BUG in bch2_check_allocations bcachefs (loop0): alloc_read... done bcachefs (loop0): stripes_read... done bcachefs (loop0): snapshots_read... done bcachefs (loop0): check_allocations... ------------[ cut here ]------------ kernel BUG at fs/bcachefs/buckets.h:96! Oops: invalid opcode: 0000 [#1] PREEMPT SMP PTI CPU: 1 PID: 3252 Comm: syz-executor Not tainted 6.9.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:gc_bucket fs/bcachefs/buckets.h:96 [inline] RIP: 0010:bch2_gc_alloc_start fs/bcachefs/btree_gc.c:1000 [inline] RIP: 0010:bch2_check_allocations+0x38fc/0x3910 fs/bcachefs/btree_gc.c:1210 Code: 44 89 ee e8 26 e9 00 00 48 8b 77 50 48 c7 c7 22 d3 5f 83 e8 a6 cd 12 01 90 0f 0b 90 0f 0b 90 0f 0b e8 78 ea 13 01 90 0f 0b 90 <0f> 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 90 RSP: 0018:ffffc90002e27640 EFLAGS: 00010206 RAX: ffff8881072c5000 RBX: 0000000000000000 RCX: 000000000001007c RDX: 0000000000000000 RSI: 000000000001007c RDI: ffff88810276b000 RBP: ffffc90002e278e0 R08: 0000000000000004 R09: 0000000000000000 R10: ffffc90002e277b0 R11: ffffc90002e27718 R12: ffff8881037e8000 R13: ffffc90002e27780 R14: 0000000000000029 R15: ffffc90002e27748 FS: 00007f799b8906c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f799aad8275 CR3: 0000000103bfc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bch2_run_recovery_pass fs/bcachefs/recovery_passes.c:182 [inline] bch2_run_recovery_passes+0xb9/0x220 fs/bcachefs/recovery_passes.c:225 bch2_fs_recovery+0x9cd/0x1150 fs/bcachefs/recovery.c:812 bch2_fs_start+0x1b9/0x270 fs/bcachefs/super.c:1032 bch2_fs_open+0x405/0x530 fs/bcachefs/super.c:2127 bch2_mount fs/bcachefs/fs.c:1908 [inline] bch2_fs_get_tree+0x265/0x6a0 fs/bcachefs/fs.c:2069 vfs_get_tree+0x2a/0xf0 fs/super.c:1779 do_new_mount+0x15a/0x3a0 fs/namespace.c:3352 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x14b/0x1c0 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xe2/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f799aa7e5ea Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f799b88fef8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f799b88ff80 RCX: 00007f799aa7e5ea RDX: 0000000020005d80 RSI: 0000000020005dc0 RDI: 00007f799b88ff40 RBP: 0000000020005d80 R08: 00007f799b88ff80 R09: 0000000000000400 R10: 0000000000000400 R11: 0000000000000246 R12: 0000000020005dc0 R13: 00007f799b88ff40 R14: 0000000000005e05 R15: 0000000020005e00 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:gc_bucket fs/bcachefs/buckets.h:96 [inline] RIP: 0010:bch2_gc_alloc_start fs/bcachefs/btree_gc.c:1000 [inline] RIP: 0010:bch2_check_allocations+0x38fc/0x3910 fs/bcachefs/btree_gc.c:1210 Code: 44 89 ee e8 26 e9 00 00 48 8b 77 50 48 c7 c7 22 d3 5f 83 e8 a6 cd 12 01 90 0f 0b 90 0f 0b 90 0f 0b e8 78 ea 13 01 90 0f 0b 90 <0f> 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 0f 0b 90 90 RSP: 0018:ffffc90002e27640 EFLAGS: 00010206 RAX: ffff8881072c5000 RBX: 0000000000000000 RCX: 000000000001007c RDX: 0000000000000000 RSI: 000000000001007c RDI: ffff88810276b000 RBP: ffffc90002e278e0 R08: 0000000000000004 R09: 0000000000000000 R10: ffffc90002e277b0 R11: ffffc90002e27718 R12: ffff8881037e8000 R13: ffffc90002e27780 R14: 0000000000000029 R15: ffffc90002e27748 FS: 00007f799b8906c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f799aad8275 CR3: 0000000103bfc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400