ci2 starts bisection 2023-09-14 19:20:12.003595748 +0000 UTC m=+126144.032769851 bisecting fixing commit since 8f790700c974345ab78054e109beddd84539f319 building syzkaller on 022df2bb9a105c303cf24c910b8e787cf642a3f3 ensuring issue is reproducible on original commit 8f790700c974345ab78054e109beddd84539f319 testing commit 8f790700c974345ab78054e109beddd84539f319 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 343672fa6b0300e90ec2e81462ebe939cd8ab24ed28eeaa90411cec1419577de all runs: crashed: possible deadlock in input_event representative crash: possible deadlock in input_event, types: [LOCKDEP] check whether we can drop unnecessary instrumentation disabling configs for [BUG KASAN ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 8f790700c974345ab78054e109beddd84539f319 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a4bd6da1023a0b8bc0cac8bbf3d63bc9363e6c4d36003511f9b15478095257e4 all runs: crashed: possible deadlock in input_event representative crash: possible deadlock in input_event, 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=3703 full=7267 leaves diff=1985 split chunks (needed=false): <1985> split chunk #0 of len 1985 into 5 parts testing without sub-chunk 1/5 disabling configs for [UBSAN BUG KASAN ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 8f790700c974345ab78054e109beddd84539f319 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b23d28c2eb02362b7423f5427756f30b68640cd94feeb3ace56947540bfd54e7 all runs: crashed: possible deadlock in input_event representative crash: possible deadlock in input_event, 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 8f790700c974345ab78054e109beddd84539f319 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3c5d4cbfe765de613820c4d1285d98986781ab531686745426dbd154672dc29c all runs: crashed: possible deadlock in input_event representative crash: possible deadlock in input_event, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [LEAK UBSAN BUG KASAN ATOMIC_SLEEP HANG], they are not needed testing commit 8f790700c974345ab78054e109beddd84539f319 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0ecaa33aa67fcc4801ec27c8f99cafe906f81d9905e53c4b5520285a970a2e19 all runs: OK false negative chance: 0.000 testing without sub-chunk 4/5 disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed testing commit 8f790700c974345ab78054e109beddd84539f319 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d78c301fc41869b5b2fefe8fe0a32c7a2b4aa81ef6e507eddabd340f4e5173d0 all runs: crashed: possible deadlock in input_event representative crash: possible deadlock in input_event, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [UBSAN BUG KASAN ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 8f790700c974345ab78054e109beddd84539f319 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4ae0b841061bd83c7d2e8d85e91bda47d230b40d5a55f18c436899f71cae6ab5 all runs: crashed: possible deadlock in input_event representative crash: possible deadlock in input_event, types: [LOCKDEP] the chunk can be dropped minimized to 397 configs; suspects: [ATM AX25 BRIDGE BRIDGE_NETFILTER CAN CFG80211 CHECKPOINT_RESTORE DVB_CORE FB FSCACHE HAMRADIO HSR INFINIBAND INFINIBAND_ADDR_TRANS INFINIBAND_USER_ACCESS INPUT_JOYSTICK INPUT_MOUSE IP6_NF_RAW IPV6_MULTIPLE_TABLES IP_NF_RAW IP_SET IP_VS ISDN ISDN_CAPI_MIDDLEWARE JFFS2_CMODE_PRIORITY JFFS2_COMPRESSION_OPTIONS JFFS2_FS JFFS2_FS_POSIX_ACL JFFS2_FS_SECURITY JFFS2_FS_WRITEBUFFER JFFS2_FS_XATTR JFFS2_LZO JFFS2_RTIME JFFS2_RUBIN JFFS2_SUMMARY JFFS2_ZLIB JFS_DEBUG JFS_FS JFS_POSIX_ACL JFS_SECURITY JOYSTICK_IFORCE JOYSTICK_IFORCE_USB JOYSTICK_XPAD JOYSTICK_XPAD_FF JOYSTICK_XPAD_LEDS KARMA_PARTITION KCOV KCOV_ENABLE_COMPARISONS KCOV_INSTRUMENT_ALL KEYS_REQUEST_CACHE KEY_DH_OPERATIONS KEY_NOTIFICATIONS KSM KVM KVM_AMD KVM_ASYNC_PF KVM_COMPAT KVM_GENERIC_DIRTYLOG_READ_PROTECT KVM_INTEL KVM_MMIO KVM_VFIO KVM_XEN KVM_XFER_TO_GUEST_WORK L2TP L2TP_ETH L2TP_IP L2TP_V3 LAPB LAPBETHER LDM_PARTITION LEDS_TRIGGER_AUDIO LEGACY_PTYS LIBNVDIMM LINEAR_RANGES LLC LLC2 LOGIG940_FF LOGIRUMBLEPAD2_FF LOGO LOGO_LINUX_MONO LOGO_LINUX_VGA16 LPC_ICH LWTUNNEL LWTUNNEL_BPF LZ4HC_COMPRESS LZ4_COMPRESS MAC80211 MAC80211_DEBUGFS MAC80211_HAS_RC MAC80211_HWSIM MAC80211_MESH MAC80211_RC_DEFAULT_MINSTREL MAC80211_RC_MINSTREL MACSEC MACVLAN MACVTAP MAC_PARTITION MAPPING_DIRTY_HELPERS MD_LINEAR MD_MULTIPATH MD_RAID0 MD_RAID1 MD_RAID10 MD_RAID456 MEDIA_ANALOG_TV_SUPPORT MEDIA_ATTACH MEDIA_CONTROLLER MEDIA_CONTROLLER_DVB MEDIA_CONTROLLER_REQUEST_API MEDIA_DIGITAL_TV_SUPPORT MEDIA_RADIO_SUPPORT MEDIA_SDR_SUPPORT MEDIA_SUPPORT MEDIA_SUPPORT_FILTER MEDIA_TUNER MEDIA_TUNER_MSI001 MEDIA_TUNER_XC2028 MEDIA_TUNER_XC5000 MEMORY_BALLOON MEMORY_HOTPLUG MEMORY_HOTPLUG_DEFAULT_ONLINE MEMORY_ISOLATION MEMREGION MEMSTICK MEMSTICK_REALTEK_USB MEM_SOFT_DIRTY MFD_CORE MFD_SYSCON MHI_BUS MHI_WWAN_CTRL MHP_MEMMAP_ON_MEMORY MICROCHIP_PHY MINIX_FS MINIX_SUBPARTITION MISC_RTSX MISC_RTSX_USB MISDN MISDN_DSP MISDN_HFCUSB MISDN_L1OIP MKISS MLX4_CORE MLX4_INFINIBAND MMC MMC_REALTEK_USB MMC_USHC MMC_VUB300 MMU_NOTIFIER MODULE_SRCVERSION_ALL MODVERSIONS MOST MOUSE_APPLETOUCH MOUSE_BCM5974 MOUSE_PS2 MOUSE_PS2_ALPS MOUSE_PS2_BYD MOUSE_PS2_CYPRESS MOUSE_PS2_FOCALTECH MOUSE_PS2_LIFEBOOK MOUSE_PS2_LOGIPS2PP MOUSE_PS2_SMBUS MOUSE_PS2_SYNAPTICS MOUSE_PS2_SYNAPTICS_SMBUS MOUSE_PS2_TRACKPOINT MOUSE_SYNAPTICS_USB MPLS MPLS_IPTUNNEL MPLS_ROUTING MPTCP MPTCP_IPV6 MRP MTD MTD_BLKDEVS MTD_BLOCK MTD_BLOCK2MTD MTD_CFI_I1 MTD_CFI_I2 MTD_MAP_BANK_WIDTH_1 MTD_MAP_BANK_WIDTH_2 MTD_MAP_BANK_WIDTH_4 MTD_MTDRAM MTD_PHRAM MTD_SLRAM MUSB_PIO_ONLY ND_BLK ND_BTT ND_CLAIM ND_PFN NETDEVSIM NETFILTER_ADVANCED NETFILTER_FAMILY_ARP NETFILTER_FAMILY_BRIDGE NETFILTER_NETLINK_ACCT NETFILTER_NETLINK_GLUE_CT NETFILTER_NETLINK_OSF NETFILTER_NETLINK_QUEUE NETFILTER_SYNPROXY NETFILTER_XT_CONNMARK NETFILTER_XT_MATCH_BPF NETFILTER_XT_MATCH_CGROUP NETFILTER_XT_MATCH_CLUSTER NETFILTER_XT_MATCH_COMMENT NETFILTER_XT_MATCH_CONNBYTES NETFILTER_XT_MATCH_CONNLABEL NETFILTER_XT_MATCH_CONNLIMIT NETFILTER_XT_MATCH_CONNMARK NETFILTER_XT_MATCH_CPU NETFILTER_XT_MATCH_DCCP NETFILTER_XT_MATCH_DEVGROUP NETFILTER_XT_MATCH_DSCP NETFILTER_XT_MATCH_ECN NETFILTER_XT_MATCH_ESP NETFILTER_XT_MATCH_HASHLIMIT NETFILTER_XT_MATCH_HELPER NETFILTER_XT_MATCH_HL NETFILTER_XT_MATCH_IPCOMP NETFILTER_XT_MATCH_IPRANGE NETFILTER_XT_MATCH_IPVS NETFILTER_XT_MATCH_L2TP NETFILTER_XT_MATCH_LENGTH NETFILTER_XT_MATCH_LIMIT NETFILTER_XT_MATCH_MAC NETFILTER_XT_MATCH_MARK NETFILTER_XT_MATCH_MULTIPORT NETFILTER_XT_MATCH_NFACCT NETFILTER_XT_MATCH_OSF NETFILTER_XT_MATCH_OWNER NETFILTER_XT_MATCH_PHYSDEV NETFILTER_XT_MATCH_PKTTYPE NETFILTER_XT_MATCH_QUOTA NETFILTER_XT_MATCH_RATEEST NETFILTER_XT_MATCH_REALM NETFILTER_XT_MATCH_RECENT NETFILTER_XT_MATCH_SCTP NETFILTER_XT_MATCH_SOCKET NETFILTER_XT_MATCH_STATISTIC NETFILTER_XT_MATCH_STRING NETFILTER_XT_MATCH_TCPMSS NETFILTER_XT_MATCH_TIME NETFILTER_XT_MATCH_U32 NETFILTER_XT_SET NETFILTER_XT_TARGET_AUDIT NETFILTER_XT_TARGET_CHECKSUM NETFILTER_XT_TARGET_CLASSIFY NETFILTER_XT_TARGET_CONNMARK NETFILTER_XT_TARGET_CT NETFILTER_XT_TARGET_DSCP NETFILTER_XT_TARGET_HL NETFILTER_XT_TARGET_HMARK NETFILTER_XT_TARGET_IDLETIMER NETFILTER_XT_TARGET_LED NETFILTER_XT_TARGET_MARK NETFILTER_XT_TARGET_NETMAP NETFILTER_XT_TARGET_NFQUEUE NETFILTER_XT_TARGET_NOTRACK NETFILTER_XT_TARGET_RATEEST NETFILTER_XT_TARGET_REDIRECT NETFILTER_XT_TARGET_TCPOPTSTRIP NETFILTER_XT_TARGET_TEE NETFILTER_XT_TARGET_TPROXY NETFILTER_XT_TARGET_TRACE NETFS_SUPPORT NETLABEL NETLINK_DIAG NETROM NET_9P_RDMA NET_ACT_BPF NET_ACT_CONNMARK NET_ACT_CSUM NET_ACT_CT NET_ACT_CTINFO NET_ACT_GATE NET_ACT_IFE NET_ACT_IPT NET_ACT_MPLS NET_ACT_NAT NET_ACT_PEDIT NET_ACT_POLICE NET_ACT_SAMPLE NET_ACT_SIMP NET_ACT_SKBEDIT NET_ACT_SKBMOD NET_ACT_TUNNEL_KEY NET_ACT_VLAN NET_CLS_BASIC NET_CLS_BPF NET_CLS_CGROUP NET_CLS_FLOW NET_CLS_FLOWER NET_CLS_FW NET_CLS_MATCHALL NET_CLS_ROUTE4 NET_CLS_RSVP NET_CLS_RSVP6 NET_DEVLINK NET_DROP_MONITOR NET_DSA NET_DSA_TAG_BRCM NET_DSA_TAG_BRCM_COMMON NET_DSA_TAG_BRCM_PREPEND NET_DSA_TAG_MTK NET_DSA_TAG_QCA NET_DSA_TAG_RTL4_A NET_EGRESS NET_EMATCH_CANID NET_EMATCH_CMP NET_EMATCH_IPSET NET_EMATCH_IPT NET_EMATCH_META NET_EMATCH_NBYTE NET_EMATCH_TEXT NET_EMATCH_U32 NET_FC NET_FOU NET_FOU_IP_TUNNELS NET_IFE NET_IFE_SKBMARK NET_IFE_SKBPRIO NET_IFE_SKBTCINDEX NET_IPGRE NET_IPGRE_BROADCAST NET_IPGRE_DEMUX NET_IPIP NET_IPVTI NET_KEY NET_KEY_MIGRATE NET_L3_MASTER_DEV NET_MPLS_GSO NET_NCSI NET_NSH NET_REDIRECT NET_SCH_ATM NET_SCH_CAKE NET_SCH_CBQ NET_SCH_CBS NET_SCH_CHOKE NET_SCH_CODEL NET_SCH_DRR NET_SCH_DSMARK NET_SCH_ETF NET_SCH_ETS NET_SCH_FQ NET_SCH_FQ_CODEL NET_SCH_FQ_PIE NET_SCH_GRED NET_SCH_HFSC NET_SCH_HHF NET_SCH_HTB NET_SCH_INGRESS NET_SCH_MQPRIO NET_SCH_MULTIQ NET_SCH_NETEM NET_SCH_PIE NET_SCH_PLUG NET_SCH_PRIO NET_SCH_QFQ NET_SCH_RED NET_SCH_SFB NET_SCH_SFQ NET_SCH_SKBPRIO NET_SCH_TAPRIO NET_SCH_TBF NET_SCH_TEQL NET_SOCK_MSG NET_SWITCHDEV NET_TC_SKB_EXT NET_TEAM NET_TEAM_MODE_ACTIVEBACKUP NET_TEAM_MODE_BROADCAST NET_TEAM_MODE_LOADBALANCE NET_TEAM_MODE_RANDOM NET_TEAM_MODE_ROUNDROBIN NET_UDP_TUNNEL NET_VRF NFC NFC_DIGITAL NFC_FDP NFC_HCI NFC_MRVL NFC_MRVL_USB NFC_NCI NFC_NCI_UART NFC_PN533 NFC_PN533_USB NFC_PORT100 NFC_SHDLC NFC_SIM NFC_VIRTUAL_NCI NFSD NFSD_BLOCKLAYOUT NFSD_FLEXFILELAYOUT NFSD_PNFS NFSD_SCSILAYOUT NFSD_V2_ACL NFSD_V3 NFSD_V3_ACL NFSD_V4 NFSD_V4_2_INTER_SSC NFSD_V4_SECURITY_LABEL NFS_FSCACHE NFS_V4_1 NFS_V4_2 NFS_V4_2_READ_PLUS NFS_V4_2_SSC_HELPER NFS_V4_SECURITY_LABEL NFT_BRIDGE_META NFT_BRIDGE_REJECT NFT_COMPAT NFT_CONNLIMIT NFT_COUNTER NFT_CT NFT_DUP_IPV4 NFT_DUP_IPV6 NFT_DUP_NETDEV NFT_FIB NFT_FIB_INET NFT_FIB_IPV4 NFT_FIB_IPV6 NFT_FIB_NETDEV NFT_FLOW_OFFLOAD NFT_HASH NFT_LIMIT NFT_LOG NFT_MASQ NFT_NAT NFT_NUMGEN NFT_OBJREF NFT_OSF NFT_QUEUE NFT_QUOTA NFT_REDIR NFT_REJECT NFT_REJECT_INET NFT_REJECT_IPV4 NFT_REJECT_IPV6 NFT_REJECT_NETDEV NFT_SOCKET NFT_SYNPROXY NFT_TPROXY NFT_TUNNEL NFT_XFRM NF_CONNTRACK_AMANDA NF_CONNTRACK_BRIDGE NF_CONNTRACK_BROADCAST NF_CONNTRACK_EVENTS NF_CONNTRACK_H323 NF_CONNTRACK_LABELS NF_CONNTRACK_MARK NF_CONNTRACK_NETBIOS_NS NF_CONNTRACK_PPTP NF_CONNTRACK_SANE NF_CONNTRACK_SNMP NF_CONNTRACK_TFTP NF_CONNTRACK_TIMEOUT NF_CONNTRACK_TIMESTAMP NF_CONNTRACK_ZONES NF_CT_NETLINK_HELPER NF_CT_NETLINK_TIMEOUT NF_CT_PROTO_DCCP NF_CT_PROTO_GRE NF_CT_PROTO_SCTP NF_CT_PROTO_UDPLITE NF_DUP_IPV4 NF_DUP_IPV6 NF_DUP_NETDEV NF_FLOW_TABLE NF_FLOW_TABLE_INET NF_FLOW_TABLE_IPV4 NF_FLOW_TABLE_IPV6 NF_NAT_AMANDA NF_NAT_H323 NF_NAT_PPTP NF_NAT_REDIRECT NF_NAT_SNMP_BASIC NF_NAT_TFTP NF_SOCKET_IPV4 NF_SOCKET_IPV6 NF_TABLES NF_TABLES_ARP NF_TABLES_BRIDGE NF_TABLES_INET NF_TABLES_IPV4 NF_TABLES_IPV6 NF_TABLES_NETDEV NF_TPROXY_IPV4 NF_TPROXY_IPV6 NILFS2_FS NLMON NLS_CODEPAGE_1250 NLS_CODEPAGE_1251 PARTITION_ADVANCED PSAMPLE RFKILL SPI USB_GADGET USB_MUSB_HDRC VIDEO_DEV VIDEO_V4L2 WAN WATCH_QUEUE WIRELESS WLAN WWAN X25 X86_X32] disabling configs for [KASAN ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed determining the merge base between 8f790700c974345ab78054e109beddd84539f319 and 9fdfb15a3dbf818e06be514f4abbfc071004cbe7 8bb7eca972ad531c9b149c0a51ab43a417385813/Linux 5.15 is a merge base, check if it has the bug testing commit 8bb7eca972ad531c9b149c0a51ab43a417385813 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 46048291eec63c68fb5bffed1dab7f59227d9e5746e11634d02391e14a977642 all runs: crashed: possible deadlock in input_event representative crash: possible deadlock in input_event, types: [LOCKDEP] testing current HEAD 9fdfb15a3dbf818e06be514f4abbfc071004cbe7 testing commit 9fdfb15a3dbf818e06be514f4abbfc071004cbe7 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 484406aba44926398d84e3f4a5e2f4d0cc4040c554522cb1903801cf962ce6ec all runs: crashed: possible deadlock in input_event representative crash: possible deadlock in input_event, types: [LOCKDEP] crash still not fixed/happens on the oldest tested release revisions tested: 9, total time: 1h40m7.878933531s (build: 25m9.378506689s, test: 1h12m34.739509573s) crash still not fixed or there were kernel test errors commit msg: Merge tag 'net-6.6-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net crash: possible deadlock in input_event ===================================================== WARNING: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected 6.6.0-rc1-syzkaller #0 Not tainted ----------------------------------------------------- syz-executor.0/3375 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire: ffff88810c72c080 (&new->fa_lock){....}-{2:2}, at: kill_fasync_rcu fs/fcntl.c:998 [inline] ffff88810c72c080 (&new->fa_lock){....}-{2:2}, at: kill_fasync+0x12b/0x340 fs/fcntl.c:1019 and this task is already holding: ffff888110db0828 (&client->buffer_lock){....}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline] ffff888110db0828 (&client->buffer_lock){....}-{2:2}, at: evdev_pass_values+0x81/0x3d0 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 HARDIRQ-irq-safe lock: (&dev->event_lock){-...}-{2:2} ... which became HARDIRQ-irq-safe at: lock_acquire+0xd2/0x260 kernel/locking/lockdep.c:5753 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x5e/0x90 kernel/locking/spinlock.c:162 input_event+0x77/0xb0 drivers/input/input.c:434 input_report_key include/linux/input.h:425 [inline] psmouse_report_standard_buttons drivers/input/mouse/psmouse-base.c:128 [inline] psmouse_report_standard_packet+0x33/0x100 drivers/input/mouse/psmouse-base.c:146 psmouse_process_byte+0x2ce/0x2f0 drivers/input/mouse/psmouse-base.c:237 psmouse_handle_byte+0x17/0x190 drivers/input/mouse/psmouse-base.c:279 ps2_interrupt+0xbc/0x460 drivers/input/serio/libps2.c:613 serio_interrupt+0x4c/0xc0 drivers/input/serio/serio.c:998 i8042_interrupt+0x2d6/0x560 drivers/input/serio/i8042.c:606 __handle_irq_event_percpu+0xf7/0x460 kernel/irq/handle.c:158 handle_irq_event_percpu kernel/irq/handle.c:193 [inline] handle_irq_event+0x39/0xa0 kernel/irq/handle.c:210 handle_edge_irq+0xeb/0x350 kernel/irq/chip.c:831 generic_handle_irq_desc include/linux/irqdesc.h:161 [inline] handle_irq arch/x86/kernel/irq.c:238 [inline] __common_interrupt+0xce/0x160 arch/x86/kernel/irq.c:257 common_interrupt+0x7f/0x90 arch/x86/kernel/irq.c:247 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:636 __preempt_count_dec_and_test arch/x86/include/asm/preempt.h:95 [inline] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x69/0xa0 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] i8042_command drivers/input/serio/i8042.c:356 [inline] i8042_aux_write+0x86/0xb0 drivers/input/serio/i8042.c:391 serio_write include/linux/serio.h:125 [inline] ps2_do_sendbyte+0xad/0x3e0 drivers/input/serio/libps2.c:58 ps2_sendbyte+0x36/0x90 drivers/input/serio/libps2.c:113 cypress_ps2_sendbyte drivers/input/mouse/cypress_ps2.c:42 [inline] cypress_ps2_read_cmd_status drivers/input/mouse/cypress_ps2.c:116 [inline] cypress_send_ext_cmd+0x145/0x530 drivers/input/mouse/cypress_ps2.c:189 cypress_detect+0x47/0xf0 drivers/input/mouse/cypress_ps2.c:205 psmouse_do_detect drivers/input/mouse/psmouse-base.c:1006 [inline] psmouse_try_protocol drivers/input/mouse/psmouse-base.c:1020 [inline] psmouse_extensions+0xa06/0xe10 drivers/input/mouse/psmouse-base.c:1143 psmouse_switch_protocol+0x52/0x530 drivers/input/mouse/psmouse-base.c:1537 psmouse_connect+0x411/0x7f0 drivers/input/mouse/psmouse-base.c:1626 serio_connect_driver drivers/input/serio/serio.c:44 [inline] serio_driver_probe+0x3b/0x50 drivers/input/serio/serio.c:775 really_probe+0x1a0/0x660 drivers/base/dd.c:658 __driver_probe_device+0xdf/0x1e0 drivers/base/dd.c:800 driver_probe_device+0x2e/0x240 drivers/base/dd.c:830 __driver_attach+0x256/0x3a0 drivers/base/dd.c:1216 bus_for_each_dev+0x148/0x1b0 drivers/base/bus.c:368 serio_attach_driver drivers/input/serio/serio.c:804 [inline] serio_handle_event+0xd8/0x4f0 drivers/input/serio/serio.c:224 process_one_work+0x28b/0x680 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x3b6/0x550 kernel/workqueue.c:2784 kthread+0x11b/0x140 kernel/kthread.c:388 ret_from_fork+0x48/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 to a HARDIRQ-irq-unsafe lock: (tasklist_lock){.+.+}-{2:2} ... which became HARDIRQ-irq-unsafe at: ... lock_acquire+0xd2/0x260 kernel/locking/lockdep.c:5753 __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline] _raw_read_lock+0x33/0x40 kernel/locking/spinlock.c:228 do_wait+0xf8/0x4c0 kernel/exit.c:1607 kernel_wait+0xa2/0x100 kernel/exit.c:1797 call_usermodehelper_exec_sync kernel/umh.c:137 [inline] call_usermodehelper_exec_work+0x93/0x120 kernel/umh.c:164 process_one_work+0x28b/0x680 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x3b6/0x550 kernel/workqueue.c:2784 kthread+0x11b/0x140 kernel/kthread.c:388 ret_from_fork+0x48/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 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-executor.0/3375: #0: ffff88810aff8110 (&evdev->mutex){+.+.}-{3:3}, at: evdev_write+0xc7/0x260 drivers/input/evdev.c:513 #1: ffff88810a183230 (&dev->event_lock){-...}-{2:2}, at: input_inject_event+0x7a/0x290 drivers/input/input.c:460 #2: ffffffff83bad3b0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x40 include/linux/rcupdate.h:302 #3: ffffffff83bad3b0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x40 include/linux/rcupdate.h:302 #4: ffffffff83bad3b0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x40 include/linux/rcupdate.h:302 #5: ffff888110db0828 (&client->buffer_lock){....}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline] #5: ffff888110db0828 (&client->buffer_lock){....}-{2:2}, at: evdev_pass_values+0x81/0x3d0 drivers/input/evdev.c:261 #6: ffffffff83bad3b0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x40 include/linux/rcupdate.h:302 the dependencies between HARDIRQ-irq-safe lock and the holding lock: -> (&dev->event_lock){-...}-{2:2} { IN-HARDIRQ-W at: lock_acquire+0xd2/0x260 kernel/locking/lockdep.c:5753 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x5e/0x90 kernel/locking/spinlock.c:162 input_event+0x77/0xb0 drivers/input/input.c:434 input_report_key include/linux/input.h:425 [inline] psmouse_report_standard_buttons drivers/input/mouse/psmouse-base.c:128 [inline] psmouse_report_standard_packet+0x33/0x100 drivers/input/mouse/psmouse-base.c:146 psmouse_process_byte+0x2ce/0x2f0 drivers/input/mouse/psmouse-base.c:237 psmouse_handle_byte+0x17/0x190 drivers/input/mouse/psmouse-base.c:279 ps2_interrupt+0xbc/0x460 drivers/input/serio/libps2.c:613 serio_interrupt+0x4c/0xc0 drivers/input/serio/serio.c:998 i8042_interrupt+0x2d6/0x560 drivers/input/serio/i8042.c:606 __handle_irq_event_percpu+0xf7/0x460 kernel/irq/handle.c:158 handle_irq_event_percpu kernel/irq/handle.c:193 [inline] handle_irq_event+0x39/0xa0 kernel/irq/handle.c:210 handle_edge_irq+0xeb/0x350 kernel/irq/chip.c:831 generic_handle_irq_desc include/linux/irqdesc.h:161 [inline] handle_irq arch/x86/kernel/irq.c:238 [inline] __common_interrupt+0xce/0x160 arch/x86/kernel/irq.c:257 common_interrupt+0x7f/0x90 arch/x86/kernel/irq.c:247 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:636 __preempt_count_dec_and_test arch/x86/include/asm/preempt.h:95 [inline] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x69/0xa0 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] i8042_command drivers/input/serio/i8042.c:356 [inline] i8042_aux_write+0x86/0xb0 drivers/input/serio/i8042.c:391 serio_write include/linux/serio.h:125 [inline] ps2_do_sendbyte+0xad/0x3e0 drivers/input/serio/libps2.c:58 ps2_sendbyte+0x36/0x90 drivers/input/serio/libps2.c:113 cypress_ps2_sendbyte drivers/input/mouse/cypress_ps2.c:42 [inline] cypress_ps2_read_cmd_status drivers/input/mouse/cypress_ps2.c:116 [inline] cypress_send_ext_cmd+0x145/0x530 drivers/input/mouse/cypress_ps2.c:189 cypress_detect+0x47/0xf0 drivers/input/mouse/cypress_ps2.c:205 psmouse_do_detect drivers/input/mouse/psmouse-base.c:1006 [inline] psmouse_try_protocol drivers/input/mouse/psmouse-base.c:1020 [inline] psmouse_extensions+0xa06/0xe10 drivers/input/mouse/psmouse-base.c:1143 psmouse_switch_protocol+0x52/0x530 drivers/input/mouse/psmouse-base.c:1537 psmouse_connect+0x411/0x7f0 drivers/input/mouse/psmouse-base.c:1626 serio_connect_driver drivers/input/serio/serio.c:44 [inline] serio_driver_probe+0x3b/0x50 drivers/input/serio/serio.c:775 really_probe+0x1a0/0x660 drivers/base/dd.c:658 __driver_probe_device+0xdf/0x1e0 drivers/base/dd.c:800 driver_probe_device+0x2e/0x240 drivers/base/dd.c:830 __driver_attach+0x256/0x3a0 drivers/base/dd.c:1216 bus_for_each_dev+0x148/0x1b0 drivers/base/bus.c:368 serio_attach_driver drivers/input/serio/serio.c:804 [inline] serio_handle_event+0xd8/0x4f0 drivers/input/serio/serio.c:224 process_one_work+0x28b/0x680 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x3b6/0x550 kernel/workqueue.c:2784 kthread+0x11b/0x140 kernel/kthread.c:388 ret_from_fork+0x48/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 INITIAL USE at: lock_acquire+0xd2/0x260 kernel/locking/lockdep.c:5753 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x5e/0x90 kernel/locking/spinlock.c:162 input_inject_event+0x7a/0x290 drivers/input/input.c:460 kbd_update_leds_helper+0x5e/0xb0 drivers/tty/vt/keyboard.c:1118 kbd_start+0x52/0x70 drivers/tty/vt/keyboard.c:1622 input_register_handle+0x140/0x160 drivers/input/input.c:2579 kbd_connect+0x49/0xb0 drivers/tty/vt/keyboard.c:1589 input_attach_handler drivers/input/input.c:1064 [inline] input_register_device+0x758/0x8a0 drivers/input/input.c:2396 atkbd_connect+0x3bd/0x480 drivers/input/keyboard/atkbd.c:1298 serio_connect_driver drivers/input/serio/serio.c:44 [inline] serio_driver_probe+0x3b/0x50 drivers/input/serio/serio.c:775 really_probe+0x1a0/0x660 drivers/base/dd.c:658 __driver_probe_device+0xdf/0x1e0 drivers/base/dd.c:800 driver_probe_device+0x2e/0x240 drivers/base/dd.c:830 __driver_attach+0x256/0x3a0 drivers/base/dd.c:1216 bus_for_each_dev+0x148/0x1b0 drivers/base/bus.c:368 serio_attach_driver drivers/input/serio/serio.c:804 [inline] serio_handle_event+0xd8/0x4f0 drivers/input/serio/serio.c:224 process_one_work+0x28b/0x680 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x3b6/0x550 kernel/workqueue.c:2784 kthread+0x11b/0x140 kernel/kthread.c:388 ret_from_fork+0x48/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 } ... key at: [] input_allocate_device.__key.6+0x0/0x10 -> (&client->buffer_lock){....}-{2:2} { INITIAL USE at: lock_acquire+0xd2/0x260 kernel/locking/lockdep.c:5753 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2b/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] evdev_pass_values+0x81/0x3d0 drivers/input/evdev.c:261 evdev_events+0x127/0x230 drivers/input/evdev.c:306 input_to_handler drivers/input/input.c:129 [inline] input_pass_values+0x2dd/0x6f0 drivers/input/input.c:161 input_event_dispose+0x159/0x1d0 drivers/input/input.c:378 input_inject_event+0x181/0x290 drivers/input/input.c:465 evdev_write+0x1db/0x260 drivers/input/evdev.c:530 vfs_write+0x16b/0x4d0 fs/read_write.c:582 ksys_write+0xc6/0x170 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd } ... key at: [] evdev_open.__key.14+0x0/0x10 ... acquired at: __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2b/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] evdev_pass_values+0x81/0x3d0 drivers/input/evdev.c:261 evdev_events+0x127/0x230 drivers/input/evdev.c:306 input_to_handler drivers/input/input.c:129 [inline] input_pass_values+0x2dd/0x6f0 drivers/input/input.c:161 input_event_dispose+0x159/0x1d0 drivers/input/input.c:378 input_inject_event+0x181/0x290 drivers/input/input.c:465 evdev_write+0x1db/0x260 drivers/input/evdev.c:530 vfs_write+0x16b/0x4d0 fs/read_write.c:582 ksys_write+0xc6/0x170 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd the dependencies between the lock to be acquired and HARDIRQ-irq-unsafe lock: -> (tasklist_lock){.+.+}-{2:2} { HARDIRQ-ON-R at: lock_acquire+0xd2/0x260 kernel/locking/lockdep.c:5753 __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline] _raw_read_lock+0x33/0x40 kernel/locking/spinlock.c:228 do_wait+0xf8/0x4c0 kernel/exit.c:1607 kernel_wait+0xa2/0x100 kernel/exit.c:1797 call_usermodehelper_exec_sync kernel/umh.c:137 [inline] call_usermodehelper_exec_work+0x93/0x120 kernel/umh.c:164 process_one_work+0x28b/0x680 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x3b6/0x550 kernel/workqueue.c:2784 kthread+0x11b/0x140 kernel/kthread.c:388 ret_from_fork+0x48/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 SOFTIRQ-ON-R at: lock_acquire+0xd2/0x260 kernel/locking/lockdep.c:5753 __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline] _raw_read_lock+0x33/0x40 kernel/locking/spinlock.c:228 do_wait+0xf8/0x4c0 kernel/exit.c:1607 kernel_wait+0xa2/0x100 kernel/exit.c:1797 call_usermodehelper_exec_sync kernel/umh.c:137 [inline] call_usermodehelper_exec_work+0x93/0x120 kernel/umh.c:164 process_one_work+0x28b/0x680 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x3b6/0x550 kernel/workqueue.c:2784 kthread+0x11b/0x140 kernel/kthread.c:388 ret_from_fork+0x48/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 INITIAL USE at: lock_acquire+0xd2/0x260 kernel/locking/lockdep.c:5753 __raw_write_lock_irq include/linux/rwlock_api_smp.h:195 [inline] _raw_write_lock_irq+0x59/0x80 kernel/locking/spinlock.c:326 copy_process+0x1060/0x1aa0 kernel/fork.c:2626 kernel_clone+0x189/0x4e0 kernel/fork.c:2909 user_mode_thread+0xce/0x100 kernel/fork.c:2987 rest_init+0x23/0x250 init/main.c:691 arch_call_rest_init+0x9/0x10 init/main.c:823 start_kernel+0x3b1/0x3c0 init/main.c:1068 x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:556 x86_64_start_kernel+0x94/0xa0 arch/x86/kernel/head64.c:537 secondary_startup_64_no_verify+0x167/0x16b INITIAL READ USE at: lock_acquire+0xd2/0x260 kernel/locking/lockdep.c:5753 __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline] _raw_read_lock+0x33/0x40 kernel/locking/spinlock.c:228 do_wait+0xf8/0x4c0 kernel/exit.c:1607 kernel_wait+0xa2/0x100 kernel/exit.c:1797 call_usermodehelper_exec_sync kernel/umh.c:137 [inline] call_usermodehelper_exec_work+0x93/0x120 kernel/umh.c:164 process_one_work+0x28b/0x680 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x3b6/0x550 kernel/workqueue.c:2784 kthread+0x11b/0x140 kernel/kthread.c:388 ret_from_fork+0x48/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 } ... key at: [] tasklist_lock+0x18/0x40 ... acquired at: __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline] _raw_read_lock+0x33/0x40 kernel/locking/spinlock.c:228 send_sigio+0x9b/0x250 fs/fcntl.c:794 kill_fasync_rcu fs/fcntl.c:1005 [inline] kill_fasync+0x17d/0x340 fs/fcntl.c:1019 lease_break_callback+0x26/0x30 fs/locks.c:522 __break_lease+0x236/0x9c0 fs/locks.c:1537 break_lease include/linux/filelock.h:360 [inline] do_dentry_open+0x3f9/0x830 fs/open.c:920 do_open fs/namei.c:3639 [inline] path_openat+0x1240/0x16a0 fs/namei.c:3796 do_filp_open+0xc9/0x1b0 fs/namei.c:3823 do_sys_openat2+0xaa/0x110 fs/open.c:1422 do_sys_open fs/open.c:1437 [inline] __do_sys_open fs/open.c:1445 [inline] __se_sys_open fs/open.c:1441 [inline] __x64_sys_open+0xcb/0xf0 fs/open.c:1441 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd -> (&f->f_owner.lock){....}-{2:2} { INITIAL USE at: lock_acquire+0xd2/0x260 kernel/locking/lockdep.c:5753 __raw_write_lock_irq include/linux/rwlock_api_smp.h:195 [inline] _raw_write_lock_irq+0x59/0x80 kernel/locking/spinlock.c:326 f_modown+0x29/0x130 fs/fcntl.c:92 __f_setown fs/fcntl.c:111 [inline] f_setown_ex fs/fcntl.c:201 [inline] do_fcntl+0xc4e/0xd00 fs/fcntl.c:385 __do_sys_fcntl fs/fcntl.c:456 [inline] __se_sys_fcntl+0xb8/0x170 fs/fcntl.c:441 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd INITIAL READ USE at: lock_acquire+0xd2/0x260 kernel/locking/lockdep.c:5753 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline] _raw_read_lock_irqsave+0x66/0xa0 kernel/locking/spinlock.c:236 send_sigio+0x29/0x250 fs/fcntl.c:780 kill_fasync_rcu fs/fcntl.c:1005 [inline] kill_fasync+0x17d/0x340 fs/fcntl.c:1019 lease_break_callback+0x26/0x30 fs/locks.c:522 __break_lease+0x236/0x9c0 fs/locks.c:1537 break_lease include/linux/filelock.h:360 [inline] do_dentry_open+0x3f9/0x830 fs/open.c:920 do_open fs/namei.c:3639 [inline] path_openat+0x1240/0x16a0 fs/namei.c:3796 do_filp_open+0xc9/0x1b0 fs/namei.c:3823 do_sys_openat2+0xaa/0x110 fs/open.c:1422 do_sys_open fs/open.c:1437 [inline] __do_sys_open fs/open.c:1445 [inline] __se_sys_open fs/open.c:1441 [inline] __x64_sys_open+0xcb/0xf0 fs/open.c:1441 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd } ... key at: [] init_file.__key+0x0/0x10 ... acquired at: __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline] _raw_read_lock_irqsave+0x66/0xa0 kernel/locking/spinlock.c:236 send_sigio+0x29/0x250 fs/fcntl.c:780 kill_fasync_rcu fs/fcntl.c:1005 [inline] kill_fasync+0x17d/0x340 fs/fcntl.c:1019 lease_break_callback+0x26/0x30 fs/locks.c:522 __break_lease+0x236/0x9c0 fs/locks.c:1537 break_lease include/linux/filelock.h:360 [inline] do_dentry_open+0x3f9/0x830 fs/open.c:920 do_open fs/namei.c:3639 [inline] path_openat+0x1240/0x16a0 fs/namei.c:3796 do_filp_open+0xc9/0x1b0 fs/namei.c:3823 do_sys_openat2+0xaa/0x110 fs/open.c:1422 do_sys_open fs/open.c:1437 [inline] __do_sys_open fs/open.c:1445 [inline] __se_sys_open fs/open.c:1441 [inline] __x64_sys_open+0xcb/0xf0 fs/open.c:1441 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd -> (&new->fa_lock){....}-{2:2} { INITIAL READ USE at: lock_acquire+0xd2/0x260 kernel/locking/lockdep.c:5753 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline] _raw_read_lock_irqsave+0x66/0xa0 kernel/locking/spinlock.c:236 kill_fasync_rcu fs/fcntl.c:998 [inline] kill_fasync+0x12b/0x340 fs/fcntl.c:1019 lease_break_callback+0x26/0x30 fs/locks.c:522 __break_lease+0x236/0x9c0 fs/locks.c:1537 break_lease include/linux/filelock.h:360 [inline] do_dentry_open+0x3f9/0x830 fs/open.c:920 do_open fs/namei.c:3639 [inline] path_openat+0x1240/0x16a0 fs/namei.c:3796 do_filp_open+0xc9/0x1b0 fs/namei.c:3823 do_sys_openat2+0xaa/0x110 fs/open.c:1422 do_sys_open fs/open.c:1437 [inline] __do_sys_open fs/open.c:1445 [inline] __se_sys_open fs/open.c:1441 [inline] __x64_sys_open+0xcb/0xf0 fs/open.c:1441 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd } ... key at: [] fasync_insert_entry.__key+0x0/0x10 ... acquired at: __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline] _raw_read_lock_irqsave+0x66/0xa0 kernel/locking/spinlock.c:236 kill_fasync_rcu fs/fcntl.c:998 [inline] kill_fasync+0x12b/0x340 fs/fcntl.c:1019 __pass_event drivers/input/evdev.c:240 [inline] evdev_pass_values+0x2e4/0x3d0 drivers/input/evdev.c:278 evdev_events+0x127/0x230 drivers/input/evdev.c:306 input_to_handler drivers/input/input.c:129 [inline] input_pass_values+0x2dd/0x6f0 drivers/input/input.c:161 input_event_dispose+0x159/0x1d0 drivers/input/input.c:378 input_inject_event+0x181/0x290 drivers/input/input.c:465 evdev_write+0x1db/0x260 drivers/input/evdev.c:530 vfs_write+0x16b/0x4d0 fs/read_write.c:582 ksys_write+0xc6/0x170 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd stack backtrace: CPU: 1 PID: 3375 Comm: syz-executor.0 Not tainted 6.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xfe/0x190 lib/dump_stack.c:106 __lock_acquire+0x725/0x26a0 lock_acquire+0xd2/0x260 kernel/locking/lockdep.c:5753 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline] _raw_read_lock_irqsave+0x66/0xa0 kernel/locking/spinlock.c:236 kill_fasync_rcu fs/fcntl.c:998 [inline] kill_fasync+0x12b/0x340 fs/fcntl.c:1019 __pass_event drivers/input/evdev.c:240 [inline] evdev_pass_values+0x2e4/0x3d0 drivers/input/evdev.c:278 evdev_events+0x127/0x230 drivers/input/evdev.c:306 input_to_handler drivers/input/input.c:129 [inline] input_pass_values+0x2dd/0x6f0 drivers/input/input.c:161 input_event_dispose+0x159/0x1d0 drivers/input/input.c:378 input_inject_event+0x181/0x290 drivers/input/input.c:465 evdev_write+0x1db/0x260 drivers/input/evdev.c:530 vfs_write+0x16b/0x4d0 fs/read_write.c:582 ksys_write+0xc6/0x170 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fee25684b29 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fee252070c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fee257a3f80 RCX: 00007fee25684b29 RDX: 0000000000000079 RSI: 000000002004d000 RDI: 0000000000000005 RBP: 00007fee256d047a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007fee257a3f80 R15: 00007ffd97df37d8