ci2 starts bisection 2024-07-19 01:17:51.208257272 +0000 UTC m=+99.004399230 bisecting cause commit starting from b1bc554e009e3aeed7e4cfd2e717c7a34a98c683 building syzkaller on 71884c12555595a8e0a95e0538481f5a71d4d974 ensuring issue is reproducible on original commit b1bc554e009e3aeed7e4cfd2e717c7a34a98c683 testing commit b1bc554e009e3aeed7e4cfd2e717c7a34a98c683 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0e94ad2a783a68e72219efb8de10808c9ba5de51eb4ef82c392937a25aeb26fc all runs: crashed: kernel BUG in btrfs_folio_end_all_writers representative crash: kernel BUG in btrfs_folio_end_all_writers, types: [BUG] check whether we can drop unnecessary instrumentation disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit b1bc554e009e3aeed7e4cfd2e717c7a34a98c683 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7e53df3e72af0b5eea94f62004360e749f6e7319cbc16dbac7321f8406ff29e4 all runs: crashed: kernel BUG in btrfs_folio_end_all_writers representative crash: kernel BUG in btrfs_folio_end_all_writers, types: [BUG] the bug reproduces without the instrumentation disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed kconfig minimization: base=3993 full=8052 leaves diff=2007 split chunks (needed=false): <2007> split chunk #0 of len 2007 into 5 parts testing without sub-chunk 1/5 disabling configs for [UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit b1bc554e009e3aeed7e4cfd2e717c7a34a98c683 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f8d51421185b6d87814df70b2b577effb3220743ba0e78bd96b95f665e9ab0a1 all runs: OK false negative chance: 0.000 testing without sub-chunk 2/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit b1bc554e009e3aeed7e4cfd2e717c7a34a98c683 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6722569acaf3dd7cd54f0e4233b442bda4cdc2dbe936b5bd3867266a821cc050 all runs: crashed: kernel BUG in btrfs_folio_end_all_writers representative crash: kernel BUG in btrfs_folio_end_all_writers, types: [BUG] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit b1bc554e009e3aeed7e4cfd2e717c7a34a98c683 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 496974b160a154ca96bf48078df250f5a7fb81909a9dc84f3cd8be9424af6888 all runs: crashed: kernel BUG in btrfs_folio_end_all_writers representative crash: kernel BUG in btrfs_folio_end_all_writers, types: [BUG] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN KASAN], they are not needed testing commit b1bc554e009e3aeed7e4cfd2e717c7a34a98c683 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6744384b2acfb7276f26cefd9175da23edb1859b7691c8327a762cb407dca58e all runs: crashed: kernel BUG in btrfs_folio_end_all_writers representative crash: kernel BUG in btrfs_folio_end_all_writers, types: [BUG] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN KASAN], they are not needed testing commit b1bc554e009e3aeed7e4cfd2e717c7a34a98c683 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 78a54a1c48cfea6f1cbdb4f9e4ef7083b3967784552fb579b170619c6f2483ee all runs: crashed: kernel BUG in btrfs_folio_end_all_writers representative crash: kernel BUG in btrfs_folio_end_all_writers, types: [BUG] the chunk can be dropped minimized to 402 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_MADT_WAKEUP ACPI_NFIT ACPI_NHLT ACPI_PLATFORM_PROFILE ADDRESS_MASKING ADFS_FS AFFS_FS AFS_FS AFS_FSCACHE AF_KCM AF_RXRPC AF_RXRPC_IPV6 AIX_PARTITION AMIGA_PARTITION ANDROID_BINDERFS ANDROID_BINDER_IPC ANON_VMA_NAME APERTURE_HELPERS AR5523 ARCH_ENABLE_MEMORY_HOTREMOVE ARCH_ENABLE_THP_MIGRATION ARCH_WANT_PMD_MKWRITE ASM_MODVERSIONS 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_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_CMTP BT_HCIBCM203X BT_HCIBFUSB BT_HCIBPA10X BT_HCIBTUSB 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_HIDP BT_INTEL BT_LE BT_LEDS BT_LE_L2CAP_ECRED BT_MRVL BT_MRVL_SDIO BT_MSFTEXT BT_MTK 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_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_VCAN CAN_VXCAN CAPI_TRACE 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_BQ24190 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_MBYTES 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_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_INTEL CRYPTO_CRC32_PCLMUL CRYPTO_CRC64_ROCKSOFT CRYPTO_CRCT10DIF CRYPTO_CRCT10DIF_PCLMUL 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_ECC 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_CHACHA_GENERIC CRYPTO_LIB_CURVE25519 CRYPTO_LIB_CURVE25519_GENERIC CRYPTO_LIB_DES CRYPTO_LIB_POLY1305 CRYPTO_LIB_POLY1305_GENERIC CRYPTO_LRW 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_VMAC CRYPTO_WP512 CRYPTO_XCBC CRYPTO_XCTR CRYPTO_XTS CRYPTO_XXHASH CUSE CYPRESS_FIRMWARE DAMON DAMON_PADDR DAMON_RECLAIM DAMON_VADDR DAX DCA DCB DEFAULT_PFIFO_FAST 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_BOCHS ENCRYPTED_KEYS EXTCON FSCACHE FUSE_FS GPIOLIB HAMRADIO HID_DRAGONRISE IIO INFINIBAND INFINIBAND_ADDR_TRANS INFINIBAND_RTRS_CLIENT IOSCHED_BFQ ISDN ISDN_CAPI 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 WIRELESS_EXT WLAN WLAN_VENDOR_ATH X86_X32_ABI ZONE_DEVICE] disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed picked [v6.10 v6.9 v6.8 v6.6 v6.4 v6.2 v6.0 v5.18 v5.15 v5.12 v5.9 v5.6 v5.3 v5.0 v4.19] out of 33 release tags 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: 57b478b577852586ed6655fd30e4943103fbb8d62af752f7a0704335caaffb37 all runs: crashed: kernel BUG in folio_unlock representative crash: kernel BUG in folio_unlock, types: [BUG] testing release v6.9 testing commit a38297e3fb012ddfa7ce0321a7e5a8daeb1872b6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 296c2b95fadba1f28eda8efbaba8b60a4219d43eced2278719dd69eb1eb3468c all runs: OK false negative chance: 0.000 # git bisect start 0c3836482481200ead7b416ca80c68a29cfdaabd a38297e3fb012ddfa7ce0321a7e5a8daeb1872b6 Bisecting: 7190 revisions left to test after this (roughly 13 steps) [33e02dc69afbd8f1b85a51d74d72f139ba4ca623] Merge tag 'sound-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound testing commit 33e02dc69afbd8f1b85a51d74d72f139ba4ca623 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4c4986434ae2035003d31e30b4fbc575127373cf524df48524737285f37313c2 all runs: crashed: kernel BUG in folio_unlock representative crash: kernel BUG in folio_unlock, types: [BUG] # git bisect bad 33e02dc69afbd8f1b85a51d74d72f139ba4ca623 Bisecting: 4252 revisions left to test after this (roughly 12 steps) [b850dc206a57ae272c639e31ac202ec0c2f46960] Merge tag 'firewire-updates-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394 testing commit b850dc206a57ae272c639e31ac202ec0c2f46960 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3f5cc7d84bac3a4e9775f81b23e0f80fdc7eda403cb75eea8b2d1019fc469acf all runs: crashed: kernel BUG in folio_unlock representative crash: kernel BUG in folio_unlock, types: [BUG] # git bisect bad b850dc206a57ae272c639e31ac202ec0c2f46960 Bisecting: 1559 revisions left to test after this (roughly 11 steps) [59729c8a76544d9d7651287a5d28c5bf7fc9fccc] Merge tag 'tag-chrome-platform-for-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux testing commit 59729c8a76544d9d7651287a5d28c5bf7fc9fccc gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ea0b3eb6b6253ff818784e339da63e8aedeed4f5f939ae4fa921eda88eb67dd6 all runs: OK false negative chance: 0.000 # git bisect good 59729c8a76544d9d7651287a5d28c5bf7fc9fccc Bisecting: 777 revisions left to test after this (roughly 10 steps) [101b7a97143a018b38b1f7516920a7d7d23d1745] Merge tag 'acpi-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm testing commit 101b7a97143a018b38b1f7516920a7d7d23d1745 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 48b587b4bbfb75a933a04ed2e8db3744534bffb2830f4d49feba2dcaf9d3d68e all runs: OK false negative chance: 0.000 # git bisect good 101b7a97143a018b38b1f7516920a7d7d23d1745 Bisecting: 395 revisions left to test after this (roughly 9 steps) [47e9bff7fc042b28eb4cf375f0cf249ab708fdfa] Merge tag 'erofs-for-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs testing commit 47e9bff7fc042b28eb4cf375f0cf249ab708fdfa gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 93d1293f60b10c375b8cbc1e0e4bcd8e3a0c670f36bb72a5a4f9b352af6ff8fc all runs: OK false negative chance: 0.000 # git bisect good 47e9bff7fc042b28eb4cf375f0cf249ab708fdfa Bisecting: 197 revisions left to test after this (roughly 8 steps) [b2665fe61d8a51ef70b27e1a830635a72dcc6ad8] Merge tag 'ata-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux testing commit b2665fe61d8a51ef70b27e1a830635a72dcc6ad8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d624e67e31222623ef39878beeca698f849ac1bc684802cd9890af050258a71c all runs: crashed: kernel BUG in folio_unlock representative crash: kernel BUG in folio_unlock, types: [BUG] # git bisect bad b2665fe61d8a51ef70b27e1a830635a72dcc6ad8 Bisecting: 98 revisions left to test after this (roughly 7 steps) [aa5ccf29173acfaa8aa2fdd1421aa6aca1a50cf2] btrfs: handle errors in btrfs_reloc_clone_csums properly testing commit aa5ccf29173acfaa8aa2fdd1421aa6aca1a50cf2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 452fee61665171d9c7e11c3471cac1cc1d36d75c928d17f103d38556f8be9a09 all runs: OK false negative chance: 0.000 # git bisect good aa5ccf29173acfaa8aa2fdd1421aa6aca1a50cf2 Bisecting: 39 revisions left to test after this (roughly 6 steps) [6fffab6676853d52cfdbb030365354252a66a20a] Merge tag 'dlm-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm testing commit 6fffab6676853d52cfdbb030365354252a66a20a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 184b916d86902e3ea6070108550ec71b41cb1bad024a6f2a3cb86c505e1899b4 all runs: crashed: kernel BUG in folio_unlock representative crash: kernel BUG in folio_unlock, types: [BUG] # git bisect bad 6fffab6676853d52cfdbb030365354252a66a20a Bisecting: 29 revisions left to test after this (roughly 5 steps) [6644925abf056030cd9efc73fc05ea5a5df4f59f] dlm: do not use ref counts for rsb in the toss state testing commit 6644925abf056030cd9efc73fc05ea5a5df4f59f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d9d1aaa92cf19c61d781d6a9739df2bdfd2b74882054f01ed4233e4df62210b2 all runs: boot failed: WARNING: refcount bug in __free_pages_ok unable to determine the verdict: 0 good runs (wanted 5), for bad wanted 5 in total, got 0 # git bisect skip 6644925abf056030cd9efc73fc05ea5a5df4f59f Bisecting: 29 revisions left to test after this (roughly 5 steps) [2bec1bbd55cf96b313566d2e1b9ff54451685e18] dlm: remove callback reference counting testing commit 2bec1bbd55cf96b313566d2e1b9ff54451685e18 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f04ea23cd89bd57ec61de4187cb655d3c23a73ec3408970c1d5668fbd4e67f4f all runs: boot failed: WARNING: refcount bug in __free_pages_ok unable to determine the verdict: 0 good runs (wanted 5), for bad wanted 5 in total, got 0 # git bisect skip 2bec1bbd55cf96b313566d2e1b9ff54451685e18 Bisecting: 29 revisions left to test after this (roughly 5 steps) [dcdaad05ca15150ae076299ba827867f243c0623] dlm: change to single hashtable lock testing commit dcdaad05ca15150ae076299ba827867f243c0623 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4b29f3318a9e572affe0876024680fdebab11a4919c978d6ddc43cf13d8d438b all runs: boot failed: WARNING: refcount bug in __free_pages_ok unable to determine the verdict: 0 good runs (wanted 5), for bad wanted 5 in total, got 0 # git bisect skip dcdaad05ca15150ae076299ba827867f243c0623 Bisecting: 29 revisions left to test after this (roughly 5 steps) [98808644b920ed7bb33fe7b33d8f09d4e392e6c2] dlm: remove allocation parameter in msg allocation testing commit 98808644b920ed7bb33fe7b33d8f09d4e392e6c2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: da1a0633aa209149797ccdc20611aecc3ab9d1c7ab383100eeac0089061ff754 all runs: boot failed: WARNING: refcount bug in __free_pages_ok unable to determine the verdict: 0 good runs (wanted 5), for bad wanted 5 in total, got 0 # git bisect skip 98808644b920ed7bb33fe7b33d8f09d4e392e6c2 Bisecting: 29 revisions left to test after this (roughly 5 steps) [7b72ab2c6a468305449db8f204bf1e406fd3e147] dlm: return -ENOMEM if ls_recover_buf fails testing commit 7b72ab2c6a468305449db8f204bf1e406fd3e147 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e392dadff8d23ee83db33723e8cd76a6e1add1aa85d8305d5de1717271fc5a1c all runs: boot failed: WARNING: refcount bug in __free_pages_ok unable to determine the verdict: 0 good runs (wanted 5), for bad wanted 5 in total, got 0 # git bisect skip 7b72ab2c6a468305449db8f204bf1e406fd3e147 Bisecting: 29 revisions left to test after this (roughly 5 steps) [a0766d8f35d8c7b3df319ccfd6e85b4a07c1f0bd] btrfs: push extent lock into cow_file_range testing commit a0766d8f35d8c7b3df319ccfd6e85b4a07c1f0bd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4f5811eb88b7ff9ec6b9befd7f0c30578d4e154a921dcea2aa8bbd92fd1c6994 all runs: crashed: kernel BUG in folio_unlock representative crash: kernel BUG in folio_unlock, types: [BUG] # git bisect bad a0766d8f35d8c7b3df319ccfd6e85b4a07c1f0bd Bisecting: 4 revisions left to test after this (roughly 3 steps) [7c9acd440f4d1124122639928ac4ff69082bbd3a] btrfs: push extent lock into run_delalloc_nocow testing commit 7c9acd440f4d1124122639928ac4ff69082bbd3a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 202082a00d47ec768b6956449cbeb8c1febc73a0c0c272f496cc3c3dbaa5cfc3 all runs: crashed: kernel BUG in folio_unlock representative crash: kernel BUG in folio_unlock, types: [BUG] # git bisect bad 7c9acd440f4d1124122639928ac4ff69082bbd3a Bisecting: 2 revisions left to test after this (roughly 2 steps) [0586d0a89e77d717da14df42648ace4a9fd67981] btrfs: move extent bit and page cleanup into cow_file_range_inline testing commit 0586d0a89e77d717da14df42648ace4a9fd67981 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c35d68612613c261325552c755400f41fbddf3960d3f3a904f85cec9f74c9ada all runs: crashed: kernel BUG in folio_unlock representative crash: kernel BUG in folio_unlock, types: [BUG] # git bisect bad 0586d0a89e77d717da14df42648ace4a9fd67981 Bisecting: 0 revisions left to test after this (roughly 1 step) [0332967b4d657754c914b2a1951ae2d4ed3d99bd] btrfs: unlock all the pages with successful inline extent creation testing commit 0332967b4d657754c914b2a1951ae2d4ed3d99bd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ec643bd5b4824813e77506c3d0c8f95322c2abae9c11abe25ed2b364146bff8b all runs: OK false negative chance: 0.000 # git bisect good 0332967b4d657754c914b2a1951ae2d4ed3d99bd 0586d0a89e77d717da14df42648ace4a9fd67981 is the first bad commit commit 0586d0a89e77d717da14df42648ace4a9fd67981 Author: Josef Bacik Date: Wed Mar 20 17:24:13 2024 -0400 btrfs: move extent bit and page cleanup into cow_file_range_inline We duplicate the extent cleanup for cow_file_range_inline() in the cow and compressed case. The encoded case doesn't need to do cleanup the same way, so rename cow_file_range_inline to __cow_file_range_inline and then make cow_file_range_inline handle the extent cleanup appropriately, and update the callers. Reviewed-by: Johannes Thumshirn Signed-off-by: Josef Bacik Signed-off-by: David Sterba fs/btrfs/inode.c | 104 +++++++++++++++++++++++++++---------------------------- 1 file changed, 51 insertions(+), 53 deletions(-) accumulated error probability: 0.00 culprit signature: c35d68612613c261325552c755400f41fbddf3960d3f3a904f85cec9f74c9ada parent signature: ec643bd5b4824813e77506c3d0c8f95322c2abae9c11abe25ed2b364146bff8b revisions tested: 26, total time: 8h36m12.213101622s (build: 3h47m7.895619013s, test: 3h1m28.021520137s) first bad commit: 0586d0a89e77d717da14df42648ace4a9fd67981 btrfs: move extent bit and page cleanup into cow_file_range_inline recipients (to): ["dsterba@suse.com" "johannes.thumshirn@wdc.com" "josef@toxicpanda.com"] recipients (cc): [] crash: kernel BUG in folio_unlock reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1141 [inline] free_unref_page_prepare+0x425/0x4c0 mm/page_alloc.c:2347 free_unref_folios+0x125/0x5a0 mm/page_alloc.c:2536 folios_put_refs+0x1dc/0x210 mm/swap.c:1034 folio_batch_release include/linux/pagevec.h:101 [inline] shmem_undo_range+0x279/0x920 mm/shmem.c:1005 shmem_truncate_range mm/shmem.c:1114 [inline] shmem_evict_inode+0x13b/0x300 mm/shmem.c:1242 evict+0xca/0x220 fs/inode.c:667 __dentry_kill+0xaa/0x200 fs/dcache.c:603 dput+0x75/0xe0 fs/dcache.c:845 __fput+0x1a4/0x290 fs/file_table.c:430 __do_sys_close fs/open.c:1556 [inline] __se_sys_close+0x6b/0xc0 fs/open.c:1541 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xe2/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f ------------[ cut here ]------------ kernel BUG at mm/filemap.c:1483! invalid opcode: 0000 [#1] PREEMPT SMP PTI CPU: 0 PID: 3242 Comm: syz.0.15 Not tainted 6.9.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:folio_unlock+0x73/0xb0 mm/filemap.c:1483 Code: 47 48 a8 01 74 bf 48 ff c8 48 39 f8 74 b7 48 c7 c6 99 15 58 83 e8 ed 4d 05 00 90 0f 0b 48 c7 c6 a6 67 5a 83 e8 de 4d 05 00 90 <0f> 0b f3 0f 1e fa 48 89 f8 48 c1 e0 34 75 9d 48 f7 07 40 00 00 00 RSP: 0018:ffffc90002eb7a18 EFLAGS: 00010246 RAX: 950970d4796d6500 RBX: 00000000ffffffe2 RCX: 950970d4796d6500 RDX: 0000000000000002 RSI: ffffffff8358862e RDI: ffffffff8363b17d RBP: ffff88817d7a0e58 R08: 0000000000000000 R09: ffffffff83accfe0 R10: ffffc90002eb7738 R11: ffffc90002eb76e0 R12: ffff88817d7a0e58 R13: 0000000000000000 R14: 0000000000000001 R15: ffffea0005e6ecc0 FS: 0000555591a3b500(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000280 CR3: 0000000105b7c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __extent_writepage fs/btrfs/extent_io.c:1519 [inline] extent_write_cache_pages fs/btrfs/extent_io.c:2173 [inline] btrfs_writepages+0x9e5/0xc20 fs/btrfs/extent_io.c:2294 do_writepages+0xd9/0x300 mm/page-writeback.c:2612 filemap_fdatawrite_wbc+0x60/0x80 mm/filemap.c:397 __filemap_fdatawrite_range mm/filemap.c:430 [inline] __filemap_fdatawrite mm/filemap.c:436 [inline] filemap_flush+0x4f/0x80 mm/filemap.c:463 btrfs_release_file+0x54/0x60 fs/btrfs/file.c:1737 __fput+0xfc/0x290 fs/file_table.c:422 task_work_run+0x82/0xb0 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xb6/0x1f0 kernel/entry/common.c:218 do_syscall_64+0xef/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f99a4975b59 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:00007ffc83221428 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f99a4b05a60 RCX: 00007f99a4975b59 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f99a4b05a60 R08: 0000000000000006 R09: 0000000a8322174f R10: 000000000003fd84 R11: 0000000000000246 R12: 000000000000d305 R13: 0000000000000032 R14: 00007f99a4b05a60 R15: 00007f99a4b04038 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:folio_unlock+0x73/0xb0 mm/filemap.c:1483 Code: 47 48 a8 01 74 bf 48 ff c8 48 39 f8 74 b7 48 c7 c6 99 15 58 83 e8 ed 4d 05 00 90 0f 0b 48 c7 c6 a6 67 5a 83 e8 de 4d 05 00 90 <0f> 0b f3 0f 1e fa 48 89 f8 48 c1 e0 34 75 9d 48 f7 07 40 00 00 00 RSP: 0018:ffffc90002eb7a18 EFLAGS: 00010246 RAX: 950970d4796d6500 RBX: 00000000ffffffe2 RCX: 950970d4796d6500 RDX: 0000000000000002 RSI: ffffffff8358862e RDI: ffffffff8363b17d RBP: ffff88817d7a0e58 R08: 0000000000000000 R09: ffffffff83accfe0 R10: ffffc90002eb7738 R11: ffffc90002eb76e0 R12: ffff88817d7a0e58 R13: 0000000000000000 R14: 0000000000000001 R15: ffffea0005e6ecc0 FS: 0000555591a3b500(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000280 CR3: 0000000105b7c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400