ci2 starts bisection 2024-05-17 12:01:55.429187828 +0000 UTC m=+294.376732783 bisecting cause commit starting from ea5f6ad9ad9645733b72ab53a98e719b460d36a6 building syzkaller on c2e0726105cc811a456d900c62443159acc29c32 ensuring issue is reproducible on original commit ea5f6ad9ad9645733b72ab53a98e719b460d36a6 testing commit ea5f6ad9ad9645733b72ab53a98e719b460d36a6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 84907fe6c325d2858716a2ad450399bc2da9742a9c5c43c9f43ac033c342445b all runs: crashed: possible deadlock in ntfs_mark_rec_free representative crash: possible deadlock in ntfs_mark_rec_free, types: [LOCKDEP] check whether we can drop unnecessary instrumentation disabling configs for [LEAK UBSAN BUG KASAN ATOMIC_SLEEP HANG], they are not needed testing commit ea5f6ad9ad9645733b72ab53a98e719b460d36a6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4b37078c6165c54b565698c1134c6f5d4f6078911bb255ca6b5886b9237e45c9 all runs: crashed: possible deadlock in ntfs_mark_rec_free representative crash: possible deadlock in ntfs_mark_rec_free, 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=3971 full=8025 leaves diff=2023 split chunks (needed=false): <2023> split chunk #0 of len 2023 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 ea5f6ad9ad9645733b72ab53a98e719b460d36a6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2d0a8c77a5d02b67482f6a81185c7100b2a18c2723294340f00e41adf8a210d1 all runs: crashed: possible deadlock in ntfs_mark_rec_free representative crash: possible deadlock in ntfs_mark_rec_free, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [BUG KASAN ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit ea5f6ad9ad9645733b72ab53a98e719b460d36a6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1ad6e9e77a5f3a11f40b572bfe2d7789c7d810859a502aed63c2ba854ed5123e all runs: crashed: possible deadlock in ntfs_mark_rec_free representative crash: possible deadlock in ntfs_mark_rec_free, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed testing commit ea5f6ad9ad9645733b72ab53a98e719b460d36a6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0730b7d794894d24d3eda095f02fdeda2728652f2fd5f50942992d7671190d40 all runs: crashed: possible deadlock in ntfs_mark_rec_free representative crash: possible deadlock in ntfs_mark_rec_free, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit ea5f6ad9ad9645733b72ab53a98e719b460d36a6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b7a68d091f2542bf98ecba0238f8d498f5c867d5138fe1ff5ec4fe14c0059af7 all runs: OK false negative chance: 0.000 testing without sub-chunk 5/5 disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed testing commit ea5f6ad9ad9645733b72ab53a98e719b460d36a6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 65f13bee944e7732f8c52150c943f98a7f7d1aa411978b63c9deb9a528b1b8ea all runs: crashed: possible deadlock in ntfs_mark_rec_free representative crash: possible deadlock in ntfs_mark_rec_free, types: [LOCKDEP] the chunk can be dropped minimized to 405 configs; suspects: [AF_RXRPC ARCH_ENABLE_MEMORY_HOTREMOVE ATM AX25 CFG80211 CMA DAX DLM DVB_CORE ENCRYPTED_KEYS EXTCON GENEVE GPIOLIB HAMRADIO HAVE_CLK HID_SENSOR_HUB HID_SMARTJOYPLUS HID_THRUSTMASTER IIO INFINIBAND INFINIBAND_ADDR_TRANS INFINIBAND_IPOIB INFINIBAND_USER_ACCESS INFINIBAND_VIRT_DMA INPUT_TABLET INPUT_TOUCHSCREEN IP_SCTP IRQ_TIME_ACCOUNTING L2TP LIBNVDIMM MEDIA_COMMON_OPTIONS MEDIA_DIGITAL_TV_SUPPORT MEDIA_RADIO_SUPPORT MEDIA_SDR_SUPPORT MEDIA_SUPPORT MEDIA_USB_SUPPORT MEMORY_HOTPLUG MEMORY_HOTREMOVE MFD_DLN2 MFD_RETU MMC MTD MTD_UBI NETFILTER_ADVANCED NETFILTER_CONNCOUNT NET_IPGRE NET_IPGRE_DEMUX NFS_V4_1 NF_CONNTRACK_SNMP NF_NAT_SNMP_BASIC NF_NAT_TFTP NF_SOCKET_IPV4 NF_SOCKET_IPV6 NF_TPROXY_IPV4 NF_TPROXY_IPV6 NILFS2_FS NLMON NLS_CODEPAGE_1250 NLS_CODEPAGE_1251 NLS_CODEPAGE_737 NLS_CODEPAGE_775 NLS_CODEPAGE_850 NLS_CODEPAGE_852 NLS_CODEPAGE_855 NLS_CODEPAGE_857 NLS_CODEPAGE_860 NLS_CODEPAGE_861 NLS_CODEPAGE_862 NLS_CODEPAGE_863 NLS_CODEPAGE_864 NLS_CODEPAGE_865 NLS_CODEPAGE_866 NLS_CODEPAGE_869 NLS_CODEPAGE_874 NLS_CODEPAGE_932 NLS_CODEPAGE_936 NLS_CODEPAGE_949 NLS_CODEPAGE_950 NLS_ISO8859_13 NLS_ISO8859_14 NLS_ISO8859_15 NLS_ISO8859_2 NLS_ISO8859_3 NLS_ISO8859_4 NLS_ISO8859_5 NLS_ISO8859_6 NLS_ISO8859_7 NLS_ISO8859_8 NLS_ISO8859_9 NLS_KOI8_R NLS_KOI8_U NLS_MAC_CELTIC NLS_MAC_CENTEURO NLS_MAC_CROATIAN NLS_MAC_CYRILLIC NLS_MAC_GAELIC NLS_MAC_GREEK NLS_MAC_ICELAND NLS_MAC_INUIT NLS_MAC_ROMAN NLS_MAC_ROMANIAN NLS_MAC_TURKISH NLS_UCS2_UTILS NOP_USB_XCEIV NOZOMI NTFS3_FS NTFS3_FS_POSIX_ACL NTFS3_LZX_XPRESS NULL_TTY NUMA_BALANCING NUMA_BALANCING_DEFAULT_ENABLED NUMA_EMU NUMA_KEEP_MEMINFO NVDIMM_DAX NVDIMM_KEYS NVDIMM_PFN NVME_CORE NVME_FABRICS NVME_FC NVME_MULTIPATH NVME_RDMA NVME_TARGET NVME_TARGET_FC NVME_TARGET_FCLOOP NVME_TARGET_LOOP NVME_TARGET_RDMA NVME_TARGET_TCP NVME_TCP N_GSM N_HDLC OCFS2_DEBUG_FS OCFS2_FS OCFS2_FS_O2CB OCFS2_FS_STATS OCFS2_FS_USERSPACE_CLUSTER OF_GPIO OF_PMEM OMFS_FS OPENVSWITCH OPENVSWITCH_GENEVE OPENVSWITCH_GRE OPENVSWITCH_VXLAN ORANGEFS_FS OSF_PARTITION OVERLAY_FS OVERLAY_FS_DEBUG OVERLAY_FS_INDEX OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW OVERLAY_FS_REDIRECT_DIR PACKET_DIAG PAGE_IDLE_FLAG PAGE_POOL PAGE_REPORTING PAHOLE_HAS_BTF_TAG PAHOLE_HAS_LANG_EXCLUDE PAHOLE_HAS_SPLIT_BTF PARPORT PARPORT_NOT_PC PARTITION_ADVANCED PCCARD PCCARD_NONSTATIC PCIEAER PCI_ENDPOINT PCI_IOV PCMCIA PCMCIA_LOAD_CIS PERCPU_STATS PERSISTENT_KEYRINGS PHONET PHYLINK PHY_CPCAP_USB PHY_QCOM_USB_HS PHY_QCOM_USB_HSIC PHY_SAMSUNG_USB2 PHY_TUSB1210 PKCS7_TEST_KEY PKCS8_PRIVATE_KEY_PARSER PM_CLK PNFS_BLOCK PNFS_FILE_LAYOUT PNFS_FLEXFILE_LAYOUT PPP PPPOATM PPPOE PPPOE_HASH_BITS_4 PPPOL2TP PPP_ASYNC PPP_BSDCOMP PPP_DEFLATE PPP_FILTER PPP_MPPE PPP_MULTILINK PPP_SYNC_TTY PPTP PREEMPT PREEMPT_NOTIFIERS PROC_CHILDREN PSI PSTORE PSTORE_COMPRESS QCOM_QMI_HELPERS QNX4FS_FS QNX6FS_FS QRTR QRTR_TUN R8712U RADIO_ADAPTERS RADIO_SHARK RADIO_SHARK2 RADIO_TEA575X RAID6_PQ RAID_ATTRS RC_ATI_REMOTE RC_CORE RC_DEVICES RDMA_RXE RDMA_SIW RDS RDS_RDMA RDS_TCP READ_ONLY_THP_FOR_FS REALTEK_AUTOPM REED_SOLOMON REED_SOLOMON_DEC8 REGMAP REGMAP_I2C REGMAP_IRQ REGMAP_MMIO REGMAP_SPI REGULATOR REGULATOR_TWL4030 REISERFS_FS REISERFS_FS_POSIX_ACL REISERFS_FS_SECURITY REISERFS_FS_XATTR REISERFS_PROC_INFO RESET_CONTROLLER RFKILL RFKILL_INPUT RFKILL_LEDS RMI4_2D_SENSOR RMI4_CORE RMI4_F03 RMI4_F03_SERIO RMI4_F11 RMI4_F12 RMI4_F30 ROMFS_BACKED_BY_BOTH ROMFS_FS ROMFS_ON_BLOCK ROMFS_ON_MTD ROSE RTC_DRV_HID_SENSOR_TIME RXKAD SCHED_CORE SCREEN_INFO SCSI_FC_ATTRS SCSI_HPSA SCSI_ISCSI_ATTRS SCSI_LOGGING SCSI_NETLINK SCSI_SAS_ATA SCSI_SAS_ATTRS SCSI_SAS_LIBSAS SCSI_SCAN_ASYNC SCSI_SRP_ATTRS SCTP_COOKIE_HMAC_MD5 SCTP_COOKIE_HMAC_SHA1 SCTP_DEFAULT_COOKIE_HMAC_MD5 SECONDARY_TRUSTED_KEYRING SECURITY_INFINIBAND SECURITY_NETWORK_XFRM SECURITY_SMACK_NETFILTER SERIAL_DEV_BUS SERIAL_DEV_CTRL_TTYPORT SERIAL_MCTRL_GPIO SGI_PARTITION SIGNATURE SIGNED_PE_FILE_VERIFICATION SKB_DECRYPTED SLHC SLIP SLIP_COMPRESSED SLIP_MODE_SLIP6 SLIP_SMART SMARTJOYPLUS_FF SMBFS SMC SMC_DIAG SMSC_PHY SMS_SIANO_MDTV SMS_SIANO_RC SMS_USB_DRV SND SND_ALOOP SND_BCD2000 SND_CTL_FAST_LOOKUP SND_CTL_LED SND_DEBUG SND_DMA_SGBUF SND_DRIVERS SND_DUMMY SND_DYNAMIC_MINORS SND_HDA SND_HDA_CODEC_ANALOG SND_HDA_CODEC_CA0110 SND_HDA_CODEC_CA0132 SND_HDA_CODEC_CIRRUS SND_HDA_CODEC_CMEDIA SND_HDA_CODEC_CONEXANT SND_HDA_CODEC_HDMI SND_HDA_CODEC_REALTEK SND_HDA_CODEC_SI3054 SND_HDA_CODEC_SIGMATEL SND_HDA_CODEC_VIA SND_HDA_COMPONENT SND_HDA_CORE SND_HDA_GENERIC SND_HDA_GENERIC_LEDS SND_HDA_HWDEP SND_HDA_I915 SND_HDA_INPUT_BEEP SND_HDA_INTEL SND_HDA_PATCH_LOADER SND_HDA_RECONFIG SND_HDA_SCODEC_COMPONENT SND_HRTIMER SND_HWDEP SND_INTEL_DSP_CONFIG SND_INTEL_NHLT SND_INTEL_SOUNDWIRE_ACPI SND_JACK SND_JACK_INPUT_DEV SND_MIXER_OSS SND_OSSEMUL SND_PCI SND_PCM SND_PCMCIA SND_PCM_OSS SND_PCM_OSS_PLUGINS SND_PCM_TIMER SND_PCM_XRUN_DEBUG SND_PROC_FS SND_RAWMIDI SND_SEQUENCER SND_SEQUENCER_OSS SND_SEQ_DEVICE SND_SEQ_DUMMY SND_SEQ_HRTIMER_DEFAULT SND_SEQ_MIDI SND_SEQ_MIDI_EVENT SND_SEQ_VIRMIDI SND_SOC SND_SOC_I2C_AND_SPI SND_SUPPORT_OLD_API SND_TIMER SND_USB SND_USB_6FIRE SND_USB_AUDIO SND_USB_AUDIO_USE_MEDIA_CONTROLLER SND_USB_CAIAQ SND_USB_CAIAQ_INPUT SND_USB_HIFACE SND_USB_LINE6 SND_USB_POD SND_USB_PODHD SND_USB_TONEPORT SND_USB_UA101 SND_USB_US122L SND_USB_USX2Y SND_USB_VARIAX SND_VERBOSE_PROCFS SND_VIRMIDI SND_VIRTIO SND_VMASTER SND_X86 SOCK_VALIDATE_XMIT SOFTLOCKUP_DETECTOR_INTR_STORM SOLARIS_X86_PARTITION SONY_FF SOUND SOUNDWIRE SOUND_OSS_CORE SOUND_OSS_CORE_PRECLAIM SPI SPI_DLN2 SPI_DYNAMIC SPI_MASTER SQUASHFS SQUASHFS_4K_DEVBLK_SIZE SQUASHFS_COMPILE_DECOMP_SINGLE SQUASHFS_DECOMP_SINGLE SQUASHFS_FILE_DIRECT SQUASHFS_LZ4 SQUASHFS_LZO SQUASHFS_XATTR SQUASHFS_XZ SQUASHFS_ZLIB SQUASHFS_ZSTD SSB SSB_PCIHOST_POSSIBLE SSB_PCMCIAHOST_POSSIBLE SSB_SDIOHOST_POSSIBLE STAGING STP STREAM_PARSER SUNRPC_BACKCHANNEL SUN_PARTITION SW_SYNC SYSFB SYSV68_PARTITION SYSV_FS TABLET_USB_ACECAD TABLET_USB_AIPTEK TABLET_USB_HANWANG TABLET_USB_KBTAB TABLET_USB_PEGASUS TAHVO_USB TAHVO_USB_HOST_BY_DEFAULT TASKS_TRACE_RCU TCG_CRB TCG_TIS TCG_TIS_CORE TCG_TPM TCG_TPM2_HMAC TCP_CONG_BBR TCP_CONG_BIC TCP_CONG_CDG TCP_CONG_DCTCP TCP_CONG_HSTCP TCP_CONG_HTCP TCP_CONG_HYBLA TCP_CONG_ILLINOIS TCP_CONG_LP TCP_CONG_NV TCP_CONG_SCALABLE TCP_CONG_VEGAS TCP_CONG_VENO TCP_CONG_WESTWOOD TCP_CONG_YEAH TEXTSEARCH TEXTSEARCH_BM TEXTSEARCH_FSM TEXTSEARCH_KMP THERMAL_NETLINK THP_SWAP THRUSTMASTER_FF TIPC TIPC_CRYPTO TIPC_DIAG TIPC_MEDIA_IB TIPC_MEDIA_UDP TLS TLS_TOE TMPFS_QUOTA TOUCHSCREEN_SUR40 TOUCHSCREEN_USB_3M TOUCHSCREEN_USB_COMPOSITE TOUCHSCREEN_USB_DMC_TSC10 TOUCHSCREEN_USB_E2I TOUCHSCREEN_USB_EASYTOUCH TOUCHSCREEN_USB_EGALAX TOUCHSCREEN_USB_ELO TOUCHSCREEN_USB_ETT_TC45USB TOUCHSCREEN_USB_ETURBO TOUCHSCREEN_USB_GENERAL_TOUCH TOUCHSCREEN_USB_GOTOP TOUCHSCREEN_USB_GUNZE TOUCHSCREEN_USB_IDEALTEK TOUCHSCREEN_USB_IRTOUCH TOUCHSCREEN_USB_ITM TOUCHSCREEN_USB_JASTEC TOUCHSCREEN_USB_NEXIO TOUCHSCREEN_USB_PANJIT TOUCHSCREEN_USB_ZYTRONIC TRANSPARENT_HUGEPAGE TRANSPARENT_HUGEPAGE_MADVISE TTPCI_EEPROM TTY_PRINTK TUN_VNET_CROSS_LE TWL4030_CORE TYPEC TYPEC_FUSB302 TYPEC_TCPCI TYPEC_TCPM TYPEC_TPS6598X TYPEC_UCSI UBIFS_ATIME_SUPPORT UBIFS_FS UBIFS_FS_ADVANCED_COMPR UBIFS_FS_LZO UBIFS_FS_SECURITY UBIFS_FS_XATTR UBIFS_FS_ZLIB UBIFS_FS_ZSTD UCSI_ACPI UDF_FS UDMABUF UFS_FS UFS_FS_WRITE UHID ULTRIX_PARTITION UNICODE UNIXWARE_DISKLABEL UNIX_DIAG USB4 USB4_NET USBIP_CORE USBIP_HOST USBIP_VHCI_HCD USBIP_VUDC USBPCWATCHDOG USB_ACM USB_ADUTUX USB_AIRSPY USB_ALI_M5632 USB_AN2720 USB_APPLEDISPLAY USB_ARMLINUX USB_BDC_UDC USB_BELKIN USB_C67X00_HCD USB_CATC USB_CDC_PHONET USB_CHAOSKEY USB_CHIPIDEA USB_CHIPIDEA_HOST USB_CHIPIDEA_PCI USB_CHIPIDEA_UDC USB_DWC2 USB_GADGET USB_MUSB_HDRC USB_NET_CDC_SUBSET USB_ROLE_SWITCH USB_STORAGE_REALTEK USB_ULPI_BUS USB_USBNET VIDEO_DEV VXLAN WIRELESS WLAN ZONE_DEVICE] disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed picked [v6.9 v6.8 v6.7 v6.5 v6.3 v6.1 v5.19 v5.17 v5.14 v5.11 v5.8 v5.5 v5.2 v4.20 v4.19] out of 32 release tags 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: 2f16e62e892f4b0d398d8fd9d6db7b61e511c0aacce93a9f314bc8da140d49b4 all runs: crashed: possible deadlock in ntfs_mark_rec_free representative crash: possible deadlock in ntfs_mark_rec_free, types: [LOCKDEP] testing release v6.8 testing commit e8f897f4afef0031fe618a8e94127a0934896aba gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 81b6dfdba231a07d079aa95c0ba0367c28209711de7d5394087fa13a96926492 all runs: crashed: possible deadlock in ntfs_mark_rec_free representative crash: possible deadlock in ntfs_mark_rec_free, types: [LOCKDEP] testing release v6.7 testing commit 0dd3ee31125508cd67f7e7172247f05b7fd1753a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 62f764f1d98c744c61c197160d01025f43f301a25b8015eadc8815fb0093677c all runs: crashed: possible deadlock in ntfs_mark_rec_free representative crash: possible deadlock in ntfs_mark_rec_free, types: [LOCKDEP] testing release v6.5 testing commit 2dde18cd1d8fac735875f2e4987f11817cc0bc2c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 454a15ffa421854d290d53d96a04268138456fa73a009b6a9e9d4e1d72d80507 all runs: crashed: possible deadlock in ntfs_mark_rec_free representative crash: possible deadlock in ntfs_mark_rec_free, types: [LOCKDEP] testing release v6.3 testing commit 457391b0380335d5e9a5babdec90ac53928b23b4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e9ef67d973a181f97ce910d275559ce20ac0014bde454a9f71c79f68abafcbea all runs: OK false negative chance: 0.000 # git bisect start 2dde18cd1d8fac735875f2e4987f11817cc0bc2c 457391b0380335d5e9a5babdec90ac53928b23b4 Bisecting: 15354 revisions left to test after this (roughly 14 steps) [d37537a1f7cf09e304fe7993cb5e732534a0fb22] Merge 6.4-rc5 into usb-next testing commit d37537a1f7cf09e304fe7993cb5e732534a0fb22 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 609035e9804492c9ce066ba0aea7da4de840a0edb2e391344212431ac96bbc9e all runs: OK false negative chance: 0.000 # git bisect good d37537a1f7cf09e304fe7993cb5e732534a0fb22 Bisecting: 7455 revisions left to test after this (roughly 13 steps) [1b722407a13b7f8658d2e26917791f32805980a2] Merge tag 'drm-next-2023-06-29' of git://anongit.freedesktop.org/drm/drm testing commit 1b722407a13b7f8658d2e26917791f32805980a2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7f645dfecda924e3ac071ec6464f10e14128b34d2e19d5d2bd2d8971f3de6fc5 all runs: OK false negative chance: 0.000 # git bisect good 1b722407a13b7f8658d2e26917791f32805980a2 Bisecting: 3681 revisions left to test after this (roughly 12 steps) [56cbceab928d7ac3702de172ff8dcc1da2a6aaeb] Merge tag 'usb-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb testing commit 56cbceab928d7ac3702de172ff8dcc1da2a6aaeb gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cbb7434515c5dd4e33df0e2273e072a46c2f428c3b82ff7697e80b43d7be23e9 all runs: OK false negative chance: 0.000 # git bisect good 56cbceab928d7ac3702de172ff8dcc1da2a6aaeb Bisecting: 1841 revisions left to test after this (roughly 11 steps) [c01aebeef3ce45f696ffa0a1303cea9b34babb45] drm/amd: Fix an error handling mistake in psp_sw_init() testing commit c01aebeef3ce45f696ffa0a1303cea9b34babb45 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cb6dee669a0a9b5ddb7eb8567d7881c0fc154120b14f528d9f45a80a60ca15f4 all runs: crashed: possible deadlock in ntfs_mark_rec_free representative crash: possible deadlock in ntfs_mark_rec_free, types: [LOCKDEP] # git bisect bad c01aebeef3ce45f696ffa0a1303cea9b34babb45 Bisecting: 922 revisions left to test after this (roughly 10 steps) [73a3fcdaa73200e38e38f7e8a32c9b901c5b95b5] Merge tag 'f2fs-for-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs testing commit 73a3fcdaa73200e38e38f7e8a32c9b901c5b95b5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 835902d07403374d1b0e54fe5527333c515096fde65c5fd99e33d899e5ac60c2 all runs: OK false negative chance: 0.000 # git bisect good 73a3fcdaa73200e38e38f7e8a32c9b901c5b95b5 Bisecting: 459 revisions left to test after this (roughly 9 steps) [ad8258e87729e4337569c4b7d30cfdd4b299179d] Merge tag 'bitmap-6.5-rc1' of https://github.com/norov/linux testing commit ad8258e87729e4337569c4b7d30cfdd4b299179d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f5df528c3a63d9fc3d42f45c9ea2ed1204399496c9ec0e8d0e6005b12935a078 all runs: crashed: possible deadlock in ntfs_mark_rec_free representative crash: possible deadlock in ntfs_mark_rec_free, types: [LOCKDEP] # git bisect bad ad8258e87729e4337569c4b7d30cfdd4b299179d Bisecting: 242 revisions left to test after this (roughly 8 steps) [7b82e90411826deee07c180ec35f64d31051d154] Merge tag 'asm-generic-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic testing commit 7b82e90411826deee07c180ec35f64d31051d154 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 375a4b37d8b34766998acb2496a6999ed516a8d6998b2b33b8268fec64995ce9 all runs: OK false negative chance: 0.000 # git bisect good 7b82e90411826deee07c180ec35f64d31051d154 Bisecting: 97 revisions left to test after this (roughly 7 steps) [5133c9e51de41bfa902153888e11add3342ede18] Merge tag 'drm-next-2023-07-07' of git://anongit.freedesktop.org/drm/drm testing commit 5133c9e51de41bfa902153888e11add3342ede18 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: efb1019e889b4219f804b8b079a212303d53d0c238ebd84044bce53354f9189c all runs: OK false negative chance: 0.000 # git bisect good 5133c9e51de41bfa902153888e11add3342ede18 Bisecting: 53 revisions left to test after this (roughly 6 steps) [986ffe6070d661650f8198069f6f3c228e23bca0] Merge tag 'fsnotify_for_v6.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs testing commit 986ffe6070d661650f8198069f6f3c228e23bca0 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 997f41dcf37ab36a79450efe0379a847b167cc33db54ff2ec474aef7a1a2c98d all runs: OK false negative chance: 0.000 # git bisect good 986ffe6070d661650f8198069f6f3c228e23bca0 Bisecting: 26 revisions left to test after this (roughly 5 steps) [3290badd1bb8c9ea91db5c0b2e1a635178119856] Merge tag 'ceph-for-6.5-rc1' of https://github.com/ceph/ceph-client testing commit 3290badd1bb8c9ea91db5c0b2e1a635178119856 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e4f11afe5ce382128c7c822cadb4c6483b3c97719cdc8c87e47f18067b2716f4 all runs: crashed: possible deadlock in ntfs_mark_rec_free representative crash: possible deadlock in ntfs_mark_rec_free, types: [LOCKDEP] # git bisect bad 3290badd1bb8c9ea91db5c0b2e1a635178119856 Bisecting: 13 revisions left to test after this (roughly 4 steps) [a81f47c4406e372ce47aff140f3876babac5f01e] fs/ntfs3: Code refactoring testing commit a81f47c4406e372ce47aff140f3876babac5f01e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fa3f19a2828b5839bf3bcb0e2044bded899b7af0450bc23f0b4d2045703f2391 all runs: crashed: possible deadlock in ntfs_mark_rec_free representative crash: possible deadlock in ntfs_mark_rec_free, types: [LOCKDEP] # git bisect bad a81f47c4406e372ce47aff140f3876babac5f01e Bisecting: 6 revisions left to test after this (roughly 3 steps) [ea303f72d70ce2f0b0aa94ab127085289768c5a6] fs/ntfs3: Use __GFP_NOWARN allocation at ntfs_load_attr_list() testing commit ea303f72d70ce2f0b0aa94ab127085289768c5a6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a78ea9115cc730051b6aa13c97efa974bd9131bd505a6976df894007bd5b4f01 all runs: OK false negative chance: 0.000 # git bisect good ea303f72d70ce2f0b0aa94ab127085289768c5a6 Bisecting: 3 revisions left to test after this (roughly 2 steps) [e0f363a98830e8d7d70fbaf91c07ae0b7c57aafe] fs/ntfs3: Mark ntfs dirty when on-disk struct is corrupted testing commit e0f363a98830e8d7d70fbaf91c07ae0b7c57aafe gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fb1d6aa99c53729a0115beec9174cdf9746960876c2cb9d04ad96561ac773f52 all runs: crashed: possible deadlock in ntfs_mark_rec_free representative crash: possible deadlock in ntfs_mark_rec_free, types: [LOCKDEP] # git bisect bad e0f363a98830e8d7d70fbaf91c07ae0b7c57aafe Bisecting: 0 revisions left to test after this (roughly 1 step) [d6cd7cecfd5e4a189db97876c317d96ebca075fa] fs/ntfs3: Fix ntfs_atomic_open testing commit d6cd7cecfd5e4a189db97876c317d96ebca075fa gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: aace3e909fabaede8077284c79ed30c0c994a9a6b2c91a230b5c0754c1c7a41d all runs: OK false negative chance: 0.000 # git bisect good d6cd7cecfd5e4a189db97876c317d96ebca075fa e0f363a98830e8d7d70fbaf91c07ae0b7c57aafe is the first bad commit commit e0f363a98830e8d7d70fbaf91c07ae0b7c57aafe Author: Konstantin Komarov Date: Mon May 8 11:36:28 2023 +0400 fs/ntfs3: Mark ntfs dirty when on-disk struct is corrupted Signed-off-by: Konstantin Komarov fs/ntfs3/fsntfs.c | 2 +- fs/ntfs3/index.c | 6 ++++++ fs/ntfs3/ntfs_fs.h | 2 ++ fs/ntfs3/record.c | 6 ++++++ 4 files changed, 15 insertions(+), 1 deletion(-) accumulated error probability: 0.00 culprit signature: fb1d6aa99c53729a0115beec9174cdf9746960876c2cb9d04ad96561ac773f52 parent signature: aace3e909fabaede8077284c79ed30c0c994a9a6b2c91a230b5c0754c1c7a41d revisions tested: 26, total time: 4h26m41.365370962s (build: 1h30m55.697584731s, test: 2h46m0.801611287s) first bad commit: e0f363a98830e8d7d70fbaf91c07ae0b7c57aafe fs/ntfs3: Mark ntfs dirty when on-disk struct is corrupted recipients (to): ["almaz.alexandrovich@paragon-software.com"] recipients (cc): [] crash: possible deadlock in ntfs_mark_rec_free ====================================================== WARNING: possible circular locking dependency detected 6.4.0-syzkaller #0 Not tainted ------------------------------------------------------ kworker/u4:2/33 is trying to acquire lock: ffff888101721120 (&wnd->rw_lock/1){+.+.}-{3:3}, at: ntfs_mark_rec_free+0x2a/0x110 fs/ntfs3/fsntfs.c:741 but task is already holding lock: ffff88810fdb8100 (&ni->ni_lock#3){+.+.}-{3:3}, at: ni_trylock fs/ntfs3/ntfs_fs.h:1143 [inline] ffff88810fdb8100 (&ni->ni_lock#3){+.+.}-{3:3}, at: ni_write_inode+0xa6/0x4c0 fs/ntfs3/frecord.c:3253 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #1 (&ni->ni_lock#3){+.+.}-{3:3}: __mutex_lock_common kernel/locking/mutex.c:603 [inline] __mutex_lock+0x99/0x9a0 kernel/locking/mutex.c:747 ntfs_set_state+0x83/0x1a0 fs/ntfs3/fsntfs.c:945 mi_read+0x25a/0x280 fs/ntfs3/record.c:185 mi_format_new+0x82/0x180 fs/ntfs3/record.c:378 ni_add_subrecord+0x4c/0xf0 fs/ntfs3/frecord.c:371 ntfs_look_free_mft+0x24a/0x450 fs/ntfs3/fsntfs.c:714 ni_create_attr_list+0x2e8/0x4a0 fs/ntfs3/frecord.c:871 ni_ins_attr_ext+0x241/0x3e0 fs/ntfs3/frecord.c:969 ni_insert_attr fs/ntfs3/frecord.c:1136 [inline] ni_insert_resident fs/ntfs3/frecord.c:1520 [inline] ni_add_name+0x1d8/0x300 fs/ntfs3/frecord.c:3044 ni_rename+0x4a/0xc0 fs/ntfs3/frecord.c:3084 ntfs_rename+0x2b3/0x3f0 fs/ntfs3/namei.c:322 vfs_rename+0x3e3/0x570 fs/namei.c:4849 do_renameat2+0x432/0x620 fs/namei.c:5002 __do_sys_renameat2 fs/namei.c:5035 [inline] __se_sys_renameat2 fs/namei.c:5032 [inline] __x64_sys_renameat2+0x4f/0x60 fs/namei.c:5032 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x46/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x73/0xdd -> #0 (&wnd->rw_lock/1){+.+.}-{3:3}: check_prev_add kernel/locking/lockdep.c:3113 [inline] check_prevs_add kernel/locking/lockdep.c:3232 [inline] validate_chain kernel/locking/lockdep.c:3847 [inline] __lock_acquire+0x1264/0x25a0 kernel/locking/lockdep.c:5088 lock_acquire+0xea/0x270 kernel/locking/lockdep.c:5705 down_write_nested+0x2c/0xb0 kernel/locking/rwsem.c:1689 ntfs_mark_rec_free+0x2a/0x110 fs/ntfs3/fsntfs.c:741 ni_write_inode+0x2d9/0x4c0 fs/ntfs3/frecord.c:3349 write_inode fs/fs-writeback.c:1456 [inline] __writeback_single_inode+0x193/0x3a0 fs/fs-writeback.c:1668 writeback_sb_inodes+0x2f1/0x5f0 fs/fs-writeback.c:1894 wb_writeback+0x179/0x3d0 fs/fs-writeback.c:2068 wb_do_writeback fs/fs-writeback.c:2211 [inline] wb_workfn+0x12a/0x510 fs/fs-writeback.c:2251 process_one_work+0x245/0x490 kernel/workqueue.c:2408 worker_thread+0x218/0x370 kernel/workqueue.c:2555 kthread+0xe9/0x100 kernel/kthread.c:379 ret_from_fork+0x29/0x50 arch/x86/entry/entry_64.S:308 other info that might help us debug this: Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&ni->ni_lock#3); lock(&wnd->rw_lock/1); lock(&ni->ni_lock#3); lock(&wnd->rw_lock/1); *** DEADLOCK *** 3 locks held by kworker/u4:2/33: #0: ffff888103a59538 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x1ce/0x490 kernel/workqueue.c:2381 #1: ffffc90000187e68 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x1f8/0x490 kernel/workqueue.c:2383 #2: ffff88810fdb8100 (&ni->ni_lock#3){+.+.}-{3:3}, at: ni_trylock fs/ntfs3/ntfs_fs.h:1143 [inline] #2: ffff88810fdb8100 (&ni->ni_lock#3){+.+.}-{3:3}, at: ni_write_inode+0xa6/0x4c0 fs/ntfs3/frecord.c:3253 stack backtrace: CPU: 0 PID: 33 Comm: kworker/u4:2 Not tainted 6.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: writeback wb_workfn (flush-7:0) Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x8d/0xe0 lib/dump_stack.c:106 check_noncircular+0x10c/0x120 kernel/locking/lockdep.c:2188 check_prev_add kernel/locking/lockdep.c:3113 [inline] check_prevs_add kernel/locking/lockdep.c:3232 [inline] validate_chain kernel/locking/lockdep.c:3847 [inline] __lock_acquire+0x1264/0x25a0 kernel/locking/lockdep.c:5088 lock_acquire+0xea/0x270 kernel/locking/lockdep.c:5705 down_write_nested+0x2c/0xb0 kernel/locking/rwsem.c:1689 ntfs_mark_rec_free+0x2a/0x110 fs/ntfs3/fsntfs.c:741 ni_write_inode+0x2d9/0x4c0 fs/ntfs3/frecord.c:3349 write_inode fs/fs-writeback.c:1456 [inline] __writeback_single_inode+0x193/0x3a0 fs/fs-writeback.c:1668 writeback_sb_inodes+0x2f1/0x5f0 fs/fs-writeback.c:1894 wb_writeback+0x179/0x3d0 fs/fs-writeback.c:2068 wb_do_writeback fs/fs-writeback.c:2211 [inline] wb_workfn+0x12a/0x510 fs/fs-writeback.c:2251 process_one_work+0x245/0x490 kernel/workqueue.c:2408 worker_thread+0x218/0x370 kernel/workqueue.c:2555 kthread+0xe9/0x100 kernel/kthread.c:379 ret_from_fork+0x29/0x50 arch/x86/entry/entry_64.S:308