ci starts bisection 2024-05-13 17:40:45.219744199 +0000 UTC m=+43.327513360 bisecting cause commit starting from 75fa778d74b786a1608d55d655d42b480a6fa8bd building syzkaller on 9026e14289eaf45a00ddddb8730f2092b956d99a fetch other tags and check if the commit is present ensuring issue is reproducible on original commit 75fa778d74b786a1608d55d655d42b480a6fa8bd testing commit 75fa778d74b786a1608d55d655d42b480a6fa8bd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4f0edf3ad229c48477f975e7c6796d379cd71027fd9d2f977ad83f7b97a02ff7 all runs: crashed: general protection fault in __bch2_insert_snapshot_whiteouts representative crash: general protection fault in __bch2_insert_snapshot_whiteouts, types: [UNKNOWN] check whether we can drop unnecessary instrumentation disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 75fa778d74b786a1608d55d655d42b480a6fa8bd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: db68f4cf3e27581d5e7727734bb2d51b5051c40218d4b05baaa8e4e9cd8fa991 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in __bch2_insert_snapshot_whiteouts representative crash: BUG: unable to handle kernel NULL pointer dereference in __bch2_insert_snapshot_whiteouts, types: [UNKNOWN] the bug reproduces without the instrumentation disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed kconfig minimization: base=3976 full=8042 leaves diff=2024 split chunks (needed=false): <2024> split chunk #0 of len 2024 into 5 parts testing without sub-chunk 1/5 disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 75fa778d74b786a1608d55d655d42b480a6fa8bd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a4712e23e0d9e4ed51ffd09c33aac20f5951fbcd52a51a74952bcae1197c658d all runs: OK false negative chance: 0.000 testing without sub-chunk 2/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 75fa778d74b786a1608d55d655d42b480a6fa8bd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d63932980d34233f8c807365f208716014bcb436d44084f547e29367e48ebccc all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in __bch2_insert_snapshot_whiteouts representative crash: BUG: unable to handle kernel NULL pointer dereference in __bch2_insert_snapshot_whiteouts, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 75fa778d74b786a1608d55d655d42b480a6fa8bd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bc1d6d4bcb716c32ff2e81f6eb11ce28851b030a2d4525dca9c7d921c85bad09 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in __bch2_insert_snapshot_whiteouts representative crash: BUG: unable to handle kernel NULL pointer dereference in __bch2_insert_snapshot_whiteouts, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 75fa778d74b786a1608d55d655d42b480a6fa8bd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 86210ea3e61fab124651df97b3d3435fe78743bc7da2bf0047980c97402cf581 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in __bch2_insert_snapshot_whiteouts representative crash: BUG: unable to handle kernel NULL pointer dereference in __bch2_insert_snapshot_whiteouts, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 75fa778d74b786a1608d55d655d42b480a6fa8bd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: abdfc3ad356cc82b12917e3263ad5ef0124fa03c78f6eecdccb8290f9e53b7b4 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in __bch2_insert_snapshot_whiteouts representative crash: BUG: unable to handle kernel NULL pointer dereference in __bch2_insert_snapshot_whiteouts, types: [UNKNOWN] the chunk can be dropped minimized to 405 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_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_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 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 DM_UEVENT DM_VERITY DM_VERITY_FEC DM_WRITECACHE 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 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: 745527f9f9596c3b833172ef4ec7ce5333bedc24830eed77a9014dd4bc7884da all runs: OK false negative chance: 0.000 # git bisect start 75fa778d74b786a1608d55d655d42b480a6fa8bd e8f897f4afef0031fe618a8e94127a0934896aba Bisecting: 14009 revisions left to test after this (roughly 14 steps) [4f72ed492d7798919269a20d157d34495a988935] Merge tag 'io_uring-6.9-20240405' of git://git.kernel.dk/linux testing commit 4f72ed492d7798919269a20d157d34495a988935 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c9a3bfcc66a78c699451659dcb327876b1da02cd39976fda3350e3220cf7a6ea all runs: OK false negative chance: 0.000 # git bisect good 4f72ed492d7798919269a20d157d34495a988935 Bisecting: 7812 revisions left to test after this (roughly 13 steps) [880ec7eaae4ec26633174f4ee3f520ec67c9cbe4] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git testing commit 880ec7eaae4ec26633174f4ee3f520ec67c9cbe4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3251f76336f50edff20c45a5a299fb214d61c0aa2a733552c6ba692425f0dfdb all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in __bch2_insert_snapshot_whiteouts representative crash: BUG: unable to handle kernel NULL pointer dereference in __bch2_insert_snapshot_whiteouts, types: [UNKNOWN] # git bisect bad 880ec7eaae4ec26633174f4ee3f520ec67c9cbe4 Bisecting: 2649 revisions left to test after this (roughly 12 steps) [e05196f9f228a6c9556080bc8919e762eaffe95b] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git testing commit e05196f9f228a6c9556080bc8919e762eaffe95b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 15aa419576e7877dd1af3da3f324b9e698bf47937644db5c9a7aaa21851eeb61 all runs: OK false negative chance: 0.000 # git bisect good e05196f9f228a6c9556080bc8919e762eaffe95b Bisecting: 1300 revisions left to test after this (roughly 10 steps) [8be82e3b0dc232561067d97dd1f9a603f23d77ec] Merge branch 'for-next' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git testing commit 8be82e3b0dc232561067d97dd1f9a603f23d77ec gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f76d4b05a887ebf3a571d183b7cd74ab57eab294219f1ef8b51994ff24f61316 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in __bch2_insert_snapshot_whiteouts representative crash: BUG: unable to handle kernel NULL pointer dereference in __bch2_insert_snapshot_whiteouts, types: [UNKNOWN] # git bisect bad 8be82e3b0dc232561067d97dd1f9a603f23d77ec Bisecting: 744 revisions left to test after this (roughly 9 steps) [b1cacc5da3ac37d71768baf5476f3f1204ddcc0e] Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux.git testing commit b1cacc5da3ac37d71768baf5476f3f1204ddcc0e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b3e4877681e3a32afa7b9001b312a724236ab8f6adcdfce32a8b41696666142f all runs: OK false negative chance: 0.000 # git bisect good b1cacc5da3ac37d71768baf5476f3f1204ddcc0e Bisecting: 360 revisions left to test after this (roughly 9 steps) [46125dbc486c4554eeebed1d168287fdf314af8c] Merge branch 'dev' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git testing commit 46125dbc486c4554eeebed1d168287fdf314af8c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a2fe389681c6e1148687a8f9186e2caed9c0db955b9131ab3ff99df1b259d517 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in __bch2_insert_snapshot_whiteouts representative crash: BUG: unable to handle kernel NULL pointer dereference in __bch2_insert_snapshot_whiteouts, types: [UNKNOWN] # git bisect bad 46125dbc486c4554eeebed1d168287fdf314af8c Bisecting: 225 revisions left to test after this (roughly 8 steps) [79bb3f6c56b76024c0071bda7d958e089ab0d114] Merge branch 'for-next' of git://git.kernel.org/pub/scm/fs/fscrypt/linux.git testing commit 79bb3f6c56b76024c0071bda7d958e089ab0d114 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 101242d474caa864c86066abc674f4983b5e413f0f04e2e609b834c6f5919b58 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in __bch2_insert_snapshot_whiteouts representative crash: BUG: unable to handle kernel NULL pointer dereference in __bch2_insert_snapshot_whiteouts, types: [UNKNOWN] # git bisect bad 79bb3f6c56b76024c0071bda7d958e089ab0d114 Bisecting: 78 revisions left to test after this (roughly 6 steps) [83c38e3ef8214cb5b80c113ac39e855548f79a44] bcachefs: check inode backpointer in bch2_lookup() testing commit 83c38e3ef8214cb5b80c113ac39e855548f79a44 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1af5fb9c13d3c541f93c42882ccfafbb102e0f4fe0ff520bed93a2871772736b all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in __bch2_insert_snapshot_whiteouts representative crash: BUG: unable to handle kernel NULL pointer dereference in __bch2_insert_snapshot_whiteouts, types: [UNKNOWN] # git bisect bad 83c38e3ef8214cb5b80c113ac39e855548f79a44 Bisecting: 39 revisions left to test after this (roughly 5 steps) [b7f10636d51a8f07fdf569c2de5cbfabae549c91] bcachefs: prefer drop_locks_do() testing commit b7f10636d51a8f07fdf569c2de5cbfabae549c91 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a7fd05135be65c1b6ebc830aed616e2c01a6b6d48e36a32a26b11a0b03841881 all runs: OK false negative chance: 0.000 # git bisect good b7f10636d51a8f07fdf569c2de5cbfabae549c91 Bisecting: 19 revisions left to test after this (roughly 4 steps) [5147b9ae768758982b196d1b259e6372e328955e] bcachefs: Btree key cache instrumentation testing commit 5147b9ae768758982b196d1b259e6372e328955e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a6f95cdf29d4a84438d87b4c0a11b20ab3d436bf366af7ebee4c5021679483d2 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in __bch2_insert_snapshot_whiteouts representative crash: BUG: unable to handle kernel NULL pointer dereference in __bch2_insert_snapshot_whiteouts, types: [UNKNOWN] # git bisect bad 5147b9ae768758982b196d1b259e6372e328955e Bisecting: 9 revisions left to test after this (roughly 3 steps) [feb255537d1e67ec7e08104683658dc5106457fe] bcachefs: assert that online_reserved == 0 on shutdown testing commit feb255537d1e67ec7e08104683658dc5106457fe gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9371705e536c82a067f5b5bf3d8bf380c3832a43ca098c9b97d66358cfa61839 all runs: OK false negative chance: 0.000 # git bisect good feb255537d1e67ec7e08104683658dc5106457fe Bisecting: 4 revisions left to test after this (roughly 2 steps) [f7643bc9749f270d487c32dc35b578575bf1adb0] bcachefs: make btree read errors silent during scan testing commit f7643bc9749f270d487c32dc35b578575bf1adb0 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 26e38acb02a70bb21e4d5acd8328ab07eb5040c2d167f1aaf92f3c2a76e5bb6a all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in __bch2_insert_snapshot_whiteouts representative crash: BUG: unable to handle kernel NULL pointer dereference in __bch2_insert_snapshot_whiteouts, types: [UNKNOWN] # git bisect bad f7643bc9749f270d487c32dc35b578575bf1adb0 Bisecting: 2 revisions left to test after this (roughly 1 step) [60f2b1bcf519416dbffee219132aa949d0c39d0e] bcachefs: Add asserts to bch2_dev_btree_bitmap_marked_sectors() testing commit 60f2b1bcf519416dbffee219132aa949d0c39d0e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 26d21c37e7bd5d03cd984f7795547be84c01fd49d932bf47e1241e87a3860f36 all runs: OK false negative chance: 0.000 # git bisect good 60f2b1bcf519416dbffee219132aa949d0c39d0e Bisecting: 0 revisions left to test after this (roughly 1 step) [5a2d15213d3187ed3b059a2ec8865aa9172fd3a2] bcachefs: Rip bch2_snapshot_equiv() out of fsck testing commit 5a2d15213d3187ed3b059a2ec8865aa9172fd3a2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e99913171dfb52f8dff51ea87315cee34bc4f4b5c81444ec384a0b456dad7d17 all runs: OK false negative chance: 0.000 # git bisect good 5a2d15213d3187ed3b059a2ec8865aa9172fd3a2 f7643bc9749f270d487c32dc35b578575bf1adb0 is the first bad commit commit f7643bc9749f270d487c32dc35b578575bf1adb0 Author: Kent Overstreet Date: Wed Apr 17 01:26:02 2024 -0400 bcachefs: make btree read errors silent during scan Signed-off-by: Kent Overstreet fs/bcachefs/btree_io.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) accumulated error probability: 0.00 culprit signature: 26e38acb02a70bb21e4d5acd8328ab07eb5040c2d167f1aaf92f3c2a76e5bb6a parent signature: e99913171dfb52f8dff51ea87315cee34bc4f4b5c81444ec384a0b456dad7d17 revisions tested: 22, total time: 8h3m48.129500898s (build: 3h32m14.98861315s, test: 1h56m58.690830509s) first bad commit: f7643bc9749f270d487c32dc35b578575bf1adb0 bcachefs: make btree read errors silent during scan 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: BUG: unable to handle kernel NULL pointer dereference in __bch2_insert_snapshot_whiteouts bcachefs (loop0): snapshots_read... done bcachefs (loop0): journal_replay... done bcachefs (loop0): resume_logged_ops... done bcachefs (loop0): going read-write bcachefs (loop0): done starting filesystem BUG: kernel NULL pointer dereference, address: 0000000000000018 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 800000010abee067 P4D 800000010abee067 PUD 10abb6067 PMD 0 Oops: 0000 [#1] PREEMPT SMP PTI CPU: 1 PID: 2376 Comm: syz-executor.0 Not tainted 6.9.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:bch2_snapshot_has_children fs/bcachefs/snapshot.h:183 [inline] RIP: 0010:__bch2_insert_snapshot_whiteouts+0x1c5/0x5b0 fs/bcachefs/btree_update.c:135 Code: 08 49 8b 8e a8 09 00 00 b8 00 00 00 00 48 85 c9 74 18 44 89 e2 f7 d2 48 6b f2 38 31 c0 48 39 51 10 48 8d 4c 31 18 48 0f 47 c1 <8b> 58 18 8b 68 14 e8 40 44 90 ff 48 c7 c7 50 ec b7 83 4c 89 fe e8 RSP: 0018:ffffc900025a33b8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8881053a26a0 RCX: 0000000000000000 RDX: 87cf32debf1ee1e9 RSI: ffffffff8353b756 RDI: ffffffff835e7e9f RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 00000000ffffffff R13: ffffc900025a3718 R14: ffff88810b300000 R15: ffffffff8192dc35 FS: 00007ff8228796c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000018 CR3: 0000000103714000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bch2_insert_snapshot_whiteouts fs/bcachefs/btree_update.h:95 [inline] bch2_trans_update_extent_overwrite+0x771/0xe20 fs/bcachefs/btree_update.c:218 bch2_trans_update_extent fs/bcachefs/btree_update.c:318 [inline] bch2_trans_update+0x3d5/0x660 fs/bcachefs/btree_update.c:514 bch2_extent_update+0x117/0x1f0 fs/bcachefs/io_write.c:325 bch2_write_index_default fs/bcachefs/io_write.c:374 [inline] __bch2_write_index+0x4b4/0x790 fs/bcachefs/io_write.c:528 bch2_write_data_inline fs/bcachefs/io_write.c:1552 [inline] bch2_write+0x479/0x4d0 fs/bcachefs/io_write.c:1620 closure_queue include/linux/closure.h:257 [inline] closure_call include/linux/closure.h:390 [inline] bch2_writepage_do_io fs/bcachefs/fs-io-buffered.c:468 [inline] bch2_writepages+0x109/0x150 fs/bcachefs/fs-io-buffered.c:660 do_writepages+0xd9/0x300 mm/page-writeback.c:2612 filemap_fdatawrite_wbc+0x60/0x80 mm/filemap.c:397 __filemap_fdatawrite_range mm/filemap.c:430 [inline] file_write_and_wait_range+0x86/0xf0 mm/filemap.c:788 bch2_fsync+0x1e/0x60 fs/bcachefs/fs-io.c:197 generic_write_sync include/linux/fs.h:2795 [inline] bch2_buffered_write fs/bcachefs/fs-io-buffered.c:1136 [inline] bch2_write_iter+0x11a0/0x1370 fs/bcachefs/fs-io-buffered.c:1144 call_write_iter include/linux/fs.h:2110 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0x3c6/0x480 fs/read_write.c:590 ksys_write+0x70/0xe0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x8f/0x1a0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff821a7dd69 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007ff8228790c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007ff821babf80 RCX: 00007ff821a7dd69 RDX: 000000000000000b RSI: 0000000020000680 RDI: 0000000000000004 RBP: 00007ff821aca49e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007ff821babf80 R15: 00007fffa1b6fa08 Modules linked in: CR2: 0000000000000018 ---[ end trace 0000000000000000 ]--- RIP: 0010:bch2_snapshot_has_children fs/bcachefs/snapshot.h:183 [inline] RIP: 0010:__bch2_insert_snapshot_whiteouts+0x1c5/0x5b0 fs/bcachefs/btree_update.c:135 Code: 08 49 8b 8e a8 09 00 00 b8 00 00 00 00 48 85 c9 74 18 44 89 e2 f7 d2 48 6b f2 38 31 c0 48 39 51 10 48 8d 4c 31 18 48 0f 47 c1 <8b> 58 18 8b 68 14 e8 40 44 90 ff 48 c7 c7 50 ec b7 83 4c 89 fe e8 RSP: 0018:ffffc900025a33b8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8881053a26a0 RCX: 0000000000000000 RDX: 87cf32debf1ee1e9 RSI: ffffffff8353b756 RDI: ffffffff835e7e9f RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 00000000ffffffff R13: ffffc900025a3718 R14: ffff88810b300000 R15: ffffffff8192dc35 FS: 00007ff8228796c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000018 CR3: 0000000103714000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 08 49 8b or %cl,-0x75(%rcx) 3: 8e a8 09 00 00 b8 mov -0x47fffff7(%rax),%gs 9: 00 00 add %al,(%rax) b: 00 00 add %al,(%rax) d: 48 85 c9 test %rcx,%rcx 10: 74 18 je 0x2a 12: 44 89 e2 mov %r12d,%edx 15: f7 d2 not %edx 17: 48 6b f2 38 imul $0x38,%rdx,%rsi 1b: 31 c0 xor %eax,%eax 1d: 48 39 51 10 cmp %rdx,0x10(%rcx) 21: 48 8d 4c 31 18 lea 0x18(%rcx,%rsi,1),%rcx 26: 48 0f 47 c1 cmova %rcx,%rax * 2a: 8b 58 18 mov 0x18(%rax),%ebx <-- trapping instruction 2d: 8b 68 14 mov 0x14(%rax),%ebp 30: e8 40 44 90 ff call 0xff904475 35: 48 c7 c7 50 ec b7 83 mov $0xffffffff83b7ec50,%rdi 3c: 4c 89 fe mov %r15,%rsi 3f: e8 .byte 0xe8