ci starts bisection 2025-03-25 13:14:01.719601143 +0000 UTC m=+132053.547373133
bisecting cause commit starting from 3ba7dfb8da62c43ea02bc278863367c2b0427cc1
building syzkaller on 875573af37b09758ab48042f2b8a368097204888
ensuring issue is reproducible on original commit 3ba7dfb8da62c43ea02bc278863367c2b0427cc1

testing commit 3ba7dfb8da62c43ea02bc278863367c2b0427cc1 gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 6c460d2e7ab30599d5a06577408de5edfdfe21aa5ac86812a017bdf2aa0bc6bf
all runs: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
representative crash: BUG: sleeping function called from invalid context in folio_mc_copy, types: [ATOMIC_SLEEP]
check whether we can drop unnecessary instrumentation
disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed
testing commit 3ba7dfb8da62c43ea02bc278863367c2b0427cc1 gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 7818ebb9e5bf7681572a9d126e3236bc01443af6d4623582ed35df6096feaef3
run #0: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
run #1: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
run #2: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
run #3: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
run #4: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
run #5: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
run #6: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
run #7: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
run #8: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
run #9: OK
representative crash: BUG: sleeping function called from invalid context in folio_mc_copy, types: [ATOMIC_SLEEP]
the bug reproduces without the instrumentation
disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP HANG], they are not needed
kconfig minimization: base=4062 full=8260 leaves diff=2115
split chunks (needed=false): <2115>
split chunk #0 of len 2115 into 5 parts
testing without sub-chunk 1/5
disabling configs for [KASAN LOCKDEP HANG LEAK UBSAN BUG], they are not needed
testing commit 3ba7dfb8da62c43ea02bc278863367c2b0427cc1 gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 893ece4b9d27313d1016a3784bf6ef6a54bc395bf421be5f455f4f55a3799f3c
all runs: OK
false negative chance: 0.000
testing without sub-chunk 2/5
disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP HANG], they are not needed
testing commit 3ba7dfb8da62c43ea02bc278863367c2b0427cc1 gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 9d3e45e32c6484aa12156ca5b9dd84fc2362fe4d4f638ab23bdce1f0a907bb65
all runs: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
representative crash: BUG: sleeping function called from invalid context in folio_mc_copy, types: [ATOMIC_SLEEP]
the chunk can be dropped
testing without sub-chunk 3/5
disabling configs for [UBSAN BUG KASAN LOCKDEP HANG LEAK], they are not needed
testing commit 3ba7dfb8da62c43ea02bc278863367c2b0427cc1 gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: a762d729a3da56cc8d44ed10478ace7d59237866f10f0b518ea2e359783d9966
run #0: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
run #1: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
run #2: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
run #3: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
run #4: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
run #5: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
run #6: OK
run #7: OK
run #8: OK
run #9: OK
representative crash: BUG: sleeping function called from invalid context in folio_mc_copy, types: [ATOMIC_SLEEP]
the chunk can be dropped
testing without sub-chunk 4/5
disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed
testing commit 3ba7dfb8da62c43ea02bc278863367c2b0427cc1 gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 2bf37ceac757242fbb22ff5c8a2bf6ddd320bf7a67c9e0c5b96dc9ca0ef532b2
run #0: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
run #1: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
run #2: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
run #3: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
run #4: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
run #5: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
run #6: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
run #7: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
run #8: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
run #9: OK
representative crash: BUG: sleeping function called from invalid context in folio_mc_copy, types: [ATOMIC_SLEEP]
the chunk can be dropped
testing without sub-chunk 5/5
disabling configs for [LOCKDEP HANG LEAK UBSAN BUG KASAN], they are not needed
testing commit 3ba7dfb8da62c43ea02bc278863367c2b0427cc1 gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 398d39ef0a2daacf86262a5fc3293431c5ceae0d94131ff9ccb63073182c98ae
all runs: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
representative crash: BUG: sleeping function called from invalid context in folio_mc_copy, types: [ATOMIC_SLEEP]
the chunk can be dropped
minimized to 423 configs; suspects: [6LOWPAN 6LOWPAN_GHC_EXT_HDR_DEST 6LOWPAN_GHC_EXT_HDR_FRAG 6LOWPAN_GHC_EXT_HDR_HOP 6LOWPAN_GHC_EXT_HDR_ROUTE 6LOWPAN_GHC_ICMPV6 6LOWPAN_GHC_UDP 6LOWPAN_NHC 6LOWPAN_NHC_DEST 6LOWPAN_NHC_FRAGMENT 6LOWPAN_NHC_HOP 6LOWPAN_NHC_IPV6 6LOWPAN_NHC_MOBILITY 6LOWPAN_NHC_ROUTING 6LOWPAN_NHC_UDP 6PACK 842_COMPRESS 842_DECOMPRESS 9P_FSCACHE 9P_FS_POSIX_ACL 9P_FS_SECURITY ACORN_PARTITION ACORN_PARTITION_ADFS ACORN_PARTITION_CUMANA ACORN_PARTITION_EESOX ACORN_PARTITION_ICS ACORN_PARTITION_POWERTEC ACORN_PARTITION_RISCIX ACPI_NFIT ACPI_NHLT ACPI_PLATFORM_PROFILE ADFS_FS AFFS_FS AFS_FS AFS_FSCACHE AF_KCM AF_RXRPC AF_RXRPC_IPV6 AIX_PARTITION AMD_SFH_HID AMIGA_PARTITION ANDROID_BINDER_IPC ANON_VMA_NAME APERTURE_HELPERS APPLE_MFI_FASTCHARGE AR5523 ARCH_ENABLE_MEMORY_HOTREMOVE ARCH_ENABLE_THP_MIGRATION ARCH_HAS_USER_SHADOW_STACK ARCH_SUPPORTS_HUGE_PFNMAP ARCH_SUPPORTS_PMD_PFNMAP ARCH_SUPPORTS_PUD_PFNMAP ARCH_WANT_PMD_MKWRITE ASM_MODVERSIONS ASUS_TF103C_DOCK ASYNC_CORE ASYNC_MEMCPY ASYNC_PQ ASYNC_RAID6_RECOV ASYNC_TX_DMA ASYNC_XOR ATARI_PARTITION ATA_GENERIC ATA_OVER_ETH ATH10K ATH10K_CE ATH10K_LEDS ATH10K_PCI ATH10K_USB ATH11K ATH6KL ATH6KL_USB ATH9K ATH9K_AHB ATH9K_BTCOEX_SUPPORT ATH9K_CHANNEL_CONTEXT ATH9K_COMMON ATH9K_COMMON_DEBUG ATH9K_COMMON_SPECTRAL ATH9K_DEBUGFS ATH9K_DYNACK ATH9K_HTC ATH9K_HTC_DEBUGFS ATH9K_HW ATH9K_PCI ATH9K_PCOEM ATH9K_RFKILL ATH_COMMON ATM ATM_BR2684 ATM_CLIP ATM_DRIVERS ATM_LANE ATM_MPOA ATM_TCP AUXILIARY_BUS AX25 AX25_DAMA_SLAVE AX88796B_PHY BAREUDP BATMAN_ADV BATMAN_ADV_BATMAN_V BATMAN_ADV_BLA BATMAN_ADV_DAT BATMAN_ADV_MCAST BATMAN_ADV_NC BCACHE BCACHEFS_DEBUG BCACHEFS_ERASURE_CODING BCACHEFS_FS BCACHEFS_POSIX_ACL BCACHEFS_QUOTA BCACHEFS_SIX_OPTIMISTIC_SPIN BCMA BCMA_HOST_PCI_POSSIBLE BEFS_FS BFQ_CGROUP_DEBUG BFQ_GROUP_IOSCHED BFS_FS BIG_KEYS BLK_CGROUP_PUNT_BIO BLK_CGROUP_RWSTAT BLK_DEV_BSGLIB BLK_DEV_INTEGRITY BLK_DEV_NBD BLK_DEV_NULL_BLK BLK_DEV_NULL_BLK_FAULT_INJECTION BLK_DEV_NVME BLK_DEV_PMEM BLK_DEV_RAM BLK_DEV_RNBD BLK_DEV_RNBD_CLIENT BLK_DEV_THROTTLING BLK_DEV_ZONED BLK_ICQ BLK_INLINE_ENCRYPTION BLK_INLINE_ENCRYPTION_FALLBACK BLK_WBT BLK_WBT_MQ BONDING BOOT_VESA_SUPPORT BPF_EVENTS BPF_JIT BPF_JIT_ALWAYS_ON BPF_JIT_DEFAULT_ON BPF_LSM BPF_PRELOAD BPF_PRELOAD_UMD BPF_STREAM_PARSER BPF_SYSCALL BPQETHER BRIDGE BRIDGE_CFM BRIDGE_EBT_802_3 BRIDGE_EBT_AMONG BRIDGE_EBT_ARP BRIDGE_EBT_ARPREPLY BRIDGE_EBT_BROUTE BRIDGE_EBT_DNAT BRIDGE_EBT_IP BRIDGE_EBT_IP6 BRIDGE_EBT_LIMIT BRIDGE_EBT_LOG BRIDGE_EBT_MARK BRIDGE_EBT_MARK_T BRIDGE_EBT_NFLOG BRIDGE_EBT_PKTTYPE BRIDGE_EBT_REDIRECT BRIDGE_EBT_SNAT BRIDGE_EBT_STP BRIDGE_EBT_T_FILTER BRIDGE_EBT_T_NAT BRIDGE_EBT_VLAN BRIDGE_IGMP_SNOOPING BRIDGE_MRP BRIDGE_NF_EBTABLES BRIDGE_NF_EBTABLES_LEGACY BRIDGE_VLAN_FILTERING BSD_DISKLABEL BSD_PROCESS_ACCT_V3 BT BTRFS_ASSERT BTRFS_FS BTRFS_FS_POSIX_ACL BTRFS_FS_REF_VERIFY BTT BT_6LOWPAN BT_ATH3K BT_BCM BT_BNEP BT_BNEP_MC_FILTER BT_BNEP_PROTO_FILTER BT_BREDR BT_HCIBCM203X BT_HCIBFUSB BT_HCIBPA10X BT_HCIBTUSB BT_HCIBTUSB_AUTOSUSPEND BT_HCIBTUSB_BCM BT_HCIBTUSB_MTK BT_HCIBTUSB_POLL_SYNC BT_HCIBTUSB_RTL BT_HCIUART BT_HCIUART_3WIRE BT_HCIUART_AG6XX BT_HCIUART_BCSP BT_HCIUART_H4 BT_HCIUART_LL BT_HCIUART_MRVL BT_HCIUART_QCA BT_HCIUART_SERDEV BT_HCIVHCI BT_INTEL BT_LE BT_LEDS BT_LE_L2CAP_ECRED BT_MRVL BT_MRVL_SDIO BT_MSFTEXT BT_MTK BT_MTKSDIO BT_MTKUART BT_QCA BT_RFCOMM BT_RFCOMM_TTY BT_RTL CACHEFILES CAIF CAIF_DEBUG CAIF_DRIVERS CAIF_NETDEV CAIF_TTY CAIF_USB CAIF_VIRTIO CAN CAN_8DEV_USB CAN_BCM CAN_CALC_BITTIMING CAN_DEV CAN_EMS_USB CAN_ESD_USB CAN_ETAS_ES58X CAN_F81604 CAN_GS_USB CAN_GW CAN_IFI_CANFD CAN_ISOTP CAN_J1939 CAN_KVASER_USB CAN_MCBA_USB CAN_NETLINK CAN_PEAK_USB CAN_RAW CAN_RX_OFFLOAD CAN_SLCAN CAN_UCAN CAN_VCAN CAN_VXCAN CARL9170 CARL9170_HWRNG CARL9170_LEDS CARL9170_WPC CEC_CORE CEPH_FS CEPH_FSCACHE CEPH_FS_POSIX_ACL CEPH_LIB CEPH_LIB_USE_DNS_RESOLVER CFG80211 CFG80211_CRDA_SUPPORT CFG80211_DEBUGFS CFG80211_DEFAULT_PS CFG80211_REQUIRE_SIGNED_REGDB CFG80211_USE_KERNEL_REGDB_KEYS CFG80211_WEXT CFS_BANDWIDTH CGROUP_BPF CHARGER_ISP1704 CHR_DEV_ST CIFS CIFS_ALLOW_INSECURE_LEGACY CIFS_DEBUG CIFS_DFS_UPCALL CIFS_FSCACHE CIFS_POSIX CIFS_SMB_DIRECT CIFS_SWN_UPCALL CIFS_UPCALL CIFS_XATTR CLOSURES CLS_U32_MARK CLS_U32_PERF CMA CMA_SIZE_SEL_MAX CMDLINE_PARTITION COMEDI COMEDI_DT9812 COMEDI_NI_USB6501 COMEDI_USBDUX COMEDI_USBDUXFAST COMEDI_USBDUXSIGMA COMEDI_USB_DRIVERS COMEDI_VMK80XX COMPAT_NETLINK_MESSAGES COUNTER CRAMFS CRAMFS_BLOCKDEV CRAMFS_MTD CRC4 CRC64 CRC64_ROCKSOFT CRC7 CRC8 CRC_ITU_T CRC_T10DIF CRC_T10DIF_ARCH CRYPTO_842 CRYPTO_ADIANTUM CRYPTO_AEGIS128 CRYPTO_AEGIS128_AESNI_SSE2 CRYPTO_AES_NI_INTEL CRYPTO_AES_TI CRYPTO_ANSI_CPRNG CRYPTO_ANUBIS CRYPTO_ARC4 CRYPTO_ARCH_HAVE_LIB_BLAKE2S CRYPTO_ARCH_HAVE_LIB_CHACHA CRYPTO_ARCH_HAVE_LIB_CURVE25519 CRYPTO_ARCH_HAVE_LIB_POLY1305 CRYPTO_ARIA CRYPTO_ARIA_AESNI_AVX_X86_64 CRYPTO_BLAKE2B CRYPTO_BLAKE2S_X86 CRYPTO_BLOWFISH CRYPTO_BLOWFISH_COMMON CRYPTO_BLOWFISH_X86_64 CRYPTO_CAMELLIA CRYPTO_CAMELLIA_AESNI_AVX2_X86_64 CRYPTO_CAMELLIA_AESNI_AVX_X86_64 CRYPTO_CAMELLIA_X86_64 CRYPTO_CAST5 CRYPTO_CAST5_AVX_X86_64 CRYPTO_CAST6 CRYPTO_CAST6_AVX_X86_64 CRYPTO_CAST_COMMON CRYPTO_CHACHA20 CRYPTO_CHACHA20POLY1305 CRYPTO_CHACHA20_X86_64 CRYPTO_CRC32 CRYPTO_CRC32C CRYPTO_CRC64_ROCKSOFT CRYPTO_CRYPTD CRYPTO_CTS CRYPTO_CURVE25519 CRYPTO_CURVE25519_X86 CRYPTO_DEFLATE CRYPTO_DES CRYPTO_DES3_EDE_X86_64 CRYPTO_DEV_CCP CRYPTO_DEV_CCP_DD CRYPTO_DEV_PADLOCK CRYPTO_DEV_PADLOCK_AES CRYPTO_DEV_PADLOCK_SHA CRYPTO_DEV_QAT CRYPTO_DEV_QAT_C3XXX CRYPTO_DEV_QAT_C3XXXVF CRYPTO_DEV_QAT_C62X CRYPTO_DEV_QAT_C62XVF CRYPTO_DEV_QAT_DH895xCC CRYPTO_DEV_QAT_DH895xCCVF CRYPTO_DEV_VIRTIO CRYPTO_DH CRYPTO_DRBG_CTR CRYPTO_DRBG_HASH CRYPTO_ECDH CRYPTO_ECRDSA CRYPTO_ENGINE CRYPTO_ESSIV CRYPTO_FCRYPT CRYPTO_GHASH_CLMUL_NI_INTEL CRYPTO_HCTR2 CRYPTO_KDF800108_CTR CRYPTO_KHAZAD CRYPTO_KPP CRYPTO_LIB_ARC4 CRYPTO_LIB_CHACHA CRYPTO_LIB_CHACHA20POLY1305 CRYPTO_LIB_CHACHA_GENERIC CRYPTO_LIB_CURVE25519 CRYPTO_LIB_CURVE25519_GENERIC CRYPTO_LIB_DES CRYPTO_LIB_POLY1305 CRYPTO_LIB_POLY1305_GENERIC CRYPTO_LRW CRYPTO_LZ4 CRYPTO_LZ4HC CRYPTO_MICHAEL_MIC CRYPTO_NHPOLY1305 CRYPTO_NHPOLY1305_AVX2 CRYPTO_NHPOLY1305_SSE2 CRYPTO_PCBC CRYPTO_PCRYPT CRYPTO_POLY1305 CRYPTO_POLY1305_X86_64 CRYPTO_POLYVAL CRYPTO_POLYVAL_CLMUL_NI CRYPTO_RMD160 CRYPTO_SEED CRYPTO_SERPENT CRYPTO_SERPENT_AVX2_X86_64 CRYPTO_SERPENT_AVX_X86_64 CRYPTO_SERPENT_SSE2_X86_64 CRYPTO_SHA1_SSSE3 CRYPTO_SHA256_SSSE3 CRYPTO_SHA512_SSSE3 CRYPTO_SIMD CRYPTO_SM3 CRYPTO_SM3_AVX_X86_64 CRYPTO_SM4 CRYPTO_SM4_AESNI_AVX2_X86_64 CRYPTO_SM4_AESNI_AVX_X86_64 CRYPTO_SM4_GENERIC CRYPTO_STREEBOG CRYPTO_TEA CRYPTO_TWOFISH CRYPTO_TWOFISH_AVX_X86_64 CRYPTO_TWOFISH_COMMON CRYPTO_TWOFISH_X86_64 CRYPTO_TWOFISH_X86_64_3WAY CRYPTO_USER CRYPTO_USER_API CRYPTO_USER_API_AEAD CRYPTO_USER_API_ENABLE_OBSOLETE CRYPTO_USER_API_HASH CRYPTO_USER_API_RNG CRYPTO_USER_API_SKCIPHER CRYPTO_WP512 CRYPTO_XCBC CRYPTO_XCTR CRYPTO_XTS CRYPTO_XXHASH CRYPTO_ZSTD CUSE CYPRESS_FIRMWARE DAMON DAMON_PADDR DAMON_RECLAIM DAMON_VADDR DAX DCA DCB 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 [HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed
picked [v6.14 v6.13 v6.12 v6.10 v6.8 v6.6 v6.4 v6.2 v5.19 v5.16 v5.13 v5.10 v5.7 v5.4 v5.1 v4.19] out of 37 release tags
testing release v6.14
testing commit 38fec10eb60d687e30c8c6b5420d86e8149f7557 gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: ff92a13aeb771e5832935abdaa5b1dfcffbde1185fdc95d37b91bab8f067508b
all runs: OK
false negative chance: 0.000
# git bisect start 3ba7dfb8da62c43ea02bc278863367c2b0427cc1 38fec10eb60d687e30c8c6b5420d86e8149f7557
Bisecting: 345 revisions left to test after this (roughly 9 steps)
[06961fbbbd7a832a5943413447d2813a714a3c82] Merge tag 'move-lib-kunit-v6.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux

testing commit 06961fbbbd7a832a5943413447d2813a714a3c82 gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 204f4fc54f6eea3ac25dcfc42afa0903493bf466f7de2d0d59abde8c52c5b036
all runs: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
representative crash: BUG: sleeping function called from invalid context in folio_mc_copy, types: [ATOMIC_SLEEP]
# git bisect bad 06961fbbbd7a832a5943413447d2813a714a3c82
Bisecting: 171 revisions left to test after this (roughly 7 steps)
[0ec0d4ecdd8bda4d55c5ba7b11b1595df36e3179] Merge tag 'vfs-6.15-rc1.iomap' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

testing commit 0ec0d4ecdd8bda4d55c5ba7b11b1595df36e3179 gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 41f6154b022f4449b0cd7e67b9cdf7e8941dcd58e89603bd8078cd5ab059afd3
all runs: OK
false negative chance: 0.000
# git bisect good 0ec0d4ecdd8bda4d55c5ba7b11b1595df36e3179
Bisecting: 86 revisions left to test after this (roughly 7 steps)
[e63046adefc03800f1af76476701606bb148b49c] Merge tag 'vfs-6.15-rc1.ceph' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

testing commit e63046adefc03800f1af76476701606bb148b49c gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 9b5d3249cdffa6ebca835e114831d10b74ebf267972fcef984bcd8834d850962
all runs: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
representative crash: BUG: sleeping function called from invalid context in folio_mc_copy, types: [ATOMIC_SLEEP]
# git bisect bad e63046adefc03800f1af76476701606bb148b49c
Bisecting: 53 revisions left to test after this (roughly 5 steps)
[74adf9e3538423256fe197bd235daa2b73c3af2c] Merge tag 'vfs-6.15-rc1.nsfs' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

testing commit 74adf9e3538423256fe197bd235daa2b73c3af2c gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 978424cb429e738e729de470172c7bd21577eb283ac626fca534174048d6bd99
all runs: OK
false negative chance: 0.000
# git bisect good 74adf9e3538423256fe197bd235daa2b73c3af2c
Bisecting: 29 revisions left to test after this (roughly 5 steps)
[130e696aa68b0e0c13f790898529b2cc1a5f8f8e] Merge tag 'vfs-6.15-rc1.mount.namespace' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

testing commit 130e696aa68b0e0c13f790898529b2cc1a5f8f8e gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 686e0e297acd37d8f5255957029f41ee8d768b1c89751cdc1b17431f2b64f18a
all runs: OK
false negative chance: 0.000
# git bisect good 130e696aa68b0e0c13f790898529b2cc1a5f8f8e
Bisecting: 14 revisions left to test after this (roughly 4 steps)
[9dcef93363e7f7b925b3adc4a3171bd00250c8dd] fs: Remove page_mkwrite_check_truncate()

testing commit 9dcef93363e7f7b925b3adc4a3171bd00250c8dd gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: c0c76ed06585c6b28871e1d7fc5df6adff4087c3bf5553015c83414e8c56bcdd
all runs: OK
false negative chance: 0.000
# git bisect good 9dcef93363e7f7b925b3adc4a3171bd00250c8dd
Bisecting: 7 revisions left to test after this (roughly 3 steps)
[47dd67532303803a87f43195e088b3b4bcf0454d] block/bdev: lift block size restrictions to 64k

testing commit 47dd67532303803a87f43195e088b3b4bcf0454d gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 41915c8c65e1762d134936338071886adfc5bb8e947e8392a4e3a5f1e17e35a7
all runs: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
representative crash: BUG: sleeping function called from invalid context in folio_mc_copy, types: [ATOMIC_SLEEP]
# git bisect bad 47dd67532303803a87f43195e088b3b4bcf0454d
Bisecting: 3 revisions left to test after this (roughly 2 steps)
[86c60efd7c0ede43bd677f2eee1d84200528df1e] fs/mpage: avoid negative shift for large blocksize

testing commit 86c60efd7c0ede43bd677f2eee1d84200528df1e gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 6af0d94d8a0573d5bce439df7c33ccdce48423bae82dd54f5dbb245364c29a61
all runs: OK
false negative chance: 0.000
# git bisect good 86c60efd7c0ede43bd677f2eee1d84200528df1e
Bisecting: 1 revision left to test after this (roughly 1 step)
[e59e97d42b053011ca831a9079ae0b6c4b2ecf65] fs/buffer fs/mpage: remove large folio restriction

testing commit e59e97d42b053011ca831a9079ae0b6c4b2ecf65 gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: df0f51dfb688e8e5a39498a86c7bea6f5d9b91ea08534729df348b80a126f276
all runs: OK
false negative chance: 0.000
# git bisect good e59e97d42b053011ca831a9079ae0b6c4b2ecf65
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[3c20917120ce61f2a123ca0810293872f4c6b5a4] block/bdev: enable large folio support for large logical block sizes

testing commit 3c20917120ce61f2a123ca0810293872f4c6b5a4 gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: ee78c4707aeafaddd19dd24bcac6a29c3602e349197f4b0e3d1ea17a606a6df8
all runs: crashed: BUG: sleeping function called from invalid context in folio_mc_copy
representative crash: BUG: sleeping function called from invalid context in folio_mc_copy, types: [ATOMIC_SLEEP]
# git bisect bad 3c20917120ce61f2a123ca0810293872f4c6b5a4
3c20917120ce61f2a123ca0810293872f4c6b5a4 is the first bad commit
commit 3c20917120ce61f2a123ca0810293872f4c6b5a4
Author: Hannes Reinecke <hare@suse.de>
Date:   Fri Feb 21 14:38:21 2025 -0800

    block/bdev: enable large folio support for large logical block sizes
    
    Call mapping_set_folio_min_order() when modifying the logical block
    size to ensure folios are allocated with the correct size.
    
    Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
    Reviewed-by: "Matthew Wilcox (Oracle)" <willy@infradead.org>
    Signed-off-by: Hannes Reinecke <hare@suse.de>
    Link: https://lore.kernel.org/r/20250221223823.1680616-7-mcgrof@kernel.org
    Reviewed-by: John Garry <john.g.garry@oracle.com>
    Reviewed-by: Hannes Reinecke <hare@suse.de>
    Signed-off-by: Christian Brauner <brauner@kernel.org>

 block/bdev.c | 3 +++
 1 file changed, 3 insertions(+)

accumulated error probability: 0.00
culprit signature: ee78c4707aeafaddd19dd24bcac6a29c3602e349197f4b0e3d1ea17a606a6df8
parent  signature: df0f51dfb688e8e5a39498a86c7bea6f5d9b91ea08534729df348b80a126f276
revisions tested: 18, total time: 7h49m39.242906255s (build: 4h11m1.22377285s, test: 3h15m51.498833926s)
first bad commit: 3c20917120ce61f2a123ca0810293872f4c6b5a4 block/bdev: enable large folio support for large logical block sizes
recipients (to): ["brauner@kernel.org" "hare@suse.de" "john.g.garry@oracle.com" "mcgrof@kernel.org" "willy@infradead.org"]
recipients (cc): []
crash: BUG: sleeping function called from invalid context in folio_mc_copy
BUG: sleeping function called from invalid context at mm/util.c:901
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5007, name: syz.3.24
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
2 locks held by syz.3.24/5007:
 #0: ffff88810abc43f8 (sb_writers#3){....}-{0:0}, at: direct_splice_actor+0x1b/0x150 fs/splice.c:1163
 #1: ffff8881106dd6c0 (&mapping->i_private_lock){....}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline]
 #1: ffff8881106dd6c0 (&mapping->i_private_lock){....}-{2:2}, at: __buffer_migrate_folio+0x115/0x250 mm/migrate.c:855
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 1 UID: 0 PID: 5007 Comm: syz.3.24 Not tainted 6.14.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x3e/0xe0 lib/dump_stack.c:120
 __might_resched+0x1a4/0x1c0 kernel/sched/core.c:8766
 folio_mc_copy+0x96/0xe0 mm/util.c:901
 __migrate_folio+0x68/0x160 mm/migrate.c:760
 filemap_migrate_folio mm/migrate.c:945 [inline]
 __buffer_migrate_folio+0x186/0x250 mm/migrate.c:876
 move_to_new_folio+0xac/0x470 mm/migrate.c:1052
 migrate_folio_move mm/migrate.c:1360 [inline]
 migrate_folios_move mm/migrate.c:1712 [inline]
 migrate_pages_batch+0xa87/0x1010 mm/migrate.c:1959
 migrate_pages_sync mm/migrate.c:1989 [inline]
 migrate_pages+0x98b/0xdf0 mm/migrate.c:2098
 compact_zone+0xeb1/0x12a0 mm/compaction.c:2663
 compact_node mm/compaction.c:2932 [inline]
 compact_nodes mm/compaction.c:2954 [inline]
 sysctl_compaction_handler+0x182/0x270 mm/compaction.c:3005
 proc_sys_call_handler+0x1a7/0x310 fs/proc/proc_sysctl.c:601
 iter_file_splice_write+0x3b8/0x5c0 fs/splice.c:743
 do_splice_from fs/splice.c:941 [inline]
 direct_splice_actor+0x43/0x150 fs/splice.c:1164
 splice_direct_to_actor+0x131/0x2d0 fs/splice.c:1108
 do_splice_direct_actor fs/splice.c:1207 [inline]
 do_splice_direct+0x70/0xb0 fs/splice.c:1233
 do_sendfile+0x221/0x340 fs/read_write.c:1363
 __do_sys_sendfile64 fs/read_write.c:1418 [inline]
 __se_sys_sendfile64+0x5f/0xe0 fs/read_write.c:1410
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x8d/0x190 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fde94b8d169
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fde95a19038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007fde94da5fa0 RCX: 00007fde94b8d169
RDX: 00002000000000c0 RSI: 0000000000000005 RDI: 0000000000000006
RBP: 00007fde94c0e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000009 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fde94da5fa0 R15: 00007fff10281708
 </TASK>
syz.3.24 (5007) used greatest stack depth: 11040 bytes left