ci2 starts bisection 2025-01-02 08:47:21.336700476 +0000 UTC m=+601463.071809543 bisecting cause commit starting from 56e6a3499e14716b9a28a307bb6d18c10e95301e building syzkaller on d3ccff6372e07c6aabd02b5da419aa6492b5f0ad ensuring issue is reproducible on original commit 56e6a3499e14716b9a28a307bb6d18c10e95301e testing commit 56e6a3499e14716b9a28a307bb6d18c10e95301e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9a842065b4a88260b81c09b1856a09fb4fdb5f21f60e4ebfe1f6552c0d2a8d81 run #0: crashed: INFO: task hung in __bch2_trans_commit run #1: crashed: INFO: task hung in bch2_btree_path_traverse_one run #2: crashed: INFO: task hung in bch2_btree_path_traverse_one run #3: crashed: INFO: task hung in bch2_btree_path_traverse_one run #4: crashed: INFO: task hung in bch2_btree_node_update_key run #5: crashed: INFO: task hung in bch2_btree_node_update_key run #6: crashed: INFO: task hung in bch2_btree_path_traverse_one run #7: crashed: INFO: task hung in writeback_iter run #8: crashed: INFO: task hung in writeback_iter run #9: crashed: INFO: task hung in bch2_btree_path_traverse_one run #10: crashed: INFO: task hung in bch2_btree_node_update_key run #11: crashed: INFO: task hung in writeback_iter run #12: crashed: INFO: task hung in bch2_btree_node_update_key run #13: crashed: INFO: task hung in writeback_iter run #14: crashed: INFO: task hung in bch2_btree_path_traverse_one run #15: crashed: INFO: task hung in bch2_btree_path_traverse_one run #16: crashed: INFO: task hung in bch2_btree_node_update_key run #17: crashed: INFO: task hung in writeback_iter run #18: crashed: INFO: task hung in bch2_btree_path_traverse_one run #19: crashed: INFO: task hung in bch2_btree_path_traverse_one representative crash: INFO: task hung in __bch2_trans_commit, types: [HANG] check whether we can drop unnecessary instrumentation disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP LEAK UBSAN], they are not needed testing commit 56e6a3499e14716b9a28a307bb6d18c10e95301e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 247320f034b12172a4e4bfe0f392acbeb48c7d25a5c7b73935a08cd4429b0eba run #0: crashed: INFO: task hung in bch2_btree_path_traverse_one run #1: crashed: INFO: task hung in writeback_iter run #2: crashed: INFO: task hung in bch2_btree_path_traverse_one run #3: crashed: INFO: task hung in bch2_btree_path_traverse_one run #4: crashed: INFO: task hung in bch2_btree_path_traverse_one run #5: crashed: INFO: task hung in bch2_btree_node_update_key run #6: crashed: INFO: task hung in bch2_btree_node_update_key run #7: crashed: INFO: task hung in bch2_btree_path_traverse_one run #8: crashed: INFO: task hung in bch2_btree_node_update_key run #9: crashed: INFO: task hung in writeback_iter representative crash: INFO: task hung in bch2_btree_path_traverse_one, types: [HANG] the bug reproduces without the instrumentation disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP LEAK], they are not needed kconfig minimization: base=4037 full=8236 leaves diff=2125 split chunks (needed=false): <2125> split chunk #0 of len 2125 into 5 parts testing without sub-chunk 1/5 disabling configs for [ATOMIC_SLEEP LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 56e6a3499e14716b9a28a307bb6d18c10e95301e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8d05b6fb213342a7b2722d50a49039ea9f45fbb4774b54a18ef63151666cdda9 all runs: OK false negative chance: 0.000 testing without sub-chunk 2/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP LEAK UBSAN BUG], they are not needed testing commit 56e6a3499e14716b9a28a307bb6d18c10e95301e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ae9a4f8b140da63c60188e94c619ba596196a4564c6f74d7bf3940b84bb05764 run #0: crashed: INFO: task hung in bch2_btree_node_update_key run #1: crashed: INFO: task hung in bch2_btree_path_traverse_one run #2: crashed: INFO: task hung in __bch2_trans_commit run #3: crashed: INFO: task hung in bch2_btree_path_traverse_one run #4: crashed: INFO: task hung in bch2_btree_node_update_key run #5: crashed: INFO: task hung in __bch2_trans_commit run #6: crashed: INFO: task hung in writeback_iter run #7: crashed: INFO: task hung in bch2_btree_path_traverse_one run #8: crashed: INFO: task hung in btree_interior_update_work run #9: crashed: INFO: task hung in bch2_btree_path_traverse_one representative crash: INFO: task hung in bch2_btree_node_update_key, types: [HANG] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP LEAK UBSAN BUG], they are not needed testing commit 56e6a3499e14716b9a28a307bb6d18c10e95301e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 485fed9cc4deafc4609c666f8efea5279a904764d1f4ea93bcc13ef27ef880f6 run #0: crashed: INFO: task hung in bch2_btree_path_traverse_one run #1: crashed: INFO: task hung in bch2_btree_path_traverse_one run #2: crashed: INFO: task hung in bch2_btree_path_traverse_one run #3: crashed: INFO: task hung in bch2_btree_path_traverse_one run #4: crashed: INFO: task hung in writeback_iter run #5: crashed: INFO: task hung in bch2_btree_node_update_key run #6: crashed: INFO: task hung in bch2_btree_node_update_key run #7: crashed: INFO: task hung in writeback_iter run #8: crashed: INFO: task hung in writeback_iter run #9: crashed: INFO: task hung in btree_interior_update_work representative crash: INFO: task hung in bch2_btree_path_traverse_one, types: [HANG] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 56e6a3499e14716b9a28a307bb6d18c10e95301e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2eb72fd322267c6aff46b13d8929e54b63e0e78dd07a70f51bccee871dd4df40 run #0: crashed: INFO: task hung in btree_interior_update_work run #1: crashed: INFO: task hung in bch2_btree_node_update_key run #2: crashed: INFO: task hung in bch2_btree_node_update_key run #3: crashed: INFO: task hung in bch2_btree_node_update_key run #4: crashed: INFO: task hung in writeback_iter run #5: crashed: INFO: task hung in bch2_btree_node_update_key run #6: crashed: INFO: task hung in bch2_btree_path_traverse_one run #7: crashed: INFO: task hung in bch2_btree_node_update_key run #8: crashed: INFO: task hung in writeback_iter run #9: crashed: INFO: task hung in bch2_btree_node_update_key representative crash: INFO: task hung in btree_interior_update_work, types: [HANG] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP LEAK UBSAN], they are not needed testing commit 56e6a3499e14716b9a28a307bb6d18c10e95301e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c9ccf15cae5754612539a7050ab379a8a6d38a705f715a7337f335e1b76ed6cb run #0: crashed: INFO: task hung in writeback_iter run #1: crashed: INFO: task hung in writeback_iter run #2: crashed: INFO: task hung in writeback_iter run #3: crashed: INFO: task hung in bch2_btree_node_update_key run #4: crashed: INFO: task hung in bch2_btree_path_traverse_one run #5: crashed: INFO: task hung in writeback_iter run #6: crashed: INFO: task hung in bch2_btree_node_update_key run #7: crashed: INFO: task hung in bch2_btree_node_update_key run #8: crashed: INFO: task hung in bch2_btree_path_traverse_one run #9: crashed: INFO: task hung in writeback_iter representative crash: INFO: task hung in writeback_iter, types: [HANG] 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 [ATOMIC_SLEEP LEAK UBSAN BUG KASAN LOCKDEP], 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: ccfc34ddee222fc208ae80100c43f40d315583192cbd25f9ff5ecc5d8507d0bf run #0: crashed: INFO: task hung in bch2_btree_node_update_key run #1: crashed: INFO: task hung in bch2_btree_node_update_key run #2: crashed: INFO: task hung in bch2_btree_node_update_key run #3: crashed: INFO: task hung in bch2_btree_path_traverse_one run #4: crashed: INFO: task hung in bch2_btree_path_traverse_one run #5: crashed: INFO: task hung in writeback_iter run #6: crashed: INFO: task hung in bch2_btree_path_traverse_one run #7: crashed: INFO: task hung in bch2_btree_node_update_key run #8: crashed: INFO: task hung in bch2_btree_node_update_key run #9: crashed: INFO: task hung in bch2_btree_path_traverse_one representative crash: INFO: task hung in bch2_btree_node_update_key, types: [HANG] testing release v6.11 testing commit 98f7e32f20d28ec452afb208f9cffc08448a2652 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fb3ed4e6b47321df3e4c9fb92e21f527b8587dcf42d8e29ec70221758dcfd3c3 run #0: crashed: BUG: soft lockup in sys_mount run #1: crashed: BUG: soft lockup in sys_mount run #2: crashed: INFO: task hung in __lru_add_drain_all run #3: crashed: INFO: task hung in __lru_add_drain_all run #4: crashed: BUG: soft lockup in sys_mount run #5: crashed: BUG: soft lockup in sys_mount run #6: crashed: INFO: task hung in bch2_journal_reclaim_thread run #7: crashed: INFO: task hung in synchronize_rcu run #8: crashed: INFO: task hung in synchronize_rcu run #9: crashed: INFO: task hung in synchronize_rcu representative crash: BUG: soft lockup in sys_mount, types: [HANG] testing release v6.10 testing commit 0c3836482481200ead7b416ca80c68a29cfdaabd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 53ff72400204c0f8dfb60d205432170681f50eaf1ba585d45a783caa13385960 all runs: OK false negative chance: 0.000 # git bisect start 98f7e32f20d28ec452afb208f9cffc08448a2652 0c3836482481200ead7b416ca80c68a29cfdaabd Bisecting: 7076 revisions left to test after this (roughly 13 steps) [b3ce7a30847a54a7f96a35e609303d8afecd460b] Merge tag 'drm-next-2024-07-18' of https://gitlab.freedesktop.org/drm/kernel testing commit b3ce7a30847a54a7f96a35e609303d8afecd460b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d726c7439c0ed7ac88232beb1823489d81aba9df9746a80c7a979987307f8130 all runs: OK false negative chance: 0.000 # git bisect good b3ce7a30847a54a7f96a35e609303d8afecd460b Bisecting: 3385 revisions left to test after this (roughly 12 steps) [fbc90c042cd1dc7258ebfebe6d226017e5b5ac8c] Merge tag 'mm-stable-2024-07-21-14-50' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm testing commit fbc90c042cd1dc7258ebfebe6d226017e5b5ac8c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4b8cce044766246330ab7ac32a530474e1b9b98e58daec68e3aed4136376700c all runs: crashed: BUG: soft lockup in sys_mount representative crash: BUG: soft lockup in sys_mount, types: [HANG] # git bisect bad fbc90c042cd1dc7258ebfebe6d226017e5b5ac8c Bisecting: 1890 revisions left to test after this (roughly 11 steps) [04d17331ca33744e1426fdeee7ba5e975c4b2239] Merge tag 'usb-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb testing commit 04d17331ca33744e1426fdeee7ba5e975c4b2239 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6b5123d606c5142be76c077cc9dd033589222593ef5269523a0624f8b045df81 run #0: crashed: BUG: soft lockup in sys_mount run #1: crashed: BUG: soft lockup in sys_mount run #2: crashed: BUG: soft lockup in sys_mount run #3: crashed: BUG: soft lockup in sys_mount run #4: crashed: INFO: task hung in bch2_journal_reclaim_thread run #5: crashed: BUG: soft lockup in sys_mount run #6: crashed: INFO: task hung in __lru_add_drain_all run #7: crashed: BUG: soft lockup in sys_mount run #8: crashed: BUG: soft lockup in sys_mount run #9: crashed: BUG: soft lockup in sys_mount representative crash: BUG: soft lockup in sys_mount, types: [HANG] # git bisect bad 04d17331ca33744e1426fdeee7ba5e975c4b2239 Bisecting: 901 revisions left to test after this (roughly 10 steps) [ebcfbf02abfbecc144440ff797419cc95cb047fe] Merge tag 'iommu-updates-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/iommu/linux testing commit ebcfbf02abfbecc144440ff797419cc95cb047fe gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4c334061754aee0e81f4803aa4aca1de85b4b773ff92fe6451045421fca6f1c8 all runs: crashed: BUG: soft lockup in sys_mount representative crash: BUG: soft lockup in sys_mount, types: [HANG] # git bisect bad ebcfbf02abfbecc144440ff797419cc95cb047fe Bisecting: 451 revisions left to test after this (roughly 9 steps) [51ed42a8a135511f6d6f75b56e85e6586a06a93c] Merge tag 'ext4_for_linus-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 testing commit 51ed42a8a135511f6d6f75b56e85e6586a06a93c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1d68da472712fb386f8e3cd393a71e11d43e0791d7887487dfc3d59b83fad110 all runs: OK false negative chance: 0.000 # git bisect good 51ed42a8a135511f6d6f75b56e85e6586a06a93c Bisecting: 266 revisions left to test after this (roughly 8 steps) [720261cfc7329406a50c2a8536e0039b9dd9a4e5] Merge tag 'bcachefs-2024-07-18.2' of https://evilpiepirate.org/git/bcachefs testing commit 720261cfc7329406a50c2a8536e0039b9dd9a4e5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d85e53f0a3a3c8a2c5cab4fa6f4c26b62cf4ff353da1e85f2df7f9add1a5b6b2 all runs: crashed: BUG: soft lockup in sys_mount representative crash: BUG: soft lockup in sys_mount, types: [HANG] # git bisect bad 720261cfc7329406a50c2a8536e0039b9dd9a4e5 Bisecting: 92 revisions left to test after this (roughly 7 steps) [7aa7183e00d92539c61b3a01a7ebf676b0ecb91e] bcachefs: split out lru_format.h testing commit 7aa7183e00d92539c61b3a01a7ebf676b0ecb91e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4cc50424f198c3844b22341f78b87985f0783e724f7386de3a652f16ef68f0cd all runs: crashed: BUG: soft lockup in sys_mount representative crash: BUG: soft lockup in sys_mount, types: [HANG] # git bisect bad 7aa7183e00d92539c61b3a01a7ebf676b0ecb91e Bisecting: 45 revisions left to test after this (roughly 6 steps) [91f44781d59a00a3478240e0b907c70d972e8897] bcachefs: Convert bch2_compression_stats_to_text() to new accounting testing commit 91f44781d59a00a3478240e0b907c70d972e8897 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2af89a310c5d4d4b8f607f1007e8c582477c5d9e634304c20d5c08c04008e88d run #0: crashed: BUG: soft lockup in sys_mount run #1: crashed: BUG: soft lockup in sys_mount run #2: crashed: BUG: soft lockup in sys_mount run #3: crashed: INFO: task hung in __lru_add_drain_all run #4: crashed: BUG: soft lockup in sys_mount run #5: crashed: BUG: soft lockup in sys_mount run #6: crashed: BUG: soft lockup in sys_mount run #7: crashed: BUG: soft lockup in sys_mount run #8: crashed: BUG: soft lockup in sys_mount run #9: crashed: BUG: soft lockup in sys_mount representative crash: BUG: soft lockup in sys_mount, types: [HANG] # git bisect bad 91f44781d59a00a3478240e0b907c70d972e8897 Bisecting: 22 revisions left to test after this (roughly 5 steps) [2612e29142ff718e6f120c62e6792f0a67fd3005] bcachefs: BCH_DATA_unstriped testing commit 2612e29142ff718e6f120c62e6792f0a67fd3005 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3c5c578bc9691ae585d94331fc714bdb7032cc386a110a8fcfb3db596ee05f20 all runs: OK false negative chance: 0.000 # git bisect good 2612e29142ff718e6f120c62e6792f0a67fd3005 Bisecting: 11 revisions left to test after this (roughly 4 steps) [72a6bb098c5879ce6aa51f714730971737a0b3ca] bcachefs: Kill bch2_fs_usage_initialize() testing commit 72a6bb098c5879ce6aa51f714730971737a0b3ca gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2d6f438be073bd8f6378404aa2be2aed7536fd52a5ce9e8d8cde23a3d4f101c9 all runs: crashed: BUG: soft lockup in sys_mount representative crash: BUG: soft lockup in sys_mount, types: [HANG] # git bisect bad 72a6bb098c5879ce6aa51f714730971737a0b3ca Bisecting: 5 revisions left to test after this (roughly 3 steps) [2744e5c9eb1a1090b5f61c955e934c70bfe6b04c] bcachefs: KEY_TYPE_accounting testing commit 2744e5c9eb1a1090b5f61c955e934c70bfe6b04c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d91b3c22b1d6d9f714babe96669680ade73fb7e12ea65b2d7d4cdc39bc27170b all runs: OK false negative chance: 0.000 # git bisect good 2744e5c9eb1a1090b5f61c955e934c70bfe6b04c Bisecting: 2 revisions left to test after this (roughly 2 steps) [1d16c605cc55ef26f0c65b362665a6c99080ccbc] bcachefs: Disk space accounting rewrite testing commit 1d16c605cc55ef26f0c65b362665a6c99080ccbc gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 92d7ef1dd56f47df5dc571fa794d01c40abbdf017213ed07fc97e0340d4c8880 all runs: crashed: INFO: task hung in __closure_sync representative crash: INFO: task hung in __closure_sync, types: [HANG] # git bisect bad 1d16c605cc55ef26f0c65b362665a6c99080ccbc Bisecting: 0 revisions left to test after this (roughly 1 step) [5d9667d1d6eaca3f6cd3c63cd6a0f309147c7f5c] bcachefs: btree write buffer knows how to accumulate bch_accounting keys testing commit 5d9667d1d6eaca3f6cd3c63cd6a0f309147c7f5c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3c5bb6c4bf76823ac0ccdf2424d55659a0f5a3ded800be61840633b6248303a0 all runs: OK false negative chance: 0.000 # git bisect good 5d9667d1d6eaca3f6cd3c63cd6a0f309147c7f5c 1d16c605cc55ef26f0c65b362665a6c99080ccbc is the first bad commit commit 1d16c605cc55ef26f0c65b362665a6c99080ccbc Author: Kent Overstreet Date: Thu Nov 9 14:22:46 2023 -0500 bcachefs: Disk space accounting rewrite Main part of the disk accounting rewrite. This is a wholesale rewrite of the existing disk space accounting, which relies on percepu counters that are sharded by journal buffer, and rolled up and added to each journal write. With the new scheme, every set of counters is a distinct key in the accounting btree; this fixes scaling limitations of the old scheme, where counters took up space in each journal entry and required multiple percpu counters. Now, in memory accounting requires a single set of percpu counters - not multiple for each in flight journal buffer - and in the future we'll probably also have counters that don't use in memory percpu counters, they're not strictly required. An accounting update is now a normal btree update, using the btree write buffer path. At transaction commit time, we apply accounting updates to the in memory counters, which are percpu counters indexed in an eytzinger tree by the accounting key. Signed-off-by: Kent Overstreet fs/bcachefs/alloc_background.c | 79 ++++++-- fs/bcachefs/alloc_background.h | 27 ++- fs/bcachefs/bcachefs.h | 6 +- fs/bcachefs/bcachefs_format.h | 1 - fs/bcachefs/bcachefs_ioctl.h | 7 +- fs/bcachefs/btree_gc.c | 5 +- fs/bcachefs/btree_iter.c | 9 - fs/bcachefs/btree_trans_commit.c | 65 +++++-- fs/bcachefs/btree_types.h | 1 - fs/bcachefs/btree_update.h | 9 +- fs/bcachefs/buckets.c | 291 +++++----------------------- fs/bcachefs/buckets.h | 26 +-- fs/bcachefs/disk_accounting.c | 366 ++++++++++++++++++++++++++++++++++- fs/bcachefs/disk_accounting.h | 131 +++++++++++++ fs/bcachefs/disk_accounting_format.h | 3 +- fs/bcachefs/disk_accounting_types.h | 20 ++ fs/bcachefs/ec.c | 26 +-- fs/bcachefs/inode.c | 9 +- fs/bcachefs/recovery.c | 17 +- fs/bcachefs/recovery_passes.c | 1 + fs/bcachefs/recovery_passes_types.h | 1 + fs/bcachefs/replicas.c | 42 ++-- fs/bcachefs/replicas.h | 11 +- fs/bcachefs/replicas_types.h | 16 -- fs/bcachefs/super.c | 49 +++-- 25 files changed, 795 insertions(+), 423 deletions(-) create mode 100644 fs/bcachefs/disk_accounting_types.h accumulated error probability: 0.00 culprit signature: 92d7ef1dd56f47df5dc571fa794d01c40abbdf017213ed07fc97e0340d4c8880 parent signature: 3c5bb6c4bf76823ac0ccdf2424d55659a0f5a3ded800be61840633b6248303a0 revisions tested: 23, total time: 7h14m46.5688258s (build: 3h33m4.285711741s, test: 3h27m37.172746729s) first bad commit: 1d16c605cc55ef26f0c65b362665a6c99080ccbc bcachefs: Disk space accounting rewrite recipients (to): ["kent.overstreet@linux.dev"] recipients (cc): [] crash: INFO: task hung in __closure_sync INFO: task syz.4.20:4921 blocked for more than 143 seconds. Not tainted 6.10.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.20 state:D stack:9984 pid:4921 tgid:4918 ppid:2975 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5407 [inline] __schedule+0x615/0x9a0 kernel/sched/core.c:6748 __schedule_loop kernel/sched/core.c:6825 [inline] schedule+0xac/0x140 kernel/sched/core.c:6840 __closure_sync+0x61/0xa0 lib/closure.c:146 closure_sync include/linux/closure.h:195 [inline] bch2_btree_update_start+0x6cf/0x810 fs/bcachefs/btree_update_interior.c:1267 bch2_btree_split_leaf+0x4e/0x1e0 fs/bcachefs/btree_update_interior.c:1851 bch2_trans_commit_error+0x1f9/0x580 fs/bcachefs/btree_trans_commit.c:961 __bch2_trans_commit+0x1c00/0x1f30 fs/bcachefs/btree_trans_commit.c:1189 bch2_trans_commit fs/bcachefs/btree_update.h:183 [inline] bch2_btree_write_buffer_flush_locked+0xe44/0x1100 fs/bcachefs/btree_write_buffer.c:429 btree_write_buffer_flush_seq+0x2cf/0x350 fs/bcachefs/btree_write_buffer.c:510 bch2_btree_write_buffer_journal_flush+0x35/0x60 fs/bcachefs/btree_write_buffer.c:525 journal_flush_pins+0x1e3/0x350 fs/bcachefs/journal_reclaim.c:553 journal_flush_done+0x4a/0xe0 fs/bcachefs/journal_reclaim.c:806 bch2_journal_flush_pins+0xdc/0x170 fs/bcachefs/journal_reclaim.c:839 bch2_journal_flush_all_pins fs/bcachefs/journal_reclaim.h:76 [inline] __bch2_fs_read_only+0x84/0x180 fs/bcachefs/super.c:277 bch2_fs_read_only+0x282/0x470 fs/bcachefs/super.c:357 __bch2_fs_stop+0x5f/0x260 fs/bcachefs/super.c:619 bch2_fs_stop fs/bcachefs/super.c:678 [inline] bch2_fs_open+0xce4/0x12e0 fs/bcachefs/super.c:2161 bch2_mount fs/bcachefs/fs.c:1924 [inline] bch2_fs_get_tree+0x297/0x6b0 fs/bcachefs/fs.c:2088 vfs_get_tree+0x24/0xb0 fs/super.c:1789 do_new_mount+0x15a/0x3a0 fs/namespace.c:3352 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x14b/0x1c0 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x8d/0x1a0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc3fad874ca RSP: 002b:00007fc3fbc87e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fc3fbc87ef0 RCX: 00007fc3fad874ca RDX: 00000000200000c0 RSI: 0000000020000180 RDI: 00007fc3fbc87eb0 RBP: 00000000200000c0 R08: 00007fc3fbc87ef0 R09: 0000000000000010 R10: 0000000000000010 R11: 0000000000000246 R12: 0000000020000180 R13: 00007fc3fbc87eb0 R14: 00000000000059ea R15: 0000000020000480 INFO: task bch-reclaim/loo:4987 blocked for more than 143 seconds. Not tainted 6.10.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:bch-reclaim/loo state:D stack:15288 pid:4987 tgid:4987 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5407 [inline] __schedule+0x615/0x9a0 kernel/sched/core.c:6748 __schedule_loop kernel/sched/core.c:6825 [inline] schedule+0xac/0x140 kernel/sched/core.c:6840 schedule_preempt_disabled+0x32/0x60 kernel/sched/core.c:6897 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x44a/0x970 kernel/locking/mutex.c:752 bch2_journal_reclaim_thread+0x74/0x160 fs/bcachefs/journal_reclaim.c:726 kthread+0xea/0x100 kernel/kthread.c:389 ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: #0: ffffffff83d800f8 (rcu_state.exp_mutex){....}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #0: ffffffff83d800f8 (rcu_state.exp_mutex){....}-{3:3}, at: synchronize_rcu_expedited+0x2c2/0x5e0 kernel/rcu/tree_exp.h:939 1 lock held by khungtaskd/30: #0: ffffffff83d7f250 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff83d7f250 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff83d7f250 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x30/0x100 kernel/locking/lockdep.c:6614 2 locks held by getty/1509: #0: ffff88810ae950a0 (&tty->ldisc_sem){....}-{0:0}, at: tty_ldisc_ref_wait+0x20/0x40 drivers/tty/tty_ldisc.c:243 #1: ffffc90002c432f0 (&ldata->atomic_read_lock){....}-{3:3}, at: n_tty_read+0x243/0x910 drivers/tty/n_tty.c:2211 5 locks held by syz.4.20/4921: #0: ffff888177c80278 (&c->state_lock){....}-{3:3}, at: __bch2_fs_stop+0x57/0x260 fs/bcachefs/super.c:618 #1: ffff888177ccafe8 (&j->reclaim_lock){....}-{3:3}, at: journal_flush_done+0x35/0xe0 fs/bcachefs/journal_reclaim.c:804 #2: ffff888177c842d0 (&c->btree_trans_barrier){....}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:116 [inline] #2: ffff888177c842d0 (&c->btree_trans_barrier){....}-{0:0}, at: srcu_read_lock include/linux/srcu.h:215 [inline] #2: ffff888177c842d0 (&c->btree_trans_barrier){....}-{0:0}, at: __bch2_trans_get+0x243/0x390 fs/bcachefs/btree_iter.c:3193 #3: ffff888177c84718 (&wb->flushing.lock){....}-{3:3}, at: btree_write_buffer_flush_seq+0x2c2/0x350 fs/bcachefs/btree_write_buffer.c:509 #4: ffff888177ca6750 (&c->gc_lock){....}-{3:3}, at: bch2_btree_update_start+0x2ff/0x810 fs/bcachefs/btree_update_interior.c:1195 1 lock held by bch-reclaim/loo/4987: #0: ffff888177ccafe8 (&j->reclaim_lock){....}-{3:3}, at: bch2_journal_reclaim_thread+0x74/0x160 fs/bcachefs/journal_reclaim.c:726 1 lock held by syz.1.1564/19313: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x3e/0xe0 lib/dump_stack.c:114 nmi_cpu_backtrace+0x146/0x160 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x8e/0x140 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0x5db/0x600 kernel/hung_task.c:379 kthread+0xea/0x100 kernel/kthread.c:389 ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 19297 Comm: syz.7.1563 Not tainted 6.10.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:io_serial_out+0x15/0x20 drivers/tty/serial/8250/8250_port.c:413 Code: 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 0f b6 8f f9 00 00 00 d3 e6 03 77 40 89 d0 89 f2 ee cc cc cc cc 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90000f27708 EFLAGS: 00000006 RAX: 0000000000000000 RBX: ffffffff88af1d64 RCX: 0000000000000000 RDX: 00000000000003f9 RSI: 00000000000003f9 RDI: ffffffff88ca7bb0 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff81d8fb00 R12: 0000000000000086 R13: 0000000000000000 R14: 0000000000000065 R15: ffffffff88ca7bb0 FS: 00007f310efc66c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb950d69160 CR3: 000000014f4fa000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: serial8250_console_write+0xda/0x5a0 drivers/tty/serial/8250/8250_port.c:3358 console_emit_next_record kernel/printk/printk.c:2913 [inline] console_flush_all+0x2d7/0x4c0 kernel/printk/printk.c:2979 console_unlock+0x54/0x150 kernel/printk/printk.c:3048 vprintk_emit+0x252/0x3b0 kernel/printk/printk.c:2348 bch2_print_maybe_redirect fs/bcachefs/super.c:104 [inline] __bch2_print+0xad/0xf0 fs/bcachefs/super.c:123 bch2_fs_online+0xd2/0x370 fs/bcachefs/super.c:689 bch2_fs_alloc fs/bcachefs/super.c:955 [inline] bch2_fs_open+0x12c2/0x12e0 fs/bcachefs/super.c:2124 bch2_mount fs/bcachefs/fs.c:1924 [inline] bch2_fs_get_tree+0x297/0x6b0 fs/bcachefs/fs.c:2088 vfs_get_tree+0x24/0xb0 fs/super.c:1789 do_new_mount+0x15a/0x3a0 fs/namespace.c:3352 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x14b/0x1c0 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x8d/0x1a0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f310e1874ca 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:00007f310efc5e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f310efc5ef0 RCX: 00007f310e1874ca RDX: 00000000200000c0 RSI: 0000000020000180 RDI: 00007f310efc5eb0 RBP: 00000000200000c0 R08: 00007f310efc5ef0 R09: 0000000000000010 R10: 0000000000000010 R11: 0000000000000246 R12: 0000000020000180 R13: 00007f310efc5eb0 R14: 00000000000059ea R15: 0000000020000480