ci2 starts bisection 2024-06-20 02:26:08.285484247 +0000 UTC m=+83909.871204901 bisecting fixing commit since dcbc050cb0d304c3427d6583384eebcaf0e3caee building syzkaller on 28847498e7ddab1fba83af007c88a2ed158a9da0 ensuring issue is reproducible on original commit dcbc050cb0d304c3427d6583384eebcaf0e3caee testing commit dcbc050cb0d304c3427d6583384eebcaf0e3caee gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 620e6dfc2e453cbd4504bfeac3089803db5fa3a0437c0e3a5d4356dcf6426da6 all runs: crashed: kernel BUG in ntfs_lookup_inode_by_name representative crash: kernel BUG in ntfs_lookup_inode_by_name, types: [BUG] check whether we can drop unnecessary instrumentation disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit dcbc050cb0d304c3427d6583384eebcaf0e3caee gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 313660efaf7f1bd7f71dc30ca26ee115e4a1aa44bcf929821351501740e20212 all runs: crashed: kernel BUG in ntfs_lookup_inode_by_name representative crash: kernel BUG in ntfs_lookup_inode_by_name, types: [BUG] the bug reproduces without the instrumentation disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed kconfig minimization: base=3820 full=7523 leaves diff=1994 split chunks (needed=false): <1994> split chunk #0 of len 1994 into 5 parts testing without sub-chunk 1/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed testing commit dcbc050cb0d304c3427d6583384eebcaf0e3caee gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8d1b9959873b27ab7c405a281f6b1c338ee240a262ccc690a500774c029f1fd9 all runs: crashed: kernel BUG in ntfs_lookup_inode_by_name representative crash: kernel BUG in ntfs_lookup_inode_by_name, types: [BUG] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit dcbc050cb0d304c3427d6583384eebcaf0e3caee gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2a030052a94f1daf93214904fa2b2da91f7824fff6e80c360935640a0d06876f all runs: crashed: kernel BUG in ntfs_lookup_inode_by_name representative crash: kernel BUG in ntfs_lookup_inode_by_name, types: [BUG] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed testing commit dcbc050cb0d304c3427d6583384eebcaf0e3caee gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 26d012ea1aff59f5d13c43c3ffd63fa752144661a73aec442ed30cb7c5559250 all runs: crashed: kernel BUG in ntfs_lookup_inode_by_name representative crash: kernel BUG in ntfs_lookup_inode_by_name, 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 dcbc050cb0d304c3427d6583384eebcaf0e3caee gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7f685d75bc51b1d5e609945bb51939ff2e887fa11764ab76d0f9241fe7fb9d58 all runs: OK false negative chance: 0.000 testing without sub-chunk 5/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit dcbc050cb0d304c3427d6583384eebcaf0e3caee gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 82c64b37c9d6dd14e5af608765608e1d297aaea7a42737d6a162e35a3f902ff3 all runs: crashed: kernel BUG in ntfs_lookup_inode_by_name representative crash: kernel BUG in ntfs_lookup_inode_by_name, types: [BUG] the chunk can be dropped minimized to 399 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 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_CONNCOUNT NET_IPGRE NET_IPGRE_DEMUX NFS_V4_1 NF_TABLES NF_TABLES_ARP 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 NOP_USB_XCEIV NOZOMI NTFS3_FS NTFS3_FS_POSIX_ACL NTFS3_LZX_XPRESS NTFS_FS NTFS_RW 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_INDEX OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW OVERLAY_FS_REDIRECT_DIR PACKET_DIAG PADATA PAGE_IDLE_FLAG PAGE_POOL PAGE_REPORTING PAHOLE_HAS_BTF_TAG 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 PPPOL2TP PPP_ASYNC PPP_BSDCOMP PPP_DEFLATE PPP_FILTER PPP_MPPE PPP_MULTILINK PPP_SYNC_TTY PPTP PREEMPT PREEMPT_NOTIFIERS PRISM2_USB PROC_CHILDREN PSI PSTORE PSTORE_842_COMPRESS PSTORE_COMPRESS PSTORE_DEFLATE_COMPRESS PSTORE_DEFLATE_COMPRESS_DEFAULT PSTORE_LZ4HC_COMPRESS PSTORE_LZ4_COMPRESS PSTORE_LZO_COMPRESS PSTORE_ZSTD_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 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 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 SERIAL_DEV_BUS SERIAL_DEV_CTRL_TTYPORT SERIAL_MCTRL_GPIO SGI_PARTITION SIGNATURE SIGNED_PE_FILE_VERIFICATION 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_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_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 SOLARIS_X86_PARTITION SONY_FF SOUND SOUND_OSS_CORE SOUND_OSS_CORE_PRECLAIM SPI SPI_DLN2 SPI_DYNAMIC SPI_MASTER SQUASHFS SQUASHFS_4K_DEVBLK_SIZE 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 STAGING_MEDIA 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 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 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_CONFIGFS USB_CONFIGFS_ACM USB_CONFIGFS_ECM USB_CONFIGFS_ECM_SUBSET USB_CONFIGFS_EEM USB_CONFIGFS_F_FS USB_CONFIGFS_F_HID USB_CONFIGFS_F_LB_SS 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 [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed determining the merge base between dcbc050cb0d304c3427d6583384eebcaf0e3caee and e5b3efbe1ab1793bb49ae07d56d0973267e65112 830b3c68c1fb1e9176028d02ef86f3cf76aa2476/Linux 6.1 is a merge base, check if it has the bug testing commit 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4699fda6f56b6b4b8e7b6ffeb52190cec14bb7b3cdd664352dd52573f462afee all runs: crashed: kernel BUG in ntfs_lookup_inode_by_name representative crash: kernel BUG in ntfs_lookup_inode_by_name, types: [BUG] testing current HEAD e5b3efbe1ab1793bb49ae07d56d0973267e65112 testing commit e5b3efbe1ab1793bb49ae07d56d0973267e65112 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e442009998b19f6ac5990101bc738ca15759b34fde4c7a12864eb52648deb55e all runs: OK false negative chance: 0.000 # git bisect start e5b3efbe1ab1793bb49ae07d56d0973267e65112 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 Bisecting: 71020 revisions left to test after this (roughly 16 steps) [a1c19328a160c80251868dbd80066dce23d07995] Merge tag 'soc-arm-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit a1c19328a160c80251868dbd80066dce23d07995 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 22fcbfec05969b1a89baadc1d23785eb322a07e5f5fb8692662301e82c773e6e all runs: crashed: kernel BUG in ntfs_lookup_inode_by_name representative crash: kernel BUG in ntfs_lookup_inode_by_name, types: [BUG] # git bisect good a1c19328a160c80251868dbd80066dce23d07995 Bisecting: 35467 revisions left to test after this (roughly 15 steps) [c736c9a9553f9cfcb1b03e65f91bc29fc6446fd3] Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit c736c9a9553f9cfcb1b03e65f91bc29fc6446fd3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d80e49446b38c281fde48a93b22e53229431fb897305ceca7beb46fbead46c21 all runs: crashed: kernel BUG in ntfs_lookup_inode_by_name representative crash: kernel BUG in ntfs_lookup_inode_by_name, types: [BUG] # git bisect good c736c9a9553f9cfcb1b03e65f91bc29fc6446fd3 Bisecting: 17716 revisions left to test after this (roughly 14 steps) [6885d7263ecd8ce5ab06029078861fbeb06c4a0a] Merge tag 'input-for-v6.9-rc0' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 6885d7263ecd8ce5ab06029078861fbeb06c4a0a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 69c0726e8ff1cf58e22cab0c78c15ebb9455d040e410a77d6c182196a7c2b19c 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 6885d7263ecd8ce5ab06029078861fbeb06c4a0a Bisecting: 17716 revisions left to test after this (roughly 14 steps) [d2dbb1047e05d68b4f031fd50717cf3d2016268f] arm64: dts: qcom: sc8180x-lenovo-flex-5g: add USB-C orientation GPIOs determine whether the revision contains the guilty commit revision 6885d7263ecd8ce5ab06029078861fbeb06c4a0a crashed and is reachable testing commit d2dbb1047e05d68b4f031fd50717cf3d2016268f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 51e631d353079ae7155ea9cf1baf420e2f1c7f1de56633e018e4103697aa5258 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 d2dbb1047e05d68b4f031fd50717cf3d2016268f Bisecting: 17716 revisions left to test after this (roughly 14 steps) [f289e95fffd5e6b59d175cb1e653db0daad7e456] f2fs: compress: remove some redundant codes in f2fs_cache_compressed_page determine whether the revision contains the guilty commit revision a1c19328a160c80251868dbd80066dce23d07995 crashed and is reachable testing commit f289e95fffd5e6b59d175cb1e653db0daad7e456 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 28a2848ffc1750a2385f7f2d5fba5732fadd75497d3ed13ff9de2bbbb1a3fc1d all runs: crashed: kernel BUG in ntfs_lookup_inode_by_name representative crash: kernel BUG in ntfs_lookup_inode_by_name, types: [BUG] # git bisect good f289e95fffd5e6b59d175cb1e653db0daad7e456 Bisecting: 15383 revisions left to test after this (roughly 14 steps) [031ad9e7dbd18c63e671fc4d98be3082189b8a63] bcachefs: Check for packed bkeys that are too big determine whether the revision contains the guilty commit revision f289e95fffd5e6b59d175cb1e653db0daad7e456 crashed and is reachable testing commit 031ad9e7dbd18c63e671fc4d98be3082189b8a63 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9ab7a87cdacdc18bb131d61ecbbb1556b752c36bf150f15d961e8d802d55df60 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 031ad9e7dbd18c63e671fc4d98be3082189b8a63 Bisecting: 15383 revisions left to test after this (roughly 14 steps) [657852135d39b75b1b5139839b7388c1d47f3ecc] perf annotate-data: Fix global variable lookup determine whether the revision contains the guilty commit revision f289e95fffd5e6b59d175cb1e653db0daad7e456 crashed and is reachable testing commit 657852135d39b75b1b5139839b7388c1d47f3ecc gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 94a85325fd430a09db6f9b6254ffba01fe73201c94416744597dfc19ec071aab 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 657852135d39b75b1b5139839b7388c1d47f3ecc Bisecting: 15383 revisions left to test after this (roughly 14 steps) [0f8e9ecc4636e3abb4f3cf1ead14c94cce7dfde8] block: add a bio_await_chain helper determine whether the revision contains the guilty commit revision f289e95fffd5e6b59d175cb1e653db0daad7e456 crashed and is reachable testing commit 0f8e9ecc4636e3abb4f3cf1ead14c94cce7dfde8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 285259c801130a3f9842abfa369519d8e67749ad492e035be478ff6350df36e5 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 0f8e9ecc4636e3abb4f3cf1ead14c94cce7dfde8 Bisecting: 15383 revisions left to test after this (roughly 14 steps) [abe2f470bc18a8ba50ca0a4c73327d993f6678c5] bcachefs: simplify bch2_trans_start_alloc_update() determine whether the revision contains the guilty commit revision f289e95fffd5e6b59d175cb1e653db0daad7e456 crashed and is reachable testing commit abe2f470bc18a8ba50ca0a4c73327d993f6678c5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3e82ddd2e67b5e07648b05e4833464e4b714837e5abe8358282670b51c3d21be all runs: OK false negative chance: 0.000 # git bisect bad abe2f470bc18a8ba50ca0a4c73327d993f6678c5 Bisecting: 8648 revisions left to test after this (roughly 13 steps) [e5e038b7ae9da96b93974bf072ca1876899a01a3] Merge tag 'fs_for_v6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit e5e038b7ae9da96b93974bf072ca1876899a01a3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 22f4b9a7786547627be8cb3dfc502bd17a25e1d95831dc13811c39d2e44557b4 all runs: OK false negative chance: 0.000 # git bisect bad e5e038b7ae9da96b93974bf072ca1876899a01a3 Bisecting: 4112 revisions left to test after this (roughly 12 steps) [43a7548e28a6df12a6170421d9d016c576010baa] Merge tag 'for-6.9-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux determine whether the revision contains the guilty commit revision c736c9a9553f9cfcb1b03e65f91bc29fc6446fd3 crashed and is reachable testing commit 43a7548e28a6df12a6170421d9d016c576010baa gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 78a5f82ebb275daaba420586e2afdacd3196c03ecf8ec21b64c91aa3c754655d all runs: OK false negative chance: 0.000 # git bisect bad 43a7548e28a6df12a6170421d9d016c576010baa Bisecting: 2155 revisions left to test after this (roughly 11 steps) [d2c84bdce25a678c1e1f116d65b58790bd241af0] Merge tag 'for-6.9/io_uring-20240310' of git://git.kernel.dk/linux determine whether the revision contains the guilty commit revision a1c19328a160c80251868dbd80066dce23d07995 crashed and is reachable testing commit d2c84bdce25a678c1e1f116d65b58790bd241af0 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f5c24f7c82d550a52293abbe67dd548fd52acdd3eb8c23d468b7d23ca9e8ddff all runs: OK false negative chance: 0.000 # git bisect bad d2c84bdce25a678c1e1f116d65b58790bd241af0 Bisecting: 1006 revisions left to test after this (roughly 10 steps) [e44baca779686425d0ca02491731b6d688c6711d] Merge tag 'arm-fixes-6.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit e44baca779686425d0ca02491731b6d688c6711d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4fc942183b736b48d46eddc2c704b7a96548f0ade70afe46dc28e402a296a113 all runs: crashed: kernel BUG in ntfs_lookup_inode_by_name representative crash: kernel BUG in ntfs_lookup_inode_by_name, types: [BUG] # git bisect good e44baca779686425d0ca02491731b6d688c6711d Bisecting: 485 revisions left to test after this (roughly 9 steps) [df4793505abd5df399bc6d9a4d8fe81761f557cd] Merge tag 'net-6.8-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net determine whether the revision contains the guilty commit revision a1c19328a160c80251868dbd80066dce23d07995 crashed and is reachable testing commit df4793505abd5df399bc6d9a4d8fe81761f557cd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 40b06543bb2c4900fbc6e00a1745e580d911261e9b6cd46ae079b8668129ace0 all runs: crashed: kernel BUG in ntfs_lookup_inode_by_name representative crash: kernel BUG in ntfs_lookup_inode_by_name, types: [BUG] # git bisect good df4793505abd5df399bc6d9a4d8fe81761f557cd Bisecting: 277 revisions left to test after this (roughly 8 steps) [97ec9715a84e6f0979242e1ea98b9af1a39acf3b] Merge tag 'linux_kselftest-kunit-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest determine whether the revision contains the guilty commit revision e44baca779686425d0ca02491731b6d688c6711d crashed and is reachable testing commit 97ec9715a84e6f0979242e1ea98b9af1a39acf3b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3db6b5ebfc23f365eb0b09c38cec970e371fa8ecbd1b0094c8061f73ab0a559d all runs: crashed: kernel BUG in ntfs_lookup_inode_by_name representative crash: kernel BUG in ntfs_lookup_inode_by_name, types: [BUG] # git bisect good 97ec9715a84e6f0979242e1ea98b9af1a39acf3b Bisecting: 152 revisions left to test after this (roughly 7 steps) [b5683a37c881e2e08065f1670086e281430ee19f] Merge tag 'vfs-6.9.pidfd' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs determine whether the revision contains the guilty commit revision df4793505abd5df399bc6d9a4d8fe81761f557cd crashed and is reachable testing commit b5683a37c881e2e08065f1670086e281430ee19f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 28f4cc790a8f58c9569cc945669e1ce323cc6c76b02f179af82c4576ff6ae61e all runs: OK false negative chance: 0.000 # git bisect bad b5683a37c881e2e08065f1670086e281430ee19f Bisecting: 63 revisions left to test after this (roughly 6 steps) [91e78a1eb6b1c0d1a8b434d46b869941e3b3e9e2] hugetlbfs: support idmapped mounts determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 91e78a1eb6b1c0d1a8b434d46b869941e3b3e9e2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 445d2f45c7a1b78a8819e76e4c44a7dbb1667a27e2f3e0517b11dc7867330b3c all runs: crashed: kernel BUG in ntfs_lookup_inode_by_name representative crash: kernel BUG in ntfs_lookup_inode_by_name, types: [BUG] # git bisect good 91e78a1eb6b1c0d1a8b434d46b869941e3b3e9e2 Bisecting: 23 revisions left to test after this (roughly 5 steps) [54126fafea5249480f9962863cfd5ca2e7ba3150] Merge tag 'vfs-6.9.iomap' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs determine whether the revision contains the guilty commit revision df4793505abd5df399bc6d9a4d8fe81761f557cd crashed and is reachable testing commit 54126fafea5249480f9962863cfd5ca2e7ba3150 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 31948603a1fdbba124ce9d08f2c14b0580da85d18b6fa3ce1b6e1a7817be7576 run #0: crashed: lost connection to test machine run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK representative crash: lost connection to test machine, types: [UNKNOWN] # git bisect good 54126fafea5249480f9962863cfd5ca2e7ba3150 Bisecting: 11 revisions left to test after this (roughly 4 steps) [f0ece18e994144b7daa025b68ead97de26a2df1f] selftests: add ESRCH tests for pidfd_getfd() determine whether the revision contains the guilty commit revision c736c9a9553f9cfcb1b03e65f91bc29fc6446fd3 crashed and is reachable testing commit f0ece18e994144b7daa025b68ead97de26a2df1f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c97276b48ac5d2bf799fcf3c9b00cedb501bf6cbea63f3d21172d54e681191c0 all runs: crashed: kernel BUG in ntfs_lookup_inode_by_name representative crash: kernel BUG in ntfs_lookup_inode_by_name, types: [BUG] # git bisect good f0ece18e994144b7daa025b68ead97de26a2df1f Bisecting: 5 revisions left to test after this (roughly 3 steps) [07fd7c329839cf0b8c7766883d830a1a0d12d1dd] libfs: add path_from_stashed() determine whether the revision contains the guilty commit revision f0ece18e994144b7daa025b68ead97de26a2df1f crashed and is reachable testing commit 07fd7c329839cf0b8c7766883d830a1a0d12d1dd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: eb0c0543618d7f83ee9e06953446fc9fe534624d928e801f2976657a660ee427 all runs: crashed: kernel BUG in ntfs_lookup_inode_by_name representative crash: kernel BUG in ntfs_lookup_inode_by_name, types: [BUG] # git bisect good 07fd7c329839cf0b8c7766883d830a1a0d12d1dd Bisecting: 2 revisions left to test after this (roughly 2 steps) [159a0d9fd50b92cc48e4c82cde79c4cb34c85953] libfs: improve path_from_stashed() helper determine whether the revision contains the guilty commit revision a1c19328a160c80251868dbd80066dce23d07995 crashed and is reachable testing commit 159a0d9fd50b92cc48e4c82cde79c4cb34c85953 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 149890e105e9b39c1a66f30a8db510bb9c349466720c2d912e3d422bebb67dd6 all runs: crashed: kernel BUG in ntfs_lookup_inode_by_name representative crash: kernel BUG in ntfs_lookup_inode_by_name, types: [BUG] # git bisect good 159a0d9fd50b92cc48e4c82cde79c4cb34c85953 Bisecting: 1 revision left to test after this (roughly 1 step) [2558e3b23112adb82a558bab616890a790a38bc6] libfs: add stashed_dentry_prune() determine whether the revision contains the guilty commit revision a1c19328a160c80251868dbd80066dce23d07995 crashed and is reachable testing commit 2558e3b23112adb82a558bab616890a790a38bc6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 969369c03abb219cfe5ebbbfbace942490c4bb4ebdd80359ddc261c2bd65336a all runs: crashed: kernel BUG in ntfs_lookup_inode_by_name representative crash: kernel BUG in ntfs_lookup_inode_by_name, types: [BUG] # git bisect good 2558e3b23112adb82a558bab616890a790a38bc6 Bisecting: 0 revisions left to test after this (roughly 0 steps) [e9c5263ce16d96311c118111ac779f004be8b473] libfs: improve path_from_stashed() determine whether the revision contains the guilty commit revision 159a0d9fd50b92cc48e4c82cde79c4cb34c85953 crashed and is reachable testing commit e9c5263ce16d96311c118111ac779f004be8b473 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9c3ed6922be3787b675f951a2061c6c88e2351147141adb2342b02c3ee8a69ba all runs: crashed: kernel BUG in ntfs_lookup_inode_by_name representative crash: kernel BUG in ntfs_lookup_inode_by_name, types: [BUG] # git bisect good e9c5263ce16d96311c118111ac779f004be8b473 b5683a37c881e2e08065f1670086e281430ee19f is the first bad commit commit b5683a37c881e2e08065f1670086e281430ee19f Merge: 54126fafea52 e9c5263ce16d Author: Linus Torvalds Date: Mon Mar 11 10:21:06 2024 -0700 Merge tag 'vfs-6.9.pidfd' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs Pull pdfd updates from Christian Brauner: - Until now pidfds could only be created for thread-group leaders but not for threads. There was no technical reason for this. We simply had no users that needed support for this. Now we do have users that need support for this. This introduces a new PIDFD_THREAD flag for pidfd_open(). If that flag is set pidfd_open() creates a pidfd that refers to a specific thread. In addition, we now allow clone() and clone3() to be called with CLONE_PIDFD | CLONE_THREAD which wasn't possible before. A pidfd that refers to an individual thread differs from a pidfd that refers to a thread-group leader: (1) Pidfds are pollable. A task may poll a pidfd and get notified when the task has exited. For thread-group leader pidfds the polling task is woken if the thread-group is empty. In other words, if the thread-group leader task exits when there are still threads alive in its thread-group the polling task will not be woken when the thread-group leader exits but rather when the last thread in the thread-group exits. For thread-specific pidfds the polling task is woken if the thread exits. (2) Passing a thread-group leader pidfd to pidfd_send_signal() will generate thread-group directed signals like kill(2) does. Passing a thread-specific pidfd to pidfd_send_signal() will generate thread-specific signals like tgkill(2) does. The default scope of the signal is thus determined by the type of the pidfd. Since use-cases exist where the default scope of the provided pidfd needs to be overriden the following flags are added to pidfd_send_signal(): - PIDFD_SIGNAL_THREAD Send a thread-specific signal. - PIDFD_SIGNAL_THREAD_GROUP Send a thread-group directed signal. - PIDFD_SIGNAL_PROCESS_GROUP Send a process-group directed signal. The scope change will only work if the struct pid is actually used for this scope. For example, in order to send a thread-group directed signal the provided pidfd must be used as a thread-group leader and similarly for PIDFD_SIGNAL_PROCESS_GROUP the struct pid must be used as a process group leader. - Move pidfds from the anonymous inode infrastructure to a tiny pseudo filesystem. This will unblock further work that we weren't able to do simply because of the very justified limitations of anonymous inodes. Moving pidfds to a tiny pseudo filesystem allows for statx on pidfds to become useful for the first time. They can now be compared by inode number which are unique for the system lifetime. Instead of stashing struct pid in file->private_data we can now stash it in inode->i_private. This makes it possible to introduce concepts that operate on a process once all file descriptors have been closed. A concrete example is kill-on-last-close. Another side-effect is that file->private_data is now freed up for per-file options for pidfds. Now, each struct pid will refer to a different inode but the same struct pid will refer to the same inode if it's opened multiple times. In contrast to now where each struct pid refers to the same inode. The tiny pseudo filesystem is not visible anywhere in userspace exactly like e.g., pipefs and sockfs. There's no lookup, there's no complex inode operations, nothing. Dentries and inodes are always deleted when the last pidfd is closed. We allocate a new inode and dentry for each struct pid and we reuse that inode and dentry for all pidfds that refer to the same struct pid. The code is entirely optional and fairly small. If it's not selected we fallback to anonymous inodes. Heavily inspired by nsfs. The dentry and inode allocation mechanism is moved into generic infrastructure that is now shared between nsfs and pidfs. The path_from_stashed() helper must be provided with a stashing location, an inode number, a mount, and the private data that is supposed to be used and it will provide a path that can be passed to dentry_open(). The helper will try retrieve an existing dentry from the provided stashing location. If a valid dentry is found it is reused. If not a new one is allocated and we try to stash it in the provided location. If this fails we retry until we either find an existing dentry or the newly allocated dentry could be stashed. Subsequent openers of the same namespace or task are then able to reuse it. - Currently it is only possible to get notified when a task has exited, i.e., become a zombie and userspace gets notified with EPOLLIN. We now also support waiting until the task has been reaped, notifying userspace with EPOLLHUP. - Ensure that ESRCH is reported for getfd if a task is exiting instead of the confusing EBADF. - Various smaller cleanups to pidfd functions. * tag 'vfs-6.9.pidfd' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs: (23 commits) libfs: improve path_from_stashed() libfs: add stashed_dentry_prune() libfs: improve path_from_stashed() helper pidfs: convert to path_from_stashed() helper nsfs: convert to path_from_stashed() helper libfs: add path_from_stashed() pidfd: add pidfs pidfd: move struct pidfd_fops pidfd: allow to override signal scope in pidfd_send_signal() pidfd: change pidfd_send_signal() to respect PIDFD_THREAD signal: fill in si_code in prepare_kill_siginfo() selftests: add ESRCH tests for pidfd_getfd() pidfd: getfd should always report ESRCH if a task is exiting pidfd: clone: allow CLONE_THREAD | CLONE_PIDFD together pidfd: exit: kill the no longer used thread_group_exited() pidfd: change do_notify_pidfd() to use __wake_up(poll_to_key(EPOLLIN)) pid: kill the obsolete PIDTYPE_PID code in transfer_pid() pidfd: kill the no longer needed do_notify_pidfd() in de_thread() pidfd_poll: report POLLHUP when pid_task() == NULL pidfd: implement PIDFD_THREAD flag for pidfd_open() ... fs/Kconfig | 7 + fs/Makefile | 2 +- fs/exec.c | 1 - fs/internal.h | 7 + fs/libfs.c | 142 +++++++++++ fs/nsfs.c | 121 +++------- fs/pidfs.c | 290 +++++++++++++++++++++++ include/linux/ns_common.h | 2 +- include/linux/pid.h | 10 +- include/linux/pidfs.h | 9 + include/linux/proc_ns.h | 2 +- include/linux/sched/signal.h | 2 - include/uapi/linux/magic.h | 1 + include/uapi/linux/pidfd.h | 8 +- init/main.c | 2 + kernel/exit.c | 31 +-- kernel/fork.c | 147 ++---------- kernel/nsproxy.c | 2 +- kernel/pid.c | 57 +++-- kernel/signal.c | 110 ++++++--- tools/testing/selftests/pidfd/pidfd_getfd_test.c | 31 ++- 21 files changed, 686 insertions(+), 298 deletions(-) create mode 100644 fs/pidfs.c create mode 100644 include/linux/pidfs.h accumulated error probability: 0.00 reproducer is flaky (0.55 repro chance estimate) revisions tested: 32, total time: 7h9m26.032508784s (build: 2h43m57.203028383s, test: 4h12m13.691295156s) first good commit: b5683a37c881e2e08065f1670086e281430ee19f Merge tag 'vfs-6.9.pidfd' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs recipients (to): ["torvalds@linux-foundation.org"] recipients (cc): []