ci starts bisection 2024-11-28 12:07:07.016107407 +0000 UTC m=+63279.783905259 bisecting cause commit starting from f486c8aa16b8172f63bddc70116a0c897a7f3f02 building syzkaller on 5df2386563cbffa1bbbb9d0b8ec1eebb98d051ae ensuring issue is reproducible on original commit f486c8aa16b8172f63bddc70116a0c897a7f3f02 testing commit f486c8aa16b8172f63bddc70116a0c897a7f3f02 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f16d377eeb0b7eb75975d65e6bba3599426bea3d092140569f4c390367809e25 run #0: crashed: WARNING: locking bug in __set_page_owner run #1: crashed: kernel BUG in bch2_get_scanned_nodes run #2: crashed: kernel BUG in bch2_get_scanned_nodes run #3: crashed: kernel BUG in bch2_get_scanned_nodes run #4: crashed: kernel BUG in bch2_get_scanned_nodes run #5: crashed: kernel BUG in bch2_get_scanned_nodes run #6: crashed: kernel BUG in bch2_get_scanned_nodes run #7: crashed: kernel BUG in bch2_get_scanned_nodes run #8: crashed: kernel BUG in bch2_get_scanned_nodes run #9: crashed: kernel BUG in bch2_get_scanned_nodes run #10: crashed: kernel BUG in bch2_get_scanned_nodes run #11: crashed: kernel BUG in bch2_get_scanned_nodes run #12: crashed: kernel BUG in bch2_get_scanned_nodes run #13: crashed: kernel BUG in bch2_get_scanned_nodes run #14: crashed: kernel BUG in bch2_get_scanned_nodes run #15: crashed: kernel BUG in bch2_get_scanned_nodes run #16: crashed: kernel BUG in bch2_get_scanned_nodes run #17: crashed: kernel BUG in bch2_get_scanned_nodes run #18: crashed: kernel BUG in bch2_get_scanned_nodes run #19: crashed: kernel BUG in bch2_get_scanned_nodes representative crash: kernel BUG in bch2_get_scanned_nodes, types: [BUG] check whether we can drop unnecessary instrumentation disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN KASAN], they are not needed testing commit f486c8aa16b8172f63bddc70116a0c897a7f3f02 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 320afedc2f594ebc8453a38f8108cf4372749b3723bb0f279954039509169cf5 all runs: crashed: kernel BUG in bch2_get_scanned_nodes representative crash: kernel BUG in bch2_get_scanned_nodes, types: [BUG] the bug reproduces without the instrumentation disabling configs for [UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed kconfig minimization: base=4045 full=8242 leaves diff=2124 split chunks (needed=false): <2124> split chunk #0 of len 2124 into 5 parts testing without sub-chunk 1/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit f486c8aa16b8172f63bddc70116a0c897a7f3f02 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9ab5bc492d9274e288f6d091474a3ee1cf1d9c8f99a1d0df1250f2b60e38c1a9 all runs: OK false negative chance: 0.000 testing without sub-chunk 2/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit f486c8aa16b8172f63bddc70116a0c897a7f3f02 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6136f4be9142d492f918c6da271ee741699bf2bf27592aedd3be651701ccb373 all runs: crashed: kernel BUG in bch2_get_scanned_nodes representative crash: kernel BUG in bch2_get_scanned_nodes, types: [BUG] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit f486c8aa16b8172f63bddc70116a0c897a7f3f02 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cf54cd09d2dc02cb65d482c19f76afc06211d64150547475a59e9b1a69ab92b5 all runs: crashed: kernel BUG in bch2_get_scanned_nodes representative crash: kernel BUG in bch2_get_scanned_nodes, types: [BUG] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit f486c8aa16b8172f63bddc70116a0c897a7f3f02 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6caacdc08623c679b1bee1caece937030e591dbe749c36eb401479a4c794506c all runs: crashed: kernel BUG in bch2_get_scanned_nodes representative crash: kernel BUG in bch2_get_scanned_nodes, types: [BUG] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed testing commit f486c8aa16b8172f63bddc70116a0c897a7f3f02 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a66db1159ce5d3391ff5a9d655354833fb3986ec223c881422d5189dc3e82d82 all runs: crashed: kernel BUG in bch2_get_scanned_nodes representative crash: kernel BUG in bch2_get_scanned_nodes, types: [BUG] the chunk can be dropped minimized to 425 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_EC 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_BINDERFS ANDROID_BINDER_IPC ANON_VMA_NAME APERTURE_HELPERS APPLE_MFI_FASTCHARGE AR5523 ARCH_DEFAULT_CRASH_DUMP ARCH_ENABLE_MEMORY_HOTREMOVE ARCH_ENABLE_THP_MIGRATION ARCH_HAS_EXECMEM_ROX ARCH_HAS_PREEMPT_LAZY ARCH_HAS_USER_SHADOW_STACK ARCH_SUPPORTS_AUTOFDO_CLANG ARCH_SUPPORTS_HUGE_PFNMAP ARCH_SUPPORTS_PMD_PFNMAP ARCH_SUPPORTS_PROPELLER_CLANG ARCH_SUPPORTS_PUD_PFNMAP ARCH_SUPPORTS_RT 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 CRC4 CRC64 CRC64_ROCKSOFT CRC7 CRC8 CRC_ITU_T CRC_T10DIF CRYPTO_842 CRYPTO_ADIANTUM CRYPTO_AEGIS128 CRYPTO_AEGIS128_AESNI_SSE2 CRYPTO_AES_NI_INTEL CRYPTO_AES_TI CRYPTO_ANSI_CPRNG CRYPTO_ANUBIS CRYPTO_ARC4 CRYPTO_ARCH_HAVE_LIB_BLAKE2S CRYPTO_ARCH_HAVE_LIB_CHACHA CRYPTO_ARCH_HAVE_LIB_CURVE25519 CRYPTO_ARCH_HAVE_LIB_POLY1305 CRYPTO_ARIA CRYPTO_ARIA_AESNI_AVX_X86_64 CRYPTO_BLAKE2B CRYPTO_BLAKE2S_X86 CRYPTO_BLOWFISH CRYPTO_BLOWFISH_COMMON CRYPTO_BLOWFISH_X86_64 CRYPTO_CAMELLIA CRYPTO_CAMELLIA_AESNI_AVX2_X86_64 CRYPTO_CAMELLIA_AESNI_AVX_X86_64 CRYPTO_CAMELLIA_X86_64 CRYPTO_CAST5 CRYPTO_CAST5_AVX_X86_64 CRYPTO_CAST6 CRYPTO_CAST6_AVX_X86_64 CRYPTO_CAST_COMMON CRYPTO_CHACHA20POLY1305 CRYPTO_CHACHA20_X86_64 CRYPTO_CRC32 CRYPTO_CRC32C_INTEL CRYPTO_CRC32_PCLMUL CRYPTO_CRC64_ROCKSOFT CRYPTO_CRCT10DIF CRYPTO_CRCT10DIF_PCLMUL CRYPTO_CRYPTD 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_KDF800108_CTR CRYPTO_KEYWRAP CRYPTO_KHAZAD CRYPTO_KPP CRYPTO_LIB_ARC4 CRYPTO_LIB_CHACHA CRYPTO_LIB_CHACHA20POLY1305 CRYPTO_LIB_CURVE25519 CRYPTO_LIB_CURVE25519_GENERIC CRYPTO_LIB_POLY1305 CRYPTO_LIB_POLY1305_GENERIC CRYPTO_LRW CRYPTO_LZ4 CRYPTO_LZ4HC 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_AVX_X86_64 CRYPTO_SM4_AESNI_AVX2_X86_64 CRYPTO_SM4_AESNI_AVX_X86_64 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_XCTR CRYPTO_XXHASH CRYPTO_ZSTD CUSE CYPRESS_FIRMWARE DAMON DAMON_PADDR DAMON_RECLAIM DAMON_VADDR DAX DCA DCB 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_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_HDMI_HELPER DRM_DISPLAY_HELPER DRM_FBDEV_EMULATION DRM_GEM_SHMEM_HELPER DRM_GM12U320 DRM_GUD DRM_I915 DRM_I915_CAPTURE_ERROR DRM_I915_COMPRESS_ERROR 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 [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed picked [v6.12 v6.11 v6.10 v6.8 v6.6 v6.4 v6.2 v6.0 v5.17 v5.14 v5.11 v5.8 v5.5 v5.2 v4.20 v4.19] out of 35 release tags testing release v6.12 testing commit adc218676eef25575469234709c2d87185ca223a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ec93af4203c562a77c5f062c7a77fae472478050b3a971cfdd6128ce7721c4da all runs: OK false negative chance: 0.000 # git bisect start f486c8aa16b8172f63bddc70116a0c897a7f3f02 adc218676eef25575469234709c2d87185ca223a Bisecting: 6785 revisions left to test after this (roughly 13 steps) [071b34dcf71523a559b6c39f5d21a268a9531b50] Merge tag 'sound-6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound testing commit 071b34dcf71523a559b6c39f5d21a268a9531b50 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a472c16b57d6fff6c01019f1b14038796b9f796a6515b3089010a0c4af23551b all runs: OK false negative chance: 0.000 # git bisect good 071b34dcf71523a559b6c39f5d21a268a9531b50 Bisecting: 3368 revisions left to test after this (roughly 12 steps) [0637a68b9c6c1dfffcc1fca003cb7cd3257c3c03] Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi testing commit 0637a68b9c6c1dfffcc1fca003cb7cd3257c3c03 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 48f6e547bb3242ff539fd539e6e3a411917545dff9c24bcb644ff3bce67bdbbd all runs: OK false negative chance: 0.000 # git bisect good 0637a68b9c6c1dfffcc1fca003cb7cd3257c3c03 Bisecting: 1807 revisions left to test after this (roughly 11 steps) [6dbb9a0417c6d33925544984cd83c3ffd855f4c8] Merge branch 'xtensa-for-next' of git://github.com/jcmvbkbc/linux-xtensa.git testing commit 6dbb9a0417c6d33925544984cd83c3ffd855f4c8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: eac7801bd44f5ff74a8695e32dba7eb9cc5606be20804ec9ee6f7374bfd22ee2 all runs: OK false negative chance: 0.000 # git bisect good 6dbb9a0417c6d33925544984cd83c3ffd855f4c8 Bisecting: 857 revisions left to test after this (roughly 10 steps) [01d295f33952f13cbac16567507bd7103a835982] Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git testing commit 01d295f33952f13cbac16567507bd7103a835982 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3175efd0b8b3b3aa1706fe29625baa77f6b50eb95e10c2f5580598a857b42247 all runs: crashed: kernel BUG in bch2_get_scanned_nodes representative crash: kernel BUG in bch2_get_scanned_nodes, types: [BUG] # git bisect bad 01d295f33952f13cbac16567507bd7103a835982 Bisecting: 485 revisions left to test after this (roughly 9 steps) [d96c4686c7f9a163eda66f3080f32888ab979dc5] Merge branch 'for-linux-next' of https://gitlab.freedesktop.org/drm/misc/kernel.git testing commit d96c4686c7f9a163eda66f3080f32888ab979dc5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7f7031edef63e46116953903a41d91784b3e9b86935e42fc98a49e2328390e21 all runs: crashed: kernel BUG in bch2_get_scanned_nodes representative crash: kernel BUG in bch2_get_scanned_nodes, types: [BUG] # git bisect bad d96c4686c7f9a163eda66f3080f32888ab979dc5 Bisecting: 231 revisions left to test after this (roughly 8 steps) [70782f9c92cde21f3d144b78982157dbe8cfafc8] Merge branch 'linux-next' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6.git testing commit 70782f9c92cde21f3d144b78982157dbe8cfafc8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 30b7cc012ab829fa661a07385d8ead4caed68e1e781dfb57e90e7cb73c1fa789 all runs: crashed: kernel BUG in bch2_get_scanned_nodes representative crash: kernel BUG in bch2_get_scanned_nodes, types: [BUG] # git bisect bad 70782f9c92cde21f3d144b78982157dbe8cfafc8 Bisecting: 115 revisions left to test after this (roughly 7 steps) [d4a8d333cdb4ea55031e7a564bd122a193df184d] bcachefs: btree_write_buffer_flush_seq() no longer closes journal testing commit d4a8d333cdb4ea55031e7a564bd122a193df184d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8478be1a7347c4115cbd48800c7644a9c26a86f02c70a99454204b180a955900 all runs: OK false negative chance: 0.000 # git bisect good d4a8d333cdb4ea55031e7a564bd122a193df184d Bisecting: 52 revisions left to test after this (roughly 6 steps) [913d2668d290f31a2f2ce8ec3139d72ae2e72706] Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6.git testing commit 913d2668d290f31a2f2ce8ec3139d72ae2e72706 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 96d8c2af68e24fdd5c2c3317b50e7f3a18e65f643df1910b13f878530649f30b all runs: crashed: kernel BUG in bch2_get_scanned_nodes representative crash: kernel BUG in bch2_get_scanned_nodes, types: [BUG] # git bisect bad 913d2668d290f31a2f2ce8ec3139d72ae2e72706 Bisecting: 39 revisions left to test after this (roughly 5 steps) [667c320fcc94ac3c8177755ee82b59867e8ebb4f] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git testing commit 667c320fcc94ac3c8177755ee82b59867e8ebb4f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 27913916b56a5e9a7112ae7bc4941b13f33019633c098d5fc238ccf325b9b7b9 all runs: crashed: kernel BUG in bch2_get_scanned_nodes representative crash: kernel BUG in bch2_get_scanned_nodes, types: [BUG] # git bisect bad 667c320fcc94ac3c8177755ee82b59867e8ebb4f Bisecting: 11 revisions left to test after this (roughly 4 steps) [2d9cf2becb9cfd1f18569fd9e755f61057fac34a] bcachefs: Don't try to en/decrypt when encryption not available testing commit 2d9cf2becb9cfd1f18569fd9e755f61057fac34a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a4c34e469493bfc65b4a175dcde0d8e35bc3875566c31ba89d4e7374fee00200 all runs: OK false negative chance: 0.000 # git bisect good 2d9cf2becb9cfd1f18569fd9e755f61057fac34a Bisecting: 5 revisions left to test after this (roughly 3 steps) [50eecc37ec7c9caab87c938b912bb5c686316ea5] bcachefs: struct bkey_validate_context testing commit 50eecc37ec7c9caab87c938b912bb5c686316ea5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9ac5c746292dbb9b63e92f688844c5c648798315f3403d4e4e5269ac0b708be5 all runs: crashed: kernel BUG in bch2_get_scanned_nodes representative crash: kernel BUG in bch2_get_scanned_nodes, types: [BUG] # git bisect bad 50eecc37ec7c9caab87c938b912bb5c686316ea5 Bisecting: 2 revisions left to test after this (roughly 2 steps) [271c0965f621fa6d613296e28b243cadb3604321] bcachefs: Go RW earlier, for normal rw mount testing commit 271c0965f621fa6d613296e28b243cadb3604321 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4dfddde9283821d5ed35aab2febd7674d5a792b00bf3bc7a2c161b0dd5ebf2fa all runs: OK false negative chance: 0.000 # git bisect good 271c0965f621fa6d613296e28b243cadb3604321 Bisecting: 0 revisions left to test after this (roughly 1 step) [32682b7d94de6d36f8b9a1c116eb8c50e784c5f0] bcachefs: Ignore empty btree root journal entries testing commit 32682b7d94de6d36f8b9a1c116eb8c50e784c5f0 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b4b3097565e7bc5cbf750210ad336446c9e86c09895be06b61dc73d95a698269 all runs: OK false negative chance: 0.000 # git bisect good 32682b7d94de6d36f8b9a1c116eb8c50e784c5f0 50eecc37ec7c9caab87c938b912bb5c686316ea5 is the first bad commit commit 50eecc37ec7c9caab87c938b912bb5c686316ea5 Author: Kent Overstreet Date: Wed Nov 27 00:29:52 2024 -0500 bcachefs: struct bkey_validate_context Add a new parameter to bkey validate functions, and use it to improve invalid bkey error messages: we can now print the btree and depth it came from, or if it came from the journal, or is a btree root. Signed-off-by: Kent Overstreet fs/bcachefs/alloc_background.c | 10 ++++----- fs/bcachefs/alloc_background.h | 16 ++++++++------ fs/bcachefs/backpointers.c | 2 +- fs/bcachefs/backpointers.h | 3 ++- fs/bcachefs/bkey.h | 7 ------ fs/bcachefs/bkey_methods.c | 29 ++++++++++++------------ fs/bcachefs/bkey_methods.h | 15 +++++++------ fs/bcachefs/bkey_types.h | 26 ++++++++++++++++++++++ fs/bcachefs/btree_io.c | 44 +++++++++++++++++++++++++++++++------ fs/bcachefs/btree_node_scan.c | 7 +++++- fs/bcachefs/btree_trans_commit.c | 7 +++++- fs/bcachefs/btree_update_interior.c | 11 +++++++--- fs/bcachefs/data_update.c | 7 ++++-- fs/bcachefs/dirent.c | 4 ++-- fs/bcachefs/dirent.h | 4 ++-- fs/bcachefs/disk_accounting.c | 4 ++-- fs/bcachefs/disk_accounting.h | 3 ++- fs/bcachefs/ec.c | 4 ++-- fs/bcachefs/ec.h | 5 ++--- fs/bcachefs/error.c | 20 +++++++++++++---- fs/bcachefs/error.h | 4 ++-- fs/bcachefs/extents.c | 20 ++++++++--------- fs/bcachefs/extents.h | 9 ++++---- fs/bcachefs/inode.c | 16 +++++++------- fs/bcachefs/inode.h | 9 ++++---- fs/bcachefs/journal_io.c | 35 +++++++++++++++++------------ fs/bcachefs/lru.c | 2 +- fs/bcachefs/lru.h | 2 +- fs/bcachefs/quota.c | 2 +- fs/bcachefs/quota.h | 4 ++-- fs/bcachefs/recovery.c | 1 + fs/bcachefs/reflink.c | 8 +++---- fs/bcachefs/reflink.h | 10 ++++----- fs/bcachefs/snapshot.c | 4 ++-- fs/bcachefs/snapshot.h | 7 +++--- fs/bcachefs/subvolume.c | 2 +- fs/bcachefs/subvolume.h | 5 ++--- fs/bcachefs/xattr.c | 2 +- fs/bcachefs/xattr.h | 3 ++- 39 files changed, 231 insertions(+), 142 deletions(-) accumulated error probability: 0.00 culprit signature: 9ac5c746292dbb9b63e92f688844c5c648798315f3403d4e4e5269ac0b708be5 parent signature: b4b3097565e7bc5cbf750210ad336446c9e86c09895be06b61dc73d95a698269 revisions tested: 21, total time: 4h38m49.650068763s (build: 2h16m39.168235474s, test: 2h6m50.571413399s) first bad commit: 50eecc37ec7c9caab87c938b912bb5c686316ea5 bcachefs: struct bkey_validate_context recipients (to): ["kent.overstreet@linux.dev" "kent.overstreet@linux.dev" "linux-bcachefs@vger.kernel.org"] recipients (cc): ["linux-kernel@vger.kernel.org"] crash: kernel BUG in bch2_get_scanned_nodes bcachefs (loop2): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 22000000ba0abe32 written 8 min_key POS_MIN durability: 1 ptr: 0:31:0 gen 0 invalid bkey in btree_node btree=xattrs level=0: u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 22000000ba0abe32 written 8 min_key POS_MIN durability: 1 ptr: 0:31:0 gen 0 key at POS_MAX: delete?, fixing ------------[ cut here ]------------ kernel BUG at fs/bcachefs/btree_node_scan.c:546! Oops: invalid opcode: 0000 [#1] PREEMPT SMP PTI CPU: 0 UID: 0 PID: 3363 Comm: syz.2.15 Not tainted 6.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:bch2_get_scanned_nodes+0x6d3/0x6e0 fs/bcachefs/btree_node_scan.c:541 Code: c9 89 d6 48 0f bd f6 29 f1 d3 e2 39 c2 0f 97 c1 d3 ea 41 89 d5 e9 a6 fc ff ff 89 c5 e9 75 f9 ff ff e8 61 9a 42 01 90 0f 0b 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000363f7c8 EFLAGS: 00010282 RAX: 00000000fffff75b RBX: 0000000000000003 RCX: 0000000000003750 RDX: 0000000000003748 RSI: 00000000000352e0 RDI: 00000000ffffffff RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffc9000363f838 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88810db80000 FS: 00007ffa784c96c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055aa0276e4f8 CR3: 0000000106b86000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bch2_check_topology+0x2ab/0x4c0 fs/bcachefs/btree_gc.c:543 bch2_run_recovery_pass fs/bcachefs/recovery_passes.c:222 [inline] bch2_run_recovery_passes+0x115/0x290 fs/bcachefs/recovery_passes.c:285 bch2_fs_recovery+0x8d0/0x1200 fs/bcachefs/recovery.c:897 bch2_fs_start+0x1c9/0x290 fs/bcachefs/super.c:1037 bch2_fs_get_tree+0x2b5/0x650 fs/bcachefs/fs.c:2201 vfs_get_tree+0x27/0xf0 fs/super.c:1814 do_new_mount+0x15a/0x3a0 fs/namespace.c:3507 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4057 [inline] __se_sys_mount+0x148/0x1b0 fs/namespace.c:4034 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xe0/0x220 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ffa77781faa 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:00007ffa784c8e88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ffa784c8f10 RCX: 00007ffa77781faa RDX: 00000000200000c0 RSI: 0000000020000040 RDI: 00007ffa784c8ed0 RBP: 00000000200000c0 R08: 00007ffa784c8f10 R09: 0000000000800000 R10: 0000000000800000 R11: 0000000000000246 R12: 0000000020000040 R13: 00007ffa784c8ed0 R14: 0000000000005960 R15: 0000000020000280 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:bch2_get_scanned_nodes+0x6d3/0x6e0 fs/bcachefs/btree_node_scan.c:541 Code: c9 89 d6 48 0f bd f6 29 f1 d3 e2 39 c2 0f 97 c1 d3 ea 41 89 d5 e9 a6 fc ff ff 89 c5 e9 75 f9 ff ff e8 61 9a 42 01 90 0f 0b 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000363f7c8 EFLAGS: 00010282 RAX: 00000000fffff75b RBX: 0000000000000003 RCX: 0000000000003750 RDX: 0000000000003748 RSI: 00000000000352e0 RDI: 00000000ffffffff RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffc9000363f838 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88810db80000 FS: 00007ffa784c96c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055aa0276e4f8 CR3: 0000000106b86000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400