ci2 starts bisection 2024-09-01 08:58:11.831758114 +0000 UTC m=+144799.976755073 bisecting fixing commit since 2f3918bc53fb998fdeed8683ddc61194ceb84edf building syzkaller on 49519f067f7fc9bfbf869e6851a4d398a9f7863f ensuring issue is reproducible on original commit 2f3918bc53fb998fdeed8683ddc61194ceb84edf testing commit 2f3918bc53fb998fdeed8683ddc61194ceb84edf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 266f85b90012ef22c9f31627f0b8c76cbb8c4348262ce3fe1d4d846179e66575 all runs: crashed: possible deadlock in rds_wake_sk_sleep representative crash: possible deadlock in rds_wake_sk_sleep, 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 2f3918bc53fb998fdeed8683ddc61194ceb84edf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 13ffd3b526ce52536c473446441f488e9854b3dae6fff4a4a5df2efc7e8c8d89 all runs: crashed: possible deadlock in rds_wake_sk_sleep representative crash: possible deadlock in rds_wake_sk_sleep, 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=7523 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 2f3918bc53fb998fdeed8683ddc61194ceb84edf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 951f61065e0d5afa72e3b1cfb527437d1b8da2cb474c9bfb046b08d6037b0782 all runs: crashed: possible deadlock in rds_wake_sk_sleep representative crash: possible deadlock in rds_wake_sk_sleep, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [UBSAN BUG KASAN ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 2f3918bc53fb998fdeed8683ddc61194ceb84edf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 93d93fb1370eb205e3b28cda97953d7b6f7ddfc861d92d7e7242306c7ef7c72a all runs: crashed: possible deadlock in rds_wake_sk_sleep representative crash: possible deadlock in rds_wake_sk_sleep, 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 2f3918bc53fb998fdeed8683ddc61194ceb84edf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5a6cfb4c874d3019037a221f4cee3aa61edddd394cccaf27f2faf67f3b3b8b10 run #0: crashed: possible deadlock in rds_message_put run #1: crashed: possible deadlock in rds_wake_sk_sleep run #2: crashed: possible deadlock in rds_wake_sk_sleep run #3: crashed: possible deadlock in rds_wake_sk_sleep run #4: crashed: possible deadlock in rds_wake_sk_sleep run #5: crashed: possible deadlock in rds_wake_sk_sleep run #6: crashed: possible deadlock in rds_wake_sk_sleep run #7: crashed: possible deadlock in rds_wake_sk_sleep run #8: crashed: possible deadlock in rds_wake_sk_sleep run #9: crashed: possible deadlock in rds_wake_sk_sleep representative crash: possible deadlock in rds_message_put, 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 2f3918bc53fb998fdeed8683ddc61194ceb84edf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1cf7dea182edb2b4d9cf5e97d561f1e3af769bcbe25fa403aa42807968249ffb all runs: OK false negative chance: 0.000 testing without sub-chunk 5/5 disabling configs for [LEAK UBSAN BUG KASAN ATOMIC_SLEEP HANG], they are not needed testing commit 2f3918bc53fb998fdeed8683ddc61194ceb84edf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d8f8b36a4660ea12b8a66796e39a4bbec428792aff6f1c31f21e937a9c9918c8 all runs: crashed: possible deadlock in rds_wake_sk_sleep representative crash: possible deadlock in rds_wake_sk_sleep, types: [LOCKDEP] 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_SOCKET_IPV6 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_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_COMMON 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 SPECULATION_MITIGATIONS 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_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 testing current HEAD 311d8503ef9fa25932825c5342de7213738aad8e testing commit 311d8503ef9fa25932825c5342de7213738aad8e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d0a523ddfc19ae51b48b292e457d349015d61c9f694a0bf15551d39272565e64 all runs: OK false negative chance: 0.000 # git bisect start 311d8503ef9fa25932825c5342de7213738aad8e 2f3918bc53fb998fdeed8683ddc61194ceb84edf Bisecting: 5763 revisions left to test after this (roughly 13 steps) [4afcb82518b9b0a07551734662b770513bf0a9ba] drm/mgag200: Fix gamma lut not initialized for G200ER, G200EV, G200SE determine whether the revision contains the guilty commit revision 2f3918bc53fb998fdeed8683ddc61194ceb84edf crashed and is reachable testing commit 4afcb82518b9b0a07551734662b770513bf0a9ba gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a431c253f251facc56a79ee411845d62ea97d887b44ff9abe6a4ffe19408e73e all runs: crashed: possible deadlock in rds_wake_sk_sleep representative crash: possible deadlock in rds_wake_sk_sleep, types: [LOCKDEP] # git bisect good 4afcb82518b9b0a07551734662b770513bf0a9ba Bisecting: 2883 revisions left to test after this (roughly 12 steps) [0fe6a97a5fea6363442bb83500fb473daedadcf8] usb: pci-quirks: Reduce the length of a spinlock section in usb_amd_find_chipset_info() determine whether the revision contains the guilty commit revision 2f3918bc53fb998fdeed8683ddc61194ceb84edf crashed and is reachable testing commit 0fe6a97a5fea6363442bb83500fb473daedadcf8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b0582ae0d7b9cd95edef1e729e035b17145bf7e0378c6022466740dcc7ab9fb2 all runs: crashed: possible deadlock in rds_wake_sk_sleep representative crash: possible deadlock in rds_wake_sk_sleep, types: [LOCKDEP] # git bisect good 0fe6a97a5fea6363442bb83500fb473daedadcf8 Bisecting: 1441 revisions left to test after this (roughly 11 steps) [9e424deb9a4c7995a33246ad1f4c206daf744e77] soc: ti: wkup_m3_ipc: Send NULL dummy message instead of pointer message determine whether the revision contains the guilty commit revision 4afcb82518b9b0a07551734662b770513bf0a9ba crashed and is reachable testing commit 9e424deb9a4c7995a33246ad1f4c206daf744e77 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3d413435a8e7a8477ff56cd2f9148c20fca54941887fefe5dcfbfa55748d73e4 run #0: crashed: possible deadlock in rds_message_put run #1: crashed: possible deadlock in rds_wake_sk_sleep run #2: crashed: possible deadlock in rds_wake_sk_sleep run #3: crashed: possible deadlock in rds_wake_sk_sleep run #4: crashed: possible deadlock in rds_wake_sk_sleep run #5: crashed: possible deadlock in rds_wake_sk_sleep run #6: crashed: possible deadlock in rds_wake_sk_sleep run #7: crashed: possible deadlock in rds_wake_sk_sleep run #8: crashed: possible deadlock in rds_wake_sk_sleep run #9: crashed: possible deadlock in rds_wake_sk_sleep representative crash: possible deadlock in rds_message_put, types: [LOCKDEP] # git bisect good 9e424deb9a4c7995a33246ad1f4c206daf744e77 Bisecting: 720 revisions left to test after this (roughly 10 steps) [651015ca9cf5f529281bcffc1223f9045748cdd0] hwrng: amd - Convert PCIBIOS_* return codes to errnos determine whether the revision contains the guilty commit revision 4afcb82518b9b0a07551734662b770513bf0a9ba crashed and is reachable testing commit 651015ca9cf5f529281bcffc1223f9045748cdd0 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d763e004413f2732d1b044fff1dc142c7cc51d46dadcbdb8e0ecd25d7f45a8f7 all runs: crashed: possible deadlock in rds_wake_sk_sleep representative crash: possible deadlock in rds_wake_sk_sleep, types: [LOCKDEP] # git bisect good 651015ca9cf5f529281bcffc1223f9045748cdd0 Bisecting: 360 revisions left to test after this (roughly 9 steps) [d93cf38fad9f66397093432b8917971a92ee0146] mptcp: pm: do not ignore 'subflow' if 'signal' flag is also set determine whether the revision contains the guilty commit revision 0fe6a97a5fea6363442bb83500fb473daedadcf8 crashed and is reachable testing commit d93cf38fad9f66397093432b8917971a92ee0146 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 045d7e2db943c69c57a6fd46cf8d4a2844ab5ba0b89b130c48ca49c343dc2ed3 all runs: crashed: possible deadlock in rds_wake_sk_sleep representative crash: possible deadlock in rds_wake_sk_sleep, types: [LOCKDEP] # git bisect good d93cf38fad9f66397093432b8917971a92ee0146 Bisecting: 180 revisions left to test after this (roughly 8 steps) [1ba15435a6afc7e92e6884531c69a6881589c696] hwmon: (ltc2992) Avoid division by zero determine whether the revision contains the guilty commit revision 651015ca9cf5f529281bcffc1223f9045748cdd0 crashed and is reachable testing commit 1ba15435a6afc7e92e6884531c69a6881589c696 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 29d6fbeb57a02f5c2261663aadc3978cdbeae132d3dfc317024f22712438b5e6 all runs: OK false negative chance: 0.000 # git bisect bad 1ba15435a6afc7e92e6884531c69a6881589c696 Bisecting: 89 revisions left to test after this (roughly 7 steps) [fbab8146583b49d9059cde6086e6494182dc8503] jfs: fix shift-out-of-bounds in dbJoin determine whether the revision contains the guilty commit revision 9e424deb9a4c7995a33246ad1f4c206daf744e77 crashed and is reachable testing commit fbab8146583b49d9059cde6086e6494182dc8503 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cdbaca647d0c28088953f021debcfbcde205b44850a2a9d6e79d5f5e51ea0aa1 all runs: crashed: possible deadlock in rds_wake_sk_sleep representative crash: possible deadlock in rds_wake_sk_sleep, types: [LOCKDEP] # git bisect good fbab8146583b49d9059cde6086e6494182dc8503 Bisecting: 44 revisions left to test after this (roughly 6 steps) [5293fbcef6dea45ba4c302577927419d57719ead] netfilter: nf_tables: Audit log dump reset after the fact determine whether the revision contains the guilty commit revision 4afcb82518b9b0a07551734662b770513bf0a9ba crashed and is reachable testing commit 5293fbcef6dea45ba4c302577927419d57719ead gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3e8e975df1e206ad579e16fecd370471d9c3695c8a4b8f10df8d3596180b8afa all runs: OK false negative chance: 0.000 # git bisect bad 5293fbcef6dea45ba4c302577927419d57719ead Bisecting: 22 revisions left to test after this (roughly 5 steps) [0752e7fb549d90c33b4d4186f11cfd25a556d1dd] ext4: do not create EA inode under buffer lock determine whether the revision contains the guilty commit revision 2f3918bc53fb998fdeed8683ddc61194ceb84edf crashed and is reachable testing commit 0752e7fb549d90c33b4d4186f11cfd25a556d1dd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: dadc8c6581cfaa510b5975e8e7c2d7df1b09d579a90c29277a81fd6a62232207 all runs: OK false negative chance: 0.000 # git bisect bad 0752e7fb549d90c33b4d4186f11cfd25a556d1dd Bisecting: 10 revisions left to test after this (roughly 4 steps) [5ad7b5e7091c69e0ff719eb084262de2a05cd029] wifi: cfg80211: factor out bridge tunnel / RFC1042 header check determine whether the revision contains the guilty commit revision 2f3918bc53fb998fdeed8683ddc61194ceb84edf crashed and is reachable testing commit 5ad7b5e7091c69e0ff719eb084262de2a05cd029 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c23a86b33da345b9411ccb62b7f6d31e243fdecc9fb9d64ee78f11c0da34e7fe all runs: OK false negative chance: 0.000 # git bisect bad 5ad7b5e7091c69e0ff719eb084262de2a05cd029 Bisecting: 5 revisions left to test after this (roughly 3 steps) [863ca59e21eb262f78e1dd3f626e6ebe448501a1] quota: Detect loops in quota tree determine whether the revision contains the guilty commit revision 2f3918bc53fb998fdeed8683ddc61194ceb84edf crashed and is reachable testing commit 863ca59e21eb262f78e1dd3f626e6ebe448501a1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 26ff96b225f9b3c5822e515e480879f710639530ff63bc3c224f31f40a001fab all runs: crashed: possible deadlock in rds_wake_sk_sleep representative crash: possible deadlock in rds_wake_sk_sleep, types: [LOCKDEP] # git bisect good 863ca59e21eb262f78e1dd3f626e6ebe448501a1 Bisecting: 2 revisions left to test after this (roughly 2 steps) [327cd83cc5a33c3bacbeaa2e85849636a2955bfa] pppoe: Fix memory leak in pppoe_sendmsg() determine whether the revision contains the guilty commit revision 2f3918bc53fb998fdeed8683ddc61194ceb84edf crashed and is reachable testing commit 327cd83cc5a33c3bacbeaa2e85849636a2955bfa gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 57ed5567e942c05570e4a6d2312b2b2347d73d5b8c6f79104524b5038e03817b all runs: OK false negative chance: 0.000 # git bisect bad 327cd83cc5a33c3bacbeaa2e85849636a2955bfa Bisecting: 0 revisions left to test after this (roughly 1 step) [0b60c07253519a0a099b17acdae104e04082e448] net: sctp: fix skb leak in sctp_inq_free() determine whether the revision contains the guilty commit revision 4afcb82518b9b0a07551734662b770513bf0a9ba crashed and is reachable testing commit 0b60c07253519a0a099b17acdae104e04082e448 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 312d85b6fef8ac4ffa99f19741f56f66f249c2c89aecc2a3c93b8360f42cda27 all runs: OK false negative chance: 0.000 # git bisect bad 0b60c07253519a0a099b17acdae104e04082e448 Bisecting: 0 revisions left to test after this (roughly 0 steps) [2c66293a452c0fd7f1be880e1166ba21c6fe1cbb] net:rds: Fix possible deadlock in rds_message_put determine whether the revision contains the guilty commit revision 651015ca9cf5f529281bcffc1223f9045748cdd0 crashed and is reachable testing commit 2c66293a452c0fd7f1be880e1166ba21c6fe1cbb gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3488d0697e7abfb03830ff26f3733f460e78e2dc0bafe6d1ddab918077ddf0a8 all runs: OK false negative chance: 0.000 # git bisect bad 2c66293a452c0fd7f1be880e1166ba21c6fe1cbb 2c66293a452c0fd7f1be880e1166ba21c6fe1cbb is the first bad commit commit 2c66293a452c0fd7f1be880e1166ba21c6fe1cbb Author: Allison Henderson Date: Thu Feb 8 19:28:54 2024 -0700 net:rds: Fix possible deadlock in rds_message_put [ Upstream commit f1acf1ac84d2ae97b7889b87223c1064df850069 ] Functions rds_still_queued and rds_clear_recv_queue lock a given socket in order to safely iterate over the incoming rds messages. However calling rds_inc_put while under this lock creates a potential deadlock. rds_inc_put may eventually call rds_message_purge, which will lock m_rs_lock. This is the incorrect locking order since m_rs_lock is meant to be locked before the socket. To fix this, we move the message item to a local list or variable that wont need rs_recv_lock protection. Then we can safely call rds_inc_put on any item stored locally after rs_recv_lock is released. Fixes: bdbe6fbc6a2f ("RDS: recv.c") Reported-by: syzbot+f9db6ff27b9bfdcfeca0@syzkaller.appspotmail.com Reported-by: syzbot+dcd73ff9291e6d34b3ab@syzkaller.appspotmail.com Signed-off-by: Allison Henderson Link: https://lore.kernel.org/r/20240209022854.200292-1-allison.henderson@oracle.com Signed-off-by: Paolo Abeni Signed-off-by: Sasha Levin net/rds/recv.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) accumulated error probability: 0.00 culprit signature: 3488d0697e7abfb03830ff26f3733f460e78e2dc0bafe6d1ddab918077ddf0a8 parent signature: 26ff96b225f9b3c5822e515e480879f710639530ff63bc3c224f31f40a001fab revisions tested: 22, total time: 6h50m27.403029372s (build: 2h35m54.067825913s, test: 4h7m4.456431504s) first good commit: 2c66293a452c0fd7f1be880e1166ba21c6fe1cbb net:rds: Fix possible deadlock in rds_message_put recipients (to): ["allison.henderson@oracle.com" "pabeni@redhat.com" "sashal@kernel.org"] recipients (cc): []