ci2 starts bisection 2024-05-12 17:50:18.704261725 +0000 UTC m=+122395.896586389 bisecting cause commit starting from cf87f46fd34d6c19283d9625a7822f20d90b64a4 building syzkaller on 9026e14289eaf45a00ddddb8730f2092b956d99a ensuring issue is reproducible on original commit cf87f46fd34d6c19283d9625a7822f20d90b64a4 testing commit cf87f46fd34d6c19283d9625a7822f20d90b64a4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 511fd75088163288b03b0827a40be037a9bfee92754369868559bb181b01732b all runs: crashed: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data representative crash: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data, types: [UBSAN] check whether we can drop unnecessary instrumentation disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit cf87f46fd34d6c19283d9625a7822f20d90b64a4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1a8d49b8be385aa3c164c0436693c48a0da8d5cb5b06dea34ca02cfaa4119a93 all runs: crashed: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data representative crash: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data, types: [UBSAN] the bug reproduces without the instrumentation disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK BUG], they are not needed kconfig minimization: base=3971 full=8000 leaves diff=2012 split chunks (needed=false): <2012> split chunk #0 of len 2012 into 5 parts testing without sub-chunk 1/5 disabling configs for [HANG LEAK BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit cf87f46fd34d6c19283d9625a7822f20d90b64a4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 53432aa2f3b5de6f2f5440bc445dba085f4f180328f8de37bf9d3366ac1a7b05 all runs: OK false negative chance: 0.000 testing without sub-chunk 2/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK BUG KASAN], they are not needed testing commit cf87f46fd34d6c19283d9625a7822f20d90b64a4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9f3826d03a95e46c64970cd1cb2850daeba1a19d272786f622e3f2b3a090621b all runs: crashed: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data representative crash: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data, types: [UBSAN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK BUG KASAN], they are not needed testing commit cf87f46fd34d6c19283d9625a7822f20d90b64a4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 471f44b4706341753f0077eeec11a0c9e083180ab4e4873ba4e6d463371a9733 all runs: crashed: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data representative crash: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data, types: [UBSAN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK BUG KASAN], they are not needed testing commit cf87f46fd34d6c19283d9625a7822f20d90b64a4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9c167d1f75d899a1fbc1884e8e2f998b1d666a239d47c7923c566bc8c34c948d all runs: crashed: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data representative crash: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data, types: [UBSAN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK BUG], they are not needed testing commit cf87f46fd34d6c19283d9625a7822f20d90b64a4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b958efdb551f22517146d9b41c8fff0bceb1c8ea8196590bbba030137d5a1048 all runs: crashed: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data representative crash: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data, types: [UBSAN] the chunk can be dropped minimized to 403 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_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 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_DEBUG_FS_ZONED 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_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_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_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_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_MICHAEL_MIC CRYPTO_NHPOLY1305 CRYPTO_NHPOLY1305_AVX2 CRYPTO_NHPOLY1305_SSE2 CRYPTO_PCBC CRYPTO_PCRYPT CRYPTO_POLY1305 CRYPTO_POLY1305_X86_64 CRYPTO_POLYVAL CRYPTO_POLYVAL_CLMUL_NI CRYPTO_RMD160 CRYPTO_SEED CRYPTO_SERPENT CRYPTO_SERPENT_AVX2_X86_64 CRYPTO_SERPENT_AVX_X86_64 CRYPTO_SERPENT_SSE2_X86_64 CRYPTO_SHA1_SSSE3 CRYPTO_SHA256_SSSE3 CRYPTO_SHA512_SSSE3 CRYPTO_SIMD CRYPTO_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 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 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_BOCHS ENCRYPTED_KEYS EXTCON FSCACHE FUSE_FS GPIOLIB HAMRADIO HID_DRAGONRISE 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 BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed picked [v6.8 v6.7 v6.6 v6.4 v6.2 v6.0 v5.18 v5.16 v5.13 v5.10 v5.7 v5.4 v5.1 v4.19] out of 31 release tags testing release v6.8 testing commit e8f897f4afef0031fe618a8e94127a0934896aba gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2c6c798024f72307cb48ac550eefe348c5a9a761097eda769d1d80578c1146cd all runs: crashed: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data representative crash: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data, types: [UBSAN] testing release v6.7 testing commit 0dd3ee31125508cd67f7e7172247f05b7fd1753a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6400451937e6a04e6480edcfb81b292eaa7a181c92bc4ed94898e6b881a0285b all runs: crashed: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data representative crash: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data, types: [UBSAN] testing release v6.6 testing commit ffc253263a1375a65fa6c9f62a893e9767fbebfa gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d4a133caedde82bdaa471237b8e08163ff4abd59b8da170b316b9827a3337ff6 all runs: OK false negative chance: 0.000 # git bisect start 0dd3ee31125508cd67f7e7172247f05b7fd1753a ffc253263a1375a65fa6c9f62a893e9767fbebfa Bisecting: 9251 revisions left to test after this (roughly 13 steps) [deefd5024f0772cf56052ace9a8c347dc70bcaf3] Merge tag 'vfio-v6.7-rc1' of https://github.com/awilliam/linux-vfio testing commit deefd5024f0772cf56052ace9a8c347dc70bcaf3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8ec83eb0567cbc14f3efc65b9652c01b1b50f17c5fc8b4a5a2bd034c7ea031d6 all runs: crashed: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data representative crash: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data, types: [UBSAN] # git bisect bad deefd5024f0772cf56052ace9a8c347dc70bcaf3 Bisecting: 5291 revisions left to test after this (roughly 12 steps) [5a6a09e97199d6600d31383055f9d43fbbcbe86f] Merge tag 'cgroup-for-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup testing commit 5a6a09e97199d6600d31383055f9d43fbbcbe86f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: dd876ee7e38a25cce787e8d1375dd286faed4fb25993d5950814601d06551721 all runs: crashed: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data representative crash: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data, types: [UBSAN] # git bisect bad 5a6a09e97199d6600d31383055f9d43fbbcbe86f Bisecting: 1930 revisions left to test after this (roughly 11 steps) [17047fbced563cf5abe5aa546f6a92af48900b69] bcachefs: Fix incorrectly freeing btree_path in alloc path testing commit 17047fbced563cf5abe5aa546f6a92af48900b69 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 17047fbced563cf5abe5aa546f6a92af48900b69: fs/bcachefs/buckets.c:1292:2: error: call to undeclared function '__WARN'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] # git bisect skip 17047fbced563cf5abe5aa546f6a92af48900b69 Bisecting: 1929 revisions left to test after this (roughly 11 steps) [49e401fa55ab128461f84a4eeb1f2d974f3281c1] bcachefs: Tracepoint improvements testing commit 49e401fa55ab128461f84a4eeb1f2d974f3281c1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 49e401fa55ab128461f84a4eeb1f2d974f3281c1: fs/bcachefs/buckets.c:1292:2: error: call to undeclared function '__WARN'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] # git bisect skip 49e401fa55ab128461f84a4eeb1f2d974f3281c1 Bisecting: 1929 revisions left to test after this (roughly 11 steps) [5eaa76d813d48a524a1ce040539048b851a0a20c] bcachefs: mark bch_inode_info and bkey_cached as reclaimable testing commit 5eaa76d813d48a524a1ce040539048b851a0a20c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 5eaa76d813d48a524a1ce040539048b851a0a20c: fs/bcachefs/opts.c:225:2: error: initializer element is not a compile-time constant # git bisect skip 5eaa76d813d48a524a1ce040539048b851a0a20c Bisecting: 1929 revisions left to test after this (roughly 11 steps) [a432b7c0cf420dbf2448c6bda6a6697afbb153d5] locking/lockref/x86: Enable ARCH_USE_CMPXCHG_LOCKREF for X86_CMPXCHG64 testing commit a432b7c0cf420dbf2448c6bda6a6697afbb153d5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: de3be83cc8c98ec3bdaf96236842a46d187e1309a4f7e7d4d4db487a0908b617 all runs: OK false negative chance: 0.000 # git bisect good a432b7c0cf420dbf2448c6bda6a6697afbb153d5 Bisecting: 1927 revisions left to test after this (roughly 11 steps) [86b74451931790eafa018021fe900faea3230189] bcachefs: Fix bch2_btree_trans_to_text() testing commit 86b74451931790eafa018021fe900faea3230189 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 86b74451931790eafa018021fe900faea3230189: fs/bcachefs/buckets.c:1292:2: error: call to undeclared function '__WARN'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] # git bisect skip 86b74451931790eafa018021fe900faea3230189 Bisecting: 1927 revisions left to test after this (roughly 11 steps) [d355c6f4f73060c8f3eba95b9ae72929669f7516] bcachefs: for_each_btree_node() now returns errors directly testing commit d355c6f4f73060c8f3eba95b9ae72929669f7516 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building d355c6f4f73060c8f3eba95b9ae72929669f7516: fs/bcachefs/buckets.c:1329:2: error: call to undeclared function '__WARN'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] # git bisect skip d355c6f4f73060c8f3eba95b9ae72929669f7516 Bisecting: 1927 revisions left to test after this (roughly 11 steps) [c04d905f6c7c41f137de7e4a9279e5c938eb19ef] vfs: Convert BUG_ON to WARN_ON_ONCE in open_last_lookups testing commit c04d905f6c7c41f137de7e4a9279e5c938eb19ef gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c0f307224e743849d82ca3baac63048f3f8ac548b784dc2461fb0809aad29adb all runs: OK false negative chance: 0.000 # git bisect good c04d905f6c7c41f137de7e4a9279e5c938eb19ef Bisecting: 1915 revisions left to test after this (roughly 11 steps) [549d173c1bd9b58c2ad41217522462e012a6545f] bcachefs: EINTR -> BCH_ERR_transaction_restart testing commit 549d173c1bd9b58c2ad41217522462e012a6545f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 549d173c1bd9b58c2ad41217522462e012a6545f: fs/bcachefs/buckets.c:1292:2: error: call to undeclared function '__WARN'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] # git bisect skip 549d173c1bd9b58c2ad41217522462e012a6545f Bisecting: 1915 revisions left to test after this (roughly 11 steps) [e6375481c9efb765687cc4d6c1396b335c3d5ef1] bcachefs: Improve bch2_write_points_to_text() testing commit e6375481c9efb765687cc4d6c1396b335c3d5ef1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e45bdb206523613b0887909cc28428116bf5893a52ca4d0e70f4ea86456d20f3 all runs: boot failed: UBSAN: array-index-out-of-bounds in bch2_bkey_pack_test unable to determine the verdict: 0 good runs (wanted 5), for bad wanted 5 in total, got 0 # git bisect skip e6375481c9efb765687cc4d6c1396b335c3d5ef1 Bisecting: 1915 revisions left to test after this (roughly 11 steps) [d7228ecc483e1e104179a24a7e1e4568ae9235cb] bcachefs: Convert debugfs code to for_each_btree_key2() testing commit d7228ecc483e1e104179a24a7e1e4568ae9235cb gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building d7228ecc483e1e104179a24a7e1e4568ae9235cb: fs/bcachefs/buckets.c:1292:2: error: call to undeclared function '__WARN'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] # git bisect skip d7228ecc483e1e104179a24a7e1e4568ae9235cb Bisecting: 1915 revisions left to test after this (roughly 11 steps) [ee7570546e89ece9b56eaa22c94a6ec0941ec827] bcachefs: Fix a deadlock testing commit ee7570546e89ece9b56eaa22c94a6ec0941ec827 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building ee7570546e89ece9b56eaa22c94a6ec0941ec827: fs/bcachefs/buckets.c:1306:2: error: call to undeclared function '__WARN'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] # git bisect skip ee7570546e89ece9b56eaa22c94a6ec0941ec827 Bisecting: 1915 revisions left to test after this (roughly 11 steps) [f0a31b26be1f725e3f56beed76486c1b034120b3] srcu: Fix error handling in init_srcu_struct_fields() testing commit f0a31b26be1f725e3f56beed76486c1b034120b3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0c2e4cd4b0beb2e66248b53988f4aaf2fa410b683a22a464fbe46d582337bd18 all runs: OK false negative chance: 0.000 # git bisect good f0a31b26be1f725e3f56beed76486c1b034120b3 Bisecting: 1914 revisions left to test after this (roughly 11 steps) [0990efaeeab14de1e3e3bf2791808afebadd1cc4] bcachefs: btree_trans_too_many_iters() is now a transaction restart testing commit 0990efaeeab14de1e3e3bf2791808afebadd1cc4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 0990efaeeab14de1e3e3bf2791808afebadd1cc4: fs/bcachefs/buckets.c:1292:2: error: call to undeclared function '__WARN'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] # git bisect skip 0990efaeeab14de1e3e3bf2791808afebadd1cc4 Bisecting: 1914 revisions left to test after this (roughly 11 steps) [ad520141b155786800261cc7e02ec02f0afe2643] bcachefs: Fix corruption with writeable snapshots testing commit ad520141b155786800261cc7e02ec02f0afe2643 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 03acf3b16566cc16a7899c6e924b8c94fcf8d995b4d7150e86cfe033701dd2b1 all runs: boot failed: UBSAN: array-index-out-of-bounds in bch2_bkey_pack_test unable to determine the verdict: 0 good runs (wanted 5), for bad wanted 5 in total, got 0 # git bisect skip ad520141b155786800261cc7e02ec02f0afe2643 Bisecting: 1914 revisions left to test after this (roughly 11 steps) [eaa8c9a8b4027e4f780ebd2f6d0e91812467f312] tools/nolibc: automatically detect necessity to use pselect6 testing commit eaa8c9a8b4027e4f780ebd2f6d0e91812467f312 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9c16c7ed7b40775f4bf6f739ce51fee39866cff3771452591bd52d4b28019b74 all runs: OK false negative chance: 0.000 # git bisect good eaa8c9a8b4027e4f780ebd2f6d0e91812467f312 Bisecting: 1908 revisions left to test after this (roughly 11 steps) [175379db206a3a36a80585b00bb974a6ab6c43c0] bcachefs: ec_stripe_bkey_insert() -> for_each_btree_key_norestart() testing commit 175379db206a3a36a80585b00bb974a6ab6c43c0 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 175379db206a3a36a80585b00bb974a6ab6c43c0: fs/bcachefs/buckets.c:1292:2: error: call to undeclared function '__WARN'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] # git bisect skip 175379db206a3a36a80585b00bb974a6ab6c43c0 Bisecting: 1908 revisions left to test after this (roughly 11 steps) [5f659376fc1b9ad23b00a35242179b8961e0bc2d] bcachefs: Suppress -EROFS messages when shutting down testing commit 5f659376fc1b9ad23b00a35242179b8961e0bc2d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 5f659376fc1b9ad23b00a35242179b8961e0bc2d: fs/bcachefs/buckets.c:1295:2: error: call to undeclared function '__WARN'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] # git bisect skip 5f659376fc1b9ad23b00a35242179b8961e0bc2d Bisecting: 1908 revisions left to test after this (roughly 11 steps) [8d591d5da42d10de6dda7c87e5f4b1447f67bb86] bcachefs: Convert some assertions to fsck errors testing commit 8d591d5da42d10de6dda7c87e5f4b1447f67bb86 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 8d591d5da42d10de6dda7c87e5f4b1447f67bb86: fs/bcachefs/bset.c:1321:8: error: unknown token in expression # git bisect skip 8d591d5da42d10de6dda7c87e5f4b1447f67bb86 Bisecting: 1908 revisions left to test after this (roughly 11 steps) [4eea53de8a1882e75d3640dce06c8c2874a77b05] bcachefs: Fix transaction path overflow in fiemap testing commit 4eea53de8a1882e75d3640dce06c8c2874a77b05 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 4eea53de8a1882e75d3640dce06c8c2874a77b05: fs/bcachefs/buckets.c:1332:2: error: call to undeclared function '__WARN'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] # git bisect skip 4eea53de8a1882e75d3640dce06c8c2874a77b05 Bisecting: 1908 revisions left to test after this (roughly 11 steps) [92384391c8d04642bb2be1e0c34f744675f50abc] bcachefs: Don't reuse bio in retry path testing commit 92384391c8d04642bb2be1e0c34f744675f50abc gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 92384391c8d04642bb2be1e0c34f744675f50abc: fs/bcachefs/bset.c:1348:8: error: unknown token in expression # git bisect skip 92384391c8d04642bb2be1e0c34f744675f50abc Bisecting: 1908 revisions left to test after this (roughly 11 steps) [7071878bab9cbb38b03ac8612af9ea3021c34137] bcachefs: Add a missing btree_path_set_dirty() calls testing commit 7071878bab9cbb38b03ac8612af9ea3021c34137 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 7071878bab9cbb38b03ac8612af9ea3021c34137: fs/bcachefs/buckets.c:1299:2: error: call to undeclared function '__WARN'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] # git bisect skip 7071878bab9cbb38b03ac8612af9ea3021c34137 Bisecting: 1908 revisions left to test after this (roughly 11 steps) [2dac0eae78f4e3419320cafb3bd0de2a6a4b5dba] bcachefs: Iterator debug code improvements testing commit 2dac0eae78f4e3419320cafb3bd0de2a6a4b5dba gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 2dac0eae78f4e3419320cafb3bd0de2a6a4b5dba: fs/bcachefs/bset.c:1242:6: error: unknown token in expression # git bisect skip 2dac0eae78f4e3419320cafb3bd0de2a6a4b5dba Bisecting: 1908 revisions left to test after this (roughly 11 steps) [afb6f7f61ba38f4d4d96e8d1bf5fb9e7809e6c10] bcachefs: Silence spurious copygc err when shutting down testing commit afb6f7f61ba38f4d4d96e8d1bf5fb9e7809e6c10 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building afb6f7f61ba38f4d4d96e8d1bf5fb9e7809e6c10: fs/bcachefs/buckets.c:1307:2: error: call to undeclared function '__WARN'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] # git bisect skip afb6f7f61ba38f4d4d96e8d1bf5fb9e7809e6c10 Bisecting: 1908 revisions left to test after this (roughly 11 steps) [f6b94a3baa956ff10a52a545a9ad60f35e88e683] bcachefs: Refactor stripe creation testing commit f6b94a3baa956ff10a52a545a9ad60f35e88e683 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building f6b94a3baa956ff10a52a545a9ad60f35e88e683: fs/bcachefs/bset.c:1241:6: error: unknown token in expression # git bisect skip f6b94a3baa956ff10a52a545a9ad60f35e88e683 Bisecting: 1908 revisions left to test after this (roughly 11 steps) [41fc86222480c34d8647661b36d3fb1e9312fd33] bcachefs: In fsck, pass BTREE_UPDATE_INTERNAL_SNAPSHOT_NODE when deleting dirents testing commit 41fc86222480c34d8647661b36d3fb1e9312fd33 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 41fc86222480c34d8647661b36d3fb1e9312fd33: fs/bcachefs/buckets.c:1296:2: error: call to undeclared function '__WARN'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] # git bisect skip 41fc86222480c34d8647661b36d3fb1e9312fd33 Bisecting: 1908 revisions left to test after this (roughly 11 steps) [7b489207703833f705763d14a77d29edf97e5a12] bcachefs: Delete dead code testing commit 7b489207703833f705763d14a77d29edf97e5a12 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 7b489207703833f705763d14a77d29edf97e5a12: fs/bcachefs/bset.c:1181:6: error: unknown token in expression # git bisect skip 7b489207703833f705763d14a77d29edf97e5a12 Bisecting: 1908 revisions left to test after this (roughly 11 steps) [da4474f20961f995a1d54f82b4c462c94ea03552] bcachefs: Convert more locking code to btree_bkey_cached_common testing commit da4474f20961f995a1d54f82b4c462c94ea03552 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building da4474f20961f995a1d54f82b4c462c94ea03552: fs/bcachefs/buckets.c:1292:2: error: call to undeclared function '__WARN'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] # git bisect skip da4474f20961f995a1d54f82b4c462c94ea03552 Bisecting: 1908 revisions left to test after this (roughly 11 steps) [a4805d6672aac04784af132f0e11ac1dfb208079] bcachefs: Scan for old btree nodes if necessary on mount testing commit a4805d6672aac04784af132f0e11ac1dfb208079 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building a4805d6672aac04784af132f0e11ac1dfb208079: fs/bcachefs/bset.c:1181:6: error: unknown token in expression # git bisect skip a4805d6672aac04784af132f0e11ac1dfb208079 Bisecting: 1908 revisions left to test after this (roughly 11 steps) [7bb61e8c0e37fdf5684bc1fa1f6e0b5644cc7f75] bcachefs: Make IO in flight by copygc/rebalance configurable testing commit 7bb61e8c0e37fdf5684bc1fa1f6e0b5644cc7f75 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 7bb61e8c0e37fdf5684bc1fa1f6e0b5644cc7f75: fs/bcachefs/buckets.c:1292:2: error: call to undeclared function '__WARN'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] # git bisect skip 7bb61e8c0e37fdf5684bc1fa1f6e0b5644cc7f75 Bisecting: 1908 revisions left to test after this (roughly 11 steps) [75e0c4789b623db0abae497160202bc5f5d2522e] bcachefs: Fix error checks in bch2_chacha_encrypt_key() testing commit 75e0c4789b623db0abae497160202bc5f5d2522e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 507fc8ec15aec471479884bd983844e6df33ca35358bd263c2ca70b0fa1b8e23 all runs: OK false negative chance: 0.000 # git bisect good 75e0c4789b623db0abae497160202bc5f5d2522e Bisecting: 530 revisions left to test after this (roughly 9 steps) [f84a52eef5c35b49947b132ddd9b79d6767469af] Merge tag 'x86_bugs_for_6.7_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip testing commit f84a52eef5c35b49947b132ddd9b79d6767469af gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c39f03bb4e2d5c0acc41ed2813e6592372c1c0af6fd4ada9a2a3deb990d8ead5 run #0: crashed: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data run #1: crashed: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data run #2: crashed: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data run #3: crashed: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data run #4: crashed: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data run #5: crashed: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data run #6: crashed: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data run #7: crashed: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data run #8: crashed: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data run #9: boot failed: can't ssh into the instance representative crash: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data, types: [UBSAN] # git bisect bad f84a52eef5c35b49947b132ddd9b79d6767469af Bisecting: 234 revisions left to test after this (roughly 8 steps) [8b16da681eb0c9b9cb2f9abd0dade67559cfb48d] Merge tag 'nfsd-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux testing commit 8b16da681eb0c9b9cb2f9abd0dade67559cfb48d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 77e38a41f504edff7023b1c9f7273c1286cada917599ab1e0f14a5191f4482b6 all runs: OK false negative chance: 0.000 # git bisect good 8b16da681eb0c9b9cb2f9abd0dade67559cfb48d Bisecting: 117 revisions left to test after this (roughly 7 steps) [197a9ecee68aa7706dea47b6dff8d2edbfb214f0] btrfs: reject devices with CHANGING_FSID_V2 testing commit 197a9ecee68aa7706dea47b6dff8d2edbfb214f0 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8468a422e9077e18c73db6a01653185c44ac63567234def60214d453960ceec8 all runs: OK false negative chance: 0.000 # git bisect good 197a9ecee68aa7706dea47b6dff8d2edbfb214f0 Bisecting: 69 revisions left to test after this (roughly 6 steps) [d5acbc60fafbe0fc94c552ce916dd592cd4c6371] Merge tag 'for-6.7-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux testing commit d5acbc60fafbe0fc94c552ce916dd592cd4c6371 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3519210eaab962ed7d0dfa654e28937aac14721506b676c65dc8a4b80cc45b20 all runs: OK false negative chance: 0.000 # git bisect good d5acbc60fafbe0fc94c552ce916dd592cd4c6371 Bisecting: 34 revisions left to test after this (roughly 5 steps) [4637429e3946d083eedde1668c17a4fadaf3c0b1] bcachefs: bch2_sb_field_get() refactoring testing commit 4637429e3946d083eedde1668c17a4fadaf3c0b1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 08aca3cca0549409273babec1c6d556d689f44ee79ec730d5b40808b65e3bcb3 all runs: crashed: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data representative crash: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data, types: [UBSAN] # git bisect bad 4637429e3946d083eedde1668c17a4fadaf3c0b1 Bisecting: 16 revisions left to test after this (roughly 4 steps) [d281701b00fc857755cd0fc08a415a694d5f49c0] bcachefs: Fix looping around bch2_propagate_key_to_snapshot_leaves() testing commit d281701b00fc857755cd0fc08a415a694d5f49c0 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a08569a72b24aec6834db3f39f84834adef3132ea20a1605b8170417c86428da all runs: crashed: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data representative crash: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data, types: [UBSAN] # git bisect bad d281701b00fc857755cd0fc08a415a694d5f49c0 Bisecting: 8 revisions left to test after this (roughly 3 steps) [82142a5541063addd15c84fcda890675035df8aa] bcachefs: Fix a null ptr deref in bch2_get_alloc_in_memory_pos() testing commit 82142a5541063addd15c84fcda890675035df8aa gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c8ff8f43e9b7e1dd5c371e71875c5368132bbb9d31f0ea9c3e041ce1f832bf6d all runs: OK false negative chance: 0.000 # git bisect good 82142a5541063addd15c84fcda890675035df8aa Bisecting: 4 revisions left to test after this (roughly 2 steps) [793a06d984511593c6375d219b38cc84f5a71aff] bcachefs: Fixes for building in userspace testing commit 793a06d984511593c6375d219b38cc84f5a71aff gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8d3077489cbbcec9edb27e9af26edfa87cf9f479f422f1fcd7dc028bf9fe4440 all runs: crashed: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data representative crash: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data, types: [UBSAN] # git bisect bad 793a06d984511593c6375d219b38cc84f5a71aff Bisecting: 1 revision left to test after this (roughly 1 step) [b560e32ef78f8e748b74a27009ee417b9072dd88] bcachefs: Always check for invalid bkeys in main commit path testing commit b560e32ef78f8e748b74a27009ee417b9072dd88 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9c2ea885efa4fbe3c917b1aecb37d4b03c4fcbc5a981ecb0346be165e5db486f all runs: OK false negative chance: 0.000 # git bisect good b560e32ef78f8e748b74a27009ee417b9072dd88 Bisecting: 0 revisions left to test after this (roughly 0 steps) [03ef80b469d5d83530ce1ce15be78a40e5300f9b] bcachefs: Ignore unknown mount options testing commit 03ef80b469d5d83530ce1ce15be78a40e5300f9b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c6dc2cbc9390c94fe43b925307ce9bd38da088837df126d894ebad920daae573 all runs: crashed: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data representative crash: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data, types: [UBSAN] # git bisect bad 03ef80b469d5d83530ce1ce15be78a40e5300f9b 03ef80b469d5d83530ce1ce15be78a40e5300f9b is the first bad commit commit 03ef80b469d5d83530ce1ce15be78a40e5300f9b Author: Kent Overstreet Date: Sat Sep 23 18:41:51 2023 -0400 bcachefs: Ignore unknown mount options This makes mount option handling consistent with other filesystems - options may be handled at different layers, so an option we don't know about might not be intended for us. Signed-off-by: Kent Overstreet fs/bcachefs/opts.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) accumulated error probability: 0.00 culprit signature: c6dc2cbc9390c94fe43b925307ce9bd38da088837df126d894ebad920daae573 parent signature: 9c2ea885efa4fbe3c917b1aecb37d4b03c4fcbc5a981ecb0346be165e5db486f revisions tested: 29, total time: 6h2m37.30044836s (build: 2h49m36.035623627s, test: 2h55m26.829459966s) first bad commit: 03ef80b469d5d83530ce1ce15be78a40e5300f9b bcachefs: Ignore unknown mount options recipients (to): ["kent.overstreet@linux.dev"] recipients (cc): [] crash: UBSAN: shift-out-of-bounds in bch2_sb_dev_has_data loop0: detected capacity change from 0 to 32768 ================================================================================ UBSAN: shift-out-of-bounds in fs/bcachefs/replicas.c:1011:20 shift exponent 155 is too large for 32-bit type 'int' CPU: 0 PID: 2355 Comm: syz-executor.0 Not tainted 6.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x83/0xd0 lib/dump_stack.c:106 ubsan_epilogue lib/ubsan.c:217 [inline] __ubsan_handle_shift_out_of_bounds+0x247/0x270 lib/ubsan.c:387 bch2_sb_dev_has_data+0xba/0x170 fs/bcachefs/replicas.c:1011 bch2_sb_members_to_text+0x11c/0x490 fs/bcachefs/sb-members.c:70 bch2_sb_field_to_text+0xc1/0xf0 fs/bcachefs/super-io.c:1097 bch2_sb_field_validate+0xc0/0x120 fs/bcachefs/super-io.c:1071 bch2_sb_validate+0x2db/0x350 fs/bcachefs/super-io.c:467 bch2_read_super+0x241/0x4a0 fs/bcachefs/super-io.c:782 bch2_fs_open+0xdb/0x1520 fs/bcachefs/super.c:1897 bch2_mount+0x273/0x5b0 fs/bcachefs/fs.c:1829 legacy_get_tree+0x2d/0x60 fs/fs_context.c:638 vfs_get_tree+0x24/0xb0 fs/super.c:1750 do_new_mount+0x153/0x390 fs/namespace.c:3335 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount+0x14b/0x1c0 fs/namespace.c:3861 do_syscall_64+0x46/0xc0 entry_SYSCALL_64_after_hwframe+0x6f/0xd9 RIP: 0033:0x7fdb3da7f46a 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:00007fdb3e899ef8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fdb3e899f80 RCX: 00007fdb3da7f46a RDX: 0000000020011a00 RSI: 0000000020011a40 RDI: 00007fdb3e899f40 RBP: 0000000020011a00 R08: 00007fdb3e899f80 R09: 0000000001200014 R10: 0000000001200014 R11: 0000000000000246 R12: 0000000020011a40 R13: 00007fdb3e899f40 R14: 00000000000119f6 R15: 0000000020000080 ================================================================================