syzbot


possible deadlock in input_event (2)

Status: upstream: reported C repro on 2021/11/10 17:01
Subsystems: kernfs
[Documentation on labels]
Reported-by: syzbot+d4c06e848a1c1f9f726f@syzkaller.appspotmail.com
First crash: 835d, last: 1h16m
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: possible deadlock in input_event (log)
Repro: C syz .config
  
Discussions (8)
Title Replies (including bot) Last reply
[syzbot] Monthly kernfs report (Feb 2024) 0 (1) 2024/02/02 21:05
[syzbot] Monthly kernfs report (Jan 2024) 0 (1) 2024/01/02 13:36
[syzbot] Monthly kernfs report (Nov 2023) 0 (1) 2023/11/29 13:03
[syzbot] Monthly fs report (Nov 2023) 0 (1) 2023/11/11 01:08
[syzbot] Monthly fs report (Oct 2023) 0 (1) 2023/10/10 13:22
[syzbot] Monthly fs report (Aug 2023) 0 (1) 2023/08/08 12:55
[syzbot] Monthly fs report (Jul 2023) 0 (1) 2023/07/10 09:36
[syzbot] possible deadlock in input_event (2) 0 (2) 2021/12/13 02:42
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 possible deadlock in input_event origin:upstream C 24 20d 244d 0/3 upstream: reported C repro on 2023/06/23 12:11
upstream possible deadlock in input_event C done 2740 835d 1140d 0/26 closed as dup on 2021/07/07 07:31
linux-5.15 possible deadlock in input_event origin:upstream missing-backport C 44 8d15h 220d 0/3 upstream: reported C repro on 2023/07/17 14:44
Last patch testing requests (10)
Created Duration User Patch Repo Result
2023/09/14 21:08 24m retest repro upstream OK log
2023/09/14 21:08 20m retest repro upstream OK log
2023/09/14 21:08 19m retest repro upstream OK log
2023/09/14 21:08 19m retest repro upstream OK log
2023/09/14 21:08 19m retest repro upstream OK log
2023/09/13 21:42 20m retest repro upstream OK log
2023/09/13 21:42 19m retest repro upstream OK log
2023/09/13 21:42 20m retest repro upstream OK log
2023/09/13 21:42 20m retest repro upstream OK log
2023/09/13 21:42 31m retest repro upstream OK log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/04/02 08:31 34m bisect fix upstream job log (0) log

Sample crash report:
=====================================================
WARNING: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected
6.7.0-rc7-syzkaller-00016-gf5837722ffec #0 Not tainted
-----------------------------------------------------
syz-executor424/5070 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire:
ffff888017247c98 (&f->f_owner.lock){...-}-{2:2}, at: send_sigio+0x28/0x3c0 fs/fcntl.c:780

and this task is already holding:
ffff88801a398018 (&new->fa_lock){....}-{2:2}, at: kill_fasync_rcu fs/fcntl.c:998 [inline]
ffff88801a398018 (&new->fa_lock){....}-{2:2}, at: kill_fasync fs/fcntl.c:1019 [inline]
ffff88801a398018 (&new->fa_lock){....}-{2:2}, at: kill_fasync+0x138/0x4f0 fs/fcntl.c:1012
which would create a new lock dependency:
 (&new->fa_lock){....}-{2:2} -> (&f->f_owner.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 kernel/locking/lockdep.c:5754 [inline]
  lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719
  __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
  _raw_spin_lock_irqsave+0x3a/0x50 kernel/locking/spinlock.c:162
  input_event drivers/input/input.c:434 [inline]
  input_event+0x70/0xa0 drivers/input/input.c:427
  input_report_key include/linux/input.h:425 [inline]
  psmouse_report_standard_buttons+0x30/0x80 drivers/input/mouse/psmouse-base.c:128
  psmouse_report_standard_packet drivers/input/mouse/psmouse-base.c:146 [inline]
  psmouse_process_byte+0x39c/0x8a0 drivers/input/mouse/psmouse-base.c:237
  psmouse_handle_byte+0x41/0x560 drivers/input/mouse/psmouse-base.c:279
  psmouse_receive_byte+0x243/0xe10 drivers/input/mouse/psmouse-base.c:426
  ps2_interrupt+0x1fe/0x5a0 drivers/input/serio/libps2.c:613
  serio_interrupt+0x8d/0x150 drivers/input/serio/serio.c:998
  i8042_interrupt+0x3f2/0x8a0 drivers/input/serio/i8042.c:606
  __handle_irq_event_percpu+0x22a/0x750 kernel/irq/handle.c:158
  handle_irq_event_percpu kernel/irq/handle.c:193 [inline]
  handle_irq_event+0xab/0x1e0 kernel/irq/handle.c:210
  handle_edge_irq+0x261/0xcf0 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+0xdb/0x240 arch/x86/kernel/irq.c:257
  common_interrupt+0xab/0xd0 arch/x86/kernel/irq.c:247
  asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:640
  __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
  _raw_spin_unlock_irqrestore+0x31/0x70 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+0x11a/0x180 drivers/input/serio/i8042.c:391
  serio_write include/linux/serio.h:125 [inline]
  ps2_do_sendbyte+0x264/0x6e0 drivers/input/serio/libps2.c:58
  ps2_sendbyte+0x59/0x140 drivers/input/serio/libps2.c:113
  cypress_ps2_sendbyte+0x2e/0x160 drivers/input/mouse/cypress_ps2.c:42
  cypress_ps2_read_cmd_status drivers/input/mouse/cypress_ps2.c:116 [inline]
  cypress_send_ext_cmd+0x1e3/0x8c0 drivers/input/mouse/cypress_ps2.c:189
  cypress_detect+0x8c/0x1a0 drivers/input/mouse/cypress_ps2.c:205
  psmouse_do_detect drivers/input/mouse/psmouse-base.c:1006 [inline]
  psmouse_try_protocol+0x214/0x370 drivers/input/mouse/psmouse-base.c:1020
  psmouse_extensions+0x616/0x960 drivers/input/mouse/psmouse-base.c:1143
  psmouse_switch_protocol+0x528/0x740 drivers/input/mouse/psmouse-base.c:1537
  psmouse_connect+0x5cc/0xf70 drivers/input/mouse/psmouse-base.c:1626
  serio_connect_driver drivers/input/serio/serio.c:44 [inline]
  serio_driver_probe+0x71/0xa0 drivers/input/serio/serio.c:775
  call_driver_probe drivers/base/dd.c:579 [inline]
  really_probe+0x234/0xc90 drivers/base/dd.c:658
  __driver_probe_device+0x1de/0x4b0 drivers/base/dd.c:800
  driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:830
  __device_attach_driver+0x1d4/0x300 drivers/base/dd.c:958
  bus_for_each_drv+0x157/0x1d0 drivers/base/bus.c:457
  __device_attach+0x1e8/0x4b0 drivers/base/dd.c:1030
  bus_probe_device+0x17c/0x1c0 drivers/base/bus.c:532
  device_add+0x117e/0x1aa0 drivers/base/core.c:3625
  serio_add_port drivers/input/serio/serio.c:539 [inline]
  serio_handle_event+0x63b/0xa90 drivers/input/serio/serio.c:207
  process_one_work+0x886/0x15d0 kernel/workqueue.c:2627
  process_scheduled_works kernel/workqueue.c:2700 [inline]
  worker_thread+0x8b9/0x1290 kernel/workqueue.c:2781
  kthread+0x2c6/0x3a0 kernel/kthread.c:388
  ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
  ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242

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

... which became HARDIRQ-irq-unsafe at:
...
  lock_acquire kernel/locking/lockdep.c:5754 [inline]
  lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719
  __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline]
  _raw_read_lock+0x5f/0x70 kernel/locking/spinlock.c:228
  __do_wait+0x105/0x890 kernel/exit.c:1582
  do_wait+0x212/0x530 kernel/exit.c:1626
  kernel_wait+0xa0/0x150 kernel/exit.c:1802
  call_usermodehelper_exec_sync kernel/umh.c:137 [inline]
  call_usermodehelper_exec_work+0xf1/0x170 kernel/umh.c:164
  process_one_work+0x886/0x15d0 kernel/workqueue.c:2627
  process_scheduled_works kernel/workqueue.c:2700 [inline]
  worker_thread+0x8b9/0x1290 kernel/workqueue.c:2781
  kthread+0x2c6/0x3a0 kernel/kthread.c:388
  ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
  ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242

other info that might help us debug this:

Chain exists of:
  &dev->event_lock#2 --> &new->fa_lock --> tasklist_lock

 Possible interrupt unsafe locking scenario:

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

 *** DEADLOCK ***

8 locks held by syz-executor424/5070:
 #0: ffff888143b61110 (&evdev->mutex){+.+.}-{3:3}, at: evdev_write+0x201/0x750 drivers/input/evdev.c:513
 #1: ffff8881400c2230 (&dev->event_lock#2){-...}-{2:2}, at: input_inject_event+0xa4/0x370 drivers/input/input.c:460
 #2: ffffffff8cfab760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline]
 #2: ffffffff8cfab760 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline]
 #2: ffffffff8cfab760 (rcu_read_lock){....}-{1:2}, at: input_inject_event+0xca/0x370 drivers/input/input.c:462
 #3: ffffffff8cfab760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline]
 #3: ffffffff8cfab760 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline]
 #3: ffffffff8cfab760 (rcu_read_lock){....}-{1:2}, at: input_pass_values+0xb2/0x840 drivers/input/input.c:153
 #4: ffffffff8cfab760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline]
 #4: ffffffff8cfab760 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline]
 #4: ffffffff8cfab760 (rcu_read_lock){....}-{1:2}, at: evdev_events+0x87/0x390 drivers/input/evdev.c:298
 #5: ffff888141b83028 (&client->buffer_lock){....}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline]
 #5: ffff888141b83028 (&client->buffer_lock){....}-{2:2}, at: evdev_pass_values+0x10e/0x9b0 drivers/input/evdev.c:261
 #6: ffffffff8cfab760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline]
 #6: ffffffff8cfab760 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline]
 #6: ffffffff8cfab760 (rcu_read_lock){....}-{1:2}, at: kill_fasync fs/fcntl.c:1018 [inline]
 #6: ffffffff8cfab760 (rcu_read_lock){....}-{1:2}, at: kill_fasync+0x6d/0x4f0 fs/fcntl.c:1012
 #7: ffff88801a398018 (&new->fa_lock){....}-{2:2}, at: kill_fasync_rcu fs/fcntl.c:998 [inline]
 #7: ffff88801a398018 (&new->fa_lock){....}-{2:2}, at: kill_fasync fs/fcntl.c:1019 [inline]
 #7: ffff88801a398018 (&new->fa_lock){....}-{2:2}, at: kill_fasync+0x138/0x4f0 fs/fcntl.c:1012

the dependencies between HARDIRQ-irq-safe lock and the holding lock:
  -> (&dev->event_lock#2){-...}-{2:2} {
     IN-HARDIRQ-W at:
                        lock_acquire kernel/locking/lockdep.c:5754 [inline]
                        lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719
                        __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
                        _raw_spin_lock_irqsave+0x3a/0x50 kernel/locking/spinlock.c:162
                        input_event drivers/input/input.c:434 [inline]
                        input_event+0x70/0xa0 drivers/input/input.c:427
                        input_report_key include/linux/input.h:425 [inline]
                        psmouse_report_standard_buttons+0x30/0x80 drivers/input/mouse/psmouse-base.c:128
                        psmouse_report_standard_packet drivers/input/mouse/psmouse-base.c:146 [inline]
                        psmouse_process_byte+0x39c/0x8a0 drivers/input/mouse/psmouse-base.c:237
                        psmouse_handle_byte+0x41/0x560 drivers/input/mouse/psmouse-base.c:279
                        psmouse_receive_byte+0x243/0xe10 drivers/input/mouse/psmouse-base.c:426
                        ps2_interrupt+0x1fe/0x5a0 drivers/input/serio/libps2.c:613
                        serio_interrupt+0x8d/0x150 drivers/input/serio/serio.c:998
                        i8042_interrupt+0x3f2/0x8a0 drivers/input/serio/i8042.c:606
                        __handle_irq_event_percpu+0x22a/0x750 kernel/irq/handle.c:158
                        handle_irq_event_percpu kernel/irq/handle.c:193 [inline]
                        handle_irq_event+0xab/0x1e0 kernel/irq/handle.c:210
                        handle_edge_irq+0x261/0xcf0 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+0xdb/0x240 arch/x86/kernel/irq.c:257
                        common_interrupt+0xab/0xd0 arch/x86/kernel/irq.c:247
                        asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:640
                        __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
                        _raw_spin_unlock_irqrestore+0x31/0x70 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+0x11a/0x180 drivers/input/serio/i8042.c:391
                        serio_write include/linux/serio.h:125 [inline]
                        ps2_do_sendbyte+0x264/0x6e0 drivers/input/serio/libps2.c:58
                        ps2_sendbyte+0x59/0x140 drivers/input/serio/libps2.c:113
                        cypress_ps2_sendbyte+0x2e/0x160 drivers/input/mouse/cypress_ps2.c:42
                        cypress_ps2_read_cmd_status drivers/input/mouse/cypress_ps2.c:116 [inline]
                        cypress_send_ext_cmd+0x1e3/0x8c0 drivers/input/mouse/cypress_ps2.c:189
                        cypress_detect+0x8c/0x1a0 drivers/input/mouse/cypress_ps2.c:205
                        psmouse_do_detect drivers/input/mouse/psmouse-base.c:1006 [inline]
                        psmouse_try_protocol+0x214/0x370 drivers/input/mouse/psmouse-base.c:1020
                        psmouse_extensions+0x616/0x960 drivers/input/mouse/psmouse-base.c:1143
                        psmouse_switch_protocol+0x528/0x740 drivers/input/mouse/psmouse-base.c:1537
                        psmouse_connect+0x5cc/0xf70 drivers/input/mouse/psmouse-base.c:1626
                        serio_connect_driver drivers/input/serio/serio.c:44 [inline]
                        serio_driver_probe+0x71/0xa0 drivers/input/serio/serio.c:775
                        call_driver_probe drivers/base/dd.c:579 [inline]
                        really_probe+0x234/0xc90 drivers/base/dd.c:658
                        __driver_probe_device+0x1de/0x4b0 drivers/base/dd.c:800
                        driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:830
                        __device_attach_driver+0x1d4/0x300 drivers/base/dd.c:958
                        bus_for_each_drv+0x157/0x1d0 drivers/base/bus.c:457
                        __device_attach+0x1e8/0x4b0 drivers/base/dd.c:1030
                        bus_probe_device+0x17c/0x1c0 drivers/base/bus.c:532
                        device_add+0x117e/0x1aa0 drivers/base/core.c:3625
                        serio_add_port drivers/input/serio/serio.c:539 [inline]
                        serio_handle_event+0x63b/0xa90 drivers/input/serio/serio.c:207
                        process_one_work+0x886/0x15d0 kernel/workqueue.c:2627
                        process_scheduled_works kernel/workqueue.c:2700 [inline]
                        worker_thread+0x8b9/0x1290 kernel/workqueue.c:2781
                        kthread+0x2c6/0x3a0 kernel/kthread.c:388
                        ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
                        ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
     INITIAL USE at:
                       lock_acquire kernel/locking/lockdep.c:5754 [inline]
                       lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719
                       __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
                       _raw_spin_lock_irqsave+0x3a/0x50 kernel/locking/spinlock.c:162
                       input_event drivers/input/input.c:434 [inline]
                       input_event+0x70/0xa0 drivers/input/input.c:427
                       input_report_key include/linux/input.h:425 [inline]
                       psmouse_report_standard_buttons+0x30/0x80 drivers/input/mouse/psmouse-base.c:128
                       psmouse_report_standard_packet drivers/input/mouse/psmouse-base.c:146 [inline]
                       psmouse_process_byte+0x39c/0x8a0 drivers/input/mouse/psmouse-base.c:237
                       psmouse_handle_byte+0x41/0x560 drivers/input/mouse/psmouse-base.c:279
                       psmouse_receive_byte+0x243/0xe10 drivers/input/mouse/psmouse-base.c:426
                       ps2_interrupt+0x1fe/0x5a0 drivers/input/serio/libps2.c:613
                       serio_interrupt+0x8d/0x150 drivers/input/serio/serio.c:998
                       i8042_interrupt+0x3f2/0x8a0 drivers/input/serio/i8042.c:606
                       __handle_irq_event_percpu+0x22a/0x750 kernel/irq/handle.c:158
                       handle_irq_event_percpu kernel/irq/handle.c:193 [inline]
                       handle_irq_event+0xab/0x1e0 kernel/irq/handle.c:210
                       handle_edge_irq+0x261/0xcf0 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+0xdb/0x240 arch/x86/kernel/irq.c:257
                       common_interrupt+0xab/0xd0 arch/x86/kernel/irq.c:247
                       asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:640
                       __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
                       _raw_spin_unlock_irqrestore+0x31/0x70 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+0x11a/0x180 drivers/input/serio/i8042.c:391
                       serio_write include/linux/serio.h:125 [inline]
                       ps2_do_sendbyte+0x264/0x6e0 drivers/input/serio/libps2.c:58
                       ps2_sendbyte+0x59/0x140 drivers/input/serio/libps2.c:113
                       cypress_ps2_sendbyte+0x2e/0x160 drivers/input/mouse/cypress_ps2.c:42
                       cypress_ps2_read_cmd_status drivers/input/mouse/cypress_ps2.c:116 [inline]
                       cypress_send_ext_cmd+0x1e3/0x8c0 drivers/input/mouse/cypress_ps2.c:189
                       cypress_detect+0x8c/0x1a0 drivers/input/mouse/cypress_ps2.c:205
                       psmouse_do_detect drivers/input/mouse/psmouse-base.c:1006 [inline]
                       psmouse_try_protocol+0x214/0x370 drivers/input/mouse/psmouse-base.c:1020
                       psmouse_extensions+0x616/0x960 drivers/input/mouse/psmouse-base.c:1143
                       psmouse_switch_protocol+0x528/0x740 drivers/input/mouse/psmouse-base.c:1537
                       psmouse_connect+0x5cc/0xf70 drivers/input/mouse/psmouse-base.c:1626
                       serio_connect_driver drivers/input/serio/serio.c:44 [inline]
                       serio_driver_probe+0x71/0xa0 drivers/input/serio/serio.c:775
                       call_driver_probe drivers/base/dd.c:579 [inline]
                       really_probe+0x234/0xc90 drivers/base/dd.c:658
                       __driver_probe_device+0x1de/0x4b0 drivers/base/dd.c:800
                       driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:830
                       __device_attach_driver+0x1d4/0x300 drivers/base/dd.c:958
                       bus_for_each_drv+0x157/0x1d0 drivers/base/bus.c:457
                       __device_attach+0x1e8/0x4b0 drivers/base/dd.c:1030
                       bus_probe_device+0x17c/0x1c0 drivers/base/bus.c:532
                       device_add+0x117e/0x1aa0 drivers/base/core.c:3625
                       serio_add_port drivers/input/serio/serio.c:539 [inline]
                       serio_handle_event+0x63b/0xa90 drivers/input/serio/serio.c:207
                       process_one_work+0x886/0x15d0 kernel/workqueue.c:2627
                       process_scheduled_works kernel/workqueue.c:2700 [inline]
                       worker_thread+0x8b9/0x1290 kernel/workqueue.c:2781
                       kthread+0x2c6/0x3a0 kernel/kthread.c:388
                       ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
                       ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
   }
   ... key      at: [<ffffffff92ada6c0>] __key.6+0x0/0x40
 -> (&client->buffer_lock){....}-{2:2} {
    INITIAL USE at:
                     lock_acquire kernel/locking/lockdep.c:5754 [inline]
                     lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719
                     __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
                     _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
                     spin_lock include/linux/spinlock.h:351 [inline]
                     evdev_pass_values+0x10e/0x9b0 drivers/input/evdev.c:261
                     evdev_events+0x1b7/0x390 drivers/input/evdev.c:306
                     input_to_handler+0x29e/0x4c0 drivers/input/input.c:129
                     input_pass_values+0x5c9/0x840 drivers/input/input.c:161
                     input_event_dispose+0x377/0x630 drivers/input/input.c:378
                     input_handle_event+0x11c/0xd80 drivers/input/input.c:406
                     input_inject_event+0x1bb/0x370 drivers/input/input.c:465
                     evdev_write+0x456/0x750 drivers/input/evdev.c:530
                     vfs_write+0x2a4/0xdf0 fs/read_write.c:582
                     ksys_write+0x1f0/0x250 fs/read_write.c:637
                     do_syscall_x64 arch/x86/entry/common.c:52 [inline]
                     do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
                     entry_SYSCALL_64_after_hwframe+0x63/0x6b
  }
  ... key      at: [<ffffffff92adab40>] __key.3+0x0/0x40
  ... acquired at:
   __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
   _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
   spin_lock include/linux/spinlock.h:351 [inline]
   evdev_pass_values+0x10e/0x9b0 drivers/input/evdev.c:261
   evdev_events+0x1b7/0x390 drivers/input/evdev.c:306
   input_to_handler+0x29e/0x4c0 drivers/input/input.c:129
   input_pass_values+0x5c9/0x840 drivers/input/input.c:161
   input_event_dispose+0x377/0x630 drivers/input/input.c:378
   input_handle_event+0x11c/0xd80 drivers/input/input.c:406
   input_inject_event+0x1bb/0x370 drivers/input/input.c:465
   evdev_write+0x456/0x750 drivers/input/evdev.c:530
   vfs_write+0x2a4/0xdf0 fs/read_write.c:582
   ksys_write+0x1f0/0x250 fs/read_write.c:637
   do_syscall_x64 arch/x86/entry/common.c:52 [inline]
   do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
   entry_SYSCALL_64_after_hwframe+0x63/0x6b

-> (&new->fa_lock){....}-{2:2} {
   INITIAL READ USE at:
                        lock_acquire kernel/locking/lockdep.c:5754 [inline]
                        lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719
                        __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline]
                        _raw_read_lock_irqsave+0x70/0x90 kernel/locking/spinlock.c:236
                        kill_fasync_rcu fs/fcntl.c:998 [inline]
                        kill_fasync fs/fcntl.c:1019 [inline]
                        kill_fasync+0x138/0x4f0 fs/fcntl.c:1012
                        __pass_event drivers/input/evdev.c:240 [inline]
                        evdev_pass_values+0x619/0x9b0 drivers/input/evdev.c:278
                        evdev_events+0x1b7/0x390 drivers/input/evdev.c:306
                        input_to_handler+0x29e/0x4c0 drivers/input/input.c:129
                        input_pass_values+0x5c9/0x840 drivers/input/input.c:161
                        input_event_dispose+0x377/0x630 drivers/input/input.c:378
                        input_handle_event+0x11c/0xd80 drivers/input/input.c:406
                        input_inject_event+0x1bb/0x370 drivers/input/input.c:465
                        evdev_write+0x456/0x750 drivers/input/evdev.c:530
                        vfs_write+0x2a4/0xdf0 fs/read_write.c:582
                        ksys_write+0x1f0/0x250 fs/read_write.c:637
                        do_syscall_x64 arch/x86/entry/common.c:52 [inline]
                        do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
                        entry_SYSCALL_64_after_hwframe+0x63/0x6b
 }
 ... key      at: [<ffffffff92834a40>] __key.0+0x0/0x40
 ... acquired at:
   __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline]
   _raw_read_lock_irqsave+0x70/0x90 kernel/locking/spinlock.c:236
   kill_fasync_rcu fs/fcntl.c:998 [inline]
   kill_fasync fs/fcntl.c:1019 [inline]
   kill_fasync+0x138/0x4f0 fs/fcntl.c:1012
   __pass_event drivers/input/evdev.c:240 [inline]
   evdev_pass_values+0x619/0x9b0 drivers/input/evdev.c:278
   evdev_events+0x1b7/0x390 drivers/input/evdev.c:306
   input_to_handler+0x29e/0x4c0 drivers/input/input.c:129
   input_pass_values+0x5c9/0x840 drivers/input/input.c:161
   input_event_dispose+0x377/0x630 drivers/input/input.c:378
   input_handle_event+0x11c/0xd80 drivers/input/input.c:406
   input_inject_event+0x1bb/0x370 drivers/input/input.c:465
   evdev_write+0x456/0x750 drivers/input/evdev.c:530
   vfs_write+0x2a4/0xdf0 fs/read_write.c:582
   ksys_write+0x1f0/0x250 fs/read_write.c:637
   do_syscall_x64 arch/x86/entry/common.c:52 [inline]
   do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
   entry_SYSCALL_64_after_hwframe+0x63/0x6b


the dependencies between the lock to be acquired
 and HARDIRQ-irq-unsafe lock:
 -> (tasklist_lock){.+.?}-{2:2} {
    HARDIRQ-ON-R at:
                      lock_acquire kernel/locking/lockdep.c:5754 [inline]
                      lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719
                      __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline]
                      _raw_read_lock+0x5f/0x70 kernel/locking/spinlock.c:228
                      __do_wait+0x105/0x890 kernel/exit.c:1582
                      do_wait+0x212/0x530 kernel/exit.c:1626
                      kernel_wait+0xa0/0x150 kernel/exit.c:1802
                      call_usermodehelper_exec_sync kernel/umh.c:137 [inline]
                      call_usermodehelper_exec_work+0xf1/0x170 kernel/umh.c:164
                      process_one_work+0x886/0x15d0 kernel/workqueue.c:2627
                      process_scheduled_works kernel/workqueue.c:2700 [inline]
                      worker_thread+0x8b9/0x1290 kernel/workqueue.c:2781
                      kthread+0x2c6/0x3a0 kernel/kthread.c:388
                      ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
                      ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
    IN-SOFTIRQ-R at:
                      lock_acquire kernel/locking/lockdep.c:5754 [inline]
                      lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719
                      __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline]
                      _raw_read_lock+0x3a/0x70 kernel/locking/spinlock.c:228
                      send_sigurg+0xb0/0xc30 fs/fcntl.c:835
                      sk_send_sigurg+0x7a/0x370 net/core/sock.c:3396
                      tcp_check_urg net/ipv4/tcp_input.c:5784 [inline]
                      tcp_urg+0x348/0xb90 net/ipv4/tcp_input.c:5825
                      tcp_rcv_established+0x8af/0x20e0 net/ipv4/tcp_input.c:6174
                      tcp_v6_do_rcv+0x819/0x1640 net/ipv6/tcp_ipv6.c:1644
                      tcp_v6_rcv+0x3008/0x34e0 net/ipv6/tcp_ipv6.c:1910
                      ip6_protocol_deliver_rcu+0x170/0x13e0 net/ipv6/ip6_input.c:438
                      ip6_input_finish+0x14f/0x2f0 net/ipv6/ip6_input.c:483
                      NF_HOOK include/linux/netfilter.h:314 [inline]
                      NF_HOOK include/linux/netfilter.h:308 [inline]
                      ip6_input+0xa1/0xc0 net/ipv6/ip6_input.c:492
                      dst_input include/net/dst.h:461 [inline]
                      ip6_rcv_finish net/ipv6/ip6_input.c:79 [inline]
                      NF_HOOK include/linux/netfilter.h:314 [inline]
                      NF_HOOK include/linux/netfilter.h:308 [inline]
                      ipv6_rcv+0x24e/0x380 net/ipv6/ip6_input.c:310
                      __netif_receive_skb_one_core+0x115/0x180 net/core/dev.c:5532
                      __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5646
                      process_backlog+0x101/0x6b0 net/core/dev.c:5974
                      __napi_poll.constprop.0+0xb4/0x540 net/core/dev.c:6536
                      napi_poll net/core/dev.c:6605 [inline]
                      net_rx_action+0x956/0xe90 net/core/dev.c:6738
                      __do_softirq+0x21a/0x8de kernel/softirq.c:553
                      do_softirq kernel/softirq.c:454 [inline]
                      do_softirq+0xaa/0xe0 kernel/softirq.c:441
                      __local_bh_enable_ip+0xfc/0x120 kernel/softirq.c:381
                      sk_stream_wait_memory+0x65a/0x1010 net/core/stream.c:145
                      tcp_sendmsg_locked+0xa70/0x3460 net/ipv4/tcp.c:1298
                      tcp_sendmsg+0x2e/0x40 net/ipv4/tcp.c:1340
                      inet6_sendmsg+0x9d/0xe0 net/ipv6/af_inet6.c:657
                      sock_sendmsg_nosec net/socket.c:730 [inline]
                      __sock_sendmsg+0xd5/0x180 net/socket.c:745
                      __sys_sendto+0x255/0x340 net/socket.c:2190
                      __do_sys_sendto net/socket.c:2202 [inline]
                      __se_sys_sendto net/socket.c:2198 [inline]
                      __x64_sys_sendto+0xe0/0x1b0 net/socket.c:2198
                      do_syscall_x64 arch/x86/entry/common.c:52 [inline]
                      do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
                      entry_SYSCALL_64_after_hwframe+0x63/0x6b
    SOFTIRQ-ON-R at:
                      lock_acquire kernel/locking/lockdep.c:5754 [inline]
                      lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719
                      __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline]
                      _raw_read_lock+0x5f/0x70 kernel/locking/spinlock.c:228
                      __do_wait+0x105/0x890 kernel/exit.c:1582
                      do_wait+0x212/0x530 kernel/exit.c:1626
                      kernel_wait+0xa0/0x150 kernel/exit.c:1802
                      call_usermodehelper_exec_sync kernel/umh.c:137 [inline]
                      call_usermodehelper_exec_work+0xf1/0x170 kernel/umh.c:164
                      process_one_work+0x886/0x15d0 kernel/workqueue.c:2627
                      process_scheduled_works kernel/workqueue.c:2700 [inline]
                      worker_thread+0x8b9/0x1290 kernel/workqueue.c:2781
                      kthread+0x2c6/0x3a0 kernel/kthread.c:388
                      ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
                      ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
    INITIAL USE at:
                     lock_acquire kernel/locking/lockdep.c:5754 [inline]
                     lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719
                     __raw_write_lock_irq include/linux/rwlock_api_smp.h:195 [inline]
                     _raw_write_lock_irq+0x36/0x50 kernel/locking/spinlock.c:326
                     copy_process+0x4cfa/0x73f0 kernel/fork.c:2626
                     kernel_clone+0xfd/0x930 kernel/fork.c:2907
                     user_mode_thread+0xb4/0xf0 kernel/fork.c:2985
                     rest_init+0x27/0x2b0 init/main.c:695
                     arch_call_rest_init+0x13/0x30 init/main.c:827
                     start_kernel+0x39f/0x480 init/main.c:1072
                     x86_64_start_reservations+0x18/0x30 arch/x86/kernel/head64.c:555
                     x86_64_start_kernel+0xb2/0xc0 arch/x86/kernel/head64.c:536
                     secondary_startup_64_no_verify+0x178/0x17b
    INITIAL READ USE at:
                          lock_acquire kernel/locking/lockdep.c:5754 [inline]
                          lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719
                          __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline]
                          _raw_read_lock+0x5f/0x70 kernel/locking/spinlock.c:228
                          __do_wait+0x105/0x890 kernel/exit.c:1582
                          do_wait+0x212/0x530 kernel/exit.c:1626
                          kernel_wait+0xa0/0x150 kernel/exit.c:1802
                          call_usermodehelper_exec_sync kernel/umh.c:137 [inline]
                          call_usermodehelper_exec_work+0xf1/0x170 kernel/umh.c:164
                          process_one_work+0x886/0x15d0 kernel/workqueue.c:2627
                          process_scheduled_works kernel/workqueue.c:2700 [inline]
                          worker_thread+0x8b9/0x1290 kernel/workqueue.c:2781
                          kthread+0x2c6/0x3a0 kernel/kthread.c:388
                          ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
                          ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
  }
  ... key      at: [<ffffffff8cc0a098>] tasklist_lock+0x18/0x40
  ... acquired at:
   __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline]
   _raw_read_lock+0x5f/0x70 kernel/locking/spinlock.c:228
   send_sigurg+0xb0/0xc30 fs/fcntl.c:835
   sk_send_sigurg+0x7a/0x370 net/core/sock.c:3396
   tcp_check_urg net/ipv4/tcp_input.c:5784 [inline]
   tcp_urg+0x348/0xb90 net/ipv4/tcp_input.c:5825
   tcp_rcv_established+0x8af/0x20e0 net/ipv4/tcp_input.c:6174
   tcp_v6_do_rcv+0x819/0x1640 net/ipv6/tcp_ipv6.c:1644
   sk_backlog_rcv include/net/sock.h:1121 [inline]
   __release_sock+0x132/0x3b0 net/core/sock.c:2968
   release_sock+0x5a/0x1f0 net/core/sock.c:3534
   sk_stream_wait_memory+0x65a/0x1010 net/core/stream.c:145
   tcp_sendmsg_locked+0xa70/0x3460 net/ipv4/tcp.c:1298
   tcp_sendmsg+0x2e/0x40 net/ipv4/tcp.c:1340
   inet6_sendmsg+0x9d/0xe0 net/ipv6/af_inet6.c:657
   sock_sendmsg_nosec net/socket.c:730 [inline]
   __sock_sendmsg+0xd5/0x180 net/socket.c:745
   __sys_sendto+0x255/0x340 net/socket.c:2190
   __do_sys_sendto net/socket.c:2202 [inline]
   __se_sys_sendto net/socket.c:2198 [inline]
   __x64_sys_sendto+0xe0/0x1b0 net/socket.c:2198
   do_syscall_x64 arch/x86/entry/common.c:52 [inline]
   do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
   entry_SYSCALL_64_after_hwframe+0x63/0x6b

-> (&f->f_owner.lock){...-}-{2:2} {
   IN-SOFTIRQ-R at:
                    lock_acquire kernel/locking/lockdep.c:5754 [inline]
                    lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719
                    __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline]
                    _raw_read_lock_irqsave+0x46/0x90 kernel/locking/spinlock.c:236
                    send_sigurg+0x22/0xc30 fs/fcntl.c:819
                    sk_send_sigurg+0x7a/0x370 net/core/sock.c:3396
                    tcp_check_urg net/ipv4/tcp_input.c:5784 [inline]
                    tcp_urg+0x348/0xb90 net/ipv4/tcp_input.c:5825
                    tcp_rcv_established+0x8af/0x20e0 net/ipv4/tcp_input.c:6174
                    tcp_v6_do_rcv+0x819/0x1640 net/ipv6/tcp_ipv6.c:1644
                    tcp_v6_rcv+0x3008/0x34e0 net/ipv6/tcp_ipv6.c:1910
                    ip6_protocol_deliver_rcu+0x170/0x13e0 net/ipv6/ip6_input.c:438
                    ip6_input_finish+0x14f/0x2f0 net/ipv6/ip6_input.c:483
                    NF_HOOK include/linux/netfilter.h:314 [inline]
                    NF_HOOK include/linux/netfilter.h:308 [inline]
                    ip6_input+0xa1/0xc0 net/ipv6/ip6_input.c:492
                    dst_input include/net/dst.h:461 [inline]
                    ip6_rcv_finish net/ipv6/ip6_input.c:79 [inline]
                    NF_HOOK include/linux/netfilter.h:314 [inline]
                    NF_HOOK include/linux/netfilter.h:308 [inline]
                    ipv6_rcv+0x24e/0x380 net/ipv6/ip6_input.c:310
                    __netif_receive_skb_one_core+0x115/0x180 net/core/dev.c:5532
                    __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5646
                    process_backlog+0x101/0x6b0 net/core/dev.c:5974
                    __napi_poll.constprop.0+0xb4/0x540 net/core/dev.c:6536
                    napi_poll net/core/dev.c:6605 [inline]
                    net_rx_action+0x956/0xe90 net/core/dev.c:6738
                    __do_softirq+0x21a/0x8de kernel/softirq.c:553
                    do_softirq kernel/softirq.c:454 [inline]
                    do_softirq+0xaa/0xe0 kernel/softirq.c:441
                    __local_bh_enable_ip+0xfc/0x120 kernel/softirq.c:381
                    sk_stream_wait_memory+0x65a/0x1010 net/core/stream.c:145
                    tcp_sendmsg_locked+0xa70/0x3460 net/ipv4/tcp.c:1298
                    tcp_sendmsg+0x2e/0x40 net/ipv4/tcp.c:1340
                    inet6_sendmsg+0x9d/0xe0 net/ipv6/af_inet6.c:657
                    sock_sendmsg_nosec net/socket.c:730 [inline]
                    __sock_sendmsg+0xd5/0x180 net/socket.c:745
                    __sys_sendto+0x255/0x340 net/socket.c:2190
                    __do_sys_sendto net/socket.c:2202 [inline]
                    __se_sys_sendto net/socket.c:2198 [inline]
                    __x64_sys_sendto+0xe0/0x1b0 net/socket.c:2198
                    do_syscall_x64 arch/x86/entry/common.c:52 [inline]
                    do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
                    entry_SYSCALL_64_after_hwframe+0x63/0x6b
   INITIAL USE at:
                   lock_acquire kernel/locking/lockdep.c:5754 [inline]
                   lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719
                   __raw_write_lock_irq include/linux/rwlock_api_smp.h:195 [inline]
                   _raw_write_lock_irq+0x36/0x50 kernel/locking/spinlock.c:326
                   f_modown+0x2a/0x380 fs/fcntl.c:92
                   __f_setown fs/fcntl.c:111 [inline]
                   f_setown+0xd4/0x2a0 fs/fcntl.c:139
                   do_fcntl+0x11e8/0x1270 fs/fcntl.c:379
                   __do_sys_fcntl fs/fcntl.c:456 [inline]
                   __se_sys_fcntl fs/fcntl.c:441 [inline]
                   __x64_sys_fcntl+0x16c/0x1e0 fs/fcntl.c:441
                   do_syscall_x64 arch/x86/entry/common.c:52 [inline]
                   do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
                   entry_SYSCALL_64_after_hwframe+0x63/0x6b
   INITIAL READ USE at:
                        lock_acquire kernel/locking/lockdep.c:5754 [inline]
                        lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719
                        __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline]
                        _raw_read_lock_irqsave+0x70/0x90 kernel/locking/spinlock.c:236
                        send_sigurg+0x22/0xc30 fs/fcntl.c:819
                        sk_send_sigurg+0x7a/0x370 net/core/sock.c:3396
                        tcp_check_urg net/ipv4/tcp_input.c:5784 [inline]
                        tcp_urg+0x348/0xb90 net/ipv4/tcp_input.c:5825
                        tcp_rcv_established+0x8af/0x20e0 net/ipv4/tcp_input.c:6174
                        tcp_v6_do_rcv+0x819/0x1640 net/ipv6/tcp_ipv6.c:1644
                        sk_backlog_rcv include/net/sock.h:1121 [inline]
                        __release_sock+0x132/0x3b0 net/core/sock.c:2968
                        release_sock+0x5a/0x1f0 net/core/sock.c:3534
                        sk_stream_wait_memory+0x65a/0x1010 net/core/stream.c:145
                        tcp_sendmsg_locked+0xa70/0x3460 net/ipv4/tcp.c:1298
                        tcp_sendmsg+0x2e/0x40 net/ipv4/tcp.c:1340
                        inet6_sendmsg+0x9d/0xe0 net/ipv6/af_inet6.c:657
                        sock_sendmsg_nosec net/socket.c:730 [inline]
                        __sock_sendmsg+0xd5/0x180 net/socket.c:745
                        __sys_sendto+0x255/0x340 net/socket.c:2190
                        __do_sys_sendto net/socket.c:2202 [inline]
                        __se_sys_sendto net/socket.c:2198 [inline]
                        __x64_sys_sendto+0xe0/0x1b0 net/socket.c:2198
                        do_syscall_x64 arch/x86/entry/common.c:52 [inline]
                        do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
                        entry_SYSCALL_64_after_hwframe+0x63/0x6b
 }
 ... key      at: [<ffffffff92833ce0>] __key.5+0x0/0x40
 ... acquired at:
   lock_acquire kernel/locking/lockdep.c:5754 [inline]
   lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719
   __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline]
   _raw_read_lock_irqsave+0x70/0x90 kernel/locking/spinlock.c:236
   send_sigio+0x28/0x3c0 fs/fcntl.c:780
   kill_fasync_rcu fs/fcntl.c:1005 [inline]
   kill_fasync fs/fcntl.c:1019 [inline]
   kill_fasync+0x1f6/0x4f0 fs/fcntl.c:1012
   __pass_event drivers/input/evdev.c:240 [inline]
   evdev_pass_values+0x619/0x9b0 drivers/input/evdev.c:278
   evdev_events+0x1b7/0x390 drivers/input/evdev.c:306
   input_to_handler+0x29e/0x4c0 drivers/input/input.c:129
   input_pass_values+0x5c9/0x840 drivers/input/input.c:161
   input_event_dispose+0x377/0x630 drivers/input/input.c:378
   input_handle_event+0x11c/0xd80 drivers/input/input.c:406
   input_inject_event+0x1bb/0x370 drivers/input/input.c:465
   evdev_write+0x456/0x750 drivers/input/evdev.c:530
   vfs_write+0x2a4/0xdf0 fs/read_write.c:582
   ksys_write+0x1f0/0x250 fs/read_write.c:637
   do_syscall_x64 arch/x86/entry/common.c:52 [inline]
   do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
   entry_SYSCALL_64_after_hwframe+0x63/0x6b


stack backtrace:
CPU: 0 PID: 5070 Comm: syz-executor424 Not tainted 6.7.0-rc7-syzkaller-00016-gf5837722ffec #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
 print_bad_irq_dependency kernel/locking/lockdep.c:2626 [inline]
 check_irq_usage+0xe18/0x1470 kernel/locking/lockdep.c:2865
 check_prev_add kernel/locking/lockdep.c:3138 [inline]
 check_prevs_add kernel/locking/lockdep.c:3253 [inline]
 validate_chain kernel/locking/lockdep.c:3869 [inline]
 __lock_acquire+0x2449/0x3b20 kernel/locking/lockdep.c:5137
 lock_acquire kernel/locking/lockdep.c:5754 [inline]
 lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719
 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline]
 _raw_read_lock_irqsave+0x70/0x90 kernel/locking/spinlock.c:236
 send_sigio+0x28/0x3c0 fs/fcntl.c:780
 kill_fasync_rcu fs/fcntl.c:1005 [inline]
 kill_fasync fs/fcntl.c:1019 [inline]
 kill_fasync+0x1f6/0x4f0 fs/fcntl.c:1012
 __pass_event drivers/input/evdev.c:240 [inline]
 evdev_pass_values+0x619/0x9b0 drivers/input/evdev.c:278
 evdev_events+0x1b7/0x390 drivers/input/evdev.c:306
 input_to_handler+0x29e/0x4c0 drivers/input/input.c:129
 input_pass_values+0x5c9/0x840 drivers/input/input.c:161
 input_event_dispose+0x377/0x630 drivers/input/input.c:378
 input_handle_event+0x11c/0xd80 drivers/input/input.c:406
 input_inject_event+0x1bb/0x370 drivers/input/input.c:465
 evdev_write+0x456/0x750 drivers/input/evdev.c:530
 vfs_write+0x2a4/0xdf0 fs/read_write.c:582
 ksys_write+0x1f0/0x250 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f746c3e0079
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 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:00007f746c37e228 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f746c4673f8 RCX: 00007f746c3e0079
RDX: 0000000000002ad8 RSI: 0000000020000040 RDI: 0000000000000004
RBP: 00007f746c4673f0 R08: 00007f746c37e6c0 R09: 00007f746c37e6c0
R10: 00007f746c37e6c0 R11: 0000000000000246 R12: 00007f746c434018
R13: 0100000000000000 R14: 00000000d0d0c2ac R15: 00007fff7d99d258
 </TASK>

Crashes (1745):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/28 19:09 upstream f5837722ffec fb427a07 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root possible deadlock in input_event
2023/12/19 16:29 upstream 2cf4f94d8e86 3ad490ea .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root possible deadlock in input_event
2023/11/17 12:09 upstream 7475e51b8796 cb976f63 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root possible deadlock in input_event
2023/11/11 22:59 upstream 3ca112b71f35 6d6dbf8a .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root possible deadlock in input_event
2023/11/11 00:27 upstream ac347a0655db 45e9b83e .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce possible deadlock in input_event
2023/11/07 14:42 upstream be3ca57cfb77 83211397 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root possible deadlock in input_event
2023/10/28 05:32 upstream 888cf78c29e2 3c418d72 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce possible deadlock in input_event
2023/09/22 21:45 upstream dc912ba91b7e 0b6a67ac .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce possible deadlock in input_event
2023/12/28 14:07 upstream f5837722ffec fb427a07 .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream possible deadlock in input_event
2023/12/25 02:43 upstream 861deac3b092 fb427a07 .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream possible deadlock in input_event
2023/12/11 12:26 upstream a39b6ac3781d 28b24332 .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream possible deadlock in input_event
2023/10/15 01:47 upstream 727fb8376504 f757a323 .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream possible deadlock in input_event
2023/08/25 15:38 upstream 4f9e7fabf864 03d9c195 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root possible deadlock in input_event
2023/07/17 05:26 upstream 20edcec23f92 35d9ecc5 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root possible deadlock in input_event
2023/07/15 20:26 upstream b6e6cc1f78c7 35d9ecc5 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root possible deadlock in input_event
2023/02/03 02:22 upstream 9f266ccaa2f5 16d19e30 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root possible deadlock in input_event
2022/10/03 06:30 upstream a962b54e162c feb56351 .config strace log report syz C [disk image] [vmlinux] ci-upstream-kasan-gce-selinux-root possible deadlock in input_event
2022/09/19 04:11 upstream 38eddeedbbea dd9a85ff .config strace log report syz C ci-upstream-kasan-gce-root possible deadlock in input_event
2022/08/18 16:02 upstream 274a2eebf80c d58e263f .config strace log report syz C ci-upstream-kasan-gce-root possible deadlock in input_event
2022/08/11 05:36 upstream 200e340f2196 a6201f11 .config strace log report syz C ci-upstream-kasan-gce-root possible deadlock in input_event
2022/08/04 08:15 upstream 200e340f2196 1c9013ac .config strace log report syz C ci-upstream-kasan-gce-root possible deadlock in input_event
2022/07/14 17:11 upstream 4a57a8400075 5d921b08 .config strace log report syz C ci-upstream-kasan-gce-root possible deadlock in input_event
2022/07/14 06:21 upstream 4a57a8400075 5d921b08 .config strace log report syz C ci-upstream-kasan-gce possible deadlock in input_event
2022/07/12 23:29 upstream 72a8e05d4f66 d91dd8ea .config strace log report syz C ci-upstream-kasan-gce-selinux-root possible deadlock in input_event
2022/07/01 20:53 upstream a175eca0f3d7 1434eec0 .config strace log report syz C ci-upstream-kasan-gce possible deadlock in input_event
2022/06/15 11:43 upstream 018ab4fabddd 127d1faf .config strace log report syz C ci-upstream-kasan-gce-selinux-root possible deadlock in input_event
2022/04/27 07:23 upstream cf424ef014ac 1fa34c1b .config console log report syz C ci-upstream-kasan-gce-smack-root possible deadlock in input_event
2021/12/13 02:41 upstream 90d9fbc16b69 49ca1f59 .config console log report syz C ci-upstream-kasan-gce-root possible deadlock in input_event
2023/10/26 17:48 linux-next 2ef7141596ee 23afc60f .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root possible deadlock in input_event
2023/02/26 20:07 linux-next 8232539f864c ee50e71c .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root possible deadlock in input_event
2022/04/24 13:37 linux-next f1244c81da13 131df97d .config console log report syz C ci-upstream-linux-next-kasan-gce-root possible deadlock in input_event
2023/08/05 16:52 upstream 024ff300db33 4ffcc9ef .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root possible deadlock in input_event
2023/07/11 17:16 upstream 3f01e9fed845 2f19aa4f .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce possible deadlock in input_event
2023/06/15 18:24 upstream b6dad5178cea 757d26ed .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce possible deadlock in input_event
2023/06/15 04:44 upstream b6dad5178cea 76decb82 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root possible deadlock in input_event
2023/01/05 11:40 upstream 512dee0c00ad 1dac8c7a .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root possible deadlock in input_event
2022/12/23 04:32 upstream 8395ae05cb5a 9da18ae8 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce possible deadlock in input_event
2022/12/03 07:34 upstream a4412fdd49dc e080de16 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root possible deadlock in input_event
2022/11/29 18:56 upstream ca57f02295f1 05dc7993 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root possible deadlock in input_event
2022/11/22 11:50 upstream eb7081409f94 1c576c23 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root possible deadlock in input_event
2022/11/16 15:46 upstream 81e7cfa3a9eb 3a127a31 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root possible deadlock in input_event
2022/10/05 08:23 upstream a5088ee7251e eab8f949 .config strace log report syz C [disk image] [vmlinux] ci-upstream-kasan-gce-smack-root possible deadlock in input_event
2022/09/19 03:16 upstream 38eddeedbbea dd9a85ff .config strace log report syz C [disk image] [vmlinux] ci-upstream-kasan-gce possible deadlock in input_event
2022/09/19 02:45 upstream 38eddeedbbea dd9a85ff .config strace log report syz C [disk image] [vmlinux] ci-upstream-kasan-gce-smack-root possible deadlock in input_event
2022/09/07 23:30 upstream 0066f1b0e275 c5b7bc57 .config strace log report syz C ci-upstream-kasan-gce-smack-root possible deadlock in input_event
2022/08/04 02:29 upstream 200e340f2196 1c9013ac .config strace log report syz C ci-upstream-kasan-gce possible deadlock in input_event
2024/02/23 10:11 upstream 1c892cdd8fe0 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce possible deadlock in input_event
2024/02/22 21:59 upstream 1c892cdd8fe0 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce possible deadlock in input_event
2024/02/21 19:14 upstream 9fc1ccccfd8d 345111b5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce possible deadlock in input_event
2024/02/21 13:37 upstream 9fc1ccccfd8d 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce possible deadlock in input_event
2024/02/09 22:20 upstream e6f39a90de92 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root possible deadlock in input_event
2024/02/09 11:47 upstream 1f719a2f3fa6 7f07e9b0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root possible deadlock in input_event
2024/02/09 08:01 upstream 1f719a2f3fa6 7f07e9b0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root possible deadlock in input_event
2024/02/09 06:03 upstream 1f719a2f3fa6 7f07e9b0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root possible deadlock in input_event
2024/02/02 10:38 upstream 021533194476 60bf9982 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root possible deadlock in input_event
2024/02/02 06:44 upstream 021533194476 d61103fc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root possible deadlock in input_event
2024/02/02 02:13 upstream 6764c317b6bb 81024119 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root possible deadlock in input_event
2024/01/21 19:57 upstream 7a396820222d 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root possible deadlock in input_event
2024/01/05 02:24 upstream 5eff55d725a4 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root possible deadlock in input_event
2024/02/22 23:22 upstream 1c892cdd8fe0 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/02/21 15:07 upstream 9fc1ccccfd8d 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/02/21 01:15 upstream fca7526b7d89 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/02/19 00:22 upstream b401b621758e 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/02/16 07:14 upstream 4f5e5092fdbf 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/02/16 00:25 upstream 4f5e5092fdbf d9b1cdd5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/02/15 04:20 upstream 8d3dea210042 6a8ec742 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/02/14 16:08 upstream 7e90b5c295ec 6a8ec742 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/02/14 02:56 upstream 7e90b5c295ec d902085f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/02/13 03:56 upstream c664e16bb1ba 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/02/12 13:30 upstream 841c35169323 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/02/11 23:58 upstream 2766f59ca44e 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/02/11 03:01 upstream 7521f258ea30 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/02/07 12:38 upstream 6d280f4d760e 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/02/06 14:34 upstream 99bd3cb0d12e 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/02/04 21:58 upstream 54be6c6c5ae8 a67b2c42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/02/03 18:35 upstream 56897d51886f a67b2c42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/02/03 16:15 upstream 56897d51886f a67b2c42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/02/01 13:55 upstream 6764c317b6bb 81024119 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/01/31 22:00 upstream 1bbb19b6eb1b 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/01/31 20:49 upstream 1bbb19b6eb1b 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/01/31 05:24 upstream 2a6526c4f389 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/01/31 03:40 upstream 2a6526c4f389 7f400fcb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/01/30 08:45 upstream 861c0981648f 991a98f4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/01/28 05:26 upstream 8a696a29c690 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/01/27 15:57 upstream 3a5879d495b2 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/01/27 06:23 upstream 168174d78157 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/01/27 01:59 upstream 168174d78157 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/01/26 12:10 upstream ecb1b8288dc7 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/01/25 19:51 upstream 6098d87eaf31 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/01/25 15:36 upstream 6098d87eaf31 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/01/24 23:30 upstream 443b349019f2 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/01/24 10:44 upstream 615d30064886 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/01/24 09:26 upstream 615d30064886 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/01/23 18:48 upstream 7ed2632ec7d7 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/01/23 00:35 upstream 610347effc2e 1c0ecc51 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/01/22 21:01 upstream 610347effc2e 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 possible deadlock in input_event
2024/01/08 02:48 upstream 0dd3ee311255 d0304e9c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream possible deadlock in input_event
2023/07/20 17:11 upstream 46670259519f d922ca7e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 possible deadlock in input_event
2021/11/10 12:51 upstream cb690f5238d7 75b04091 .config console log report info ci-upstream-kasan-gce-386 possible deadlock in input_event
2021/11/10 04:33 upstream cb690f5238d7 55fa030c .config console log report info ci-upstream-kasan-gce-386 possible deadlock in input_event
2023/11/22 08:08 linux-next 288736c822de cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root possible deadlock in input_event
* Struck through repros no longer work on HEAD.