ci starts bisection 2025-01-01 18:36:55.394583997 +0000 UTC m=+538204.299470583 bisecting cause commit starting from 8155b4ef3466f0e289e8fcc9e6e62f3f4dceeac2 building syzkaller on d3ccff6372e07c6aabd02b5da419aa6492b5f0ad ensuring issue is reproducible on original commit 8155b4ef3466f0e289e8fcc9e6e62f3f4dceeac2 testing commit 8155b4ef3466f0e289e8fcc9e6e62f3f4dceeac2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 572fe63077b8bc2e0c22ac4f5f9634d9d20863d6aa563ec90eeed58637d2b3b8 run #0: crashed: INFO: task hung in bchfs_fallocate run #1: crashed: INFO: task hung in bchfs_fallocate run #2: crashed: INFO: task hung in bchfs_fallocate run #3: crashed: INFO: task hung in bch2_mark_pagecache_reserved run #4: crashed: INFO: task hung in bchfs_fallocate run #5: crashed: INFO: task hung in bchfs_fallocate run #6: crashed: INFO: task hung in bchfs_fallocate run #7: crashed: INFO: task hung in bch2_mark_pagecache_reserved run #8: crashed: INFO: task hung in bchfs_fallocate run #9: crashed: INFO: task hung in bchfs_fallocate run #10: crashed: INFO: task hung in bchfs_fallocate run #11: crashed: INFO: task hung in bchfs_fallocate run #12: crashed: INFO: task hung in bch2_readahead run #13: crashed: INFO: task hung in bchfs_fallocate run #14: crashed: INFO: task hung in bchfs_fallocate run #15: crashed: INFO: task hung in bchfs_fallocate run #16: crashed: INFO: task hung in bchfs_fallocate run #17: crashed: INFO: task hung in bchfs_fallocate run #18: crashed: INFO: task hung in bchfs_fallocate run #19: crashed: INFO: task hung in bchfs_fallocate representative crash: INFO: task hung in bchfs_fallocate, types: [HANG] check whether we can drop unnecessary instrumentation disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP LEAK], they are not needed testing commit 8155b4ef3466f0e289e8fcc9e6e62f3f4dceeac2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d988374d0caff617e7f2c2f73444506e75665194ca4c760c356f1f9db0b225ab run #0: crashed: INFO: task hung in bch2_mark_pagecache_reserved run #1: crashed: INFO: task hung in bchfs_fallocate run #2: crashed: INFO: task hung in bch2_mark_pagecache_reserved run #3: crashed: INFO: task hung in bchfs_fallocate run #4: crashed: INFO: task hung in bchfs_fallocate run #5: crashed: INFO: task hung in bchfs_fallocate run #6: crashed: INFO: task hung in bchfs_fallocate run #7: crashed: INFO: task hung in bch2_mark_pagecache_reserved run #8: crashed: INFO: task hung in bchfs_fallocate run #9: crashed: INFO: task hung in bchfs_fallocate representative crash: INFO: task hung in bch2_mark_pagecache_reserved, 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=4045 full=8253 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 [BUG KASAN LOCKDEP ATOMIC_SLEEP LEAK UBSAN], they are not needed testing commit 8155b4ef3466f0e289e8fcc9e6e62f3f4dceeac2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cf8db4370f51f2fe6be1c115625f2a700e7ce533416a1e1e2835b1a1eae0de00 all runs: OK false negative chance: 0.000 testing without sub-chunk 2/5 disabling configs for [LOCKDEP ATOMIC_SLEEP LEAK UBSAN BUG KASAN], they are not needed testing commit 8155b4ef3466f0e289e8fcc9e6e62f3f4dceeac2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 446b60638e3a1f398474cd4bf341ec15d8e12a683e894f6ef5e535ff25ff8a32 all runs: crashed: INFO: task hung in bchfs_fallocate representative crash: INFO: task hung in bchfs_fallocate, types: [HANG] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 8155b4ef3466f0e289e8fcc9e6e62f3f4dceeac2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 046f2eb550e434ce9f70e2e2ef502dfde68d6c88c5dee05ffb4cd6191a253cda run #0: crashed: INFO: task hung in bch2_readahead run #1: crashed: INFO: task hung in bchfs_fallocate run #2: crashed: INFO: task hung in bchfs_fallocate run #3: crashed: INFO: task hung in bchfs_fallocate run #4: crashed: INFO: task hung in bchfs_fallocate run #5: crashed: INFO: task hung in bch2_mark_pagecache_reserved run #6: crashed: INFO: task hung in bchfs_fallocate run #7: crashed: INFO: task hung in bchfs_fallocate run #8: crashed: INFO: task hung in bchfs_fallocate run #9: crashed: INFO: task hung in bchfs_fallocate representative crash: INFO: task hung in bch2_readahead, 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 8155b4ef3466f0e289e8fcc9e6e62f3f4dceeac2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7513eda6638d0c4f7c8951f2b312b794118acef30c1fa07b5584ec5397d4e0d5 run #0: crashed: INFO: task hung in bch2_mark_pagecache_reserved run #1: crashed: INFO: task hung in bchfs_fallocate run #2: crashed: INFO: task hung in bchfs_fallocate run #3: crashed: INFO: task hung in bchfs_fallocate run #4: crashed: INFO: task hung in bchfs_fallocate run #5: crashed: INFO: task hung in bchfs_fallocate run #6: crashed: INFO: task hung in bchfs_fallocate run #7: crashed: INFO: task hung in bchfs_fallocate run #8: crashed: INFO: task hung in bchfs_fallocate run #9: crashed: INFO: task hung in bchfs_fallocate representative crash: INFO: task hung in bch2_mark_pagecache_reserved, types: [HANG] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 8155b4ef3466f0e289e8fcc9e6e62f3f4dceeac2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1e18ae7b6c0f3f07c27d839fdcff3215ee14a92856df5947739dac0d3931a56f run #0: crashed: INFO: task hung in bchfs_fallocate run #1: crashed: INFO: task hung in bchfs_fallocate run #2: crashed: INFO: task hung in bch2_mark_pagecache_reserved run #3: crashed: INFO: task hung in bchfs_fallocate run #4: crashed: INFO: task hung in bchfs_fallocate run #5: crashed: INFO: task hung in bchfs_fallocate run #6: crashed: INFO: task hung in bchfs_fallocate run #7: crashed: INFO: task hung in bchfs_fallocate run #8: crashed: INFO: task hung in bchfs_fallocate run #9: crashed: INFO: task hung in bchfs_fallocate representative crash: INFO: task hung in bchfs_fallocate, types: [HANG] 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_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_CRC32 ARCH_HAS_CRC_T10DIF 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 CRC32_ARCH CRC32_IMPL_ARCH_PLUS_SLICEBY8 CRC4 CRC64 CRC64_ROCKSOFT CRC7 CRC8 CRC_ITU_T CRC_T10DIF CRC_T10DIF_ARCH CRC_T10DIF_IMPL_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_CHACHA20POLY1305 CRYPTO_CHACHA20_X86_64 CRYPTO_CRC32 CRYPTO_CRC64_ROCKSOFT CRYPTO_CRCT10DIF 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_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_HDMI_HELPER DRM_DISPLAY_HELPER DRM_FBDEV_EMULATION DRM_GEM_SHMEM_HELPER DRM_GM12U320 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 [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], 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: dcb4953fdb295981190eca3033de93e158c80841ce7eca5cedf922d6eb27ab7e all runs: crashed: INFO: task hung in bchfs_fallocate representative crash: INFO: task hung in bchfs_fallocate, 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: 743adf143b3dbf17a02796bbea448a9476a7dcd0bf6b73947f0557cdba705a17 all runs: crashed: BUG: soft lockup in sys_mount 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: e0f221f397cf78a189508d0d234c7d67602c837da926b9e12113aa81fe1c964d 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: 2ad45caba639d380be036faca2b8a923af2096fd3213e07b8314ea6448127843 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: 93a9b9ba92f225e88a90ef6e11b391abddea3eb295e1b1480dc5527cd06eb2ec 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: 42c7ea72d6aa2397c71f08caa2f624ab8acfb606f55772724417abab2b190ea5 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: 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: INFO: task hung in __lru_add_drain_all 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: ac6210ce949cad21b8e4318e309fdc9f5ace29c5ffdd490e9f4b2803364f7fe9 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: d9153bb5957837ec8d518f2c34b00c3945fdbb96cd8523dd85302c07c143c095 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: 60966c1dd7a5041758f34f0c6b9799fbbf7318eebeb1b29e00664e13e862111b 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: 7be880f5b7ad21b13baa01a13a768cef13353d3fc138c5d8f438277f24a206c7 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: 98b1166e98767dc5539f1ef4b4589655a77945cea6146d6f31c238a2d5a24353 all runs: 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: b2b8ca3daa7b61a739566cc2dcd561f6ceaa75e1eeb48db7a400cb78874b6bcb 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: a337439c6ef4b4636aebdc21850cb299d6f55a20d7429658fc73afbe98585565 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: 4326bd53fbbc0eef8a85dcf227f0701f93a227bd7519e5cdf53288c372ddd654 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: dcce18d55b3c0912755892a74ab509d15fca16fc3c1464e09c01e295ceee5b22 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: b858511ea0875cf2b9d823eaef2509fef63c8a05971e6e9a6ab74f68c184f742 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: dcce18d55b3c0912755892a74ab509d15fca16fc3c1464e09c01e295ceee5b22 parent signature: b858511ea0875cf2b9d823eaef2509fef63c8a05971e6e9a6ab74f68c184f742 revisions tested: 23, total time: 7h56m54.734769817s (build: 4h29m50.439976039s, test: 3h8m59.382935061s) first bad commit: 1d16c605cc55ef26f0c65b362665a6c99080ccbc bcachefs: Disk space accounting rewrite recipients (to): ["kent.overstreet@linux.dev" "kent.overstreet@linux.dev" "linux-bcachefs@vger.kernel.org"] recipients (cc): ["bfoster@redhat.com" "linux-kernel@vger.kernel.org"] crash: INFO: task hung in __closure_sync INFO: task syz.1.17:4863 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.1.17 state:D stack:9984 pid:4863 tgid:4860 ppid:2942 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5407 [inline] __schedule+0x627/0x9c0 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:0x7fd9f7f874ca RSP: 002b:00007fd9f8d0be68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fd9f8d0bef0 RCX: 00007fd9f7f874ca RDX: 00000000200000c0 RSI: 0000000020000180 RDI: 00007fd9f8d0beb0 RBP: 00000000200000c0 R08: 00007fd9f8d0bef0 R09: 0000000000000010 R10: 0000000000000010 R11: 0000000000000246 R12: 0000000020000180 R13: 00007fd9f8d0beb0 R14: 00000000000059d5 R15: 0000000020000480 INFO: task bch-reclaim/loo:4956 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:15160 pid:4956 tgid:4956 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5407 [inline] __schedule+0x627/0x9c0 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 khungtaskd/30: #0: ffffffff83b7ec90 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff83b7ec90 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff83b7ec90 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x30/0x100 kernel/locking/lockdep.c:6614 2 locks held by kworker/u8:6/1088: #0: ffff88810007c948 ((wq_completion)events_unbound){....}-{0:0}, at: process_one_work kernel/workqueue.c:3223 [inline] #0: ffff88810007c948 ((wq_completion)events_unbound){....}-{0:0}, at: process_scheduled_works+0x247/0x5c0 kernel/workqueue.c:3329 #1: ffffc90001ef7e58 ((reaper_work).work){....}-{0:0}, at: process_one_work kernel/workqueue.c:3224 [inline] #1: ffffc90001ef7e58 ((reaper_work).work){....}-{0:0}, at: process_scheduled_works+0x267/0x5c0 kernel/workqueue.c:3329 2 locks held by kworker/u8:8/1243: #0: ffff88810007c948 ((wq_completion)events_unbound){....}-{0:0}, at: process_one_work kernel/workqueue.c:3223 [inline] #0: ffff88810007c948 ((wq_completion)events_unbound){....}-{0:0}, at: process_scheduled_works+0x247/0x5c0 kernel/workqueue.c:3329 #1: ffffc90002797e58 (connector_reaper_work){....}-{0:0}, at: process_one_work kernel/workqueue.c:3224 [inline] #1: ffffc90002797e58 (connector_reaper_work){....}-{0:0}, at: process_scheduled_works+0x267/0x5c0 kernel/workqueue.c:3329 2 locks held by getty/1476: #0: ffff888106eb50a0 (&tty->ldisc_sem){....}-{0:0}, at: tty_ldisc_ref_wait+0x20/0x40 drivers/tty/tty_ldisc.c:243 #1: ffffc90002b032f0 (&ldata->atomic_read_lock){....}-{3:3}, at: n_tty_read+0x243/0x910 drivers/tty/n_tty.c:2211 5 locks held by syz.1.17/4863: #0: ffff88816f000278 (&c->state_lock){....}-{3:3}, at: __bch2_fs_stop+0x57/0x260 fs/bcachefs/super.c:618 #1: ffff88816f04afe8 (&j->reclaim_lock){....}-{3:3}, at: journal_flush_done+0x35/0xe0 fs/bcachefs/journal_reclaim.c:804 #2: ffff88816f0042d0 (&c->btree_trans_barrier){....}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:116 [inline] #2: ffff88816f0042d0 (&c->btree_trans_barrier){....}-{0:0}, at: srcu_read_lock include/linux/srcu.h:215 [inline] #2: ffff88816f0042d0 (&c->btree_trans_barrier){....}-{0:0}, at: __bch2_trans_get+0x243/0x390 fs/bcachefs/btree_iter.c:3193 #3: ffff88816f004718 (&wb->flushing.lock){....}-{3:3}, at: btree_write_buffer_flush_seq+0x2c2/0x350 fs/bcachefs/btree_write_buffer.c:509 #4: ffff88816f026750 (&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/4956: #0: ffff88816f04afe8 (&j->reclaim_lock){....}-{3:3}, at: bch2_journal_reclaim_thread+0x74/0x160 fs/bcachefs/journal_reclaim.c:726 5 locks held by syz.4.1582/19421: 3 locks held by syz.0.1583/19427: #0: ffff88815d6808f8 (&c->sb_lock){....}-{3:3}, at: bch2_fs_alloc fs/bcachefs/super.c:830 [inline] #0: ffff88815d6808f8 (&c->sb_lock){....}-{3:3}, at: bch2_fs_open+0x9b1/0x12e0 fs/bcachefs/super.c:2124 #1: ffff88815d684988 (&c->mark_lock){....}-{0:0}, at: bch2_sb_replicas_to_cpu_replicas+0xb0/0x100 fs/bcachefs/replicas.c:714 #2: ffffffff83b7fb38 (rcu_state.exp_mutex){....}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #2: ffffffff83b7fb38 (rcu_state.exp_mutex){....}-{3:3}, at: synchronize_rcu_expedited+0x15c/0x5e0 kernel/rcu/tree_exp.h:939 3 locks held by syz.6.1584/19437: #0: ffff888154e008f8 (&c->sb_lock){....}-{3:3}, at: bch2_fs_alloc fs/bcachefs/super.c:830 [inline] #0: ffff888154e008f8 (&c->sb_lock){....}-{3:3}, at: bch2_fs_open+0x9b1/0x12e0 fs/bcachefs/super.c:2124 #1: ffff888154e04988 (&c->mark_lock){....}-{0:0}, at: bch2_sb_replicas_to_cpu_replicas+0xb0/0x100 fs/bcachefs/replicas.c:714 #2: ffffffff83b7fb38 (rcu_state.exp_mutex){....}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #2: ffffffff83b7fb38 (rcu_state.exp_mutex){....}-{3:3}, at: synchronize_rcu_expedited+0x15c/0x5e0 kernel/rcu/tree_exp.h:939 ============================================= 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: 41 Comm: kworker/u8:2 Not tainted 6.10.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:switch_mm_irqs_off+0x447/0x620 Code: 1e fa 48 b9 00 00 00 00 00 00 00 80 48 09 c1 0f 22 d9 0f 1f 44 00 00 65 8b 05 51 d4 fa 7e 89 c0 48 0f a3 05 63 ad dd 02 73 05 54 71 1a 00 65 4c 89 2d 2c d5 fa 7e 65 66 44 89 25 33 d5 fa 7e RSP: 0018:ffffc9000015fc40 EFLAGS: 00000047 RAX: 0000000000000001 RBX: ffffffff83bb4f40 RCX: 000000000000002e RDX: 0000000000000000 RSI: ffffffff83761162 RDI: ffff88810006a000 RBP: ffff88810006a000 R08: 0005800000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff888100070000 R14: ffffffff83bb4f00 R15: 0000000003a44000 FS: 0000000000000000(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa32c969160 CR3: 000000010006a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: use_temporary_mm arch/x86/kernel/alternative.c:1793 [inline] __text_poke+0x250/0x440 arch/x86/kernel/alternative.c:1904 text_poke arch/x86/kernel/alternative.c:1968 [inline] text_poke_bp_batch+0x25f/0x310 arch/x86/kernel/alternative.c:2357 text_poke_flush arch/x86/kernel/alternative.c:2470 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2477 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 static_key_disable_cpuslocked kernel/jump_label.c:235 [inline] static_key_disable+0x3f/0x60 kernel/jump_label.c:243 toggle_allocation_gate+0xe2/0x130 mm/kfence/core.c:831 process_one_work kernel/workqueue.c:3248 [inline] process_scheduled_works+0x2ac/0x5c0 kernel/workqueue.c:3329 worker_thread+0x23e/0x2f0 kernel/workqueue.c:3409 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