ci2 starts bisection 2024-09-07 17:34:25.389429281 +0000 UTC m=+94979.053284849 bisecting fixing commit since 4aa6747d935281df8a1888feeb6e22e0097d0b86 building syzkaller on fb427a0782000106c62de76d251e5a02de5406a9 ensuring issue is reproducible on original commit 4aa6747d935281df8a1888feeb6e22e0097d0b86 testing commit 4aa6747d935281df8a1888feeb6e22e0097d0b86 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bb1c3de1e60b0bc0f5a4a03c68470890450f39880a39071639db4936a005f46d all runs: crashed: possible deadlock in hfsplus_file_extend representative crash: possible deadlock in hfsplus_file_extend, types: [LOCKDEP] check whether we can drop unnecessary instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 4aa6747d935281df8a1888feeb6e22e0097d0b86 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e63ef7e6dc1f107f120cc337396bf4f8e0ddc967a7bb71ac14b1a2b77cb1788f all runs: crashed: possible deadlock in hfsplus_file_extend representative crash: possible deadlock in hfsplus_file_extend, types: [LOCKDEP] the bug reproduces without the instrumentation disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed kconfig minimization: base=3824 full=7526 leaves diff=1995 split chunks (needed=false): <1995> split chunk #0 of len 1995 into 5 parts testing without sub-chunk 1/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 4aa6747d935281df8a1888feeb6e22e0097d0b86 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0c9438ab520eb34cd8d52e910cc2365194321bb546be50a741826aae0a276bcf all runs: crashed: possible deadlock in hfsplus_file_extend representative crash: possible deadlock in hfsplus_file_extend, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 4aa6747d935281df8a1888feeb6e22e0097d0b86 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b527d5d44fbf334ff349b3a34f596b666f66391adf0f3ab29448b747e3930ab8 all runs: OK false negative chance: 0.000 testing without sub-chunk 3/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 4aa6747d935281df8a1888feeb6e22e0097d0b86 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5af149817ee0ce8dd24cb417d4fdc1aba8069c5a93bc42d4ce8c5db73265e7f6 all runs: crashed: possible deadlock in hfsplus_file_extend representative crash: possible deadlock in hfsplus_file_extend, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed testing commit 4aa6747d935281df8a1888feeb6e22e0097d0b86 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d1db25bff65b8946e297e0e0439027b6151305ad01b432cd37c6d4574a20264e all runs: crashed: possible deadlock in hfsplus_file_extend representative crash: possible deadlock in hfsplus_file_extend, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed testing commit 4aa6747d935281df8a1888feeb6e22e0097d0b86 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c4233a75247a808b8b5237402eb2096933d7358a3d69d8b362f39b3f236c154b all runs: crashed: possible deadlock in hfsplus_file_extend representative crash: possible deadlock in hfsplus_file_extend, types: [LOCKDEP] the chunk can be dropped minimized to 399 configs; suspects: [6LOWPAN ARCH_ENABLE_MEMORY_HOTREMOVE ASUS_WMI CMA COMMON_CLK DAX DLM DRM DRM_BRIDGE DRM_DISPLAY_HDMI_HELPER DRM_DISPLAY_HELPER DRM_DP_AUX_BUS DRM_DP_AUX_CHARDEV DRM_FBDEV_EMULATION DRM_GEM_SHMEM_HELPER DRM_I915 DRM_I915_CAPTURE_ERROR DRM_I915_COMPRESS_ERROR DRM_I915_USERPTR DRM_KMS_HELPER DRM_MIPI_DSI DRM_NOMODESET DRM_PANEL DRM_PANEL_BRIDGE DRM_PANEL_EDP DRM_PANEL_ORIENTATION_QUIRKS DRM_SIMPLEDRM DRM_TTM DRM_TTM_HELPER DRM_UDL DRM_VGEM DRM_VIRTIO_GPU DRM_VKMS DRM_VMWGFX DRM_VRAM_HELPER DUMMY DVB_AF9013 DVB_AF9033 DVB_AS102 DVB_AS102_FE DVB_B2C2_FLEXCOP DVB_B2C2_FLEXCOP_USB DVB_CORE DVB_DIB3000MB DVB_DIB3000MC DVB_EC100 DVB_GP8PSK_FE DVB_RTL2830 DVB_RTL2832 DVB_RTL2832_SDR DVB_TEST_DRIVERS DVB_TTUSB_BUDGET DVB_TTUSB_DEC DVB_USB DVB_USB_A800 DVB_USB_AF9005 DVB_USB_AF9005_REMOTE DVB_USB_AF9015 DVB_USB_AF9035 DVB_USB_ANYSEE DVB_USB_AU6610 DVB_USB_AZ6007 DVB_USB_AZ6027 DVB_USB_CE6230 DVB_USB_CINERGY_T2 DVB_USB_CXUSB DVB_USB_DIB0700 DVB_USB_DIB3000MC DVB_USB_DIBUSB_MB DVB_USB_DIBUSB_MC DVB_USB_DIGITV DVB_USB_DTT200U DVB_USB_DTV5100 DVB_USB_DVBSKY DVB_USB_DW2102 DVB_USB_EC168 DVB_USB_GL861 DVB_USB_GP8PSK DVB_USB_LME2510 DVB_USB_M920X DVB_USB_MXL111SF DVB_USB_NOVA_T_USB2 DVB_USB_OPERA1 DVB_USB_PCTV452E DVB_USB_RTL28XXU DVB_USB_TECHNISAT_USB2 DVB_USB_TTUSB2 DVB_USB_UMT_010 DVB_USB_V2 DVB_USB_VP702X DVB_USB_VP7045 DVB_USB_ZD1301 DVB_VIDTV DVB_ZL10353 ECRYPT_FS ECRYPT_FS_MESSAGING EDAC EEPROM_93CX6 EFS_FS ENCRYPTED_KEYS EQUALIZER EROFS_FS EROFS_FS_POSIX_ACL EROFS_FS_SECURITY EROFS_FS_XATTR EROFS_FS_ZIP EVM EVM_ADD_XATTRS EVM_ATTR_FSUUID EXFAT_FS EXPORTFS_BLOCK_OPS EXT3_FS EXT3_FS_POSIX_ACL EXT3_FS_SECURITY EXTCON EXTCON_INTEL_CHT_WC F2FS_CHECK_FS F2FS_FAULT_INJECTION F2FS_FS F2FS_FS_COMPRESSION F2FS_FS_LZ4 F2FS_FS_LZ4HC F2FS_FS_LZO F2FS_FS_LZORLE F2FS_FS_POSIX_ACL F2FS_FS_SECURITY F2FS_FS_XATTR F2FS_FS_ZSTD F2FS_STAT_FS FANOTIFY FANOTIFY_ACCESS_PERMISSIONS FB FB_CFB_COPYAREA FB_CFB_FILLRECT FB_CFB_IMAGEBLIT FB_CMDLINE FB_DEFERRED_IO FB_NOTIFY FB_SYS_COPYAREA FB_SYS_FILLRECT FB_SYS_FOPS FB_SYS_IMAGEBLIT FB_TILEBLITTING FB_VESA FB_VGA16 FB_VIRTUAL FDDI FIREWIRE FIREWIRE_NET FIREWIRE_OHCI FIREWIRE_SBP2 FONT_8x16 FONT_8x8 FONT_SUPPORT FRAMEBUFFER_CONSOLE FRAMEBUFFER_CONSOLE_DETECT_PRIMARY FRAMEBUFFER_CONSOLE_ROTATION FRONTSWAP FS_DAX FS_DAX_PMD FS_ENCRYPTION FS_ENCRYPTION_ALGS FS_VERITY FS_VERITY_BUILTIN_SIGNATURES FTL FUSE_DAX FUSE_FS FW_LOADER_COMPRESS FW_LOADER_PAGED_BUF FW_LOADER_SYSFS FW_LOADER_USER_HELPER FW_LOADER_USER_HELPER_FALLBACK GACT_PROB GARP GCC11_NO_ARRAY_BOUNDS GENERIC_PHY GET_FREE_REGION GFS2_FS GFS2_FS_LOCKING_DLM GOOGLE_COREBOOT_TABLE GOOGLE_FIRMWARE GOOGLE_MEMCONSOLE GOOGLE_MEMCONSOLE_COREBOOT GOOGLE_VPD GPIOLIB GPIOLIB_IRQCHIP GPIO_ACPI GPIO_DLN2 GPIO_VIPERBOARD GREENASIA_FF GREYBUS GREYBUS_BRIDGED_PHY GREYBUS_ES2 GREYBUS_HID GREYBUS_USB GTP GUEST_PERF_EVENTS GVE HAVE_ARCH_NODE_DEV_GROUP HAVE_ARCH_USERFAULTFD_MINOR HAVE_ARCH_USERFAULTFD_WP HAVE_BOOTMEM_INFO_NODE HAVE_CLK_PREPARE HAVE_KVM_CPU_RELAX_INTERCEPT HAVE_KVM_DIRTY_RING HAVE_KVM_DIRTY_RING_ACQ_REL HAVE_KVM_DIRTY_RING_TSO HAVE_KVM_EVENTFD HAVE_KVM_IRQCHIP HAVE_KVM_IRQFD HAVE_KVM_IRQ_BYPASS HAVE_KVM_IRQ_ROUTING HAVE_KVM_MSI HAVE_KVM_NO_POLL HAVE_KVM_PFNCACHE HAVE_KVM_PM_NOTIFIER HAVE_SCHED_AVG_IRQ HDLC HDLC_CISCO HDLC_FR HDLC_PPP HDLC_RAW HDLC_RAW_ETH HDLC_X25 HDMI HFSPLUS_FS HFS_FS HID_ACCUTOUCH HID_ACRUX HID_ACRUX_FF HID_ALPS HID_APPLEIR HID_ASUS HID_AUREAL HID_BATTERY_STRENGTH HID_BETOP_FF HID_CMEDIA HID_CORSAIR HID_CP2112 HID_ELECOM HID_ELO HID_EMS_FF HID_GEMBIRD HID_GFRM HID_GREENASIA HID_GT683R HID_HOLTEK HID_ICADE HID_KEYTOUCH HID_KYE HID_LCPOWER HID_LED HID_LENOVO HID_LOGITECH_DJ HID_LOGITECH_HIDPP HID_MAGICMOUSE HID_MAYFLASH HID_MULTITOUCH HID_NTI HID_ORTEK HID_PENMOUNT HID_PICOLCD HID_PICOLCD_BACKLIGHT HID_PICOLCD_CIR HID_PICOLCD_FB HID_PICOLCD_LCD HID_PICOLCD_LEDS HID_PLANTRONICS HID_PRIMAX HID_PRODIKEYS HID_RETRODE HID_RMI HID_ROCCAT HID_SAITEK HID_SENSOR_ACCEL_3D HID_SENSOR_ALS HID_SENSOR_CUSTOM_SENSOR HID_SENSOR_DEVICE_ROTATION HID_SENSOR_GYRO_3D HID_SENSOR_HUB HID_SENSOR_HUMIDITY HID_SENSOR_IIO_COMMON HID_SENSOR_IIO_TRIGGER HID_SENSOR_INCLINOMETER_3D HID_SENSOR_MAGNETOMETER_3D HID_SENSOR_PRESS HID_SENSOR_PROX HID_SENSOR_TEMP HID_SPEEDLINK HID_STEELSERIES HID_THINGM HID_TIVO HID_TWINHAN HID_UCLOGIC HID_UDRAW_PS3 HID_WACOM HID_WALTOP HID_WIIMOTE HID_XINMO HID_ZYDACRON HMM_MIRROR HOLTEK_FF HOTPLUG_PCI_PCIE HPET_MMAP HPET_MMAP_DEFAULT HPFS_FS I2C_ALGOBIT I2C_CHARDEV I2C_DESIGNWARE_CORE I2C_DESIGNWARE_PLATFORM I2C_DIOLAN_U2C I2C_DLN2 I2C_MUX I2C_MUX_REG I2C_ROBOTFUZZ_OSIF I2C_SI4713 I2C_SLAVE I2C_SLAVE_EEPROM I2C_TINY_USB I2C_VIPERBOARD IEEE802154 IEEE802154_6LOWPAN IEEE802154_ATUSB IEEE802154_DRIVERS IEEE802154_HWSIM IEEE802154_NL802154_EXPERIMENTAL IEEE802154_SOCKET IFB IIO IIO_BUFFER IIO_KFIFO_BUF IIO_TRIGGER IIO_TRIGGERED_BUFFER IKCONFIG IKCONFIG_PROC IMA IMA_APPRAISE IMA_APPRAISE_MODSIG IMA_DEFAULT_HASH_SHA256 IMA_LSM_RULES IMA_MEASURE_ASYMMETRIC_KEYS IMA_NG_TEMPLATE IMA_QUEUE_EARLY_BOOT_KEYS IMA_READ_POLICY IMA_WRITE_POLICY INET6_ESPINTCP INET6_ESP_OFFLOAD INET6_IPCOMP INET6_TUNNEL INET6_XFRM_TUNNEL INET_AH INET_DCCP_DIAG INET_DIAG INET_DIAG_DESTROY INET_ESP INET_ESPINTCP INET_ESP_OFFLOAD INET_IPCOMP INET_MPTCP_DIAG INET_RAW_DIAG INET_SCTP_DIAG INET_TCP_DIAG INET_UDP_DIAG INET_XFRM_TUNNEL INFINIBAND INFINIBAND_ADDR_TRANS INFINIBAND_ADDR_TRANS_CONFIGFS INFINIBAND_IPOIB INFINIBAND_IPOIB_CM INFINIBAND_IPOIB_DEBUG INFINIBAND_ISER INFINIBAND_ON_DEMAND_PAGING INFINIBAND_RTRS INFINIBAND_SRP INFINIBAND_USER_ACCESS INFINIBAND_USER_MAD INFINIBAND_USER_MEM INPUT_ATI_REMOTE2 INPUT_CM109 INPUT_IMS_PCU INPUT_JOYDEV INPUT_KEYSPAN_REMOTE INPUT_LEDS INPUT_MOUSEDEV INPUT_MOUSEDEV_PSAUX INPUT_POWERMATE INPUT_UINPUT INPUT_YEALINK INTEGRITY INTEGRITY_ASYMMETRIC_KEYS INTEGRITY_AUDIT INTEGRITY_SIGNATURE INTEGRITY_TRUSTED_KEYRING INTEL_IDMA64 INTEL_IOATDMA INTEL_IOMMU_DEFAULT_ON INTEL_IOMMU_SVM INTEL_SOC_PMIC_CHTWC INTERVAL_TREE IOMMU_SVA IP6_NF_MATCH_AH IP6_NF_MATCH_EUI64 IP6_NF_MATCH_FRAG IP6_NF_MATCH_HL IP6_NF_MATCH_MH IP6_NF_MATCH_OPTS IP6_NF_MATCH_RPFILTER IP6_NF_MATCH_RT IP6_NF_MATCH_SRH IP6_NF_NAT IP6_NF_RAW IP6_NF_SECURITY IP6_NF_TARGET_HL IP6_NF_TARGET_MASQUERADE IP6_NF_TARGET_NPT IP6_NF_TARGET_SYNPROXY IPV6_FOU IPV6_FOU_TUNNEL IPV6_GRE IPV6_ILA IPV6_MIP6 IPV6_MROUTE IPV6_MROUTE_MULTIPLE_TABLES IPV6_MULTIPLE_TABLES IPV6_OPTIMISTIC_DAD IPV6_PIMSM_V2 IPV6_ROUTER_PREF IPV6_ROUTE_INFO IPV6_RPL_LWTUNNEL IPV6_SEG6_BPF IPV6_SEG6_HMAC IPV6_SEG6_LWTUNNEL IPV6_SIT_6RD IPV6_SUBTREES IPV6_TUNNEL IPV6_VTI IPVLAN IPVLAN_L3S IPVTAP IP_DCCP IP_DCCP_CCID3 IP_DCCP_TFRC_LIB IP_FIB_TRIE_STATS IP_MROUTE_MULTIPLE_TABLES IP_NF_ARPFILTER IP_NF_ARPTABLES IP_NF_ARP_MANGLE IP_NF_MATCH_AH IP_NF_MATCH_ECN IP_NF_MATCH_RPFILTER IP_NF_MATCH_TTL IP_NF_RAW IP_NF_SECURITY IP_NF_TARGET_CLUSTERIP IP_NF_TARGET_ECN IP_NF_TARGET_NETMAP IP_NF_TARGET_REDIRECT IP_NF_TARGET_SYNPROXY IP_NF_TARGET_TTL IP_ROUTE_CLASSID IP_SCTP IP_SET IP_SET_BITMAP_IP IP_SET_BITMAP_IPMAC IP_SET_BITMAP_PORT IP_SET_HASH_IP IP_SET_HASH_IPMAC IP_SET_HASH_IPMARK IP_SET_HASH_IPPORT IP_SET_HASH_IPPORTIP IP_SET_HASH_IPPORTNET IP_SET_HASH_MAC IP_SET_HASH_NET IP_SET_HASH_NETIFACE IP_SET_HASH_NETNET IP_SET_HASH_NETPORT IP_SET_HASH_NETPORTNET IP_SET_LIST_SET IP_VS IP_VS_DH IP_VS_FO IP_VS_FTP IP_VS_IPV6 IP_VS_LBLC IP_VS_LBLCR IP_VS_LC IP_VS_MH IP_VS_NFCT IP_VS_NQ IP_VS_OVF IP_VS_PE_SIP IP_VS_PROTO_AH IP_VS_PROTO_TCP IP_VS_PROTO_UDP IRQ_TIME_ACCOUNTING LAPB LCD_CLASS_DEVICE MAC802154 MEDIA_DIGITAL_TV_SUPPORT MEDIA_RADIO_SUPPORT MEDIA_SDR_SUPPORT MEDIA_SUPPORT MEDIA_TEST_SUPPORT MEDIA_USB_SUPPORT MEMORY_HOTPLUG MEMORY_HOTREMOVE MFD_DLN2 MFD_VIPERBOARD MPTCP MTD NETFILTER_ADVANCED NET_ACT_GACT NET_ACT_MIRRED NET_IPGRE_DEMUX NFT_FWD_NETDEV NF_TABLES NF_TABLES_NETDEV RADIO_ADAPTERS RADIO_SI4713 RAS RC_CORE RFKILL SND SOUND STAGING TRANSPARENT_HUGEPAGE VIDEO_DEV VIRTIO_FS WAN ZONE_DEVICE] disabling configs for [BUG KASAN ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing current HEAD 69950617349402d1c952a54a5edc9a323a7c36b4 testing commit 69950617349402d1c952a54a5edc9a323a7c36b4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 539d12861a053dd41e15213f5e1b7e6a2e6a775e6d18c9f8eb7933253099946e all runs: OK false negative chance: 0.000 # git bisect start 69950617349402d1c952a54a5edc9a323a7c36b4 4aa6747d935281df8a1888feeb6e22e0097d0b86 Bisecting: 3031 revisions left to test after this (roughly 12 steps) [0c182182d6d9e5bcc2156faf5e137001ccd0e14b] perf/x86: Fix out of range data determine whether the revision contains the guilty commit revision 4aa6747d935281df8a1888feeb6e22e0097d0b86 crashed and is reachable testing commit 0c182182d6d9e5bcc2156faf5e137001ccd0e14b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c3f5495bd46596961b04ad366197372da3d164dd6f675387d525b5894d6f011d all runs: crashed: possible deadlock in hfsplus_file_extend representative crash: possible deadlock in hfsplus_file_extend, types: [LOCKDEP] # git bisect good 0c182182d6d9e5bcc2156faf5e137001ccd0e14b Bisecting: 1515 revisions left to test after this (roughly 11 steps) [d0ff2443fcbb472206d45a5d2a90cc694065804e] ALSA: emux: improve patch ioctl data validation determine whether the revision contains the guilty commit revision 4aa6747d935281df8a1888feeb6e22e0097d0b86 crashed and is reachable testing commit d0ff2443fcbb472206d45a5d2a90cc694065804e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d8155be33be915448497d1917e395c32e1ef68e9797b347b993cbf45e6b2e222 all runs: crashed: possible deadlock in hfsplus_file_extend representative crash: possible deadlock in hfsplus_file_extend, types: [LOCKDEP] # git bisect good d0ff2443fcbb472206d45a5d2a90cc694065804e Bisecting: 757 revisions left to test after this (roughly 10 steps) [462abb0eb9369980f59c71e53ead4c32ea5cf395] perf/x86/intel/uncore: Fix the bits of the CHA extended umask for SPR determine whether the revision contains the guilty commit revision d0ff2443fcbb472206d45a5d2a90cc694065804e crashed and is reachable testing commit 462abb0eb9369980f59c71e53ead4c32ea5cf395 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d11b8e4365f24f753f0a7505b13a5e7e071107202b3545297becb8569358e51f all runs: OK false negative chance: 0.000 # git bisect bad 462abb0eb9369980f59c71e53ead4c32ea5cf395 Bisecting: 378 revisions left to test after this (roughly 9 steps) [b13982c233aea9b0562cf16292dbbc1cf1f02be4] ARM: 9324/1: fix get_user() broken with veneer determine whether the revision contains the guilty commit revision 4aa6747d935281df8a1888feeb6e22e0097d0b86 crashed and is reachable testing commit b13982c233aea9b0562cf16292dbbc1cf1f02be4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 81347b499745f4c4145965bfa26746d58602a57e93dcfbbdcf0aaa2ea0210329 all runs: crashed: possible deadlock in hfsplus_file_extend representative crash: possible deadlock in hfsplus_file_extend, types: [LOCKDEP] # git bisect good b13982c233aea9b0562cf16292dbbc1cf1f02be4 Bisecting: 189 revisions left to test after this (roughly 8 steps) [0f4c4acd4c442b0f2bf5074127053df7a3350b98] media: venus: flush all buffers in output plane streamoff determine whether the revision contains the guilty commit revision 0c182182d6d9e5bcc2156faf5e137001ccd0e14b crashed and is reachable testing commit 0f4c4acd4c442b0f2bf5074127053df7a3350b98 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 61ab845043b04b612a4bc3a4ca1e7c17ff2cf1ce8e22032f0cbb89a272b130a1 all runs: OK false negative chance: 0.000 # git bisect bad 0f4c4acd4c442b0f2bf5074127053df7a3350b98 Bisecting: 94 revisions left to test after this (roughly 7 steps) [52b4ab0b47b161e0c6a55d3a94718cdb2c25c325] arm64: dts: renesas: r9a07g044: Add missing hypervisor virtual timer IRQ determine whether the revision contains the guilty commit revision 4aa6747d935281df8a1888feeb6e22e0097d0b86 crashed and is reachable testing commit 52b4ab0b47b161e0c6a55d3a94718cdb2c25c325 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a7ab3fd6a33aa17450a7a141ada94888fcd42f4387a5dd5e8c7b727430a882f6 all runs: OK false negative chance: 0.000 # git bisect bad 52b4ab0b47b161e0c6a55d3a94718cdb2c25c325 Bisecting: 46 revisions left to test after this (roughly 6 steps) [e6fc7bff223ce8a000e9fed4b1d688fe839764d5] nvmet-auth: fix nvmet_auth hash error handling determine whether the revision contains the guilty commit revision b13982c233aea9b0562cf16292dbbc1cf1f02be4 crashed and is reachable testing commit e6fc7bff223ce8a000e9fed4b1d688fe839764d5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 884587a90f1d1052c4b4df9253235b3ef6512ed25dde50ba2096e0f445f41d47 all runs: OK false negative chance: 0.000 # git bisect bad e6fc7bff223ce8a000e9fed4b1d688fe839764d5 Bisecting: 23 revisions left to test after this (roughly 5 steps) [ee93e6da30377cf2a75e16cd32bb9fcd86a61c46] tap: add missing verification for short frame determine whether the revision contains the guilty commit revision b13982c233aea9b0562cf16292dbbc1cf1f02be4 crashed and is reachable testing commit ee93e6da30377cf2a75e16cd32bb9fcd86a61c46 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b0cfd67592e9383802ab2ec2519d82a95b3e0b9cf3b7f189f569135c69c7f37a all runs: crashed: possible deadlock in hfsplus_file_extend representative crash: possible deadlock in hfsplus_file_extend, types: [LOCKDEP] # git bisect good ee93e6da30377cf2a75e16cd32bb9fcd86a61c46 Bisecting: 11 revisions left to test after this (roughly 4 steps) [a9a99a1ca1b8fba9398f475716937c74c994e12e] block: cleanup bio_integrity_prep determine whether the revision contains the guilty commit revision b13982c233aea9b0562cf16292dbbc1cf1f02be4 crashed and is reachable testing commit a9a99a1ca1b8fba9398f475716937c74c994e12e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 92c3558e97d35b1117591dfa774476032c7818c1fa5e3e34d7d28ad0a5cf74a0 all runs: crashed: possible deadlock in hfsplus_file_extend representative crash: possible deadlock in hfsplus_file_extend, types: [LOCKDEP] # git bisect good a9a99a1ca1b8fba9398f475716937c74c994e12e Bisecting: 5 revisions left to test after this (roughly 3 steps) [1e8703443ebfe02a25a850ca45c66cef364d24c7] x86/platform/iosf_mbi: Convert PCIBIOS_* return codes to errnos determine whether the revision contains the guilty commit revision d0ff2443fcbb472206d45a5d2a90cc694065804e crashed and is reachable testing commit 1e8703443ebfe02a25a850ca45c66cef364d24c7 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 838a10b9b6e51dcb003b0485ff237ae11748567dc4dfad793f993ff691b66ddd all runs: OK false negative chance: 0.000 # git bisect bad 1e8703443ebfe02a25a850ca45c66cef364d24c7 Bisecting: 2 revisions left to test after this (roughly 2 steps) [12ae2c54ddf44b1ef9e4ad5862cba6022b30d2f4] x86/of: Return consistent error type from x86_of_pci_irq_enable() determine whether the revision contains the guilty commit revision 0c182182d6d9e5bcc2156faf5e137001ccd0e14b crashed and is reachable testing commit 12ae2c54ddf44b1ef9e4ad5862cba6022b30d2f4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9230bd1854dbc49cc5acbac8c9469683b48989c991fac3a4b3c9aea7257c51c3 all runs: OK false negative chance: 0.000 # git bisect bad 12ae2c54ddf44b1ef9e4ad5862cba6022b30d2f4 Bisecting: 0 revisions left to test after this (roughly 1 step) [c11c3a4524beae83026b19c9ce3b3c28d2641e32] hfsplus: fix to avoid false alarm of circular locking determine whether the revision contains the guilty commit revision 4aa6747d935281df8a1888feeb6e22e0097d0b86 crashed and is reachable testing commit c11c3a4524beae83026b19c9ce3b3c28d2641e32 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: eaf002519fc3e781a4f0d88c01ec932ba7b2c5a46ca921ff469d3b0fcf0802fb all runs: OK false negative chance: 0.000 # git bisect bad c11c3a4524beae83026b19c9ce3b3c28d2641e32 Bisecting: 0 revisions left to test after this (roughly 0 steps) [d418313bd8f55c079a7da12651951b489a638ac1] block: initialize integrity buffer to zero before writing it to media determine whether the revision contains the guilty commit revision ee93e6da30377cf2a75e16cd32bb9fcd86a61c46 crashed and is reachable testing commit d418313bd8f55c079a7da12651951b489a638ac1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7c92e96e5d6a74bd3d4c7368e395472ef76b51d71367f70424237f145bfb7e4b all runs: crashed: possible deadlock in hfsplus_file_extend representative crash: possible deadlock in hfsplus_file_extend, types: [LOCKDEP] # git bisect good d418313bd8f55c079a7da12651951b489a638ac1 c11c3a4524beae83026b19c9ce3b3c28d2641e32 is the first bad commit commit c11c3a4524beae83026b19c9ce3b3c28d2641e32 Author: Chao Yu Date: Fri Jun 7 22:23:04 2024 +0800 hfsplus: fix to avoid false alarm of circular locking [ Upstream commit be4edd1642ee205ed7bbf66edc0453b1be1fb8d7 ] Syzbot report potential ABBA deadlock as below: loop0: detected capacity change from 0 to 1024 ====================================================== WARNING: possible circular locking dependency detected 6.9.0-syzkaller-10323-g8f6a15f095a6 #0 Not tainted ------------------------------------------------------ syz-executor171/5344 is trying to acquire lock: ffff88807cb980b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x811/0xb50 fs/hfsplus/extents.c:595 but task is already holding lock: ffff88807a930108 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x2da/0xb50 fs/hfsplus/extents.c:576 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #1 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754 __mutex_lock_common kernel/locking/mutex.c:608 [inline] __mutex_lock+0x136/0xd70 kernel/locking/mutex.c:752 hfsplus_file_extend+0x21b/0x1b70 fs/hfsplus/extents.c:457 hfsplus_bmap_reserve+0x105/0x4e0 fs/hfsplus/btree.c:358 hfsplus_rename_cat+0x1d0/0x1050 fs/hfsplus/catalog.c:456 hfsplus_rename+0x12e/0x1c0 fs/hfsplus/dir.c:552 vfs_rename+0xbdb/0xf00 fs/namei.c:4887 do_renameat2+0xd94/0x13f0 fs/namei.c:5044 __do_sys_rename fs/namei.c:5091 [inline] __se_sys_rename fs/namei.c:5089 [inline] __x64_sys_rename+0x86/0xa0 fs/namei.c:5089 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f -> #0 (&tree->tree_lock){+.+.}-{3:3}: check_prev_add kernel/locking/lockdep.c:3134 [inline] check_prevs_add kernel/locking/lockdep.c:3253 [inline] validate_chain+0x18cb/0x58e0 kernel/locking/lockdep.c:3869 __lock_acquire+0x1346/0x1fd0 kernel/locking/lockdep.c:5137 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754 __mutex_lock_common kernel/locking/mutex.c:608 [inline] __mutex_lock+0x136/0xd70 kernel/locking/mutex.c:752 hfsplus_file_truncate+0x811/0xb50 fs/hfsplus/extents.c:595 hfsplus_setattr+0x1ce/0x280 fs/hfsplus/inode.c:265 notify_change+0xb9d/0xe70 fs/attr.c:497 do_truncate+0x220/0x310 fs/open.c:65 handle_truncate fs/namei.c:3308 [inline] do_open fs/namei.c:3654 [inline] path_openat+0x2a3d/0x3280 fs/namei.c:3807 do_filp_open+0x235/0x490 fs/namei.c:3834 do_sys_openat2+0x13e/0x1d0 fs/open.c:1406 do_sys_open fs/open.c:1421 [inline] __do_sys_creat fs/open.c:1497 [inline] __se_sys_creat fs/open.c:1491 [inline] __x64_sys_creat+0x123/0x170 fs/open.c:1491 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f other info that might help us debug this: Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&HFSPLUS_I(inode)->extents_lock); lock(&tree->tree_lock); lock(&HFSPLUS_I(inode)->extents_lock); lock(&tree->tree_lock); This is a false alarm as tree_lock mutex are different, one is from sbi->cat_tree, and another is from sbi->ext_tree: Thread A Thread B - hfsplus_rename - hfsplus_rename_cat - hfs_find_init - mutext_lock(cat_tree->tree_lock) - hfsplus_setattr - hfsplus_file_truncate - mutex_lock(hip->extents_lock) - hfs_find_init - mutext_lock(ext_tree->tree_lock) - hfs_bmap_reserve - hfsplus_file_extend - mutex_lock(hip->extents_lock) So, let's call mutex_lock_nested for tree_lock mutex lock, and pass correct lock class for it. Fixes: 31651c607151 ("hfsplus: avoid deadlock on file truncation") Reported-by: syzbot+6030b3b1b9bf70e538c4@syzkaller.appspotmail.com Closes: https://lore.kernel.org/linux-fsdevel/000000000000e37a4005ef129563@google.com Cc: Ernesto A. Fernández Signed-off-by: Chao Yu Link: https://lore.kernel.org/r/20240607142304.455441-1-chao@kernel.org Signed-off-by: Christian Brauner Signed-off-by: Sasha Levin fs/hfsplus/bfind.c | 15 ++------------- fs/hfsplus/extents.c | 9 ++++++--- fs/hfsplus/hfsplus_fs.h | 21 +++++++++++++++++++++ 3 files changed, 29 insertions(+), 16 deletions(-) accumulated error probability: 0.00 culprit signature: eaf002519fc3e781a4f0d88c01ec932ba7b2c5a46ca921ff469d3b0fcf0802fb parent signature: 7c92e96e5d6a74bd3d4c7368e395472ef76b51d71367f70424237f145bfb7e4b revisions tested: 21, total time: 3h25m52.18613954s (build: 1h21m26.414509109s, test: 1h58m18.718853053s) first good commit: c11c3a4524beae83026b19c9ce3b3c28d2641e32 hfsplus: fix to avoid false alarm of circular locking recipients (to): ["brauner@kernel.org" "chao@kernel.org" "sashal@kernel.org"] recipients (cc): []