=====================================================
WARNING: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected
6.0.0-syzkaller-00372-ga5088ee7251e #0 Not tainted
-----------------------------------------------------
syz-executor320/3607 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire:
ffff888020be6018 (&new->fa_lock){....}-{2:2}, at: kill_fasync_rcu fs/fcntl.c:996 [inline]
ffff888020be6018 (&new->fa_lock){....}-{2:2}, at: kill_fasync+0x13b/0x430 fs/fcntl.c:1017

and this task is already holding:
ffff88814acf3028 (&client->buffer_lock){....}-{2:2}, at: spin_lock include/linux/spinlock.h:349 [inline]
ffff88814acf3028 (&client->buffer_lock){....}-{2:2}, at: evdev_pass_values+0xe5/0xb90 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:2}

... which became HARDIRQ-irq-safe at:
  lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5666
  __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
  _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162
  input_event+0x89/0xc0 drivers/input/input.c:430
  input_report_key include/linux/input.h:425 [inline]
  psmouse_report_standard_buttons drivers/input/mouse/psmouse-base.c:123 [inline]
  psmouse_report_standard_packet+0x4f/0x200 drivers/input/mouse/psmouse-base.c:141
  psmouse_process_byte+0x447/0x630 drivers/input/mouse/psmouse-base.c:232
  psmouse_handle_byte+0x44/0x4a0 drivers/input/mouse/psmouse-base.c:274
  psmouse_interrupt+0x68a/0x1080 drivers/input/mouse/psmouse-base.c:426
  serio_interrupt+0x88/0x130 drivers/input/serio/serio.c:1001
  i8042_interrupt+0x32f/0x720 drivers/input/serio/i8042.c:606
  __handle_irq_event_percpu+0x200/0x620 kernel/irq/handle.c:158
  handle_irq_event_percpu kernel/irq/handle.c:193 [inline]
  handle_irq_event+0x83/0x1e0 kernel/irq/handle.c:210
  handle_edge_irq+0x245/0xbe0 kernel/irq/chip.c:819
  generic_handle_irq_desc include/linux/irqdesc.h:158 [inline]
  handle_irq arch/x86/kernel/irq.c:231 [inline]
  __common_interrupt+0xce/0x1e0 arch/x86/kernel/irq.c:250
  common_interrupt+0x9f/0xc0 arch/x86/kernel/irq.c:240
  asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:640
  __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
  _raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202
  process_one_work+0x796/0xd10 kernel/workqueue.c:2262
  worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
  kthread+0x266/0x300 kernel/kthread.c:376
  ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306

to a HARDIRQ-irq-unsafe lock:
 (tasklist_lock){.+.+}-{2:2}

... which became HARDIRQ-irq-unsafe at:
...
  lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5666
  __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline]
  _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
  do_wait+0x224/0x9d0 kernel/exit.c:1508
  kernel_wait+0xe4/0x230 kernel/exit.c:1698
  call_usermodehelper_exec_sync kernel/umh.c:139 [inline]
  call_usermodehelper_exec_work+0xb4/0x220 kernel/umh.c:166
  process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
  worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
  kthread+0x266/0x300 kernel/kthread.c:376
  ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306

other info that might help us debug this:

Chain exists of:
  &dev->event_lock#2 --> &client->buffer_lock --> tasklist_lock

 Possible interrupt unsafe locking scenario:

       CPU0                    CPU1
       ----                    ----
  lock(tasklist_lock);
                               local_irq_disable();
                               lock(&dev->event_lock#2);
                               lock(&client->buffer_lock);
  <Interrupt>
    lock(&dev->event_lock#2);

 *** DEADLOCK ***

7 locks held by syz-executor320/3607:
 #0: ffff888022fca110 (&evdev->mutex){+.+.}-{3:3}, at: evdev_write+0x26c/0x7d0 drivers/input/evdev.c:513
 #1: ffff8881462c3230 (&dev->event_lock#2){-...}-{2:2}, at: input_inject_event+0xb4/0x270 drivers/input/input.c:456
 #2: ffffffff8cd20b20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:303
 #3: ffffffff8cd20b20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:303
 #4: ffffffff8cd20b20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:303
 #5: ffff88814acf3028 (&client->buffer_lock){....}-{2:2}, at: spin_lock include/linux/spinlock.h:349 [inline]
 #5: ffff88814acf3028 (&client->buffer_lock){....}-{2:2}, at: evdev_pass_values+0xe5/0xb90 drivers/input/evdev.c:261
 #6: ffffffff8cd20b20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:303

the dependencies between HARDIRQ-irq-safe lock and the holding lock:
 -> (&dev->event_lock#2){-...}-{2:2} {
    IN-HARDIRQ-W at:
                      lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5666
                      __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
                      _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162
                      input_event+0x89/0xc0 drivers/input/input.c:430
                      input_report_key include/linux/input.h:425 [inline]
                      psmouse_report_standard_buttons drivers/input/mouse/psmouse-base.c:123 [inline]
                      psmouse_report_standard_packet+0x4f/0x200 drivers/input/mouse/psmouse-base.c:141
                      psmouse_process_byte+0x447/0x630 drivers/input/mouse/psmouse-base.c:232
                      psmouse_handle_byte+0x44/0x4a0 drivers/input/mouse/psmouse-base.c:274
                      psmouse_interrupt+0x68a/0x1080 drivers/input/mouse/psmouse-base.c:426
                      serio_interrupt+0x88/0x130 drivers/input/serio/serio.c:1001
                      i8042_interrupt+0x32f/0x720 drivers/input/serio/i8042.c:606
                      __handle_irq_event_percpu+0x200/0x620 kernel/irq/handle.c:158
                      handle_irq_event_percpu kernel/irq/handle.c:193 [inline]
                      handle_irq_event+0x83/0x1e0 kernel/irq/handle.c:210
                      handle_edge_irq+0x245/0xbe0 kernel/irq/chip.c:819
                      generic_handle_irq_desc include/linux/irqdesc.h:158 [inline]
                      handle_irq arch/x86/kernel/irq.c:231 [inline]
                      __common_interrupt+0xce/0x1e0 arch/x86/kernel/irq.c:250
                      common_interrupt+0x9f/0xc0 arch/x86/kernel/irq.c:240
                      asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:640
                      __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
                      _raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202
                      process_one_work+0x796/0xd10 kernel/workqueue.c:2262
                      worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
                      kthread+0x266/0x300 kernel/kthread.c:376
                      ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
    INITIAL USE at:
                     lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5666
                     __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
                     _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162
                     input_inject_event+0xb4/0x270 drivers/input/input.c:456
                     led_trigger_event+0xdb/0x190 drivers/leds/led-triggers.c:390
                     kbd_led_trigger_activate+0xb8/0x100 drivers/tty/vt/keyboard.c:1036
                     led_trigger_set+0x53b/0x910 drivers/leds/led-triggers.c:197
                     led_trigger_set_default+0x1d1/0x210 drivers/leds/led-triggers.c:262
                     led_classdev_register_ext+0x600/0x7f0 drivers/leds/led-class.c:415
                     led_classdev_register include/linux/leds.h:196 [inline]
                     input_leds_connect+0x55d/0x780 drivers/input/input-leds.c:139
                     input_attach_handler drivers/input/input.c:1060 [inline]
                     input_register_device+0xd90/0x1150 drivers/input/input.c:2396
                     atkbd_connect+0x796/0xa60 drivers/input/keyboard/atkbd.c:1282
                     serio_connect_driver drivers/input/serio/serio.c:47 [inline]
                     serio_driver_probe+0x76/0x90 drivers/input/serio/serio.c:778
                     call_driver_probe+0x96/0x250
                     really_probe+0x24c/0x9f0 drivers/base/dd.c:639
                     __driver_probe_device+0x1f4/0x3f0 drivers/base/dd.c:778
                     driver_probe_device+0x50/0x240 drivers/base/dd.c:808
                     __driver_attach+0x364/0x5b0 drivers/base/dd.c:1190
                     bus_for_each_dev+0x188/0x1f0 drivers/base/bus.c:301
                     serio_attach_driver drivers/input/serio/serio.c:807 [inline]
                     serio_handle_event+0x8bc/0x1060 drivers/input/serio/serio.c:227
                     process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
                     worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
                     kthread+0x266/0x300 kernel/kthread.c:376
                     ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
  }
  ... key      at: [<ffffffff91b61be0>] input_allocate_device.__key.5+0x0/0x20
-> (&client->buffer_lock){....}-{2:2} {
   INITIAL USE at:
                   lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5666
                   __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+0xe5/0xb90 drivers/input/evdev.c:261
                   evdev_events+0x195/0x280 drivers/input/evdev.c:306
                   input_to_handler drivers/input/input.c:127 [inline]
                   input_pass_values+0x8fc/0x12b0 drivers/input/input.c:159
                   input_event_dispose+0x33f/0x620 drivers/input/input.c:374
                   input_handle_event+0x3f2/0xa80 drivers/input/input.c:402
                   input_inject_event+0x189/0x270 drivers/input/input.c:461
                   evdev_write+0x685/0x7d0 drivers/input/evdev.c:530
                   vfs_write+0x2e5/0xbb0 fs/read_write.c:582
                   ksys_write+0x19b/0x2c0 fs/read_write.c:637
                   do_syscall_x64 arch/x86/entry/common.c:50 [inline]
                   do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
                   entry_SYSCALL_64_after_hwframe+0x63/0xcd
 }
 ... key      at: [<ffffffff91b61ea0>] evdev_open.__key.23+0x0/0x20
 ... acquired at:
   lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5666
   __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+0xe5/0xb90 drivers/input/evdev.c:261
   evdev_events+0x195/0x280 drivers/input/evdev.c:306
   input_to_handler drivers/input/input.c:127 [inline]
   input_pass_values+0x8fc/0x12b0 drivers/input/input.c:159
   input_event_dispose+0x33f/0x620 drivers/input/input.c:374
   input_handle_event+0x3f2/0xa80 drivers/input/input.c:402
   input_inject_event+0x189/0x270 drivers/input/input.c:461
   evdev_write+0x685/0x7d0 drivers/input/evdev.c:530
   vfs_write+0x2e5/0xbb0 fs/read_write.c:582
   ksys_write+0x19b/0x2c0 fs/read_write.c:637
   do_syscall_x64 arch/x86/entry/common.c:50 [inline]
   do_syscall_64+0x2b/0x70 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+0x1a7/0x400 kernel/locking/lockdep.c:5666
                        __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline]
                        _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
                        do_wait+0x224/0x9d0 kernel/exit.c:1508
                        kernel_wait+0xe4/0x230 kernel/exit.c:1698
                        call_usermodehelper_exec_sync kernel/umh.c:139 [inline]
                        call_usermodehelper_exec_work+0xb4/0x220 kernel/umh.c:166
                        process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
                        worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
                        kthread+0x266/0x300 kernel/kthread.c:376
                        ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
     SOFTIRQ-ON-R at:
                        lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5666
                        __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline]
                        _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
                        do_wait+0x224/0x9d0 kernel/exit.c:1508
                        kernel_wait+0xe4/0x230 kernel/exit.c:1698
                        call_usermodehelper_exec_sync kernel/umh.c:139 [inline]
                        call_usermodehelper_exec_work+0xb4/0x220 kernel/umh.c:166
                        process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
                        worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
                        kthread+0x266/0x300 kernel/kthread.c:376
                        ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
     INITIAL USE at:
                       lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5666
                       __raw_write_lock_irq include/linux/rwlock_api_smp.h:195 [inline]
                       _raw_write_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:326
                       copy_process+0x2445/0x3f60 kernel/fork.c:2388
                       kernel_clone+0x22f/0x7a0 kernel/fork.c:2671
                       user_mode_thread+0x12d/0x190 kernel/fork.c:2740
                       rest_init+0x21/0x270 init/main.c:692
                       start_kernel+0x0/0x55b init/main.c:883
                       start_kernel+0x4ac/0x55b init/main.c:1138
                       secondary_startup_64_no_verify+0xcf/0xdb
     INITIAL READ USE at:
                            lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5666
                            __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline]
                            _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
                            do_wait+0x224/0x9d0 kernel/exit.c:1508
                            kernel_wait+0xe4/0x230 kernel/exit.c:1698
                            call_usermodehelper_exec_sync kernel/umh.c:139 [inline]
                            call_usermodehelper_exec_work+0xb4/0x220 kernel/umh.c:166
                            process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
                            worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
                            kthread+0x266/0x300 kernel/kthread.c:376
                            ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
   }
   ... key      at: [<ffffffff8ca0a058>] tasklist_lock+0x18/0x40
   ... acquired at:
   lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5666
   __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline]
   _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
   send_sigio+0xbe/0x300 fs/fcntl.c:792
   kill_fasync_rcu fs/fcntl.c:1003 [inline]
   kill_fasync+0x1e4/0x430 fs/fcntl.c:1017
   sock_wake_async+0x130/0x150
   rcu_read_unlock include/linux/rcupdate.h:767 [inline]
   sk_wake_async+0x12e/0x200 include/net/sock.h:2500
   sock_def_readable+0x152/0x200 net/core/sock.c:3223
   unix_dgram_sendmsg+0x1551/0x2050 net/unix/af_unix.c:2045
   sock_sendmsg_nosec net/socket.c:714 [inline]
   sock_sendmsg net/socket.c:734 [inline]
   ____sys_sendmsg+0x597/0x8e0 net/socket.c:2482
   ___sys_sendmsg net/socket.c:2536 [inline]
   __sys_sendmmsg+0x3d7/0x770 net/socket.c:2622
   __do_sys_sendmmsg net/socket.c:2651 [inline]
   __se_sys_sendmmsg net/socket.c:2648 [inline]
   __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2648
   do_syscall_x64 arch/x86/entry/common.c:50 [inline]
   do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
   entry_SYSCALL_64_after_hwframe+0x63/0xcd

 -> (&f->f_owner.lock){....}-{2:2} {
    INITIAL USE at:
                     lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5666
                     __raw_write_lock_irq include/linux/rwlock_api_smp.h:195 [inline]
                     _raw_write_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:326
                     f_modown+0x38/0x340 fs/fcntl.c:91
                     __f_setown fs/fcntl.c:110 [inline]
                     f_setown+0x113/0x1a0 fs/fcntl.c:138
                     sock_ioctl+0x591/0x770 net/socket.c:1229
                     vfs_ioctl fs/ioctl.c:51 [inline]
                     __do_sys_ioctl fs/ioctl.c:870 [inline]
                     __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:856
                     do_syscall_x64 arch/x86/entry/common.c:50 [inline]
                     do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
                     entry_SYSCALL_64_after_hwframe+0x63/0xcd
    INITIAL READ USE at:
                          lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5666
                          __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline]
                          _raw_read_lock_irqsave+0xd9/0x120 kernel/locking/spinlock.c:236
                          send_sigio+0x2f/0x300 fs/fcntl.c:778
                          kill_fasync_rcu fs/fcntl.c:1003 [inline]
                          kill_fasync+0x1e4/0x430 fs/fcntl.c:1017
                          sock_wake_async+0x130/0x150
                          rcu_read_unlock include/linux/rcupdate.h:767 [inline]
                          sk_wake_async+0x12e/0x200 include/net/sock.h:2500
                          sock_def_readable+0x152/0x200 net/core/sock.c:3223
                          unix_dgram_sendmsg+0x1551/0x2050 net/unix/af_unix.c:2045
                          sock_sendmsg_nosec net/socket.c:714 [inline]
                          sock_sendmsg net/socket.c:734 [inline]
                          ____sys_sendmsg+0x597/0x8e0 net/socket.c:2482
                          ___sys_sendmsg net/socket.c:2536 [inline]
                          __sys_sendmmsg+0x3d7/0x770 net/socket.c:2622
                          __do_sys_sendmmsg net/socket.c:2651 [inline]
                          __se_sys_sendmmsg net/socket.c:2648 [inline]
                          __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2648
                          do_syscall_x64 arch/x86/entry/common.c:50 [inline]
                          do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
                          entry_SYSCALL_64_after_hwframe+0x63/0xcd
  }
  ... key      at: [<ffffffff918669a0>] __alloc_file.__key+0x0/0x10
  ... acquired at:
   lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5666
   __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline]
   _raw_read_lock_irqsave+0xd9/0x120 kernel/locking/spinlock.c:236
   send_sigio+0x2f/0x300 fs/fcntl.c:778
   kill_fasync_rcu fs/fcntl.c:1003 [inline]
   kill_fasync+0x1e4/0x430 fs/fcntl.c:1017
   sock_wake_async+0x130/0x150
   rcu_read_unlock include/linux/rcupdate.h:767 [inline]
   sk_wake_async+0x12e/0x200 include/net/sock.h:2500
   sock_def_readable+0x152/0x200 net/core/sock.c:3223
   unix_dgram_sendmsg+0x1551/0x2050 net/unix/af_unix.c:2045
   sock_sendmsg_nosec net/socket.c:714 [inline]
   sock_sendmsg net/socket.c:734 [inline]
   ____sys_sendmsg+0x597/0x8e0 net/socket.c:2482
   ___sys_sendmsg net/socket.c:2536 [inline]
   __sys_sendmmsg+0x3d7/0x770 net/socket.c:2622
   __do_sys_sendmmsg net/socket.c:2651 [inline]
   __se_sys_sendmmsg net/socket.c:2648 [inline]
   __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2648
   do_syscall_x64 arch/x86/entry/common.c:50 [inline]
   do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
   entry_SYSCALL_64_after_hwframe+0x63/0xcd

-> (&new->fa_lock){....}-{2:2} {
   INITIAL READ USE at:
                        lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5666
                        __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline]
                        _raw_read_lock_irqsave+0xd9/0x120 kernel/locking/spinlock.c:236
                        kill_fasync_rcu fs/fcntl.c:996 [inline]
                        kill_fasync+0x13b/0x430 fs/fcntl.c:1017
                        sock_wake_async+0x130/0x150
                        rcu_read_unlock include/linux/rcupdate.h:767 [inline]
                        sk_wake_async+0x12e/0x200 include/net/sock.h:2500
                        sock_def_readable+0x152/0x200 net/core/sock.c:3223
                        unix_dgram_sendmsg+0x1551/0x2050 net/unix/af_unix.c:2045
                        sock_sendmsg_nosec net/socket.c:714 [inline]
                        sock_sendmsg net/socket.c:734 [inline]
                        ____sys_sendmsg+0x597/0x8e0 net/socket.c:2482
                        ___sys_sendmsg net/socket.c:2536 [inline]
                        __sys_sendmmsg+0x3d7/0x770 net/socket.c:2622
                        __do_sys_sendmmsg net/socket.c:2651 [inline]
                        __se_sys_sendmmsg net/socket.c:2648 [inline]
                        __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2648
                        do_syscall_x64 arch/x86/entry/common.c:50 [inline]
                        do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
                        entry_SYSCALL_64_after_hwframe+0x63/0xcd
 }
 ... key      at: [<ffffffff91867620>] fasync_insert_entry.__key+0x0/0x20
 ... acquired at:
   lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5666
   __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline]
   _raw_read_lock_irqsave+0xd9/0x120 kernel/locking/spinlock.c:236
   kill_fasync_rcu fs/fcntl.c:996 [inline]
   kill_fasync+0x13b/0x430 fs/fcntl.c:1017
   __pass_event drivers/input/evdev.c:240 [inline]
   evdev_pass_values+0x5b1/0xb90 drivers/input/evdev.c:278
   evdev_events+0x195/0x280 drivers/input/evdev.c:306
   input_to_handler drivers/input/input.c:127 [inline]
   input_pass_values+0x8fc/0x12b0 drivers/input/input.c:159
   input_event_dispose+0x33f/0x620 drivers/input/input.c:374
   input_handle_event+0x3f2/0xa80 drivers/input/input.c:402
   input_inject_event+0x189/0x270 drivers/input/input.c:461
   evdev_write+0x685/0x7d0 drivers/input/evdev.c:530
   vfs_write+0x2e5/0xbb0 fs/read_write.c:582
   ksys_write+0x19b/0x2c0 fs/read_write.c:637
   do_syscall_x64 arch/x86/entry/common.c:50 [inline]
   do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
   entry_SYSCALL_64_after_hwframe+0x63/0xcd


stack backtrace:
CPU: 0 PID: 3607 Comm: syz-executor320 Not tainted 6.0.0-syzkaller-00372-ga5088ee7251e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
 print_bad_irq_dependency kernel/locking/lockdep.c:2609 [inline]
 check_irq_usage kernel/locking/lockdep.c:2848 [inline]
 check_prev_add kernel/locking/lockdep.c:3099 [inline]
 check_prevs_add kernel/locking/lockdep.c:3214 [inline]
 validate_chain+0x575e/0x6600 kernel/locking/lockdep.c:3829
 __lock_acquire+0x1292/0x1f60 kernel/locking/lockdep.c:5053
 lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5666
 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline]
 _raw_read_lock_irqsave+0xd9/0x120 kernel/locking/spinlock.c:236
 kill_fasync_rcu fs/fcntl.c:996 [inline]
 kill_fasync+0x13b/0x430 fs/fcntl.c:1017
 __pass_event drivers/input/evdev.c:240 [inline]
 evdev_pass_values+0x5b1/0xb90 drivers/input/evdev.c:278
 evdev_events+0x195/0x280 drivers/input/evdev.c:306
 input_to_handler drivers/input/input.c:127 [inline]
 input_pass_values+0x8fc/0x12b0 drivers/input/input.c:159
 input_event_dispose+0x33f/0x620 drivers/input/input.c:374
 input_handle_event+0x3f2/0xa80 drivers/input/input.c:402
 input_inject_event+0x189/0x270 drivers/input/input.c:461
 evdev_write+0x685/0x7d0 drivers/input/evdev.c:530
 vfs_write+0x2e5/0xbb0 fs/read_write.c:582
 ksys_write+0x19b/0x2c0 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f8c6503b729
Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe0f107378 EFLAGS: 00000246 ORIG_RAX: 0000000000000001