ci starts bisection 2024-12-25 10:05:40.318423316 +0000 UTC m=+170711.313600397 bisecting cause commit starting from 9b2ffa6148b1e4468d08f7e0e7e371c43cac9ffe building syzkaller on 444551c40edde85b5e4900ae27d432bd1da7079c ensuring issue is reproducible on original commit 9b2ffa6148b1e4468d08f7e0e7e371c43cac9ffe testing commit 9b2ffa6148b1e4468d08f7e0e7e371c43cac9ffe gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f60e828cd9ed07873b2230f94a79133919e967996a28adbc3bc6f8471bddcf99 run #0: crashed: WARNING: locking bug in eventfd_signal_mask run #1: crashed: WARNING: locking bug in eventfd_signal_mask run #2: crashed: WARNING: locking bug in eventfd_signal_mask run #3: crashed: WARNING: locking bug in eventfd_signal_mask run #4: crashed: WARNING: locking bug in eventfd_signal_mask run #5: crashed: WARNING: locking bug in eventfd_signal_mask run #6: crashed: WARNING: locking bug in eventfd_signal_mask run #7: crashed: WARNING: locking bug in eventfd_signal_mask run #8: crashed: WARNING: locking bug in eventfd_signal_mask run #9: crashed: WARNING: locking bug in eventfd_signal_mask run #10: crashed: WARNING: locking bug in eventfd_signal_mask run #11: crashed: WARNING: locking bug in eventfd_signal_mask run #12: crashed: WARNING: locking bug in eventfd_signal_mask run #13: crashed: WARNING: locking bug in eventfd_signal_mask run #14: crashed: WARNING: locking bug in eventfd_signal_mask run #15: crashed: WARNING: locking bug in eventfd_signal_mask run #16: crashed: WARNING: locking bug in eventfd_signal_mask run #17: crashed: WARNING: locking bug in eventfd_signal_mask run #18: crashed: WARNING: locking bug in eventfd_signal_mask run #19: OK representative crash: WARNING: locking bug in eventfd_signal_mask, 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 9b2ffa6148b1e4468d08f7e0e7e371c43cac9ffe gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f9b84ba5095a025f3f3489f354ec8387ae2ef2bb5320605db065b001a5c3ebf1 all runs: crashed: WARNING: locking bug in eventfd_signal_mask representative crash: WARNING: locking bug in eventfd_signal_mask, types: [LOCKDEP] the bug reproduces without the instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed kconfig minimization: base=4045 full=8243 leaves diff=2124 split chunks (needed=false): <2124> split chunk #0 of len 2124 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 9b2ffa6148b1e4468d08f7e0e7e371c43cac9ffe gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9e94d12a39ea9eaff26034c79518ceb21f16e484485d6c29bd5321d1197f6912 all runs: crashed: WARNING: locking bug in eventfd_signal_mask representative crash: WARNING: locking bug in eventfd_signal_mask, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [KASAN ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 9b2ffa6148b1e4468d08f7e0e7e371c43cac9ffe gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 9b2ffa6148b1e4468d08f7e0e7e371c43cac9ffe: drivers/gpu/drm/bridge/aux-bridge.c:116: undefined reference to `devm_drm_of_get_bridge' testing without sub-chunk 3/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 9b2ffa6148b1e4468d08f7e0e7e371c43cac9ffe gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6d47c726bda5474612d1b92e60691bc2134c0dc2558b03e243ec0a7f059becbc all runs: crashed: WARNING: locking bug in eventfd_signal_mask representative crash: WARNING: locking bug in eventfd_signal_mask, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed testing commit 9b2ffa6148b1e4468d08f7e0e7e371c43cac9ffe gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b2ccb1f003aec1e616a063d51cd9c1d8286c679285e3058c092b6002dd5c670c all runs: crashed: WARNING: locking bug in eventfd_signal_mask representative crash: WARNING: locking bug in eventfd_signal_mask, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 9b2ffa6148b1e4468d08f7e0e7e371c43cac9ffe gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cc364312636f77f2bd12307695b7babf431b2fc058994bf2a514713d27fb710a all runs: crashed: WARNING: locking bug in eventfd_signal_mask representative crash: WARNING: locking bug in eventfd_signal_mask, types: [LOCKDEP] the chunk can be dropped minimized to 425 configs; suspects: [6LOWPAN ARCH_ENABLE_MEMORY_HOTREMOVE ASUS_WMI CHARGER_BQ24190 CMA COMMON_CLK DAX DLM DRM DRM_BRIDGE DRM_I915 DRM_I915_USERPTR DRM_KMS_HELPER DRM_MIPI_DSI DRM_PANEL DRM_PANEL_BRIDGE DRM_PANEL_EDP DRM_PANEL_ORIENTATION_QUIRKS DRM_SIMPLEDRM DRM_TTM DRM_TTM_HELPER DRM_UDL DRM_VGEM DRM_VIRTIO_GPU DRM_VIRTIO_GPU_KMS DRM_VKMS DRM_VMWGFX DUMMY DVB_AF9013 DVB_AF9033 DVB_AS102 DVB_AS102_FE DVB_B2C2_FLEXCOP DVB_B2C2_FLEXCOP_USB DVB_CORE DVB_DIB3000MB DVB_DIB3000MC DVB_EC100 DVB_GP8PSK_FE DVB_RTL2830 DVB_RTL2832 DVB_RTL2832_SDR DVB_TEST_DRIVERS DVB_TTUSB_BUDGET DVB_TTUSB_DEC DVB_USB DVB_USB_A800 DVB_USB_AF9005 DVB_USB_AF9005_REMOTE DVB_USB_AF9015 DVB_USB_AF9035 DVB_USB_ANYSEE DVB_USB_AU6610 DVB_USB_AZ6007 DVB_USB_AZ6027 DVB_USB_CE6230 DVB_USB_CINERGY_T2 DVB_USB_CXUSB DVB_USB_CXUSB_ANALOG DVB_USB_DIB0700 DVB_USB_DIB3000MC DVB_USB_DIBUSB_MB DVB_USB_DIBUSB_MC DVB_USB_DIGITV DVB_USB_DTT200U DVB_USB_DTV5100 DVB_USB_DVBSKY DVB_USB_DW2102 DVB_USB_EC168 DVB_USB_GL861 DVB_USB_GP8PSK DVB_USB_LME2510 DVB_USB_M920X DVB_USB_MXL111SF DVB_USB_NOVA_T_USB2 DVB_USB_OPERA1 DVB_USB_PCTV452E DVB_USB_RTL28XXU DVB_USB_TECHNISAT_USB2 DVB_USB_TTUSB2 DVB_USB_UMT_010 DVB_USB_V2 DVB_USB_VP702X DVB_USB_VP7045 DVB_USB_ZD1301 DVB_VIDTV DVB_ZL10353 ECRYPT_FS ECRYPT_FS_MESSAGING EDAC EEPROM_93CX6 EFS_FS ENCRYPTED_KEYS EQUALIZER EROFS_FS EROFS_FS_BACKED_BY_FILE EROFS_FS_POSIX_ACL EROFS_FS_SECURITY EROFS_FS_XATTR EROFS_FS_ZIP EVM EVM_ADD_XATTRS EVM_ATTR_FSUUID EXFAT_FS EXPORTFS_BLOCK_OPS EXT3_FS EXT3_FS_POSIX_ACL EXT3_FS_SECURITY EXTCON EXTCON_INTEL_CHT_WC EXTCON_PTN5150 EXTCON_USBC_TUSB320 F2FS_CHECK_FS F2FS_FAULT_INJECTION F2FS_FS F2FS_FS_COMPRESSION F2FS_FS_LZ4 F2FS_FS_LZ4HC F2FS_FS_LZO F2FS_FS_LZORLE F2FS_FS_POSIX_ACL F2FS_FS_SECURITY F2FS_FS_XATTR F2FS_FS_ZSTD F2FS_STAT_FS FANOTIFY FANOTIFY_ACCESS_PERMISSIONS FB FB_CFB_COPYAREA FB_CFB_FILLRECT FB_CFB_IMAGEBLIT FB_CORE FB_DEFERRED_IO FB_DEVICE FB_IOMEM_FOPS FB_IOMEM_HELPERS FB_NOTIFY FB_SYSMEM_FOPS FB_SYSMEM_HELPERS FB_SYSMEM_HELPERS_DEFERRED FB_SYS_COPYAREA FB_SYS_FILLRECT FB_SYS_IMAGEBLIT FB_TILEBLITTING FB_VESA FB_VGA16 FB_VIRTUAL FDDI FIREWIRE FIREWIRE_NET FIREWIRE_OHCI FIREWIRE_SBP2 FONT_8x16 FONT_8x8 FONT_SUPPORT FRAMEBUFFER_CONSOLE FRAMEBUFFER_CONSOLE_DETECT_PRIMARY FRAMEBUFFER_CONSOLE_ROTATION FS_DAX FS_DAX_PMD FS_ENCRYPTION FS_ENCRYPTION_ALGS FS_STACK FS_VERITY FS_VERITY_BUILTIN_SIGNATURES FTL FUSE_DAX FUSE_FS FW_LOADER_COMPRESS FW_LOADER_PAGED_BUF FW_LOADER_SYSFS FW_LOADER_USER_HELPER FW_LOADER_USER_HELPER_FALLBACK GACT_PROB GARP GENERIC_PHY GET_FREE_REGION GFS2_FS GFS2_FS_LOCKING_DLM GNSS GNSS_USB GOOGLE_COREBOOT_TABLE GOOGLE_FIRMWARE GOOGLE_MEMCONSOLE GOOGLE_MEMCONSOLE_COREBOOT GOOGLE_VPD GPIOLIB GPIOLIB_IRQCHIP GPIO_ACPI GPIO_DLN2 GPIO_LJCA GPIO_VIPERBOARD GREENASIA_FF GREYBUS GREYBUS_BRIDGED_PHY GREYBUS_ES2 GREYBUS_HID GREYBUS_USB GROUP_SCHED_WEIGHT GTP GUEST_PERF_EVENTS GVE HAVE_ARCH_NODE_DEV_GROUP HAVE_ARCH_USERFAULTFD_MINOR HAVE_ARCH_USERFAULTFD_WP HAVE_BOOTMEM_INFO_NODE HAVE_CLK_PREPARE HAVE_KVM_CPU_RELAX_INTERCEPT HAVE_KVM_DIRTY_RING HAVE_KVM_DIRTY_RING_ACQ_REL HAVE_KVM_DIRTY_RING_TSO HAVE_KVM_IRQCHIP HAVE_KVM_IRQ_BYPASS HAVE_KVM_IRQ_ROUTING HAVE_KVM_MSI HAVE_KVM_NO_POLL HAVE_KVM_PFNCACHE HAVE_KVM_PM_NOTIFIER HAVE_KVM_READONLY_MEM HAVE_SCHED_AVG_IRQ HDLC HDLC_CISCO HDLC_FR HDLC_PPP HDLC_RAW HDLC_RAW_ETH HDLC_X25 HDMI HFSPLUS_FS HFS_FS HID_ACCUTOUCH HID_ACRUX HID_ACRUX_FF HID_ALPS HID_APPLEIR HID_ASUS HID_AUREAL HID_BATTERY_STRENGTH HID_BETOP_FF HID_BIGBEN_FF HID_CMEDIA HID_CORSAIR HID_COUGAR HID_CP2112 HID_CREATIVE_SB0540 HID_ELAN HID_ELECOM HID_ELO HID_EMS_FF HID_EVISION HID_FT260 HID_GEMBIRD HID_GFRM HID_GLORIOUS HID_GOOGLE_STADIA_FF HID_GREENASIA HID_GT683R HID_HOLTEK HID_ICADE HID_JABRA HID_KEYTOUCH HID_KYE HID_LCPOWER HID_LED HID_LENOVO HID_LETSKETCH HID_LOGITECH_DJ HID_LOGITECH_HIDPP HID_MACALLY HID_MAGICMOUSE HID_MALTRON HID_MAYFLASH HID_MCP2200 HID_MCP2221 HID_MEGAWORLD_FF HID_MULTITOUCH HID_NTI HID_ORTEK HID_PENMOUNT HID_PICOLCD HID_PICOLCD_BACKLIGHT HID_PICOLCD_CIR HID_PICOLCD_FB HID_PICOLCD_LCD HID_PICOLCD_LEDS HID_PLANTRONICS HID_PRIMAX HID_PRODIKEYS HID_PXRC HID_RAZER HID_RETRODE HID_RMI HID_ROCCAT HID_SAITEK HID_SEMITEK HID_SENSOR_ACCEL_3D HID_SENSOR_ALS HID_SENSOR_CUSTOM_INTEL_HINGE HID_SENSOR_CUSTOM_SENSOR HID_SENSOR_DEVICE_ROTATION HID_SENSOR_GYRO_3D HID_SENSOR_HUB HID_SENSOR_HUMIDITY HID_SENSOR_IIO_COMMON HID_SENSOR_IIO_TRIGGER HID_SENSOR_INCLINOMETER_3D HID_SENSOR_MAGNETOMETER_3D HID_SENSOR_PRESS HID_SENSOR_PROX HID_SENSOR_TEMP HID_SIGMAMICRO HID_SPEEDLINK HID_STEELSERIES HID_THINGM HID_TIVO HID_TOPRE HID_TWINHAN HID_U2FZERO HID_UCLOGIC HID_UDRAW_PS3 HID_VIEWSONIC HID_VIVALDI HID_VIVALDI_COMMON HID_VRC2 HID_WACOM HID_WALTOP HID_WIIMOTE HID_XIAOMI HID_XINMO HID_ZYDACRON HMM_MIRROR HOLTEK_FF HOTPLUG_PCI_PCIE HPET_MMAP HPET_MMAP_DEFAULT HPFS_FS I2C_ALGOBIT I2C_CHARDEV I2C_CP2615 I2C_DESIGNWARE_CORE I2C_DESIGNWARE_PLATFORM I2C_DIOLAN_U2C I2C_DLN2 I2C_HID_ACPI I2C_HID_CORE I2C_HID_OF I2C_LJCA I2C_MUX I2C_MUX_REG I2C_ROBOTFUZZ_OSIF I2C_SI4713 I2C_SLAVE I2C_SLAVE_EEPROM I2C_TINY_USB I2C_VIPERBOARD IEEE802154 IEEE802154_6LOWPAN IEEE802154_ATUSB IEEE802154_DRIVERS IEEE802154_HWSIM IEEE802154_NL802154_EXPERIMENTAL IEEE802154_SOCKET IFB IIO IIO_BUFFER IIO_KFIFO_BUF IIO_TRIGGER IIO_TRIGGERED_BUFFER IKCONFIG IKCONFIG_PROC IMA IMA_APPRAISE IMA_APPRAISE_MODSIG IMA_DEFAULT_HASH_SHA256 IMA_LSM_RULES IMA_MEASURE_ASYMMETRIC_KEYS IMA_NG_TEMPLATE IMA_QUEUE_EARLY_BOOT_KEYS IMA_READ_POLICY IMA_WRITE_POLICY INET6_ESPINTCP INET6_ESP_OFFLOAD INET6_IPCOMP INET6_TUNNEL INET6_XFRM_TUNNEL INET_AH INET_DCCP_DIAG INET_DIAG INET_DIAG_DESTROY INET_ESP INET_ESPINTCP INET_ESP_OFFLOAD INET_IPCOMP INET_MPTCP_DIAG INET_RAW_DIAG INET_SCTP_DIAG INET_TCP_DIAG INET_UDP_DIAG INET_XFRM_TUNNEL INFINIBAND INFINIBAND_ADDR_TRANS INFINIBAND_ADDR_TRANS_CONFIGFS INFINIBAND_IPOIB INFINIBAND_IPOIB_CM INFINIBAND_IPOIB_DEBUG INFINIBAND_ISER INFINIBAND_ON_DEMAND_PAGING INFINIBAND_RTRS INFINIBAND_SRP INFINIBAND_USER_ACCESS INFINIBAND_USER_MAD INFINIBAND_USER_MEM INPUT_ATI_REMOTE2 INPUT_CM109 INPUT_IMS_PCU INPUT_JOYDEV INPUT_KEYSPAN_REMOTE INPUT_LEDS INPUT_MOUSEDEV INPUT_MOUSEDEV_PSAUX INPUT_POWERMATE INPUT_UINPUT INPUT_YEALINK INTEGRITY INTEGRITY_ASYMMETRIC_KEYS INTEGRITY_AUDIT INTEGRITY_SIGNATURE INTEGRITY_TRUSTED_KEYRING INTEL_CHTWC_INT33FE INTEL_IDMA64 INTEL_IOATDMA INTEL_IOMMU_DEFAULT_ON INTEL_IOMMU_SVM INTEL_ISHTP_ECLITE INTEL_ISH_FIRMWARE_DOWNLOADER INTEL_ISH_HID INTEL_SOC_PMIC_CHTWC INTERVAL_TREE_SPAN_ITER IOMMUFD IOMMUFD_DRIVER IOMMUFD_DRIVER_CORE IOMMUFD_TEST IP6_NF_MATCH_AH IP6_NF_MATCH_EUI64 IP6_NF_MATCH_FRAG IP6_NF_MATCH_HL IP6_NF_MATCH_MH IP6_NF_MATCH_OPTS IP6_NF_MATCH_RPFILTER IP6_NF_MATCH_RT IP6_NF_MATCH_SRH IP6_NF_NAT IP6_NF_RAW IP6_NF_SECURITY IP6_NF_TARGET_HL IP6_NF_TARGET_MASQUERADE IP6_NF_TARGET_NPT IP6_NF_TARGET_SYNPROXY IPV6_FOU IPV6_FOU_TUNNEL IPV6_GRE IPV6_ILA IPV6_MIP6 IPV6_MROUTE IPV6_MROUTE_MULTIPLE_TABLES IPV6_MULTIPLE_TABLES IPV6_OPTIMISTIC_DAD IPV6_PIMSM_V2 IPV6_ROUTER_PREF IPV6_ROUTE_INFO IPV6_RPL_LWTUNNEL IPV6_SEG6_BPF IPV6_SEG6_HMAC IPV6_SEG6_LWTUNNEL IPV6_SIT_6RD IPV6_SUBTREES IPV6_TUNNEL IPV6_VTI IPVLAN IPVLAN_L3S IPVTAP IP_DCCP IP_DCCP_CCID3 IP_DCCP_TFRC_LIB IP_FIB_TRIE_STATS IP_MROUTE_MULTIPLE_TABLES IP_NF_ARPFILTER IP_NF_ARPTABLES IP_NF_ARP_MANGLE IP_NF_MATCH_AH IP_NF_MATCH_ECN IP_NF_MATCH_RPFILTER IP_NF_MATCH_TTL IP_NF_RAW IP_NF_SECURITY IP_NF_TARGET_ECN IP_NF_TARGET_NETMAP IP_NF_TARGET_REDIRECT IP_NF_TARGET_SYNPROXY IP_NF_TARGET_TTL IP_ROUTE_CLASSID IP_SCTP IP_SET IP_SET_BITMAP_IP IP_SET_BITMAP_IPMAC IP_SET_BITMAP_PORT IP_SET_HASH_IP IP_SET_HASH_IPMAC IP_SET_HASH_IPMARK IP_SET_HASH_IPPORT IP_SET_HASH_IPPORTIP IP_SET_HASH_IPPORTNET IP_SET_HASH_MAC IP_SET_HASH_NET IP_SET_HASH_NETIFACE IP_SET_HASH_NETNET IP_SET_HASH_NETPORT IP_SET_HASH_NETPORTNET IP_SET_LIST_SET IP_VS IP_VS_DH IP_VS_FO IP_VS_FTP IP_VS_PROTO_TCP IRQ_TIME_ACCOUNTING LAPB LCD_CLASS_DEVICE MAC802154 MEDIA_DIGITAL_TV_SUPPORT MEDIA_RADIO_SUPPORT MEDIA_SDR_SUPPORT MEDIA_SUPPORT MEDIA_TEST_SUPPORT MEDIA_USB_SUPPORT MEMORY_HOTPLUG MEMORY_HOTREMOVE MFD_DLN2 MFD_VIPERBOARD MPTCP MTD NETFILTER_ADVANCED NET_ACT_GACT NET_ACT_MIRRED NET_IPGRE_DEMUX NFT_COMPAT NFT_COMPAT_ARP NFT_FWD_NETDEV NF_TABLES NF_TABLES_ARP NF_TABLES_NETDEV RADIO_ADAPTERS RADIO_SI4713 RAS RC_CORE REGULATOR RFKILL SND SOUND STAGING TRANSPARENT_HUGEPAGE TYPEC TYPEC_MUX_PI3USB30532 USB_LJCA USB_ROLES_INTEL_XHCI USB_ROLE_SWITCH VIDEO_DEV VIRTIO_FS WAN ZONE_DEVICE] disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed picked [v6.12 v6.11 v6.10 v6.8 v6.6 v6.4 v6.2 v6.0 v5.17 v5.14 v5.11 v5.8 v5.5 v5.2 v4.20 v4.19] out of 35 release tags testing release v6.12 testing commit adc218676eef25575469234709c2d87185ca223a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: edcabb240c69fc7e01953b75c0ba7e913cb3818bf0f7fa7ebbf9b8c31c4b5774 all runs: OK false negative chance: 0.000 # git bisect start 9b2ffa6148b1e4468d08f7e0e7e371c43cac9ffe adc218676eef25575469234709c2d87185ca223a Bisecting: 7157 revisions left to test after this (roughly 13 steps) [071b34dcf71523a559b6c39f5d21a268a9531b50] Merge tag 'sound-6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound testing commit 071b34dcf71523a559b6c39f5d21a268a9531b50 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 30f78db9aeb1049db6d5a9870a7bf7a45f5169a2e0288fda370653f872f0b781 all runs: OK false negative chance: 0.000 # git bisect good 071b34dcf71523a559b6c39f5d21a268a9531b50 Bisecting: 3553 revisions left to test after this (roughly 12 steps) [445d9f05fa149556422f7fdd52dacf487cc8e7be] Merge tag 'nfsd-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux testing commit 445d9f05fa149556422f7fdd52dacf487cc8e7be gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 16e4a5d97486a802ead97bd55531fb7e86907fc58b607ed76c71eacb939f35b4 all runs: OK false negative chance: 0.000 # git bisect good 445d9f05fa149556422f7fdd52dacf487cc8e7be Bisecting: 1696 revisions left to test after this (roughly 11 steps) [2eff01ee2881becc9daaa0d53477ec202136b1f4] Merge tag 'char-misc-6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc testing commit 2eff01ee2881becc9daaa0d53477ec202136b1f4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bc92d1d367b729f420884e69199039486b4f69f5660bdd7a3b89f921a48bba96 all runs: OK false negative chance: 0.000 # git bisect good 2eff01ee2881becc9daaa0d53477ec202136b1f4 Bisecting: 866 revisions left to test after this (roughly 10 steps) [f3ddc438a29f78f0642bfcf84407c236a0b2bdc7] Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux testing commit f3ddc438a29f78f0642bfcf84407c236a0b2bdc7 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 03fedbd8e2f2bfe09cccf4f75ceab7344f60080d3766d402a43c879e9549e143 all runs: OK false negative chance: 0.000 # git bisect good f3ddc438a29f78f0642bfcf84407c236a0b2bdc7 Bisecting: 434 revisions left to test after this (roughly 9 steps) [f86135613a2552b1e6c0875726f45b34b0ddd5a6] Merge tag 'spi-fix-v6.13-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi testing commit f86135613a2552b1e6c0875726f45b34b0ddd5a6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4b5c5cac97efa4eaa429adc98d2f7c5d4f7572992611f65ec6d57688aebba954 all runs: OK false negative chance: 0.000 # git bisect good f86135613a2552b1e6c0875726f45b34b0ddd5a6 Bisecting: 239 revisions left to test after this (roughly 8 steps) [baaa2567a712d449bbaabc7e923c4d972f67cae1] Merge tag 'mmc-v6.13-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc testing commit baaa2567a712d449bbaabc7e923c4d972f67cae1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8c163a9f3a67998856dd3f120b9aec49dc578d66184538d1c4899023bbbbf922 all runs: OK false negative chance: 0.000 # git bisect good baaa2567a712d449bbaabc7e923c4d972f67cae1 Bisecting: 118 revisions left to test after this (roughly 7 steps) [11167b29e53b9a06635309445ead7edfd54e6616] Merge tag 'block-6.13-20241220' of git://git.kernel.dk/linux testing commit 11167b29e53b9a06635309445ead7edfd54e6616 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4ad2f18cf9bc2c8736fc09bfbcec2bd7dbf1ff737f1268d89a8af2ea5cd1aaa8 all runs: crashed: WARNING: locking bug in eventfd_signal_mask representative crash: WARNING: locking bug in eventfd_signal_mask, types: [LOCKDEP] # git bisect bad 11167b29e53b9a06635309445ead7edfd54e6616 Bisecting: 63 revisions left to test after this (roughly 6 steps) [5b83bcdea521534f370cd2b24bc8cbd76c8a6f32] Merge tag 'trace-ringbuffer-v6.13-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace testing commit 5b83bcdea521534f370cd2b24bc8cbd76c8a6f32 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 876ea5569d077c7ab3f50d73b0f486b4b6f513b6f94d2acec8274f36ceac1c85 all runs: OK false negative chance: 0.000 # git bisect good 5b83bcdea521534f370cd2b24bc8cbd76c8a6f32 Bisecting: 27 revisions left to test after this (roughly 5 steps) [e639fb046b8150625c1b96bf6f02a18f11ef1760] Merge tag 'amd-drm-fixes-6.13-2024-12-18' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes testing commit e639fb046b8150625c1b96bf6f02a18f11ef1760 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: dea15a159b0bb6dda86502924600689411ca4ba8930cf931ba12f21ee53310a6 all runs: OK false negative chance: 0.000 # git bisect good e639fb046b8150625c1b96bf6f02a18f11ef1760 Bisecting: 15 revisions left to test after this (roughly 4 steps) [1b62f3cb74d2965e8f96f20241b1fe85017aa3e8] Merge tag 'thunderbolt-for-v6.13-rc4' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt into usb-linus testing commit 1b62f3cb74d2965e8f96f20241b1fe85017aa3e8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 588c1a6402c04a5ef6b65904e5e4e34650896810270e1772784415c258293975 all runs: OK false negative chance: 0.000 # git bisect good 1b62f3cb74d2965e8f96f20241b1fe85017aa3e8 Bisecting: 9 revisions left to test after this (roughly 3 steps) [e9b8ffafd20ad21357a789cc58ffaa162b3ad074] Merge tag 'usb-6.13-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb testing commit e9b8ffafd20ad21357a789cc58ffaa162b3ad074 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d0dea0b4b3c158bd65d111a147ba347986f02e298773695a9ed1dbb9ce5a7a54 all runs: OK false negative chance: 0.000 # git bisect good e9b8ffafd20ad21357a789cc58ffaa162b3ad074 Bisecting: 4 revisions left to test after this (roughly 2 steps) [7c05bd92305d13e18945270b7bfaf300d53f6ed2] Merge tag 'io_uring-6.13-20241220' of git://git.kernel.dk/linux testing commit 7c05bd92305d13e18945270b7bfaf300d53f6ed2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 76280c819c82b0db48a76fd37633c904475e186d3478e89e3c89a983450154e5 all runs: crashed: WARNING: locking bug in eventfd_signal_mask representative crash: WARNING: locking bug in eventfd_signal_mask, types: [LOCKDEP] # git bisect bad 7c05bd92305d13e18945270b7bfaf300d53f6ed2 Bisecting: 2 revisions left to test after this (roughly 1 step) [12d908116f7efd34f255a482b9afc729d7a5fb78] io_uring: Fix registered ring file refcount leak testing commit 12d908116f7efd34f255a482b9afc729d7a5fb78 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b60b7ae1f845ff2de26cca7bb2454116bc6c44716f309df43b23d8f0f45f8af2 all runs: crashed: WARNING: locking bug in eventfd_signal_mask representative crash: WARNING: locking bug in eventfd_signal_mask, types: [LOCKDEP] # git bisect bad 12d908116f7efd34f255a482b9afc729d7a5fb78 Bisecting: 0 revisions left to test after this (roughly 0 steps) [020b40f3562495f3c703a283ece145ffec19e82d] io_uring: make ctx->timeout_lock a raw spinlock testing commit 020b40f3562495f3c703a283ece145ffec19e82d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 79e20c2b6f6001230fd302355f986576e656dcfedfceb73aca9c0d391c2620b2 all runs: crashed: WARNING: locking bug in eventfd_signal_mask representative crash: WARNING: locking bug in eventfd_signal_mask, types: [LOCKDEP] # git bisect bad 020b40f3562495f3c703a283ece145ffec19e82d 020b40f3562495f3c703a283ece145ffec19e82d is the first bad commit commit 020b40f3562495f3c703a283ece145ffec19e82d Author: Jens Axboe Date: Tue Dec 17 08:21:46 2024 -0700 io_uring: make ctx->timeout_lock a raw spinlock Chase reports that their tester complaints about a locking context mismatch: ============================= [ BUG: Invalid wait context ] 6.13.0-rc1-gf137f14b7ccb-dirty #9 Not tainted ----------------------------- syz.1.25198/182604 is trying to lock: ffff88805e66a358 (&ctx->timeout_lock){-.-.}-{3:3}, at: spin_lock_irq include/linux/spinlock.h:376 [inline] ffff88805e66a358 (&ctx->timeout_lock){-.-.}-{3:3}, at: io_match_task_safe io_uring/io_uring.c:218 [inline] ffff88805e66a358 (&ctx->timeout_lock){-.-.}-{3:3}, at: io_match_task_safe+0x187/0x250 io_uring/io_uring.c:204 other info that might help us debug this: context-{5:5} 1 lock held by syz.1.25198/182604: #0: ffff88802b7d48c0 (&acct->lock){+.+.}-{2:2}, at: io_acct_cancel_pending_work+0x2d/0x6b0 io_uring/io-wq.c:1049 stack backtrace: CPU: 0 UID: 0 PID: 182604 Comm: syz.1.25198 Not tainted 6.13.0-rc1-gf137f14b7ccb-dirty #9 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x82/0xd0 lib/dump_stack.c:120 print_lock_invalid_wait_context kernel/locking/lockdep.c:4826 [inline] check_wait_context kernel/locking/lockdep.c:4898 [inline] __lock_acquire+0x883/0x3c80 kernel/locking/lockdep.c:5176 lock_acquire.part.0+0x11b/0x370 kernel/locking/lockdep.c:5849 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0x36/0x50 kernel/locking/spinlock.c:170 spin_lock_irq include/linux/spinlock.h:376 [inline] io_match_task_safe io_uring/io_uring.c:218 [inline] io_match_task_safe+0x187/0x250 io_uring/io_uring.c:204 io_acct_cancel_pending_work+0xb8/0x6b0 io_uring/io-wq.c:1052 io_wq_cancel_pending_work io_uring/io-wq.c:1074 [inline] io_wq_cancel_cb+0xb0/0x390 io_uring/io-wq.c:1112 io_uring_try_cancel_requests+0x15e/0xd70 io_uring/io_uring.c:3062 io_uring_cancel_generic+0x6ec/0x8c0 io_uring/io_uring.c:3140 io_uring_files_cancel include/linux/io_uring.h:20 [inline] do_exit+0x494/0x27a0 kernel/exit.c:894 do_group_exit+0xb3/0x250 kernel/exit.c:1087 get_signal+0x1d77/0x1ef0 kernel/signal.c:3017 arch_do_signal_or_restart+0x79/0x5b0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x150/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xd8/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f which is because io_uring has ctx->timeout_lock nesting inside the io-wq acct lock, the latter of which is used from inside the scheduler and hence is a raw spinlock, while the former is a "normal" spinlock and can hence be sleeping on PREEMPT_RT. Change ctx->timeout_lock to be a raw spinlock to solve this nesting dependency on PREEMPT_RT=y. Reported-by: chase xd Signed-off-by: Jens Axboe include/linux/io_uring_types.h | 2 +- io_uring/io_uring.c | 10 +++++----- io_uring/timeout.c | 40 ++++++++++++++++++++-------------------- 3 files changed, 26 insertions(+), 26 deletions(-) accumulated error probability: 0.00 parent commit 99d6af6e8a22b792e1845b186f943cd10bb4b7b0 wasn't tested testing commit 99d6af6e8a22b792e1845b186f943cd10bb4b7b0 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0cfd82aebb095c73b73aba62e398a11deedff4ebbf0d9d4ea3191aacc1f09be3 culprit signature: 79e20c2b6f6001230fd302355f986576e656dcfedfceb73aca9c0d391c2620b2 parent signature: 0cfd82aebb095c73b73aba62e398a11deedff4ebbf0d9d4ea3191aacc1f09be3 revisions tested: 21, total time: 5h0m5.880755908s (build: 1h58m59.02493857s, test: 2h43m39.897082878s) first bad commit: 020b40f3562495f3c703a283ece145ffec19e82d io_uring: make ctx->timeout_lock a raw spinlock recipients (to): ["asml.silence@gmail.com" "axboe@kernel.dk" "axboe@kernel.dk" "io-uring@vger.kernel.org"] recipients (cc): ["bigeasy@linutronix.de" "clrkwllms@kernel.org" "linux-kernel@vger.kernel.org" "linux-rt-devel@lists.linux.dev" "rostedt@goodmis.org"] crash: WARNING: locking bug in eventfd_signal_mask ============================= [ BUG: Invalid wait context ] 6.13.0-rc1-syzkaller #0 Not tainted ----------------------------- kworker/u8:1/13 is trying to lock: ffff8881067a7820 (&ctx->wqh){....}-{3:3}, at: eventfd_signal_mask+0x32/0xa0 fs/eventfd.c:71 other info that might help us debug this: context-{5:5} 6 locks held by kworker/u8:1/13: #0: ffff888102294948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff888102294948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x246/0x5c0 kernel/workqueue.c:3310 #1: ffffc90000073e58 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90000073e58 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x266/0x5c0 kernel/workqueue.c:3310 #2: ffff88810535c3d8 (&ctx->completion_lock){+.+.}-{3:3}, at: spin_lock include/linux/spinlock.h:351 [inline] #2: ffff88810535c3d8 (&ctx->completion_lock){+.+.}-{3:3}, at: io_kill_timeouts+0x28/0xd0 io_uring/timeout.c:670 #3: ffff88810535c358 (&ctx->timeout_lock){....}-{2:2}, at: io_kill_timeouts+0x37/0xd0 io_uring/timeout.c:671 #4: ffffffff835dd858 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #4: ffffffff835dd858 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #4: ffffffff835dd858 (rcu_read_lock){....}-{1:3}, at: class_rcu_constructor include/linux/rcupdate.h:1161 [inline] #4: ffffffff835dd858 (rcu_read_lock){....}-{1:3}, at: io_req_local_work_add+0x21/0x190 io_uring/io_uring.c:1157 #5: ffffffff835dd858 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #5: ffffffff835dd858 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #5: ffffffff835dd858 (rcu_read_lock){....}-{1:3}, at: io_eventfd_grab+0x23/0x1d0 io_uring/eventfd.c:97 stack backtrace: CPU: 0 UID: 0 PID: 13 Comm: kworker/u8:1 Not tainted 6.13.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: iou_exit io_ring_exit_work Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xa3/0x100 lib/dump_stack.c:120 print_lock_invalid_wait_context kernel/locking/lockdep.c:4826 [inline] check_wait_context kernel/locking/lockdep.c:4898 [inline] __lock_acquire+0xc89/0x2570 kernel/locking/lockdep.c:5176 lock_acquire+0xeb/0x270 kernel/locking/lockdep.c:5849 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x61/0xa0 kernel/locking/spinlock.c:162 eventfd_signal_mask+0x32/0xa0 fs/eventfd.c:71 __io_eventfd_signal io_uring/eventfd.c:65 [inline] io_eventfd_signal+0x31/0x90 io_uring/eventfd.c:123 io_req_local_work_add+0x108/0x190 io_uring/io_uring.c:1198 io_req_task_work_add io_uring/io_uring.h:149 [inline] io_req_queue_tw_complete io_uring/io_uring.h:451 [inline] io_kill_timeout+0xa3/0xc0 io_uring/timeout.c:101 io_kill_timeouts+0x80/0xd0 io_uring/timeout.c:676 io_uring_try_cancel_requests+0x1c6/0x200 io_uring/io_uring.c:3113 io_ring_exit_work+0xd1/0x2b0 io_uring/io_uring.c:2897 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0x2ab/0x5c0 kernel/workqueue.c:3310 worker_thread+0x23e/0x2e0 kernel/workqueue.c:3391 kthread+0xea/0x100 kernel/kthread.c:389 ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244