ci2 starts bisection 2024-05-05 21:01:34.633716615 +0000 UTC m=+160291.192900290 bisecting cause commit starting from 7367539ad4b0f8f9b396baf02110962333719a48 building syzkaller on 610f2a54d02f8cf4f2454c03bf679b602e6e59b6 ensuring issue is reproducible on original commit 7367539ad4b0f8f9b396baf02110962333719a48 testing commit 7367539ad4b0f8f9b396baf02110962333719a48 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3c6fedaf9852310be49f4f80b9a3ba3b156db0ecfe8c1f649b73bd90b12a240b all runs: crashed: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text representative crash: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text, types: [KASAN] check whether we can drop unnecessary instrumentation disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 7367539ad4b0f8f9b396baf02110962333719a48 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ad6dcb91ccec844fccaa3fcdc9c06531b1a51533fb424d72f5648596b5d4cebf all runs: crashed: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text representative crash: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text, types: [KASAN] the bug reproduces without the instrumentation disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], 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 [LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 7367539ad4b0f8f9b396baf02110962333719a48 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c319505bfb788235e1d1f0ef48da8482590c1e936939c50fbb1719d4bf32d538 all runs: OK false negative chance: 0.000 testing without sub-chunk 2/5 disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 7367539ad4b0f8f9b396baf02110962333719a48 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0865b092497f8d71efa9bfe7c66b14fcb61ee0afedc9494c7ee6a9f9ca73c63f all runs: crashed: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text representative crash: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text, types: [KASAN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 7367539ad4b0f8f9b396baf02110962333719a48 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2a960608475d1bcdd11c5f9a97c522348033bbafdf0eac03e7df2100585dbf93 all runs: crashed: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text representative crash: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text, types: [KASAN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed testing commit 7367539ad4b0f8f9b396baf02110962333719a48 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2bb7ec6ee6dfd57aa08eaf4f3da0a24512ff41922332d2dfc9632bc2340d5eda all runs: crashed: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text representative crash: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text, types: [KASAN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 7367539ad4b0f8f9b396baf02110962333719a48 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c0659dcf219ddfb31906770f837491053f1f87001145f55349fa0443122c016e all runs: crashed: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text representative crash: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text, types: [KASAN] 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 [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], 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: e3dc7712a699ae2fa38a014f8db961657ce8b112a228e22bb78f06a28e4fd1d1 all runs: crashed: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text representative crash: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text, types: [KASAN] 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: b99610b33b3a7668c74ae6591702cbbad5b5777f6823ffeff905010a0fb25df8 all runs: crashed: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text representative crash: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text, types: [KASAN] 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: 67f6b6e418a32628573ce3bb78ab6b9a46afc46b601edc92d5d68923e62a6d07 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: 7115b703a515ce069468697cc6ec640d5908c0eb3dc7f9de9b0fe666b117d7a5 all runs: crashed: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text representative crash: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text, types: [KASAN] # 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: 68f31cd38f0731b658dba8722321ba16694d0f008ce6bd3b5d1d0022fcf1c814 all runs: crashed: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text representative crash: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text, types: [KASAN] # 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: 21703120e0f669b24aa575656161a382517cb09ed2a8c4f8f5a6f7e4d9daa91b 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: 56d31a5307204400ee75f0635fc08da70900e521ab8b93054bd0890f10c9ff47 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: 555c050ae7dc0fdae82ac5913a412fac1d16c0f610f5ae58ad0212614d089542 all runs: OK false negative chance: 0.000 # git bisect good e6375481c9efb765687cc4d6c1396b335c3d5ef1 Bisecting: 573 revisions left to test after this (roughly 9 steps) [9e87705289667a6c5185c619ea32f3d39314eb1b] Merge tag 'bcachefs-2023-10-30' of https://evilpiepirate.org/git/bcachefs testing commit 9e87705289667a6c5185c619ea32f3d39314eb1b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8ee01413ff604a89a17f9c3f80c712c81a4977b16c646d7a2f76bcf26ec46b8c all runs: crashed: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text representative crash: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text, types: [KASAN] # git bisect bad 9e87705289667a6c5185c619ea32f3d39314eb1b Bisecting: 293 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: a847c39aeab80f65161a8a0cf8faab5d0076ffe129c2a4cb68cacba540b764f5 all runs: OK false negative chance: 0.000 # git bisect good 8b16da681eb0c9b9cb2f9abd0dade67559cfb48d Bisecting: 146 revisions left to test after this (roughly 7 steps) [5ca1949b79f3b02215f1c075bf178fceeadda352] btrfs: remove pointless barrier from btrfs_sync_file() testing commit 5ca1949b79f3b02215f1c075bf178fceeadda352 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 81b65699001d4f65572ca367b5032b05272eaeabd033b3453fb896f7e810a566 all runs: OK false negative chance: 0.000 # git bisect good 5ca1949b79f3b02215f1c075bf178fceeadda352 Bisecting: 72 revisions left to test after this (roughly 6 steps) [301e0237cadfc7c446e16eab6df38073ade3631d] bcachefs: chardev: return -EFAULT if copy_to_user() fails testing commit 301e0237cadfc7c446e16eab6df38073ade3631d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: da4677a92a21f6fa928223c22d0d4647a88d4e272691c293fd4ee77b04edd5fa all runs: OK false negative chance: 0.000 # git bisect good 301e0237cadfc7c446e16eab6df38073ade3631d Bisecting: 36 revisions left to test after this (roughly 5 steps) [3c40841cdcf374d661ff14e7a707681342565166] bcachefs: fix crc32c checksum merge byte order problem testing commit 3c40841cdcf374d661ff14e7a707681342565166 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 78c5ca199823c2bedc58c61b7d3be97ab50417fb0ff622cb3ec8dff134dc0ea6 all runs: crashed: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text representative crash: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text, types: [KASAN] # git bisect bad 3c40841cdcf374d661ff14e7a707681342565166 Bisecting: 17 revisions left to test after this (roughly 4 steps) [d04fdf5c1017b9ebfd45efbcc2c8cd95f7f4e30d] bcachefs: snapshots: Use kvfree_rcu_mightsleep() testing commit d04fdf5c1017b9ebfd45efbcc2c8cd95f7f4e30d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9524e9d477705d5e7ec5b9b85d2d901c42923b66c8abfa359d3b8baad932527f all runs: OK false negative chance: 0.000 # git bisect good d04fdf5c1017b9ebfd45efbcc2c8cd95f7f4e30d Bisecting: 8 revisions left to test after this (roughly 3 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: bf4bc675f71ac17ac9d6af6fbe45796b0e0d1736a08280b93450ae4c609c9051 all runs: crashed: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text representative crash: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text, types: [KASAN] # git bisect bad 793a06d984511593c6375d219b38cc84f5a71aff Bisecting: 3 revisions left to test after this (roughly 2 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: a0b1c0c0ee9e83b425f748e2a414be0b8e55d091aca59b637cbfa6a84b148d16 all runs: OK false negative chance: 0.000 # git bisect good 82142a5541063addd15c84fcda890675035df8aa 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: 8453918f7787a7bb1a4aece531e8268179221bf426e839a6119acccac606d584 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: e4164ba10473d92eb13da8e8ef0bbfbb0cba84386effe90304189b3cc1a666f4 all runs: crashed: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text representative crash: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text, types: [KASAN] # 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: e4164ba10473d92eb13da8e8ef0bbfbb0cba84386effe90304189b3cc1a666f4 parent signature: 8453918f7787a7bb1a4aece531e8268179221bf426e839a6119acccac606d584 revisions tested: 25, total time: 7h13m46.025699327s (build: 2h34m39.390949283s, test: 4h24m25.912055484s) first bad commit: 03ef80b469d5d83530ce1ce15be78a40e5300f9b bcachefs: Ignore unknown mount options recipients (to): ["kent.overstreet@linux.dev"] recipients (cc): [] crash: KASAN: slab-out-of-bounds Read in bch2_sb_clean_to_text loop0: detected capacity change from 0 to 32768 ================================================================== BUG: KASAN: slab-out-of-bounds in bch2_sb_clean_to_text+0x139/0x1d0 fs/bcachefs/sb-clean.c:307 Read of size 1 at addr ffff888179486004 by task syz-executor.0/2363 CPU: 0 PID: 2363 Comm: syz-executor.0 Not tainted 6.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xf8/0x260 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:364 [inline] print_report+0x167/0x540 mm/kasan/report.c:475 kasan_report+0x175/0x1b0 mm/kasan/report.c:588 bch2_sb_clean_to_text+0x139/0x1d0 fs/bcachefs/sb-clean.c:307 bch2_sb_field_to_text+0x162/0x200 fs/bcachefs/super-io.c:1097 bch2_sb_field_validate+0x1b5/0x270 fs/bcachefs/super-io.c:1071 bch2_sb_validate+0x73d/0x910 fs/bcachefs/super-io.c:475 bch2_read_super+0x7be/0x1350 fs/bcachefs/super-io.c:782 bch2_fs_open+0x1c5/0x2bb0 fs/bcachefs/super.c:1897 bch2_mount+0x564/0x1120 fs/bcachefs/fs.c:1829 legacy_get_tree+0xe9/0x180 fs/fs_context.c:638 vfs_get_tree+0x82/0x190 fs/super.c:1750 do_new_mount+0x1e5/0x930 fs/namespace.c:3335 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount+0x242/0x2e0 fs/namespace.c:3861 do_syscall_64+0x46/0xc0 entry_SYSCALL_64_after_hwframe+0x6f/0xd9 RIP: 0033:0x7fd98087f3aa 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:00007fd98155aef8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fd98155af80 RCX: 00007fd98087f3aa RDX: 0000000020011a00 RSI: 0000000020011a40 RDI: 00007fd98155af40 RBP: 0000000020011a00 R08: 00007fd98155af80 R09: 0000000003004000 R10: 0000000003004000 R11: 0000000000000246 R12: 0000000020011a40 R13: 00007fd98155af40 R14: 0000000000011a04 R15: 0000000020000040 Allocated by task 2363: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4f/0x80 mm/kasan/common.c:52 ____kasan_kmalloc mm/kasan/common.c:374 [inline] __kasan_kmalloc+0x98/0xb0 mm/kasan/common.c:383 kasan_kmalloc include/linux/kasan.h:198 [inline] __do_kmalloc_node mm/slab_common.c:1023 [inline] __kmalloc_node_track_caller+0xab/0x1d0 mm/slab_common.c:1043 __do_krealloc mm/slab_common.c:1411 [inline] krealloc+0x7d/0x120 mm/slab_common.c:1444 bch2_sb_realloc+0x1bd/0x370 fs/bcachefs/super-io.c:204 read_one_super+0x6c2/0xd90 fs/bcachefs/super-io.c:633 bch2_read_super+0x625/0x1350 fs/bcachefs/super-io.c:715 bch2_fs_open+0x1c5/0x2bb0 fs/bcachefs/super.c:1897 bch2_mount+0x564/0x1120 fs/bcachefs/fs.c:1829 legacy_get_tree+0xe9/0x180 fs/fs_context.c:638 vfs_get_tree+0x82/0x190 fs/super.c:1750 do_new_mount+0x1e5/0x930 fs/namespace.c:3335 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount+0x242/0x2e0 fs/namespace.c:3861 do_syscall_64+0x46/0xc0 entry_SYSCALL_64_after_hwframe+0x6f/0xd9 The buggy address belongs to the object at ffff888179484000 which belongs to the cache kmalloc-8k of size 8192 The buggy address is located 4 bytes to the right of allocated 8192-byte region [ffff888179484000, ffff888179486000) The buggy address belongs to the physical page: page:ffffea0005e52000 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x179480 head:ffffea0005e52000 order:3 entire_mapcount:0 nr_pages_mapped:0 pincount:0 anon flags: 0x100000000000840(slab|head|node=0|zone=2) page_type: 0xffffffff() raw: 0100000000000840 ffff888100042280 ffffea0005e4b200 0000000000000003 raw: 0000000000000000 0000000080020002 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd2040(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1442, tgid 1442 (sh), ts 23922127046, free_ts 23894025301 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x10f/0x130 mm/page_alloc.c:1536 prep_new_page mm/page_alloc.c:1543 [inline] get_page_from_freelist+0x3baa/0x3db0 mm/page_alloc.c:3170 __alloc_pages+0x255/0x650 mm/page_alloc.c:4426 alloc_slab_page+0x6a/0x170 mm/slub.c:1870 allocate_slab mm/slub.c:2017 [inline] new_slab+0x70/0x270 mm/slub.c:2070 ___slab_alloc+0x834/0xd60 mm/slub.c:3223 __slab_alloc mm/slub.c:3322 [inline] __slab_alloc_node mm/slub.c:3375 [inline] slab_alloc_node mm/slub.c:3468 [inline] __kmem_cache_alloc_node+0x1aa/0x260 mm/slub.c:3517 kmalloc_trace+0x2a/0xc0 mm/slab_common.c:1114 kmalloc include/linux/slab.h:599 [inline] kzalloc include/linux/slab.h:720 [inline] tomoyo_print_bprm security/tomoyo/audit.c:26 [inline] tomoyo_init_log+0x1081/0x1fb0 security/tomoyo/audit.c:264 tomoyo_supervisor+0x316/0xfb0 security/tomoyo/common.c:2089 tomoyo_audit_env_log security/tomoyo/environ.c:36 [inline] tomoyo_env_perm+0x131/0x1f0 security/tomoyo/environ.c:63 tomoyo_environ security/tomoyo/domain.c:672 [inline] tomoyo_find_next_domain+0xf49/0x1700 security/tomoyo/domain.c:878 tomoyo_bprm_check_security+0xd4/0x100 security/tomoyo/tomoyo.c:101 security_bprm_check+0x2a/0x80 security/security.c:1103 search_binary_handler fs/exec.c:1727 [inline] exec_binprm fs/exec.c:1781 [inline] bprm_execve+0x75e/0x11b0 fs/exec.c:1856 do_execveat_common+0x44f/0x620 fs/exec.c:1964 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1136 [inline] free_unref_page_prepare+0x7bd/0x8e0 mm/page_alloc.c:2312 free_unref_page+0x37/0x3c0 mm/page_alloc.c:2405 discard_slab mm/slub.c:2116 [inline] __unfreeze_partials+0x1b1/0x200 mm/slub.c:2655 put_cpu_partial+0xdc/0x120 mm/slub.c:2731 __slab_free+0x26f/0x330 mm/slub.c:3679 qlist_free_all+0x22/0x70 mm/kasan/quarantine.c:185 kasan_quarantine_reduce+0x15b/0x180 mm/kasan/quarantine.c:292 __kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:305 kasan_slab_alloc include/linux/kasan.h:188 [inline] slab_post_alloc_hook+0x67/0x3d0 mm/slab.h:762 slab_alloc_node mm/slub.c:3478 [inline] __kmem_cache_alloc_node+0x141/0x260 mm/slub.c:3517 kmalloc_trace+0x2a/0xc0 mm/slab_common.c:1114 kmalloc include/linux/slab.h:599 [inline] tomoyo_print_header security/tomoyo/audit.c:156 [inline] tomoyo_init_log+0x1d2/0x1fb0 security/tomoyo/audit.c:255 tomoyo_supervisor+0x316/0xfb0 security/tomoyo/common.c:2089 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_check_open_permission+0x3f1/0x920 security/tomoyo/file.c:777 security_file_open+0x2a/0x90 security/security.c:2836 do_dentry_open+0x2e6/0x1030 fs/open.c:916 Memory state around the buggy address: ffff888179485f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888179485f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888179486000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff888179486080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888179486100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================