ci starts bisection 2024-12-14 16:34:00.684881012 +0000 UTC m=+80206.084579458 bisecting cause commit starting from 7eef7e306d3c40a0c5b9ff6adc9b273cc894dbd5 building syzkaller on 52b38cc1f0ef7be017dc51c45e16a1054254f95f ensuring issue is reproducible on original commit 7eef7e306d3c40a0c5b9ff6adc9b273cc894dbd5 testing commit 7eef7e306d3c40a0c5b9ff6adc9b273cc894dbd5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7d0a7e0ff2979e496f069c91e20c0508d545b0e96e00e13d3408cdd8a0842d13 run #0: crashed: possible deadlock in input_inject_event run #1: crashed: possible deadlock in input_inject_event run #2: crashed: possible deadlock in input_inject_event run #3: crashed: possible deadlock in input_inject_event run #4: crashed: possible deadlock in input_inject_event run #5: crashed: possible deadlock in input_inject_event run #6: crashed: possible deadlock in input_inject_event run #7: crashed: possible deadlock in input_inject_event run #8: crashed: possible deadlock in input_inject_event run #9: crashed: possible deadlock in input_inject_event run #10: crashed: possible deadlock in input_inject_event run #11: crashed: possible deadlock in input_inject_event run #12: crashed: possible deadlock in input_inject_event run #13: crashed: possible deadlock in input_inject_event run #14: crashed: possible deadlock in input_inject_event run #15: crashed: possible deadlock in input_inject_event run #16: crashed: possible deadlock in input_inject_event run #17: crashed: possible deadlock in input_inject_event run #18: crashed: possible deadlock in input_inject_event run #19: OK representative crash: possible deadlock in input_inject_event, 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 7eef7e306d3c40a0c5b9ff6adc9b273cc894dbd5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fdb722a110c48e741a4b200cf199b4d25c483ca00f2bfcde16baad59883ae0f4 all runs: crashed: possible deadlock in input_inject_event representative crash: possible deadlock in input_inject_event, types: [LOCKDEP] the bug reproduces without the instrumentation disabling configs for [KASAN ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed kconfig minimization: base=4037 full=8226 leaves diff=2125 split chunks (needed=false): <2125> split chunk #0 of len 2125 into 5 parts testing without sub-chunk 1/5 disabling configs for [BUG KASAN ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 7eef7e306d3c40a0c5b9ff6adc9b273cc894dbd5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7a5f81ad75f82563f9f7448723494821f672f218b4261eb4e861e7ca4fedc2e8 all runs: crashed: possible deadlock in input_inject_event representative crash: possible deadlock in input_inject_event, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [BUG KASAN ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 7eef7e306d3c40a0c5b9ff6adc9b273cc894dbd5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 7eef7e306d3c40a0c5b9ff6adc9b273cc894dbd5: 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 [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed testing commit 7eef7e306d3c40a0c5b9ff6adc9b273cc894dbd5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 45b1c3dde0054cadbc4ab4f4752d9d8e38d629327651a62dd54b6d2c0053d449 all runs: crashed: possible deadlock in input_inject_event representative crash: possible deadlock in input_inject_event, 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 7eef7e306d3c40a0c5b9ff6adc9b273cc894dbd5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 93f3e948085647d82383fd7b49d51d9c0879974a225cbdf867cdf7b99fd864b5 all runs: crashed: possible deadlock in input_inject_event representative crash: possible deadlock in input_inject_event, 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 7eef7e306d3c40a0c5b9ff6adc9b273cc894dbd5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1e3c59d57985a0613a792e3f64a1d7cbe693798992c33204bc6ff081e65fca05 all runs: crashed: possible deadlock in input_inject_event representative crash: possible deadlock in input_inject_event, 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_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 EVM_EXTRA_SMACK_XATTRS 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_IPV6 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 [LEAK UBSAN BUG KASAN ATOMIC_SLEEP HANG], 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: b3d2653f01b68ed8afe0412be5853bf9182526d3bffa214bdb6e02ec194b7fc4 all runs: crashed: possible deadlock in input_inject_event representative crash: possible deadlock in input_inject_event, types: [LOCKDEP] testing release v6.11 testing commit 98f7e32f20d28ec452afb208f9cffc08448a2652 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b68f22323b46e323bf4ec1f5038f9e910b4054012279837dec60473ba1100e6e all runs: crashed: possible deadlock in input_inject_event representative crash: possible deadlock in input_inject_event, types: [LOCKDEP] testing release v6.10 testing commit 0c3836482481200ead7b416ca80c68a29cfdaabd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9444648d935c92bfd73bc47c140f0a40b9b8505d7a5a81a6f5c8c0efdf47f02b all runs: crashed: possible deadlock in input_inject_event representative crash: possible deadlock in input_inject_event, types: [LOCKDEP] testing release v6.8 testing commit e8f897f4afef0031fe618a8e94127a0934896aba gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5154126adc225011073547cd8a8b923f9a0335ef62c10cebe3caf0b2f27486ea all runs: crashed: possible deadlock in input_inject_event representative crash: possible deadlock in input_inject_event, types: [LOCKDEP] testing release v6.6 testing commit ffc253263a1375a65fa6c9f62a893e9767fbebfa gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6cf8195e25886015991a2527fd0019a51bf2c7c04bf1dcc4d60f803b1d1e54e9 all runs: crashed: possible deadlock in input_inject_event representative crash: possible deadlock in input_inject_event, types: [LOCKDEP] testing release v6.4 testing commit 6995e2de6891c724bfeb2db33d7b87775f913ad1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b9cb2a2bb4095a509c9fdcd464c6337395c50a4b62724f5f659d8cb9b6f71e39 all runs: crashed: possible deadlock in input_inject_event representative crash: possible deadlock in input_inject_event, types: [LOCKDEP] testing release v6.2 testing commit c9c3395d5e3dcc6daee66c6908354d47bf98cb0c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5b62a9c04bb32326da2f13c6359814beb235fbfd958670ccb955c6b9eea56c7b all runs: crashed: possible deadlock in input_inject_event representative crash: possible deadlock in input_inject_event, types: [LOCKDEP] testing release v6.0 testing commit 4fe89d07dcc2804c8b562f6c7896a45643d34b2f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3423e065909bc68689edfc8d72a78966f5a39fc568583fa8dad18ae5ba5e9770 all runs: crashed: possible deadlock in input_inject_event representative crash: possible deadlock in input_inject_event, types: [LOCKDEP] testing release v5.17 testing commit f443e374ae131c168a065ea1748feac6b2e76613 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 833f46d31f09c28c8f3976691dac4797991c45ec36994794289bde06ae79a817 all runs: crashed: possible deadlock in input_inject_event representative crash: possible deadlock in input_inject_event, types: [LOCKDEP] testing release v5.14 testing commit 7d2a07b769330c34b4deabeed939325c77a7ec2f gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4202f5c633318a885f8787a80bf539123b150930b44b09d23927f83334b883d5 all runs: OK false negative chance: 0.000 # git bisect start f443e374ae131c168a065ea1748feac6b2e76613 7d2a07b769330c34b4deabeed939325c77a7ec2f Bisecting: 21300 revisions left to test after this (roughly 14 steps) [ae45d84fc36d01dcb1007f4298871eec37907904] Merge tag 'dt-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc testing commit ae45d84fc36d01dcb1007f4298871eec37907904 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 401bb6400e816762a2ddeb9e22163dd44ec62836107b16f82d114ca29fe93112 all runs: OK false negative chance: 0.000 # git bisect good ae45d84fc36d01dcb1007f4298871eec37907904 Bisecting: 11381 revisions left to test after this (roughly 13 steps) [9bcbf894b6872216ef61faf17248ec234e3db6bc] Merge tag 'media/v5.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media testing commit 9bcbf894b6872216ef61faf17248ec234e3db6bc gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2d8ecff0ab9426287be8e4244a96872fb2522512eb617be6850fd405e3ef7beb all runs: OK false negative chance: 0.000 # git bisect good 9bcbf894b6872216ef61faf17248ec234e3db6bc Bisecting: 5774 revisions left to test after this (roughly 13 steps) [e1a7aa25ff45636a6c1930bf2430c8b802e93d9c] Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi testing commit e1a7aa25ff45636a6c1930bf2430c8b802e93d9c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7ae45fce8f95fa5ddb1b4d40df302ee27a59288c7fd3a503f31dfe264a701f19 all runs: crashed: possible deadlock in input_inject_event representative crash: possible deadlock in input_inject_event, types: [LOCKDEP] # git bisect bad e1a7aa25ff45636a6c1930bf2430c8b802e93d9c Bisecting: 2795 revisions left to test after this (roughly 12 steps) [4a110907a118346cfafc3aa3a75a632fac11b7a9] Merge tag 'hwmon-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging testing commit 4a110907a118346cfafc3aa3a75a632fac11b7a9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: dd73c1a6468280c251ec8064fe1693c09cc0a52b5370d1112b9d2a02217ef3e5 all runs: OK false negative chance: 0.000 # git bisect good 4a110907a118346cfafc3aa3a75a632fac11b7a9 Bisecting: 1530 revisions left to test after this (roughly 11 steps) [6dc69d3d0d18d587ab9d809fe060ba4417cf0279] Merge tag 'driver-core-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core testing commit 6dc69d3d0d18d587ab9d809fe060ba4417cf0279 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f878e4edfa490d84654fe21a7ebf95bd0df32ee549e90c01d702b7e26e6521f7 all runs: OK false negative chance: 0.000 # git bisect good 6dc69d3d0d18d587ab9d809fe060ba4417cf0279 Bisecting: 768 revisions left to test after this (roughly 10 steps) [3acbdbf42e943d85174401357a6b6243479d4c76] Merge tag 'libnvdimm-for-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm testing commit 3acbdbf42e943d85174401357a6b6243479d4c76 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e51dae7a8836dd5aaf797e78dc519cd136c1cf76e03f5570276d4f611d40e5fe all runs: crashed: possible deadlock in input_inject_event representative crash: possible deadlock in input_inject_event, types: [LOCKDEP] # git bisect bad 3acbdbf42e943d85174401357a6b6243479d4c76 Bisecting: 329 revisions left to test after this (roughly 9 steps) [342465f5337f7bd5b8bd3b6f939ac12b620cbb43] Merge tag 'tty-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty testing commit 342465f5337f7bd5b8bd3b6f939ac12b620cbb43 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5e1cf73a8026bb9242ab83b92b09f84e4869d9f7535eed429db69f3456e78a44 all runs: crashed: possible deadlock in input_inject_event representative crash: possible deadlock in input_inject_event, types: [LOCKDEP] # git bisect bad 342465f5337f7bd5b8bd3b6f939ac12b620cbb43 Bisecting: 215 revisions left to test after this (roughly 8 steps) [e269f7acdc53623769da31135f60afeb3a65eaff] staging: r8188eu: remove the private ioctl "wps_assoc_req_ie" testing commit e269f7acdc53623769da31135f60afeb3a65eaff gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b7a6f19f68e2ca6628e28f2c1c3ea296f65d6f52abc8d85e4d5550ee2033ba3e all runs: OK false negative chance: 0.000 # git bisect good e269f7acdc53623769da31135f60afeb3a65eaff Bisecting: 107 revisions left to test after this (roughly 7 steps) [ad234e2bac274a43c9fa540bde8cd9f0c627b71f] tty: serial: meson: Drop the legacy compatible strings and clock code testing commit ad234e2bac274a43c9fa540bde8cd9f0c627b71f gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 390ebd6faaa904249f6ec6d01898ad356c389c90fb307672152ff682b3e8dec3 all runs: crashed: possible deadlock in input_inject_event representative crash: possible deadlock in input_inject_event, types: [LOCKDEP] # git bisect bad ad234e2bac274a43c9fa540bde8cd9f0c627b71f Bisecting: 53 revisions left to test after this (roughly 6 steps) [c66453ce8af8bac78a72ba4e21fd9a86720127d7] tty: fix kernel-doc in n_tty.c testing commit c66453ce8af8bac78a72ba4e21fd9a86720127d7 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c9740820824299c815d9166f4b7c6c756980428b71a713e5350acad11da11b10 all runs: OK false negative chance: 0.000 # git bisect good c66453ce8af8bac78a72ba4e21fd9a86720127d7 Bisecting: 26 revisions left to test after this (roughly 5 steps) [0882b473b084df31288003b3bee974aabac9dcf9] tty: serial: samsung: Enable console as module testing commit 0882b473b084df31288003b3bee974aabac9dcf9 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: de8d0ef7067143f3c4445eedeb973fcf24890ab1f892128f16da366f858ff465 all runs: OK false negative chance: 0.000 # git bisect good 0882b473b084df31288003b3bee974aabac9dcf9 Bisecting: 13 revisions left to test after this (roughly 4 steps) [b4a29b94804c4774f22555651296b838df6ec0e4] serial: 8250: Move Alpha-specific quirk out of the core testing commit b4a29b94804c4774f22555651296b838df6ec0e4 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1c5d476bdff0fba4fdcfebee5d55d7939c62cb6e85c43c706e9bdb69b6d9a52a all runs: crashed: possible deadlock in input_inject_event representative crash: possible deadlock in input_inject_event, types: [LOCKDEP] # git bisect bad b4a29b94804c4774f22555651296b838df6ec0e4 Bisecting: 6 revisions left to test after this (roughly 3 steps) [e822b4973f49015e1c6f63b91c8641ed9bfaf229] tty/ldsem: Fix syntax errors in comments testing commit e822b4973f49015e1c6f63b91c8641ed9bfaf229 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 60776f0e510812fae6d424bb8c28176e5a396b39a47b753048b75b83b72f84d4 all runs: OK false negative chance: 0.000 # git bisect good e822b4973f49015e1c6f63b91c8641ed9bfaf229 Bisecting: 3 revisions left to test after this (roughly 2 steps) [fb09d0ac07725b442b32dbf53f0ab0bea54804e9] tty: Fix the keyboard led light display problem testing commit fb09d0ac07725b442b32dbf53f0ab0bea54804e9 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3608eebf5ade4dd88643f3f5bf98925c4a5941c2790c28a398d0b479ac34c3ab all runs: crashed: possible deadlock in input_inject_event representative crash: possible deadlock in input_inject_event, types: [LOCKDEP] # git bisect bad fb09d0ac07725b442b32dbf53f0ab0bea54804e9 Bisecting: 0 revisions left to test after this (roughly 1 step) [34de6666843d47a4564f540574402f621c689ea0] dt-bindings: serial: amlogic, meson-uart: support S4 testing commit 34de6666843d47a4564f540574402f621c689ea0 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b46ccf6c2915d818b4319e58eb6d4cf9cda21797e0890148c63dcadc8aecc713 all runs: OK false negative chance: 0.000 # git bisect good 34de6666843d47a4564f540574402f621c689ea0 fb09d0ac07725b442b32dbf53f0ab0bea54804e9 is the first bad commit commit fb09d0ac07725b442b32dbf53f0ab0bea54804e9 Author: lianzhi chang Date: Wed Dec 15 20:51:25 2021 +0800 tty: Fix the keyboard led light display problem Use the "ctrl+alt+Fn" key combination to switch the system from tty to desktop or switch the system from desktop to tty. After the switch is completed, it is found that the state of the keyboard lock is inconsistent with the state of the keyboard Led light.The reasons are as follows: * The desktop environment (Xorg and other services) is bound to a tty (assuming it is tty1), and the kb->kbdmode attribute value of tty1 will be set to VC_OFF. According to the current code logic, in the desktop environment, the values of ledstate and kb->ledflagstate of tty1 will not be modified anymore, so they are always 0. * When switching between each tty, the final value of ledstate set by the previous tty is compared with the kb->ledflagstate value of the current tty to determine whether to set the state of the keyboard light. The process of switching between desktop and tty is also the process of switching between tty1 and other ttys. There are two situations: - (1) In the desktop environment, tty1 will not set the ledstate, which will cause when switching from the desktop to other ttys, if the desktop lights up the keyboard's led, after the switch is completed, the keyboard's led light will always be on; - (2) When switching from another tty to the desktop, this mechanism will trigger tty1 to set the led state. If other tty lights up the led of the keyboard before switching to the desktop, the led will be forcibly turned off. This situation should be avoided. * The current patch is to solve these problems: When VT is switched, the keyboard led needs to be set once.Ensure that after the switch is completed, the state of the keyboard LED is consistent with the state of the keyboard lock. Suggested-by: Dmitry Torokhov Reviewed-by: Dmitry Torokhov Signed-off-by: lianzhi chang Link: https://lore.kernel.org/r/20211215125125.10554-1-changlianzhi@uniontech.com Signed-off-by: Greg Kroah-Hartman drivers/tty/vt/keyboard.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) accumulated error probability: 0.00 culprit signature: 3608eebf5ade4dd88643f3f5bf98925c4a5941c2790c28a398d0b479ac34c3ab parent signature: b46ccf6c2915d818b4319e58eb6d4cf9cda21797e0890148c63dcadc8aecc713 revisions tested: 31, total time: 9h49m32.166727936s (build: 5h39m41.120131456s, test: 3h49m43.841253396s) first bad commit: fb09d0ac07725b442b32dbf53f0ab0bea54804e9 tty: Fix the keyboard led light display problem recipients (to): ["changlianzhi@uniontech.com" "dmitry.torokhov@gmail.com" "gregkh@linuxfoundation.org"] recipients (cc): [] crash: possible deadlock in input_inject_event ===================================================== WARNING: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected 5.16.0-rc6-syzkaller #0 Not tainted ----------------------------------------------------- syz.3.15/2771 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire: ffff888178ea2080 (&new->fa_lock){....}-{2:2}, at: kill_fasync_rcu fs/fcntl.c:1014 [inline] ffff888178ea2080 (&new->fa_lock){....}-{2:2}, at: kill_fasync fs/fcntl.c:1035 [inline] ffff888178ea2080 (&new->fa_lock){....}-{2:2}, at: kill_fasync+0x7a/0x1e0 fs/fcntl.c:1028 and this task is already holding: ffff88817a1bd828 (&client->buffer_lock){....}-{2:2}, at: spin_lock include/linux/spinlock.h:349 [inline] ffff88817a1bd828 (&client->buffer_lock){....}-{2:2}, at: evdev_pass_values.part.0+0x5e/0x230 drivers/input/evdev.c:261 which would create a new lock dependency: (&client->buffer_lock){....}-{2:2} -> (&new->fa_lock){....}-{2:2} but this new dependency connects a SOFTIRQ-irq-safe lock: (&dev->event_lock){..-.}-{2:2} ... which became SOFTIRQ-irq-safe at: lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0xc9/0x300 kernel/locking/lockdep.c:5602 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:162 input_inject_event+0x3f/0x1c0 drivers/input/input.c:471 led_trigger_event drivers/leds/led-triggers.c:390 [inline] led_trigger_event+0x65/0x110 drivers/leds/led-triggers.c:380 kbd_propagate_led_state drivers/tty/vt/keyboard.c:1082 [inline] kbd_bh+0xa3/0xe0 drivers/tty/vt/keyboard.c:1271 tasklet_action_common.constprop.0+0xd2/0xf0 kernel/softirq.c:784 __do_softirq+0x16e/0x4db kernel/softirq.c:558 run_ksoftirqd kernel/softirq.c:921 [inline] run_ksoftirqd+0x2d/0x40 kernel/softirq.c:913 smpboot_thread_fn+0x183/0x220 kernel/smpboot.c:164 kthread+0x15b/0x180 kernel/kthread.c:327 ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:295 to a SOFTIRQ-irq-unsafe lock: (tasklist_lock){.+.+}-{2:2} ... which became SOFTIRQ-irq-unsafe at: ... lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0xc9/0x300 kernel/locking/lockdep.c:5602 __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline] _raw_read_lock+0x5b/0x70 kernel/locking/spinlock.c:228 do_wait+0x9e/0x360 kernel/exit.c:1511 kernel_wait+0x44/0x80 kernel/exit.c:1701 call_usermodehelper_exec_sync kernel/umh.c:139 [inline] call_usermodehelper_exec_work+0x5c/0xa0 kernel/umh.c:166 process_one_work+0x258/0x540 kernel/workqueue.c:2298 worker_thread+0x4d/0x330 kernel/workqueue.c:2445 kthread+0x15b/0x180 kernel/kthread.c:327 ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:295 other info that might help us debug this: Chain exists of: &dev->event_lock --> &client->buffer_lock --> tasklist_lock Possible interrupt unsafe locking scenario: CPU0 CPU1 ---- ---- lock(tasklist_lock); local_irq_disable(); lock(&dev->event_lock); lock(&client->buffer_lock); lock(&dev->event_lock); *** DEADLOCK *** 7 locks held by syz.3.15/2771: #0: ffff888109fe8110 (&evdev->mutex){+.+.}-{3:3}, at: evdev_write+0x72/0x150 drivers/input/evdev.c:513 #1: ffff88810438b230 (&dev->event_lock){..-.}-{2:2}, at: input_inject_event+0x3f/0x1c0 drivers/input/input.c:471 #2: ffffffff82fdcc60 (rcu_read_lock){....}-{1:2}, at: is_event_supported drivers/input/input.c:53 [inline] #2: ffffffff82fdcc60 (rcu_read_lock){....}-{1:2}, at: is_event_supported drivers/input/input.c:50 [inline] #2: ffffffff82fdcc60 (rcu_read_lock){....}-{1:2}, at: input_inject_event+0x2a/0x1c0 drivers/input/input.c:470 #3: ffffffff82fdcc60 (rcu_read_lock){....}-{1:2}, at: input_pass_values.part.0+0x0/0x260 #4: ffffffff82fdcc60 (rcu_read_lock){....}-{1:2}, at: evdev_events+0x0/0x1c0 #5: ffff88817a1bd828 (&client->buffer_lock){....}-{2:2}, at: spin_lock include/linux/spinlock.h:349 [inline] #5: ffff88817a1bd828 (&client->buffer_lock){....}-{2:2}, at: evdev_pass_values.part.0+0x5e/0x230 drivers/input/evdev.c:261 #6: ffffffff82fdcc60 (rcu_read_lock){....}-{1:2}, at: kill_fasync+0xa/0x1e0 fs/fcntl.c:1033 the dependencies between SOFTIRQ-irq-safe lock and the holding lock: -> (&dev->event_lock){..-.}-{2:2} { IN-SOFTIRQ-W at: lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0xc9/0x300 kernel/locking/lockdep.c:5602 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:162 input_inject_event+0x3f/0x1c0 drivers/input/input.c:471 led_trigger_event drivers/leds/led-triggers.c:390 [inline] led_trigger_event+0x65/0x110 drivers/leds/led-triggers.c:380 kbd_propagate_led_state drivers/tty/vt/keyboard.c:1082 [inline] kbd_bh+0xa3/0xe0 drivers/tty/vt/keyboard.c:1271 tasklet_action_common.constprop.0+0xd2/0xf0 kernel/softirq.c:784 __do_softirq+0x16e/0x4db kernel/softirq.c:558 run_ksoftirqd kernel/softirq.c:921 [inline] run_ksoftirqd+0x2d/0x40 kernel/softirq.c:913 smpboot_thread_fn+0x183/0x220 kernel/smpboot.c:164 kthread+0x15b/0x180 kernel/kthread.c:327 ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:295 INITIAL USE at: lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0xc9/0x300 kernel/locking/lockdep.c:5602 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:162 input_inject_event+0x3f/0x1c0 drivers/input/input.c:471 led_trigger_event drivers/leds/led-triggers.c:390 [inline] led_trigger_event+0x65/0x110 drivers/leds/led-triggers.c:380 kbd_led_trigger_activate+0x42/0x50 drivers/tty/vt/keyboard.c:1036 led_trigger_set+0x1ef/0x2e0 drivers/leds/led-triggers.c:197 led_trigger_set_default drivers/leds/led-triggers.c:262 [inline] led_trigger_set_default+0x91/0xb0 drivers/leds/led-triggers.c:249 led_classdev_register_ext+0x245/0x2d0 drivers/leds/led-class.c:417 led_classdev_register include/linux/leds.h:196 [inline] input_leds_connect+0x172/0x2c0 drivers/input/input-leds.c:139 input_attach_handler+0x75/0x90 drivers/input/input.c:1035 input_register_device.cold+0xa1/0x150 drivers/input/input.c:2335 atkbd_connect+0x299/0x380 drivers/input/keyboard/atkbd.c:1293 serio_connect_driver drivers/input/serio/serio.c:47 [inline] serio_driver_probe+0x33/0x50 drivers/input/serio/serio.c:778 call_driver_probe drivers/base/dd.c:517 [inline] really_probe+0xc5/0x3c0 drivers/base/dd.c:596 __driver_probe_device+0xf9/0x170 drivers/base/dd.c:751 driver_probe_device+0x19/0x90 drivers/base/dd.c:781 __driver_attach+0xbf/0x1d0 drivers/base/dd.c:1140 bus_for_each_dev+0x78/0xc0 drivers/base/bus.c:301 serio_attach_driver drivers/input/serio/serio.c:807 [inline] serio_handle_event+0x11f/0x2d0 drivers/input/serio/serio.c:227 process_one_work+0x258/0x540 kernel/workqueue.c:2298 worker_thread+0x4d/0x330 kernel/workqueue.c:2445 kthread+0x15b/0x180 kernel/kthread.c:327 ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:295 } ... key at: [] __key.7+0x0/0x10 -> (&client->buffer_lock){....}-{2:2} { INITIAL USE at: lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0xc9/0x300 kernel/locking/lockdep.c:5602 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:349 [inline] evdev_pass_values.part.0+0x5e/0x230 drivers/input/evdev.c:261 evdev_pass_values drivers/input/evdev.c:253 [inline] evdev_events+0x19c/0x1c0 drivers/input/evdev.c:306 input_to_handler+0x90/0xf0 drivers/input/input.c:115 input_pass_values.part.0+0x17f/0x260 drivers/input/input.c:145 input_pass_values drivers/input/input.c:134 [inline] input_handle_event+0x1eb/0x5e0 drivers/input/input.c:404 input_inject_event+0x1b2/0x1c0 drivers/input/input.c:476 evdev_write+0xe7/0x150 drivers/input/evdev.c:530 vfs_write+0xbf/0x370 fs/read_write.c:588 ksys_write+0xae/0xe0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3c/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae } ... key at: [] __key.1+0x0/0x10 ... acquired at: __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:349 [inline] evdev_pass_values.part.0+0x5e/0x230 drivers/input/evdev.c:261 evdev_pass_values drivers/input/evdev.c:253 [inline] evdev_events+0x19c/0x1c0 drivers/input/evdev.c:306 input_to_handler+0x90/0xf0 drivers/input/input.c:115 input_pass_values.part.0+0x17f/0x260 drivers/input/input.c:145 input_pass_values drivers/input/input.c:134 [inline] input_handle_event+0x1eb/0x5e0 drivers/input/input.c:404 input_inject_event+0x1b2/0x1c0 drivers/input/input.c:476 evdev_write+0xe7/0x150 drivers/input/evdev.c:530 vfs_write+0xbf/0x370 fs/read_write.c:588 ksys_write+0xae/0xe0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3c/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae the dependencies between the lock to be acquired and SOFTIRQ-irq-unsafe lock: -> (tasklist_lock){.+.+}-{2:2} { HARDIRQ-ON-R at: lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0xc9/0x300 kernel/locking/lockdep.c:5602 __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline] _raw_read_lock+0x5b/0x70 kernel/locking/spinlock.c:228 do_wait+0x9e/0x360 kernel/exit.c:1511 kernel_wait+0x44/0x80 kernel/exit.c:1701 call_usermodehelper_exec_sync kernel/umh.c:139 [inline] call_usermodehelper_exec_work+0x5c/0xa0 kernel/umh.c:166 process_one_work+0x258/0x540 kernel/workqueue.c:2298 worker_thread+0x4d/0x330 kernel/workqueue.c:2445 kthread+0x15b/0x180 kernel/kthread.c:327 ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:295 SOFTIRQ-ON-R at: lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0xc9/0x300 kernel/locking/lockdep.c:5602 __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline] _raw_read_lock+0x5b/0x70 kernel/locking/spinlock.c:228 do_wait+0x9e/0x360 kernel/exit.c:1511 kernel_wait+0x44/0x80 kernel/exit.c:1701 call_usermodehelper_exec_sync kernel/umh.c:139 [inline] call_usermodehelper_exec_work+0x5c/0xa0 kernel/umh.c:166 process_one_work+0x258/0x540 kernel/workqueue.c:2298 worker_thread+0x4d/0x330 kernel/workqueue.c:2445 kthread+0x15b/0x180 kernel/kthread.c:327 ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:295 INITIAL USE at: lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0xc9/0x300 kernel/locking/lockdep.c:5602 __raw_write_lock_irq include/linux/rwlock_api_smp.h:194 [inline] _raw_write_lock_irq+0x32/0x50 kernel/locking/spinlock.c:316 copy_process+0x14af/0x1f30 kernel/fork.c:2311 kernel_clone+0x96/0x3e0 kernel/fork.c:2582 kernel_thread+0x50/0x70 kernel/fork.c:2634 rest_init+0x19/0x250 init/main.c:690 start_kernel+0x577/0x59c init/main.c:1135 secondary_startup_64_no_verify+0xb0/0xbb INITIAL READ USE at: lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0xc9/0x300 kernel/locking/lockdep.c:5602 __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline] _raw_read_lock+0x5b/0x70 kernel/locking/spinlock.c:228 do_wait+0x9e/0x360 kernel/exit.c:1511 kernel_wait+0x44/0x80 kernel/exit.c:1701 call_usermodehelper_exec_sync kernel/umh.c:139 [inline] call_usermodehelper_exec_work+0x5c/0xa0 kernel/umh.c:166 process_one_work+0x258/0x540 kernel/workqueue.c:2298 worker_thread+0x4d/0x330 kernel/workqueue.c:2445 kthread+0x15b/0x180 kernel/kthread.c:327 ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:295 } ... key at: [] tasklist_lock+0x18/0x40 ... acquired at: __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline] _raw_read_lock+0x5b/0x70 kernel/locking/spinlock.c:228 send_sigio+0x44/0x1b0 fs/fcntl.c:810 kill_fasync_rcu fs/fcntl.c:1021 [inline] kill_fasync fs/fcntl.c:1035 [inline] kill_fasync+0xa8/0x1e0 fs/fcntl.c:1028 lease_break_callback+0x16/0x20 fs/locks.c:477 __break_lease+0x18d/0x920 fs/locks.c:1450 break_lease include/linux/fs.h:2633 [inline] break_lease include/linux/fs.h:2623 [inline] vfs_truncate+0xea/0x150 fs/open.c:104 do_sys_truncate.part.0+0x85/0xa0 fs/open.c:133 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3c/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae -> (&f->f_owner.lock){....}-{2:2} { INITIAL USE at: lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0xc9/0x300 kernel/locking/lockdep.c:5602 __raw_write_lock_irq include/linux/rwlock_api_smp.h:194 [inline] _raw_write_lock_irq+0x32/0x50 kernel/locking/spinlock.c:316 f_modown+0x23/0xf0 fs/fcntl.c:91 generic_add_lease fs/locks.c:1735 [inline] generic_setlease+0x7a8/0x980 fs/locks.c:1814 do_fcntl_add_lease fs/locks.c:1925 [inline] fcntl_setlease+0x75/0x130 fs/locks.c:1947 do_fcntl+0x5ac/0x820 fs/fcntl.c:419 __do_sys_fcntl fs/fcntl.c:472 [inline] __se_sys_fcntl fs/fcntl.c:457 [inline] __x64_sys_fcntl+0x89/0xb0 fs/fcntl.c:457 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3c/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae INITIAL READ USE at: lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0xc9/0x300 kernel/locking/lockdep.c:5602 __raw_read_lock_irq include/linux/rwlock_api_smp.h:168 [inline] _raw_read_lock_irq+0x63/0x80 kernel/locking/spinlock.c:244 f_getown+0x16/0x120 fs/fcntl.c:154 sock_ioctl+0x9e/0x300 net/socket.c:1182 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x7e/0xb0 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3c/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae } ... key at: [] __key.3+0x0/0x10 ... acquired at: __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:159 [inline] _raw_read_lock_irqsave+0x70/0x90 kernel/locking/spinlock.c:236 send_sigio+0x1c/0x1b0 fs/fcntl.c:796 kill_fasync_rcu fs/fcntl.c:1021 [inline] kill_fasync fs/fcntl.c:1035 [inline] kill_fasync+0xa8/0x1e0 fs/fcntl.c:1028 lease_break_callback+0x16/0x20 fs/locks.c:477 __break_lease+0x18d/0x920 fs/locks.c:1450 break_lease include/linux/fs.h:2633 [inline] break_lease include/linux/fs.h:2623 [inline] vfs_truncate+0xea/0x150 fs/open.c:104 do_sys_truncate.part.0+0x85/0xa0 fs/open.c:133 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3c/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae -> (&new->fa_lock){....}-{2:2} { INITIAL READ USE at: lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0xc9/0x300 kernel/locking/lockdep.c:5602 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:159 [inline] _raw_read_lock_irqsave+0x70/0x90 kernel/locking/spinlock.c:236 kill_fasync_rcu fs/fcntl.c:1014 [inline] kill_fasync fs/fcntl.c:1035 [inline] kill_fasync+0x7a/0x1e0 fs/fcntl.c:1028 lease_break_callback+0x16/0x20 fs/locks.c:477 __break_lease+0x18d/0x920 fs/locks.c:1450 break_lease include/linux/fs.h:2633 [inline] break_lease include/linux/fs.h:2623 [inline] vfs_truncate+0xea/0x150 fs/open.c:104 do_sys_truncate.part.0+0x85/0xa0 fs/open.c:133 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3c/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae } ... key at: [] __key.0+0x0/0x10 ... acquired at: lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0xc9/0x300 kernel/locking/lockdep.c:5602 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:159 [inline] _raw_read_lock_irqsave+0x70/0x90 kernel/locking/spinlock.c:236 kill_fasync_rcu fs/fcntl.c:1014 [inline] kill_fasync fs/fcntl.c:1035 [inline] kill_fasync+0x7a/0x1e0 fs/fcntl.c:1028 __pass_event drivers/input/evdev.c:240 [inline] evdev_pass_values.part.0+0x1a5/0x230 drivers/input/evdev.c:278 evdev_pass_values drivers/input/evdev.c:253 [inline] evdev_events+0x19c/0x1c0 drivers/input/evdev.c:306 input_to_handler+0x90/0xf0 drivers/input/input.c:115 input_pass_values.part.0+0x17f/0x260 drivers/input/input.c:145 input_pass_values drivers/input/input.c:134 [inline] input_handle_event+0x1eb/0x5e0 drivers/input/input.c:404 input_inject_event+0x1b2/0x1c0 drivers/input/input.c:476 evdev_write+0xe7/0x150 drivers/input/evdev.c:530 vfs_write+0xbf/0x370 fs/read_write.c:588 ksys_write+0xae/0xe0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3c/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae stack backtrace: CPU: 0 PID: 2771 Comm: syz.3.15 Not tainted 5.16.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x57/0x7d lib/dump_stack.c:106 print_bad_irq_dependency kernel/locking/lockdep.c:2577 [inline] check_irq_usage.cold+0x251/0x256 kernel/locking/lockdep.c:2816 check_prev_add kernel/locking/lockdep.c:3067 [inline] check_prevs_add kernel/locking/lockdep.c:3186 [inline] validate_chain kernel/locking/lockdep.c:3801 [inline] __lock_acquire+0xfdc/0x1840 kernel/locking/lockdep.c:5027 lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0xc9/0x300 kernel/locking/lockdep.c:5602 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:159 [inline] _raw_read_lock_irqsave+0x70/0x90 kernel/locking/spinlock.c:236 kill_fasync_rcu fs/fcntl.c:1014 [inline] kill_fasync fs/fcntl.c:1035 [inline] kill_fasync+0x7a/0x1e0 fs/fcntl.c:1028 __pass_event drivers/input/evdev.c:240 [inline] evdev_pass_values.part.0+0x1a5/0x230 drivers/input/evdev.c:278 evdev_pass_values drivers/input/evdev.c:253 [inline] evdev_events+0x19c/0x1c0 drivers/input/evdev.c:306 input_to_handler+0x90/0xf0 drivers/input/input.c:115 input_pass_values.part.0+0x17f/0x260 drivers/input/input.c:145 input_pass_values drivers/input/input.c:134 [inline] input_handle_event+0x1eb/0x5e0 drivers/input/input.c:404 input_inject_event+0x1b2/0x1c0 drivers/input/input.c:476 evdev_write+0xe7/0x150 drivers/input/evdev.c:530 vfs_write+0xbf/0x370 fs/read_write.c:588 ksys_write+0xae/0xe0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3c/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f4e2e52d809 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4e2df8b058 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f4e2e6f3080 RCX: 00007f4e2e52d809 RDX: 0000000000001068 RSI: 0000000020000040 RDI: 0000000000000008 RBP: 00007f4e2e5a093e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f4e2e6f3080 R15: 00007ffea23554d8