ci2 starts bisection 2024-08-12 06:09:38.672233382 +0000 UTC m=+180141.248943641 bisecting fixing commit since 6139f2a02fe0ac7a08389b4eb786e0c659039ddd building syzkaller on cc4a4020ecb6d62110981f597feea0c04a643efa ensuring issue is reproducible on original commit 6139f2a02fe0ac7a08389b4eb786e0c659039ddd testing commit 6139f2a02fe0ac7a08389b4eb786e0c659039ddd gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6ca0e001af326810c31c2f537dc514235b104dd89856eb42fe925fcf700c2857 run #0: crashed: SYZFAIL: clone failed run #1: crashed: SYZFAIL: clone failed run #2: crashed: SYZFAIL: clone failed run #3: crashed: SYZFAIL: clone failed run #4: crashed: SYZFAIL: clone failed run #5: crashed: SYZFAIL: clone failed run #6: crashed: SYZFAIL: clone failed run #7: crashed: SYZFAIL: clone failed run #8: crashed: SYZFAIL: clone failed run #9: crashed: SYZFAIL: clone failed run #10: crashed: SYZFAIL: clone failed run #11: crashed: SYZFAIL: clone failed run #12: crashed: SYZFAIL: clone failed run #13: crashed: SYZFAIL: clone failed run #14: crashed: SYZFAIL: clone failed run #15: crashed: SYZFAIL: clone failed run #16: crashed: SYZFAIL: clone failed run #17: crashed: SYZFAIL: clone failed run #18: crashed: SYZFAIL: clone failed run #19: OK representative crash: SYZFAIL: clone failed, types: [SYZ_FAILURE] check whether we can drop unnecessary instrumentation disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 6139f2a02fe0ac7a08389b4eb786e0c659039ddd gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0747915933dc6b0e2548e7c5edb646b21195a1822603315c369cc85b3ddcabda all runs: OK false negative chance: 0.000 kconfig minimization: base=3703 full=7266 leaves diff=1984 split chunks (needed=false): <1984> split chunk #0 of len 1984 into 5 parts testing without sub-chunk 1/5 testing commit 6139f2a02fe0ac7a08389b4eb786e0c659039ddd gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 165e2b44447f2e496299927278d98f32738c95b20f41eb68e0df2f89f9ae7859 all runs: crashed: SYZFAIL: clone failed representative crash: SYZFAIL: clone failed, types: [SYZ_FAILURE] the chunk can be dropped testing without sub-chunk 2/5 testing commit 6139f2a02fe0ac7a08389b4eb786e0c659039ddd gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 97502f3e6107091dc51b10051fa4a9d2777eb07ab9a95f3336d07d18bf23dc84 all runs: crashed: SYZFAIL: clone failed representative crash: SYZFAIL: clone failed, types: [SYZ_FAILURE] the chunk can be dropped testing without sub-chunk 3/5 testing commit 6139f2a02fe0ac7a08389b4eb786e0c659039ddd gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 15fdac1885e0acc8f498449cd0d59c8e5781cbb63711bf78135ec4a0b0c05a0a run #0: crashed: SYZFAIL: clone failed run #1: crashed: SYZFAIL: clone failed run #2: crashed: SYZFAIL: clone failed run #3: crashed: SYZFAIL: clone failed run #4: crashed: SYZFAIL: clone failed run #5: crashed: SYZFAIL: clone failed run #6: crashed: SYZFAIL: clone failed run #7: crashed: SYZFAIL: clone failed run #8: crashed: SYZFAIL: clone failed run #9: OK representative crash: SYZFAIL: clone failed, types: [SYZ_FAILURE] the chunk can be dropped testing without sub-chunk 4/5 testing commit 6139f2a02fe0ac7a08389b4eb786e0c659039ddd gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0b135bbc45835111af67106ab729d65814c9f103b6cff5d38e7de0f9ab997c6b all runs: OK false negative chance: 0.000 testing without sub-chunk 5/5 testing commit 6139f2a02fe0ac7a08389b4eb786e0c659039ddd gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3b7ccf792d8df6338418b4050cb484345c590e2efb9e37c83431372e6264b1bf run #0: crashed: SYZFAIL: clone failed run #1: crashed: SYZFAIL: clone failed run #2: crashed: SYZFAIL: clone failed run #3: crashed: SYZFAIL: clone failed run #4: crashed: SYZFAIL: clone failed run #5: crashed: SYZFAIL: clone failed run #6: crashed: SYZFAIL: clone failed run #7: crashed: SYZFAIL: clone failed run #8: OK run #9: OK representative crash: SYZFAIL: clone failed, types: [SYZ_FAILURE] the chunk can be dropped minimized to 397 configs; suspects: [AF_RXRPC ARCH_ENABLE_MEMORY_HOTREMOVE ASYMMETRIC_TPM_KEY_SUBTYPE ATM AX25 CFG80211 CMA DAX DLM DVB_CORE ENCRYPTED_KEYS EXTCON GENEVE GPIOLIB HAMRADIO 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 LIBCRC32C 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 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_REPORTING 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 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_DYNAMIC PREEMPT_NOTIFIERS PREEMPT_RCU 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_COMMON SMC SMC_DIAG SMSC_PHY SMS_SIANO_MDTV SMS_SIANO_RC SMS_USB_DRV SND SND_ALOOP SND_BCD2000 SND_CTL_LED SND_CTL_VALIDATION 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_CGROUP_DATA 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 STP STREAM_PARSER SUNRPC_BACKCHANNEL SUN_PARTITION SW_SYNC 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_RCU TASKS_RCU_GENERIC 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 TPM_KEY_PARSER TRANSPARENT_HUGEPAGE TRANSPARENT_HUGEPAGE_MADVISE TRUSTED_KEYS 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_GENERIC USB_CHIPIDEA_HOST USB_CHIPIDEA_IMX USB_CHIPIDEA_MSM USB_CHIPIDEA_PCI USB_CHIPIDEA_TEGRA 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_CONFIGFS_F_MIDI USB_DWC2 USB_GADGET USB_MUSB_HDRC USB_NET_CDC_SUBSET USB_ROLE_SWITCH USB_STORAGE_REALTEK USB_ULPI_BUS USB_USBNET VIDEO_DEV VIDEO_V4L2 VXLAN WIRELESS WLAN ZONE_DEVICE] testing current HEAD 7e89efd3ae1cfa05fe918588a92628b9bbeda4b2 testing commit 7e89efd3ae1cfa05fe918588a92628b9bbeda4b2 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c71d5a5aaf6fa1517d0612fc5385fa3e7f6565221571002f24cde9eafb578871 all runs: OK false negative chance: 0.000 # git bisect start 7e89efd3ae1cfa05fe918588a92628b9bbeda4b2 6139f2a02fe0ac7a08389b4eb786e0c659039ddd Bisecting: 1653 revisions left to test after this (roughly 11 steps) [10d55a17899a27100c6b1a6987e2ab6774c096a1] nfsd: allow disabling NFSv2 at compile time determine whether the revision contains the guilty commit revision 6139f2a02fe0ac7a08389b4eb786e0c659039ddd crashed and is reachable testing commit 10d55a17899a27100c6b1a6987e2ab6774c096a1 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 failed building 10d55a17899a27100c6b1a6987e2ab6774c096a1: fs/lockd/svcsubs.c:213:36: error: implicit declaration of function 'locks_inode_context'; did you mean 'sock_no_connect'? [-Werror=implicit-function-declaration] # git bisect skip 10d55a17899a27100c6b1a6987e2ab6774c096a1 Bisecting: 1652 revisions left to test after this (roughly 11 steps) [81c3ab9b95bf7bff47168a536a70928ca0a4582d] exportfs: use pr_debug for unreachable debug statements determine whether the revision contains the guilty commit revision 6139f2a02fe0ac7a08389b4eb786e0c659039ddd crashed and is reachable testing commit 81c3ab9b95bf7bff47168a536a70928ca0a4582d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 failed building 81c3ab9b95bf7bff47168a536a70928ca0a4582d: fs/lockd/svcsubs.c:213:36: error: implicit declaration of function 'locks_inode_context'; did you mean 'sock_no_connect'? [-Werror=implicit-function-declaration] # git bisect skip 81c3ab9b95bf7bff47168a536a70928ca0a4582d Bisecting: 1652 revisions left to test after this (roughly 11 steps) [c7a0fa3a66577a516f6d53a766c0a28429b4bdaa] PM: runtime: Have devm_pm_runtime_enable() handle pm_runtime_dont_use_autosuspend() determine whether the revision contains the guilty commit revision 6139f2a02fe0ac7a08389b4eb786e0c659039ddd crashed and is reachable testing commit c7a0fa3a66577a516f6d53a766c0a28429b4bdaa gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 406517d753b7bb810be3c08ef3b15bb97529ebd07cb045868d2ce6804290e631 run #0: crashed: SYZFAIL: clone failed run #1: crashed: SYZFAIL: clone failed run #2: crashed: SYZFAIL: clone failed run #3: crashed: SYZFAIL: clone failed run #4: crashed: SYZFAIL: clone failed run #5: crashed: SYZFAIL: clone failed run #6: crashed: SYZFAIL: clone failed run #7: OK run #8: OK run #9: OK representative crash: SYZFAIL: clone failed, types: [SYZ_FAILURE] # git bisect good c7a0fa3a66577a516f6d53a766c0a28429b4bdaa Bisecting: 1423 revisions left to test after this (roughly 11 steps) [ba580534db140ed6724bb486fbe9fdffacdf865d] arm64: dts: rockchip: fix rk3328 hdmi ports node determine whether the revision contains the guilty commit revision 6139f2a02fe0ac7a08389b4eb786e0c659039ddd crashed and is reachable testing commit ba580534db140ed6724bb486fbe9fdffacdf865d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8b88d795a924ef0b23d9609236aef1c72855fad52c4dc30e50e8f9f6b5591efa all runs: crashed: SYZFAIL: clone failed representative crash: SYZFAIL: clone failed, types: [SYZ_FAILURE] # git bisect good ba580534db140ed6724bb486fbe9fdffacdf865d Bisecting: 711 revisions left to test after this (roughly 10 steps) [42952002ec9fff9309f2c02192707bef065d8991] x86/kconfig: Select ARCH_WANT_FRAME_POINTERS again when UNWINDER_FRAME_POINTER=y determine whether the revision contains the guilty commit revision 6139f2a02fe0ac7a08389b4eb786e0c659039ddd crashed and is reachable testing commit 42952002ec9fff9309f2c02192707bef065d8991 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 23167f740e744dfcf7c9e78f15a852aae985aa76d075d815f36ceac39bbb2cf0 all runs: crashed: SYZFAIL: clone failed representative crash: SYZFAIL: clone failed, types: [SYZ_FAILURE] # git bisect good 42952002ec9fff9309f2c02192707bef065d8991 Bisecting: 355 revisions left to test after this (roughly 9 steps) [516aa9badb75daa63eede021a1e89a423cc4ae68] rtlwifi: rtl8192de: Style clean-ups determine whether the revision contains the guilty commit revision 6139f2a02fe0ac7a08389b4eb786e0c659039ddd crashed and is reachable testing commit 516aa9badb75daa63eede021a1e89a423cc4ae68 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ac52a316d2fa8cf2fc16fa58941ac8ea50c95949f7f464327a83d97ad32fa6e6 run #0: crashed: SYZFAIL: clone failed run #1: crashed: SYZFAIL: clone failed run #2: crashed: SYZFAIL: clone failed run #3: crashed: SYZFAIL: clone failed run #4: crashed: SYZFAIL: clone failed run #5: crashed: SYZFAIL: clone failed run #6: crashed: SYZFAIL: clone failed run #7: crashed: SYZFAIL: clone failed run #8: OK run #9: OK representative crash: SYZFAIL: clone failed, types: [SYZ_FAILURE] # git bisect good 516aa9badb75daa63eede021a1e89a423cc4ae68 Bisecting: 177 revisions left to test after this (roughly 8 steps) [56ca9e7f80cf8249c73759acf816250dd5ade83a] mtd: rawnand: Ensure ECC configuration is propagated to upper layers determine whether the revision contains the guilty commit revision c7a0fa3a66577a516f6d53a766c0a28429b4bdaa crashed and is reachable testing commit 56ca9e7f80cf8249c73759acf816250dd5ade83a gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4334a55f20db9f95ad67e4f0256f0c73f64e8073f373cb4c593639dfae6a7fa7 all runs: OK false negative chance: 0.000 # git bisect bad 56ca9e7f80cf8249c73759acf816250dd5ade83a Bisecting: 88 revisions left to test after this (roughly 7 steps) [32523b5717f063960a8e31debde64fc3fe00be6a] kbuild: Install dtb files as 0644 in Makefile.dtbinst determine whether the revision contains the guilty commit revision 6139f2a02fe0ac7a08389b4eb786e0c659039ddd crashed and is reachable testing commit 32523b5717f063960a8e31debde64fc3fe00be6a gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2124da786b72a3ab47a28c2808f81c5e059b8567b3d912b249fa7ba9fedf6d51 all runs: OK false negative chance: 0.000 # git bisect bad 32523b5717f063960a8e31debde64fc3fe00be6a Bisecting: 43 revisions left to test after this (roughly 6 steps) [489f38de3375ab84b3d269d0a1d64d6ee95d7044] drm/panel: ilitek-ili9881c: Fix warning with GPIO controllers that sleep determine whether the revision contains the guilty commit revision 81c3ab9b95bf7bff47168a536a70928ca0a4582d crashed and is reachable testing commit 489f38de3375ab84b3d269d0a1d64d6ee95d7044 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6e72f039923d89283c68f147b618993d09beb53f0cac3dccb274da2d8a1200e2 all runs: OK false negative chance: 0.000 # git bisect bad 489f38de3375ab84b3d269d0a1d64d6ee95d7044 Bisecting: 21 revisions left to test after this (roughly 5 steps) [01fe2f885f7813f8aed5d3704b384a97b1116a9e] pinctrl: fix deadlock in create_pinctrl() when handling -EPROBE_DEFER determine whether the revision contains the guilty commit revision 6139f2a02fe0ac7a08389b4eb786e0c659039ddd crashed and is reachable testing commit 01fe2f885f7813f8aed5d3704b384a97b1116a9e gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5264dfee6bc8616cdaca8fee4b3b12a2a6bb9fd12f4a137b8d46f9ad2f5bf1e7 all runs: OK false negative chance: 0.000 # git bisect bad 01fe2f885f7813f8aed5d3704b384a97b1116a9e Bisecting: 11 revisions left to test after this (roughly 4 steps) [3a20de3273d2cf95a4c6ed28df76f7efe6cc9e00] kheaders: explicitly define file modes for archived headers determine whether the revision contains the guilty commit revision 81c3ab9b95bf7bff47168a536a70928ca0a4582d crashed and is reachable testing commit 3a20de3273d2cf95a4c6ed28df76f7efe6cc9e00 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5f5eebe71312e1cd65ad1398b849322a96e4dd86689dc0b5181213754ed998f2 run #0: crashed: SYZFAIL: clone failed run #1: crashed: SYZFAIL: clone failed run #2: crashed: SYZFAIL: clone failed run #3: crashed: SYZFAIL: clone failed run #4: crashed: SYZFAIL: clone failed run #5: crashed: SYZFAIL: clone failed run #6: crashed: SYZFAIL: clone failed run #7: crashed: SYZFAIL: clone failed run #8: OK run #9: OK representative crash: SYZFAIL: clone failed, types: [SYZ_FAILURE] # git bisect good 3a20de3273d2cf95a4c6ed28df76f7efe6cc9e00 Bisecting: 5 revisions left to test after this (roughly 3 steps) [21f5dd36e655d25a7b45b61c1e537198b671f720] smb: client: fix deadlock in smb2_find_smb_tcon() determine whether the revision contains the guilty commit revision 81c3ab9b95bf7bff47168a536a70928ca0a4582d crashed and is reachable testing commit 21f5dd36e655d25a7b45b61c1e537198b671f720 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4ab34f2ccc80179e56f657411f416ac92f2560bf5f1b859db8d126dc2a65d159 all runs: OK false negative chance: 0.000 # git bisect bad 21f5dd36e655d25a7b45b61c1e537198b671f720 Bisecting: 2 revisions left to test after this (roughly 2 steps) [f0f1bd244a856975e4791637e5327447452e75de] perf/core: Fix missing wakeup when waiting for context reference determine whether the revision contains the guilty commit revision 6139f2a02fe0ac7a08389b4eb786e0c659039ddd crashed and is reachable testing commit f0f1bd244a856975e4791637e5327447452e75de gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 052eb353168154b848e2229c3065a8f407ccec734556f5bae7d673879bd9ea37 all runs: OK false negative chance: 0.000 # git bisect bad f0f1bd244a856975e4791637e5327447452e75de Bisecting: 0 revisions left to test after this (roughly 1 step) [ab4458bc32cb6f22a0ccbec75ac53e6ae901a9da] riscv: fix overlap of allocated page and PTR_ERR determine whether the revision contains the guilty commit revision 3a20de3273d2cf95a4c6ed28df76f7efe6cc9e00 crashed and is reachable testing commit ab4458bc32cb6f22a0ccbec75ac53e6ae901a9da gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5f5eebe71312e1cd65ad1398b849322a96e4dd86689dc0b5181213754ed998f2 run #0: crashed: SYZFAIL: clone failed run #1: crashed: SYZFAIL: clone failed run #2: crashed: SYZFAIL: clone failed run #3: crashed: SYZFAIL: clone failed run #4: crashed: SYZFAIL: clone failed run #5: crashed: SYZFAIL: clone failed run #6: crashed: SYZFAIL: clone failed run #7: crashed: SYZFAIL: clone failed run #8: OK run #9: OK representative crash: SYZFAIL: clone failed, types: [SYZ_FAILURE] # git bisect good ab4458bc32cb6f22a0ccbec75ac53e6ae901a9da f0f1bd244a856975e4791637e5327447452e75de is the first bad commit commit f0f1bd244a856975e4791637e5327447452e75de Author: Haifeng Xu Date: Mon May 13 10:39:48 2024 +0000 perf/core: Fix missing wakeup when waiting for context reference [ Upstream commit 74751ef5c1912ebd3e65c3b65f45587e05ce5d36 ] In our production environment, we found many hung tasks which are blocked for more than 18 hours. Their call traces are like this: [346278.191038] __schedule+0x2d8/0x890 [346278.191046] schedule+0x4e/0xb0 [346278.191049] perf_event_free_task+0x220/0x270 [346278.191056] ? init_wait_var_entry+0x50/0x50 [346278.191060] copy_process+0x663/0x18d0 [346278.191068] kernel_clone+0x9d/0x3d0 [346278.191072] __do_sys_clone+0x5d/0x80 [346278.191076] __x64_sys_clone+0x25/0x30 [346278.191079] do_syscall_64+0x5c/0xc0 [346278.191083] ? syscall_exit_to_user_mode+0x27/0x50 [346278.191086] ? do_syscall_64+0x69/0xc0 [346278.191088] ? irqentry_exit_to_user_mode+0x9/0x20 [346278.191092] ? irqentry_exit+0x19/0x30 [346278.191095] ? exc_page_fault+0x89/0x160 [346278.191097] ? asm_exc_page_fault+0x8/0x30 [346278.191102] entry_SYSCALL_64_after_hwframe+0x44/0xae The task was waiting for the refcount become to 1, but from the vmcore, we found the refcount has already been 1. It seems that the task didn't get woken up by perf_event_release_kernel() and got stuck forever. The below scenario may cause the problem. Thread A Thread B ... ... perf_event_free_task perf_event_release_kernel ... acquire event->child_mutex ... get_ctx ... release event->child_mutex acquire ctx->mutex ... perf_free_event (acquire/release event->child_mutex) ... release ctx->mutex wait_var_event acquire ctx->mutex acquire event->child_mutex # move existing events to free_list release event->child_mutex release ctx->mutex put_ctx ... ... In this case, all events of the ctx have been freed, so we couldn't find the ctx in free_list and Thread A will miss the wakeup. It's thus necessary to add a wakeup after dropping the reference. Fixes: 1cf8dfe8a661 ("perf/core: Fix race between close() and fork()") Signed-off-by: Haifeng Xu Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Frederic Weisbecker Acked-by: Mark Rutland Cc: stable@vger.kernel.org Link: https://lkml.kernel.org/r/20240513103948.33570-1-haifeng.xu@shopee.com Signed-off-by: Sasha Levin kernel/events/core.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) accumulated error probability: 0.00 culprit signature: 052eb353168154b848e2229c3065a8f407ccec734556f5bae7d673879bd9ea37 parent signature: 5f5eebe71312e1cd65ad1398b849322a96e4dd86689dc0b5181213754ed998f2 revisions tested: 20, total time: 3h52m1.618933539s (build: 1h4m4.564479691s, test: 2h43m42.567983517s) first good commit: f0f1bd244a856975e4791637e5327447452e75de perf/core: Fix missing wakeup when waiting for context reference recipients (to): ["frederic@kernel.org" "haifeng.xu@shopee.com" "mark.rutland@arm.com" "peterz@infradead.org" "sashal@kernel.org"] recipients (cc): []