ci2 starts bisection 2024-09-28 11:06:46.452263625 +0000 UTC m=+4875.496326825 bisecting fixing commit since 0ab06468cbd149aac0d7f216ec00452ff8c74e0b building syzkaller on a4ae4f428721da42ac15f07d6f3b54584dedee27 ensuring issue is reproducible on original commit 0ab06468cbd149aac0d7f216ec00452ff8c74e0b testing commit 0ab06468cbd149aac0d7f216ec00452ff8c74e0b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: da41adfb1d69711c61726d24fd5b12495e116a586c8d4db9730fe5caba4c5cbe 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 [KASAN ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 0ab06468cbd149aac0d7f216ec00452ff8c74e0b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7cc9edc3fa546f4705bb5709620bd295638cee84586701b343dcf59f9a13fdf9 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 [UBSAN BUG KASAN ATOMIC_SLEEP HANG LEAK], they are not needed kconfig minimization: base=3706 full=7271 leaves diff=1987 split chunks (needed=false): <1987> split chunk #0 of len 1987 into 5 parts testing without sub-chunk 1/5 disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed testing commit 0ab06468cbd149aac0d7f216ec00452ff8c74e0b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: edae0c22f1a63509fd67631f9ec8379f36ebd026a1ef4927aca365ba8a4c6962 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 [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 0ab06468cbd149aac0d7f216ec00452ff8c74e0b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 113ea17a5e1f9d23935ceb94e74067db01d85ba7bc8ca11213ee25062187cabb 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 0ab06468cbd149aac0d7f216ec00452ff8c74e0b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: de8ede79993af05997c12468b61ae96f56f671fe7aaca9b1d25bed08096c5c77 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 4/5 disabling configs for [KASAN ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 0ab06468cbd149aac0d7f216ec00452ff8c74e0b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 281f46f13685b99d3fb173f0c0704d61ea218f0d905c2dbfa5c7f99f2f8d152c all runs: OK false negative chance: 0.000 testing without sub-chunk 5/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 0ab06468cbd149aac0d7f216ec00452ff8c74e0b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 82ce16697460c3ca96dbb42b75028276ad40eceaf8ca44a92e03d8d5d60f5b89 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 398 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_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 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 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_CONFIGFS_F_PRINTER 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] disabling configs for [LEAK UBSAN BUG KASAN ATOMIC_SLEEP HANG], they are not needed testing current HEAD 3a5928702e7120f83f703fd566082bfb59f1a57e testing commit 3a5928702e7120f83f703fd566082bfb59f1a57e gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 08bb5d88390f2d041a328778d624baeb4ec73a15f77094a18cf3acf958e5324c all runs: OK false negative chance: 0.000 # git bisect start 3a5928702e7120f83f703fd566082bfb59f1a57e 0ab06468cbd149aac0d7f216ec00452ff8c74e0b Bisecting: 4393 revisions left to test after this (roughly 12 steps) [4e57efe03a301921428131c752c85521332961e8] drm/radeon/r100: Fix integer overflow issues in r100_cs_track_check() determine whether the revision contains the guilty commit revision 0ab06468cbd149aac0d7f216ec00452ff8c74e0b crashed and is reachable testing commit 4e57efe03a301921428131c752c85521332961e8 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 42afdb28e995fa40301e954be2441c68632436f9f821a80f49f9fb74420c742b all runs: crashed: possible deadlock in rds_wake_sk_sleep representative crash: possible deadlock in rds_wake_sk_sleep, types: [LOCKDEP] # git bisect good 4e57efe03a301921428131c752c85521332961e8 Bisecting: 2197 revisions left to test after this (roughly 11 steps) [3076b3c38a704e10df5e143c213653309d532538] s390/cio: fix race condition during online processing determine whether the revision contains the guilty commit revision 0ab06468cbd149aac0d7f216ec00452ff8c74e0b crashed and is reachable testing commit 3076b3c38a704e10df5e143c213653309d532538 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7169b7c107f3d742f754ee72ca325dca428a9e643db2e90979530026a99d800a run #0: crashed: lost connection to test machine 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_wake_sk_sleep, types: [LOCKDEP] # git bisect good 3076b3c38a704e10df5e143c213653309d532538 Bisecting: 1098 revisions left to test after this (roughly 10 steps) [bfd14e5915c2669f292a31d028e75dcd82f1e7e9] bonding: Fix out-of-bounds read in bond_option_arp_ip_targets_set() determine whether the revision contains the guilty commit revision 0ab06468cbd149aac0d7f216ec00452ff8c74e0b crashed and is reachable testing commit bfd14e5915c2669f292a31d028e75dcd82f1e7e9 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a2c786060a19d825800a586c5f862a96d4d418a462663ccf01e56553287dfc80 all runs: crashed: possible deadlock in rds_wake_sk_sleep representative crash: possible deadlock in rds_wake_sk_sleep, types: [LOCKDEP] # git bisect good bfd14e5915c2669f292a31d028e75dcd82f1e7e9 Bisecting: 549 revisions left to test after this (roughly 9 steps) [5caf0ffaf9155347f9d8c974eb0632d98f0c1622] Bluetooth: l2cap: always unlock channel in l2cap_conless_channel() determine whether the revision contains the guilty commit revision 0ab06468cbd149aac0d7f216ec00452ff8c74e0b crashed and is reachable testing commit 5caf0ffaf9155347f9d8c974eb0632d98f0c1622 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 480ad02ebafb1ae06ba49835877011bc9297f5e10c0f3ec051bbdd085d64d3f2 all runs: crashed: possible deadlock in rds_wake_sk_sleep representative crash: possible deadlock in rds_wake_sk_sleep, types: [LOCKDEP] # git bisect good 5caf0ffaf9155347f9d8c974eb0632d98f0c1622 Bisecting: 274 revisions left to test after this (roughly 8 steps) [c05155cc455785916164aa5e1b4605a2ae946537] netfilter: flowtable: validate vlan header determine whether the revision contains the guilty commit revision 5caf0ffaf9155347f9d8c974eb0632d98f0c1622 crashed and is reachable testing commit c05155cc455785916164aa5e1b4605a2ae946537 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 29328a124b19a6f82caf50a1288262dd3b73ba9ae5a1f279a7b6e2585481c6fb all runs: crashed: possible deadlock in rds_wake_sk_sleep representative crash: possible deadlock in rds_wake_sk_sleep, types: [LOCKDEP] # git bisect good c05155cc455785916164aa5e1b4605a2ae946537 Bisecting: 137 revisions left to test after this (roughly 7 steps) [57b6ead5719ea21c39a519f2b1bf57eed12a2b45] Bluetooth: MGMT: Ignore keys being loaded with invalid type determine whether the revision contains the guilty commit revision 0ab06468cbd149aac0d7f216ec00452ff8c74e0b crashed and is reachable testing commit 57b6ead5719ea21c39a519f2b1bf57eed12a2b45 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ea35947f55219690053460085bf233c8123d5190d0be039c1957c92c3bf86814 all runs: OK false negative chance: 0.000 # git bisect bad 57b6ead5719ea21c39a519f2b1bf57eed12a2b45 Bisecting: 68 revisions left to test after this (roughly 6 steps) [488702d1be32f8a8116e533bf8d5d6e8615980e6] dma-debug: avoid deadlock between dma debug vs printk and netconsole determine whether the revision contains the guilty commit revision 5caf0ffaf9155347f9d8c974eb0632d98f0c1622 crashed and is reachable testing commit 488702d1be32f8a8116e533bf8d5d6e8615980e6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 840728e498fd6cf1210a7b567c61e03f851ec52310175999cfde5a9ce2918b94 all runs: OK false negative chance: 0.000 # git bisect bad 488702d1be32f8a8116e533bf8d5d6e8615980e6 Bisecting: 33 revisions left to test after this (roughly 5 steps) [124f20c5f6e565403933a8565d5572157bfc15e5] net:rds: Fix possible deadlock in rds_message_put determine whether the revision contains the guilty commit revision 4e57efe03a301921428131c752c85521332961e8 crashed and is reachable testing commit 124f20c5f6e565403933a8565d5572157bfc15e5 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6ed4d2ed524b2c8cbee14e2379c094829b74ff8113f8710ed09df76d45ce677a all runs: OK false negative chance: 0.000 # git bisect bad 124f20c5f6e565403933a8565d5572157bfc15e5 Bisecting: 16 revisions left to test after this (roughly 4 steps) [3fbfd4881879adc47b07d0ef14beda2f1b6dc7d1] ALSA: timer: Relax start tick time check for slave timer elements determine whether the revision contains the guilty commit revision 0ab06468cbd149aac0d7f216ec00452ff8c74e0b crashed and is reachable testing commit 3fbfd4881879adc47b07d0ef14beda2f1b6dc7d1 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ce4f0e1b048a46ec8ea85c0264b99ea94e5aa5960d74ddea42d57ea45acb7510 all runs: crashed: possible deadlock in rds_wake_sk_sleep representative crash: possible deadlock in rds_wake_sk_sleep, types: [LOCKDEP] # git bisect good 3fbfd4881879adc47b07d0ef14beda2f1b6dc7d1 Bisecting: 8 revisions left to test after this (roughly 3 steps) [ce3c431c1f457e9aa66ee89d6b16364b41148a27] pinctrl: rockchip: correct RK3328 iomux width flag for GPIO2-B pins determine whether the revision contains the guilty commit revision 0ab06468cbd149aac0d7f216ec00452ff8c74e0b crashed and is reachable testing commit ce3c431c1f457e9aa66ee89d6b16364b41148a27 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7f79caef0cde6ecf62c2b87521fc978522457ea12c4d4fff8b581e0d91097a37 all runs: crashed: possible deadlock in rds_wake_sk_sleep representative crash: possible deadlock in rds_wake_sk_sleep, types: [LOCKDEP] # git bisect good ce3c431c1f457e9aa66ee89d6b16364b41148a27 Bisecting: 4 revisions left to test after this (roughly 2 steps) [218b482f009adce601c628548bb20051b28cf766] mptcp: sched: check both backup in retrans determine whether the revision contains the guilty commit revision bfd14e5915c2669f292a31d028e75dcd82f1e7e9 crashed and is reachable testing commit 218b482f009adce601c628548bb20051b28cf766 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7f79caef0cde6ecf62c2b87521fc978522457ea12c4d4fff8b581e0d91097a37 all runs: crashed: possible deadlock in rds_wake_sk_sleep representative crash: possible deadlock in rds_wake_sk_sleep, types: [LOCKDEP] # git bisect good 218b482f009adce601c628548bb20051b28cf766 Bisecting: 2 revisions left to test after this (roughly 1 step) [8ad4838040e5515939c071a0f511ce2661a0889d] drm/amdkfd: don't allow mapping the MMIO HDP page with large pages determine whether the revision contains the guilty commit revision 4e57efe03a301921428131c752c85521332961e8 crashed and is reachable testing commit 8ad4838040e5515939c071a0f511ce2661a0889d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7f79caef0cde6ecf62c2b87521fc978522457ea12c4d4fff8b581e0d91097a37 all runs: crashed: possible deadlock in rds_wake_sk_sleep representative crash: possible deadlock in rds_wake_sk_sleep, types: [LOCKDEP] # git bisect good 8ad4838040e5515939c071a0f511ce2661a0889d Bisecting: 0 revisions left to test after this (roughly 1 step) [4e8d6ac8fc9f843e940ab7389db8136634e07989] cgroup/cpuset: Prevent UAF in proc_cpuset_show() determine whether the revision contains the guilty commit revision 0ab06468cbd149aac0d7f216ec00452ff8c74e0b crashed and is reachable testing commit 4e8d6ac8fc9f843e940ab7389db8136634e07989 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8e3d9e225c63a9809c34be2cefb0c9f4f9a67e1f19be8e7dab4295d826d6e1be all runs: crashed: possible deadlock in rds_wake_sk_sleep representative crash: possible deadlock in rds_wake_sk_sleep, types: [LOCKDEP] # git bisect good 4e8d6ac8fc9f843e940ab7389db8136634e07989 124f20c5f6e565403933a8565d5572157bfc15e5 is the first bad commit commit 124f20c5f6e565403933a8565d5572157bfc15e5 Author: Allison Henderson Date: Thu Feb 8 19:28:54 2024 -0700 net:rds: Fix possible deadlock in rds_message_put commit f1acf1ac84d2ae97b7889b87223c1064df850069 upstream. 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: Greg Kroah-Hartman net/rds/recv.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) accumulated error probability: 0.00 culprit signature: 6ed4d2ed524b2c8cbee14e2379c094829b74ff8113f8710ed09df76d45ce677a parent signature: 8e3d9e225c63a9809c34be2cefb0c9f4f9a67e1f19be8e7dab4295d826d6e1be revisions tested: 21, total time: 6h13m34.691416729s (build: 2h13m29.036498543s, test: 3h55m44.752824262s) first good commit: 124f20c5f6e565403933a8565d5572157bfc15e5 net:rds: Fix possible deadlock in rds_message_put recipients (to): ["allison.henderson@oracle.com" "gregkh@linuxfoundation.org" "pabeni@redhat.com"] recipients (cc): []