ci2 starts bisection 2025-04-04 09:23:14.982656584 +0000 UTC m=+36.393669531 bisecting cause commit starting from a2cc6ff5ec8f91bc463fd3b0c26b61166a07eb11 building syzkaller on d7ae3a111bd75df44dda69b37da945b50d5133e2 ensuring issue is reproducible on original commit a2cc6ff5ec8f91bc463fd3b0c26b61166a07eb11 testing commit a2cc6ff5ec8f91bc463fd3b0c26b61166a07eb11 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a6b896225fdd2e366121467e17fe5343c252433b29f2c6ece90ef0a9b1a0cbf3 all runs: crashed: general protection fault in bch2_snapshot_tree_oldest_subvol representative crash: general protection fault in bch2_snapshot_tree_oldest_subvol, types: [UNKNOWN] check whether we can drop unnecessary instrumentation disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit a2cc6ff5ec8f91bc463fd3b0c26b61166a07eb11 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1ff33224fe8a80f7300d2950d776d9671f28bf750ced5f0a8ed89379e0251666 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bch2_snapshot_tree_oldest_subvol representative crash: BUG: unable to handle kernel NULL pointer dereference in bch2_snapshot_tree_oldest_subvol, types: [UNKNOWN] the bug reproduces without the instrumentation disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed kconfig minimization: base=4071 full=8315 leaves diff=2128 split chunks (needed=false): <2128> split chunk #0 of len 2128 into 5 parts testing without sub-chunk 1/5 disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit a2cc6ff5ec8f91bc463fd3b0c26b61166a07eb11 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1c02fd73dc775d2ee83ab6de4f81417c4fb4e3f31a2f291afc25bda616d80144 all runs: OK false negative chance: 0.000 testing without sub-chunk 2/5 disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit a2cc6ff5ec8f91bc463fd3b0c26b61166a07eb11 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c2d298c546f5234dcabca1d19155a24b9cf8ec655f16ca958d3d7ea256fcc6b4 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bch2_snapshot_tree_oldest_subvol representative crash: BUG: unable to handle kernel NULL pointer dereference in bch2_snapshot_tree_oldest_subvol, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit a2cc6ff5ec8f91bc463fd3b0c26b61166a07eb11 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 32ea9f9231201dc4677d804a98870321d8531729306fb5b10f14a63df8d1e05d all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bch2_snapshot_tree_oldest_subvol representative crash: BUG: unable to handle kernel NULL pointer dereference in bch2_snapshot_tree_oldest_subvol, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit a2cc6ff5ec8f91bc463fd3b0c26b61166a07eb11 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6a73faaf683e6a6921a88ad9750a323925b3140b218f28006f7c2207747437e6 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bch2_snapshot_tree_oldest_subvol representative crash: BUG: unable to handle kernel NULL pointer dereference in bch2_snapshot_tree_oldest_subvol, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit a2cc6ff5ec8f91bc463fd3b0c26b61166a07eb11 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6bf4657785c72369da6e97cdce4b46d7dc438acc53296850da27213f92ee8a9a all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bch2_snapshot_tree_oldest_subvol representative crash: BUG: unable to handle kernel NULL pointer dereference in bch2_snapshot_tree_oldest_subvol, types: [UNKNOWN] the chunk can be dropped minimized to 426 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 ADFS_FS AFFS_FS AFS_FS AFS_FSCACHE AF_KCM AF_RXRPC AF_RXRPC_IPV6 AIX_PARTITION AMD_SFH_HID AMIGA_PARTITION ANDROID_BINDER_IPC ANON_VMA_NAME APERTURE_HELPERS APPLE_MFI_FASTCHARGE AR5523 ARCH_ENABLE_MEMORY_HOTREMOVE ARCH_ENABLE_THP_MIGRATION ARCH_HAS_USER_SHADOW_STACK ARCH_SUPPORTS_HUGE_PFNMAP ARCH_SUPPORTS_PMD_PFNMAP ARCH_SUPPORTS_PUD_PFNMAP ARCH_WANT_PMD_MKWRITE ASM_MODVERSIONS ASUS_TF103C_DOCK ASYNC_CORE ASYNC_MEMCPY ASYNC_PQ ASYNC_RAID6_RECOV ASYNC_TX_DMA ASYNC_XOR ATARI_PARTITION ATA_GENERIC ATA_OVER_ETH ATH10K ATH10K_CE ATH10K_LEDS ATH10K_PCI ATH10K_USB ATH11K ATH6KL ATH6KL_USB ATH9K ATH9K_AHB ATH9K_BTCOEX_SUPPORT ATH9K_CHANNEL_CONTEXT ATH9K_COMMON ATH9K_COMMON_DEBUG ATH9K_COMMON_SPECTRAL ATH9K_DEBUGFS ATH9K_DYNACK ATH9K_HTC ATH9K_HTC_DEBUGFS ATH9K_HW ATH9K_PCI ATH9K_PCOEM ATH9K_RFKILL ATH_COMMON ATM ATM_BR2684 ATM_CLIP ATM_DRIVERS ATM_LANE ATM_MPOA ATM_TCP AUXILIARY_BUS AX25 AX25_DAMA_SLAVE AX88796B_PHY BAREUDP BATMAN_ADV BATMAN_ADV_BATMAN_V BATMAN_ADV_BLA BATMAN_ADV_DAT BATMAN_ADV_MCAST BATMAN_ADV_NC BCACHE BCACHEFS_DEBUG BCACHEFS_ERASURE_CODING BCACHEFS_FS BCACHEFS_POSIX_ACL BCACHEFS_QUOTA BCACHEFS_SIX_OPTIMISTIC_SPIN BCMA BCMA_HOST_PCI_POSSIBLE BEFS_FS BFQ_CGROUP_DEBUG BFQ_GROUP_IOSCHED BFS_FS BIG_KEYS BLK_CGROUP_PUNT_BIO BLK_CGROUP_RWSTAT BLK_DEV_BSGLIB BLK_DEV_INTEGRITY BLK_DEV_NBD BLK_DEV_NULL_BLK BLK_DEV_NULL_BLK_FAULT_INJECTION BLK_DEV_NVME BLK_DEV_PMEM BLK_DEV_RAM BLK_DEV_RNBD BLK_DEV_RNBD_CLIENT BLK_DEV_THROTTLING BLK_DEV_ZONED BLK_ICQ BLK_INLINE_ENCRYPTION BLK_INLINE_ENCRYPTION_FALLBACK BLK_WBT BLK_WBT_MQ BONDING BOOT_VESA_SUPPORT BPF_EVENTS BPF_JIT BPF_JIT_ALWAYS_ON BPF_JIT_DEFAULT_ON BPF_LSM BPF_PRELOAD BPF_PRELOAD_UMD BPF_STREAM_PARSER BPF_SYSCALL BPQETHER BRIDGE BRIDGE_CFM BRIDGE_EBT_802_3 BRIDGE_EBT_AMONG BRIDGE_EBT_ARP BRIDGE_EBT_ARPREPLY BRIDGE_EBT_BROUTE BRIDGE_EBT_DNAT BRIDGE_EBT_IP BRIDGE_EBT_IP6 BRIDGE_EBT_LIMIT BRIDGE_EBT_LOG BRIDGE_EBT_MARK BRIDGE_EBT_MARK_T BRIDGE_EBT_NFLOG BRIDGE_EBT_PKTTYPE BRIDGE_EBT_REDIRECT BRIDGE_EBT_SNAT BRIDGE_EBT_STP BRIDGE_EBT_T_FILTER BRIDGE_EBT_T_NAT BRIDGE_EBT_VLAN BRIDGE_IGMP_SNOOPING BRIDGE_MRP BRIDGE_NF_EBTABLES BRIDGE_NF_EBTABLES_LEGACY BRIDGE_VLAN_FILTERING BSD_DISKLABEL BSD_PROCESS_ACCT_V3 BT BTRFS_ASSERT BTRFS_FS BTRFS_FS_POSIX_ACL BTRFS_FS_REF_VERIFY BTT BT_6LOWPAN BT_ATH3K BT_BCM BT_BNEP BT_BNEP_MC_FILTER BT_BNEP_PROTO_FILTER BT_BREDR BT_HCIBCM203X BT_HCIBFUSB BT_HCIBPA10X BT_HCIBTUSB BT_HCIBTUSB_AUTOSUSPEND BT_HCIBTUSB_BCM BT_HCIBTUSB_MTK BT_HCIBTUSB_POLL_SYNC BT_HCIBTUSB_RTL BT_HCIUART BT_HCIUART_3WIRE BT_HCIUART_AG6XX BT_HCIUART_BCSP BT_HCIUART_H4 BT_HCIUART_LL BT_HCIUART_MRVL BT_HCIUART_QCA BT_HCIUART_SERDEV BT_HCIVHCI BT_INTEL BT_LE BT_LEDS BT_LE_L2CAP_ECRED BT_MRVL BT_MRVL_SDIO BT_MSFTEXT BT_MTK BT_MTKSDIO BT_MTKUART BT_QCA BT_RFCOMM BT_RFCOMM_TTY BT_RTL CACHEFILES CAIF CAIF_DEBUG CAIF_DRIVERS CAIF_NETDEV CAIF_TTY CAIF_USB CAIF_VIRTIO CAN CAN_8DEV_USB CAN_BCM CAN_CALC_BITTIMING CAN_DEV CAN_EMS_USB CAN_ESD_USB CAN_ETAS_ES58X CAN_F81604 CAN_GS_USB CAN_GW CAN_IFI_CANFD CAN_ISOTP CAN_J1939 CAN_KVASER_USB CAN_MCBA_USB CAN_NETLINK CAN_PEAK_USB CAN_RAW CAN_RX_OFFLOAD CAN_SLCAN CAN_UCAN CAN_VCAN CAN_VXCAN CARL9170 CARL9170_HWRNG CARL9170_LEDS CARL9170_WPC CEC_CORE CEPH_FS CEPH_FSCACHE CEPH_FS_POSIX_ACL CEPH_LIB CEPH_LIB_USE_DNS_RESOLVER CFG80211 CFG80211_CRDA_SUPPORT CFG80211_DEBUGFS CFG80211_DEFAULT_PS CFG80211_REQUIRE_SIGNED_REGDB CFG80211_USE_KERNEL_REGDB_KEYS CFG80211_WEXT CFS_BANDWIDTH CGROUP_BPF CHARGER_ISP1704 CHR_DEV_ST CIFS CIFS_ALLOW_INSECURE_LEGACY CIFS_DEBUG CIFS_DFS_UPCALL CIFS_FSCACHE CIFS_POSIX CIFS_SMB_DIRECT CIFS_SWN_UPCALL CIFS_UPCALL CIFS_XATTR CLOSURES CLS_U32_MARK CLS_U32_PERF CMA CMA_SIZE_SEL_MAX CMDLINE_PARTITION COMEDI COMEDI_DT9812 COMEDI_NI_USB6501 COMEDI_USBDUX COMEDI_USBDUXFAST COMEDI_USBDUXSIGMA COMEDI_USB_DRIVERS COMEDI_VMK80XX COMPAT_NETLINK_MESSAGES COUNTER CRAMFS CRAMFS_BLOCKDEV CRAMFS_MTD CRC64 CRC64_ARCH CRC8 CRC_ITU_T CRC_T10DIF CRC_T10DIF_ARCH CRYPTO_842 CRYPTO_ADIANTUM CRYPTO_AEGIS128 CRYPTO_AEGIS128_AESNI_SSE2 CRYPTO_AES_NI_INTEL CRYPTO_AES_TI CRYPTO_ANSI_CPRNG CRYPTO_ANUBIS CRYPTO_ARC4 CRYPTO_ARCH_HAVE_LIB_BLAKE2S CRYPTO_ARCH_HAVE_LIB_CHACHA CRYPTO_ARCH_HAVE_LIB_CURVE25519 CRYPTO_ARCH_HAVE_LIB_POLY1305 CRYPTO_ARIA CRYPTO_ARIA_AESNI_AVX_X86_64 CRYPTO_BLAKE2B CRYPTO_BLAKE2S_X86 CRYPTO_BLOWFISH CRYPTO_BLOWFISH_COMMON CRYPTO_BLOWFISH_X86_64 CRYPTO_CAMELLIA CRYPTO_CAMELLIA_AESNI_AVX2_X86_64 CRYPTO_CAMELLIA_AESNI_AVX_X86_64 CRYPTO_CAMELLIA_X86_64 CRYPTO_CAST5 CRYPTO_CAST5_AVX_X86_64 CRYPTO_CAST6 CRYPTO_CAST6_AVX_X86_64 CRYPTO_CAST_COMMON CRYPTO_CHACHA20 CRYPTO_CHACHA20POLY1305 CRYPTO_CHACHA20_X86_64 CRYPTO_CRC32C 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_ECDH CRYPTO_ECRDSA CRYPTO_ENGINE CRYPTO_ESSIV CRYPTO_FCRYPT CRYPTO_GHASH_CLMUL_NI_INTEL CRYPTO_HCTR2 CRYPTO_HKDF CRYPTO_KDF800108_CTR CRYPTO_KHAZAD CRYPTO_KPP CRYPTO_LIB_ARC4 CRYPTO_LIB_CHACHA CRYPTO_LIB_CHACHA20POLY1305 CRYPTO_LIB_CHACHA_GENERIC CRYPTO_LIB_CHACHA_INTERNAL CRYPTO_LIB_CURVE25519 CRYPTO_LIB_CURVE25519_GENERIC CRYPTO_LIB_CURVE25519_INTERNAL CRYPTO_LIB_DES CRYPTO_LIB_POLY1305 CRYPTO_LIB_POLY1305_GENERIC CRYPTO_LIB_POLY1305_INTERNAL CRYPTO_LRW CRYPTO_LZ4 CRYPTO_LZ4HC CRYPTO_MICHAEL_MIC CRYPTO_NHPOLY1305 CRYPTO_NHPOLY1305_AVX2 CRYPTO_NHPOLY1305_SSE2 CRYPTO_PCBC CRYPTO_PCRYPT CRYPTO_POLY1305 CRYPTO_POLY1305_X86_64 CRYPTO_POLYVAL CRYPTO_POLYVAL_CLMUL_NI CRYPTO_RMD160 CRYPTO_SEED CRYPTO_SERPENT CRYPTO_SERPENT_AVX2_X86_64 CRYPTO_SERPENT_AVX_X86_64 CRYPTO_SERPENT_SSE2_X86_64 CRYPTO_SHA1_SSSE3 CRYPTO_SHA256_SSSE3 CRYPTO_SHA512_SSSE3 CRYPTO_SIMD 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_WP512 CRYPTO_XCBC CRYPTO_XCTR CRYPTO_XTS CRYPTO_XXHASH CRYPTO_ZSTD CUSE CYPRESS_FIRMWARE DAMON DAMON_PADDR DAMON_RECLAIM DAMON_VADDR DAX DCA DCB DEBUG_VFS DEFAULT_CODEL DEVICE_MIGRATION DEVICE_PRIVATE DEV_COREDUMP DEV_DAX DLN2_ADC DMABUF_HEAPS DMABUF_HEAPS_CMA DMABUF_HEAPS_SYSTEM DMABUF_MOVE_NOTIFY DMA_CMA DMA_ENGINE_RAID DM_AUDIT DM_BIO_PRISON DM_BUFIO DM_CACHE DM_CACHE_SMQ DM_CLONE DM_CRYPT DM_FLAKEY DM_INTEGRITY DM_MULTIPATH DM_MULTIPATH_QL DM_MULTIPATH_ST DM_PERSISTENT_DATA DM_RAID DM_SNAPSHOT DM_THIN_PROVISIONING DM_UEVENT DM_VERITY DM_VERITY_FEC DM_WRITECACHE DM_ZONED DRAGONRISE_FF DRM DRM_AUX_BRIDGE DRM_BOCHS DRM_BRIDGE DRM_BUDDY DRM_CIRRUS_QEMU DRM_CLIENT DRM_CLIENT_DEFAULT_FBDEV DRM_CLIENT_LIB DRM_CLIENT_SELECTION DRM_CLIENT_SETUP DRM_DEBUG_MM DRM_DISPLAY_DP_AUX_BUS DRM_DISPLAY_DP_HELPER DRM_DISPLAY_DSC_HELPER DRM_DISPLAY_HDCP_HELPER DRM_DISPLAY_HELPER DRM_FBDEV_EMULATION ENCRYPTED_KEYS FSCACHE FUSE_FS GPIOLIB HAMRADIO HID_DRAGONRISE IIO INFINIBAND INFINIBAND_ADDR_TRANS INFINIBAND_RTRS_CLIENT IOSCHED_BFQ LIBNVDIMM MAC80211 MAC80211_DEBUGFS MAC80211_LEDS MEDIA_SUPPORT MEMORY_HOTPLUG MEMORY_HOTREMOVE MFD_DLN2 MMC MTD NET_CLS_U32 NET_SCH_DEFAULT PARTITION_ADVANCED RFKILL SERIAL_DEV_BUS TLS TLS_DEVICE TRANSPARENT_HUGEPAGE TRUSTED_KEYS USB_GADGET USB_PHY VLAN_8021Q WANT_COMPAT_NETLINK_MESSAGES WEXT_CORE WIRELESS WLAN WLAN_VENDOR_ATH X86_X32_ABI ZONE_DEVICE] disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed picked [v6.14 v6.13 v6.12 v6.10 v6.8 v6.6 v6.4 v6.2 v5.19 v5.16 v5.13 v5.10 v5.7 v5.4 v5.1 v4.19] out of 37 release tags testing release v6.14 testing commit 38fec10eb60d687e30c8c6b5420d86e8149f7557 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3d379d80e66d0c2f6ec36325697f34533a306a75a10ef55d0d79876bbcc8c840 all runs: OK false negative chance: 0.000 # git bisect start a2cc6ff5ec8f91bc463fd3b0c26b61166a07eb11 38fec10eb60d687e30c8c6b5420d86e8149f7557 Bisecting: 6512 revisions left to test after this (roughly 13 steps) [2f24482304ebd32c5aa374f31465b9941a860b92] Merge tag 'soc-dt-6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc testing commit 2f24482304ebd32c5aa374f31465b9941a860b92 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 96df92a00aea3a3beb0eb4a37b028433d84bcfa951206c548a0946b495717010 all runs: OK false negative chance: 0.000 # git bisect good 2f24482304ebd32c5aa374f31465b9941a860b92 Bisecting: 3192 revisions left to test after this (roughly 12 steps) [e5e0e6bebef3a21081fd1057c40468d4cff1a60d] Merge tag 'v6.15-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 testing commit e5e0e6bebef3a21081fd1057c40468d4cff1a60d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 012b2e6ea8f1473a9ed1be5719fe0980a7d21a2f9fea62b65966b7e6329e5d90 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bch2_snapshot_tree_oldest_subvol representative crash: BUG: unable to handle kernel NULL pointer dereference in bch2_snapshot_tree_oldest_subvol, types: [UNKNOWN] # git bisect bad e5e0e6bebef3a21081fd1057c40468d4cff1a60d Bisecting: 1678 revisions left to test after this (roughly 11 steps) [0f04462874e1228cf58e19a3d1710db9757dd695] Merge tag 'drm-misc-next-fixes-2025-03-13' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-next testing commit 0f04462874e1228cf58e19a3d1710db9757dd695 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2a52331486288d223c61415d711e0e8150f1f930b5fbd08c3b9a4b770e660bc9 all runs: OK false negative chance: 0.000 # git bisect good 0f04462874e1228cf58e19a3d1710db9757dd695 Bisecting: 833 revisions left to test after this (roughly 10 steps) [744fab2d9ff9177a27647c3710e86d43f2efe68c] Merge tag 'trace-v6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace testing commit 744fab2d9ff9177a27647c3710e86d43f2efe68c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 73dcd26dd5f8609c81159f7d13cf8e824d3ad7f9cd37ac5219dc1b092ffc351b all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bch2_snapshot_tree_oldest_subvol representative crash: BUG: unable to handle kernel NULL pointer dereference in bch2_snapshot_tree_oldest_subvol, types: [UNKNOWN] # git bisect bad 744fab2d9ff9177a27647c3710e86d43f2efe68c Bisecting: 406 revisions left to test after this (roughly 9 steps) [81d8e5e2132215d21f2cddffcd2b16d08c0389fa] Merge tag 'f2fs-for-6.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs testing commit 81d8e5e2132215d21f2cddffcd2b16d08c0389fa gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9723d6a78e63488837dab1fe423a5a469311bfb32b7cd42241f660b247c689ac all runs: OK false negative chance: 0.000 # git bisect good 81d8e5e2132215d21f2cddffcd2b16d08c0389fa Bisecting: 226 revisions left to test after this (roughly 8 steps) [d8bdc8daac1d1b0a4efb1ecc69bef4eb4fc5e050] bcachefs: Kill unnecessary bch2_dev_usage_read() testing commit d8bdc8daac1d1b0a4efb1ecc69bef4eb4fc5e050 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 946a03a051725174f8a7770aaa3fe5a7f442bed7c79e9059126afdaa2ab36e6c all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bch2_snapshot_tree_oldest_subvol representative crash: BUG: unable to handle kernel NULL pointer dereference in bch2_snapshot_tree_oldest_subvol, types: [UNKNOWN] # git bisect bad d8bdc8daac1d1b0a4efb1ecc69bef4eb4fc5e050 Bisecting: 89 revisions left to test after this (roughly 7 steps) [76872d46b7fa8b6dc8303de4ed45a9ac6ed92f91] bcachefs: Split out dirent alloc and name initialization testing commit 76872d46b7fa8b6dc8303de4ed45a9ac6ed92f91 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9864c548a5b21c21332e0a2ee8e16128dd18802ff4405c8a1815649717f82219 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bch2_snapshot_tree_oldest_subvol representative crash: BUG: unable to handle kernel NULL pointer dereference in bch2_snapshot_tree_oldest_subvol, types: [UNKNOWN] # git bisect bad 76872d46b7fa8b6dc8303de4ed45a9ac6ed92f91 Bisecting: 44 revisions left to test after this (roughly 6 steps) [199a3578edec89069f1e07cf92135c8fce50e706] bcachefs: Kill journal_res.idx testing commit 199a3578edec89069f1e07cf92135c8fce50e706 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bb933d0243a3dad7f7a9f9f31f66c424aee3c12a6e542ffc317408a5d0a13626 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bch2_snapshot_tree_oldest_subvol representative crash: BUG: unable to handle kernel NULL pointer dereference in bch2_snapshot_tree_oldest_subvol, types: [UNKNOWN] # git bisect bad 199a3578edec89069f1e07cf92135c8fce50e706 Bisecting: 22 revisions left to test after this (roughly 5 steps) [8ff92a9e4e49fc1fa01e8d23462097ccbe90e3b6] bcachefs: Promotes should use BCH_WRITE_only_specified_devs testing commit 8ff92a9e4e49fc1fa01e8d23462097ccbe90e3b6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 85cdbe1403d5e58cfb97ec6b0bd9316ff9d33d7a48c73f347cf89781cf5a49b2 all runs: OK false negative chance: 0.000 # git bisect good 8ff92a9e4e49fc1fa01e8d23462097ccbe90e3b6 Bisecting: 11 revisions left to test after this (roughly 4 steps) [ca24130ee412d991ef9925bf1b507f973daa9740] bcachefs: bch2_bkey_pick_read_device() can now specify a device testing commit ca24130ee412d991ef9925bf1b507f973daa9740 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ebb081cd24df237354300bd214fa6879e2ea8505d82dd070319247f88d211d00 all runs: OK false negative chance: 0.000 # git bisect good ca24130ee412d991ef9925bf1b507f973daa9740 Bisecting: 5 revisions left to test after this (roughly 3 steps) [45f0e6c838e5d9af3f013adb4ba9aad3bcbcbe3b] bcachefs: bch2_indirect_extent_missing_error() prints path, not just inode number testing commit 45f0e6c838e5d9af3f013adb4ba9aad3bcbcbe3b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2f77fbaec0672c1a4587f23dbfd8523e43ef479d1bd32f1facc3a26486c6b2ad all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bch2_snapshot_tree_oldest_subvol representative crash: BUG: unable to handle kernel NULL pointer dereference in bch2_snapshot_tree_oldest_subvol, types: [UNKNOWN] # git bisect bad 45f0e6c838e5d9af3f013adb4ba9aad3bcbcbe3b Bisecting: 2 revisions left to test after this (roughly 2 steps) [7d8321a286de288778e175ea5b967dceaeed9c96] bcachefs: Fix subtraction underflow testing commit 7d8321a286de288778e175ea5b967dceaeed9c96 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9d67506f9abbaa462df3ed972fa035dc460ac4db70ebdd582e4db97241df14a5 all runs: OK false negative chance: 0.000 # git bisect good 7d8321a286de288778e175ea5b967dceaeed9c96 Bisecting: 0 revisions left to test after this (roughly 1 step) [e63cf203d781902a8d3af3333ccf6382f8c3d416] bcachefs: Convert migrate to move_data_phys() testing commit e63cf203d781902a8d3af3333ccf6382f8c3d416 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2cec3c80918900be8ad18517b73e6b170de14a9dda96555d640f32656245a25e all runs: OK false negative chance: 0.000 # git bisect good e63cf203d781902a8d3af3333ccf6382f8c3d416 45f0e6c838e5d9af3f013adb4ba9aad3bcbcbe3b is the first bad commit commit 45f0e6c838e5d9af3f013adb4ba9aad3bcbcbe3b Author: Kent Overstreet Date: Fri Feb 7 01:33:01 2025 -0500 bcachefs: bch2_indirect_extent_missing_error() prints path, not just inode number We want all error messages converted to print paths, not just inode numbers - users want this information, and it speeds up debugging too. Auditing and converting all error messages is going to be a big project, so for the moment we're just doing this incrementally. Signed-off-by: Kent Overstreet fs/bcachefs/error.c | 32 +++++++++++++++++++++++++++++++- fs/bcachefs/error.h | 3 +++ fs/bcachefs/reflink.c | 21 +++++++++++++++------ fs/bcachefs/snapshot.c | 2 +- fs/bcachefs/snapshot.h | 1 + 5 files changed, 51 insertions(+), 8 deletions(-) accumulated error probability: 0.00 culprit signature: 2f77fbaec0672c1a4587f23dbfd8523e43ef479d1bd32f1facc3a26486c6b2ad parent signature: 2cec3c80918900be8ad18517b73e6b170de14a9dda96555d640f32656245a25e revisions tested: 21, total time: 7h17m30.813303266s (build: 3h16m36.190406813s, test: 2h48m40.828273778s) first bad commit: 45f0e6c838e5d9af3f013adb4ba9aad3bcbcbe3b bcachefs: bch2_indirect_extent_missing_error() prints path, not just inode number recipients (to): ["kent.overstreet@linux.dev"] recipients (cc): [] crash: BUG: unable to handle kernel NULL pointer dereference in bch2_snapshot_tree_oldest_subvol done bcachefs (loop2): accounting_read... done bcachefs (loop2): alloc_read... done bcachefs (loop2): stripes_read... done bcachefs (loop2): snapshots_read... done bcachefs (loop2): check_allocations... BUG: kernel NULL pointer dereference, address: 0000000000000020 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 800000010636a067 P4D 800000010636a067 PUD 0 Oops: Oops: 0000 [#1] PREEMPT SMP PTI CPU: 0 UID: 0 PID: 3350 Comm: syz.2.16 Not tainted 6.14.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:bch2_snapshot_tree_oldest_subvol+0x79/0x130 fs/bcachefs/snapshot.c:400 Code: 31 ff 89 e8 49 8b 94 24 50 09 00 00 89 e9 f7 d1 48 85 d2 0f 84 96 00 00 00 48 6b f1 38 48 39 4a 10 48 8d 54 32 18 49 0f 46 d5 <8b> 52 20 44 39 fa 44 89 fe 0f 42 f2 45 85 ff 0f 44 f2 85 d2 44 0f RSP: 0018:ffffc900033e7450 EFLAGS: 00010297 RAX: 000000000014b780 RBX: ffffc900033e74c8 RCX: 00000000ffeb487f RDX: 0000000000000000 RSI: 00000037fb77dbc8 RDI: ffffffff836b705c RBP: 000000000014b780 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88810ff00000 R13: 0000000000000000 R14: ffffffff81bf7ecf R15: 0000000000000000 FS: 00007fbcb7cb36c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000020 CR3: 000000010df8c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bch2_inum_snap_err_msg_trans+0xcd/0x160 fs/bcachefs/error.c:576 bch2_inum_snap_offset_err_msg_trans+0x1f/0x50 fs/bcachefs/error.c:591 bch2_indirect_extent_missing_error+0x130/0x3a0 fs/bcachefs/reflink.c:192 gc_trigger_reflink_p_segment fs/bcachefs/reflink.c:392 [inline] __trigger_reflink_p+0x6df/0x790 fs/bcachefs/reflink.c:432 bch2_key_trigger fs/bcachefs/bkey_methods.h:88 [inline] bch2_gc_mark_key+0x1e0/0x4a0 fs/bcachefs/btree_gc.c:639 bch2_gc_btree fs/bcachefs/btree_gc.c:675 [inline] bch2_gc_btrees fs/bcachefs/btree_gc.c:735 [inline] bch2_check_allocations+0x1a17/0x1f20 fs/bcachefs/btree_gc.c:1038 bch2_run_recovery_pass fs/bcachefs/recovery_passes.c:226 [inline] bch2_run_recovery_passes+0x10d/0x2a0 fs/bcachefs/recovery_passes.c:291 bch2_fs_recovery+0xa2f/0x1330 fs/bcachefs/recovery.c:936 bch2_fs_start+0x1c9/0x290 fs/bcachefs/super.c:1041 bch2_fs_get_tree+0x2be/0x6a0 fs/bcachefs/fs.c:2204 vfs_get_tree+0x24/0xb0 fs/super.c:1814 do_new_mount+0x15a/0x3a0 fs/namespace.c:3560 do_mount fs/namespace.c:3900 [inline] __do_sys_mount fs/namespace.c:4111 [inline] __se_sys_mount+0x147/0x1b0 fs/namespace.c:4088 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x8d/0x190 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbcb6d8e90a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbcb7cb2e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fbcb7cb2ef0 RCX: 00007fbcb6d8e90a RDX: 0000200000000040 RSI: 0000200000000000 RDI: 00007fbcb7cb2eb0 RBP: 0000200000000040 R08: 00007fbcb7cb2ef0 R09: 0000000000800001 R10: 0000000000800001 R11: 0000000000000246 R12: 0000200000000000 R13: 00007fbcb7cb2eb0 R14: 000000000000599b R15: 0000200000005b40 Modules linked in: CR2: 0000000000000020 ---[ end trace 0000000000000000 ]--- RIP: 0010:bch2_snapshot_tree_oldest_subvol+0x79/0x130 fs/bcachefs/snapshot.c:400 Code: 31 ff 89 e8 49 8b 94 24 50 09 00 00 89 e9 f7 d1 48 85 d2 0f 84 96 00 00 00 48 6b f1 38 48 39 4a 10 48 8d 54 32 18 49 0f 46 d5 <8b> 52 20 44 39 fa 44 89 fe 0f 42 f2 45 85 ff 0f 44 f2 85 d2 44 0f RSP: 0018:ffffc900033e7450 EFLAGS: 00010297 RAX: 000000000014b780 RBX: ffffc900033e74c8 RCX: 00000000ffeb487f RDX: 0000000000000000 RSI: 00000037fb77dbc8 RDI: ffffffff836b705c RBP: 000000000014b780 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88810ff00000 R13: 0000000000000000 R14: ffffffff81bf7ecf R15: 0000000000000000 FS: 00007fbcb7cb36c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000020 CR3: 000000010df8c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 31 ff xor %edi,%edi 2: 89 e8 mov %ebp,%eax 4: 49 8b 94 24 50 09 00 mov 0x950(%r12),%rdx b: 00 c: 89 e9 mov %ebp,%ecx e: f7 d1 not %ecx 10: 48 85 d2 test %rdx,%rdx 13: 0f 84 96 00 00 00 je 0xaf 19: 48 6b f1 38 imul $0x38,%rcx,%rsi 1d: 48 39 4a 10 cmp %rcx,0x10(%rdx) 21: 48 8d 54 32 18 lea 0x18(%rdx,%rsi,1),%rdx 26: 49 0f 46 d5 cmovbe %r13,%rdx * 2a: 8b 52 20 mov 0x20(%rdx),%edx <-- trapping instruction 2d: 44 39 fa cmp %r15d,%edx 30: 44 89 fe mov %r15d,%esi 33: 0f 42 f2 cmovb %edx,%esi 36: 45 85 ff test %r15d,%r15d 39: 0f 44 f2 cmove %edx,%esi 3c: 85 d2 test %edx,%edx 3e: 44 rex.R 3f: 0f .byte 0xf