syzbot


possible deadlock in evdev_pass_values (4)

Status: upstream: reported on 2025/04/03 09:00
Reported-by: syzbot+e8b0e2971a80f5f7b6c9@syzkaller.appspotmail.com
First crash: 207d, last: 12d
Similar bugs (11)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream possible deadlock in evdev_pass_values fuse kernfs 4 351 929d 1752d 0/29 closed as dup on 2021/07/02 09:55
linux-5.15 possible deadlock in evdev_pass_values (3) 4 11 425d 459d 0/3 auto-obsoleted due to no activity on 2024/11/05 23:17
linux-6.1 possible deadlock in evdev_pass_values (3) 4 17 511d 577d 0/3 auto-obsoleted due to no activity on 2024/08/12 15:10
linux-5.15 possible deadlock in evdev_pass_values (4) 4 2 266d 276d 0/3 auto-obsoleted due to no activity on 2025/05/14 14:17
linux-6.1 possible deadlock in evdev_pass_values 4 1 848d 848d 0/3 auto-obsoleted due to no activity on 2023/10/09 19:52
linux-6.6 possible deadlock in evdev_pass_values 4 2 81d 89d 0/2 upstream: reported on 2025/07/29 23:28
linux-5.15 possible deadlock in evdev_pass_values 4 6 726d 829d 0/3 auto-obsoleted due to no activity on 2024/02/09 07:09
upstream possible deadlock in evdev_pass_values (2) input 4 1485 1d16h 920d 0/29 upstream: reported on 2023/04/21 09:42
linux-5.15 possible deadlock in evdev_pass_values (2) 4 22 544d 621d 0/3 auto-obsoleted due to no activity on 2024/07/10 03:27
linux-6.1 possible deadlock in evdev_pass_values (2) 4 1 709d 709d 0/3 auto-obsoleted due to no activity on 2024/02/25 22:49
linux-5.15 possible deadlock in evdev_pass_values (5) 4 3 12d 62d 0/3 upstream: reported on 2025/08/26 05:46

Sample crash report:
=====================================================
WARNING: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected
syzkaller #0 Not tainted
-----------------------------------------------------
syz.0.189/5005 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire:
ffffffff8c80a058 (tasklist_lock){.+.+}-{2:2}, at: send_sigio+0xf5/0x360 fs/fcntl.c:784

and this task is already holding:
ffff88807b4da630 (&f->f_owner.lock){....}-{2:2}, at: send_sigio+0x2f/0x360 fs/fcntl.c:770
which would create a new lock dependency:
 (&f->f_owner.lock){....}-{2:2} -> (tasklist_lock){.+.+}-{2:2}

but this new dependency connects a SOFTIRQ-irq-safe lock:
 (&client->buffer_lock){..-.}-{2:2}

... which became SOFTIRQ-irq-safe at:
  lock_acquire+0x1b4/0x490 kernel/locking/lockdep.c:5662
  __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:351 [inline]
  evdev_pass_values+0xcb/0xab0 drivers/input/evdev.c:261
  evdev_events+0x1d4/0x320 drivers/input/evdev.c:306
  input_to_handler drivers/input/input.c:127 [inline]
  input_pass_values+0x907/0x1300 drivers/input/input.c:159
  input_event_dispose+0x3e8/0x6c0 drivers/input/input.c:385
  input_event+0x88/0xb0 drivers/input/input.c:431
  hidinput_hid_event+0x1394/0x1d10 drivers/hid/hid-input.c:1707
  hid_process_event+0x4b7/0x620 drivers/hid/hid-core.c:1545
  hid_process_report drivers/hid/hid-core.c:1693 [inline]
  hid_report_raw_event+0xf66/0x1760 drivers/hid/hid-core.c:2029
  hid_input_report+0x420/0x4e0 drivers/hid/hid-core.c:2097
  hid_irq_in+0x435/0x690 drivers/hid/usbhid/hid-core.c:284
  __usb_hcd_giveback_urb+0x35f/0x520 drivers/usb/core/hcd.c:1675
  dummy_timer+0x888/0x31b0 drivers/usb/gadget/udc/dummy_hcd.c:1994
  __run_hrtimer kernel/time/hrtimer.c:1747 [inline]
  __hrtimer_run_queues+0x554/0xd60 kernel/time/hrtimer.c:1811
  hrtimer_run_softirq+0x183/0x2a0 kernel/time/hrtimer.c:1828
  handle_softirqs+0x2a1/0x920 kernel/softirq.c:596
  __do_softirq kernel/softirq.c:630 [inline]
  invoke_softirq kernel/softirq.c:470 [inline]
  __irq_exit_rcu+0x12f/0x220 kernel/softirq.c:679
  irq_exit_rcu+0x5/0x20 kernel/softirq.c:691
  instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
  sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118
  asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
  get_current arch/x86/include/asm/current.h:15 [inline]
  __syscall_enter_from_user_work kernel/entry/common.c:97 [inline]
  syscall_enter_from_user_mode+0x2a/0x80 kernel/entry/common.c:118
  do_syscall_64+0x24/0xa0 arch/x86/entry/common.c:77
  entry_SYSCALL_64_after_hwframe+0x68/0xd2

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

... which became SOFTIRQ-irq-unsafe at:
...
  lock_acquire+0x1b4/0x490 kernel/locking/lockdep.c:5662
  __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline]
  _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
  do_wait+0x2b6/0xb60 kernel/exit.c:1605
  kernel_wait+0xa8/0x160 kernel/exit.c:1795
  call_usermodehelper_exec_sync kernel/umh.c:140 [inline]
  call_usermodehelper_exec_work+0xb5/0x220 kernel/umh.c:167
  process_one_work+0x898/0x1160 kernel/workqueue.c:2292
  worker_thread+0xaa2/0x1250 kernel/workqueue.c:2439
  kthread+0x29d/0x330 kernel/kthread.c:376
  ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295

other info that might help us debug this:

Chain exists of:
  &client->buffer_lock --> &f->f_owner.lock --> tasklist_lock

 Possible interrupt unsafe locking scenario:

       CPU0                    CPU1
       ----                    ----
  lock(tasklist_lock);
                               local_irq_disable();
                               lock(&client->buffer_lock);
                               lock(&f->f_owner.lock);
  <Interrupt>
    lock(&client->buffer_lock);

 *** DEADLOCK ***

4 locks held by syz.0.189/5005:
 #0: ffff888054462460 (sb_writers#5){.+.+}-{0:0}, at: vfs_writev fs/read_write.c:933 [inline]
 #0: ffff888054462460 (sb_writers#5){.+.+}-{0:0}, at: do_pwritev+0x1ef/0x340 fs/read_write.c:1031
 #1: ffffffff96cb6788 (&fsnotify_mark_srcu){....}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
 #1: ffffffff96cb6788 (&fsnotify_mark_srcu){....}-{0:0}, at: srcu_read_lock include/linux/srcu.h:165 [inline]
 #1: ffffffff96cb6788 (&fsnotify_mark_srcu){....}-{0:0}, at: fsnotify+0x4f7/0x1cc0 fs/notify/fsnotify.c:561
 #2: ffff88807d433038 (&mark->lock){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline]
 #2: ffff88807d433038 (&mark->lock){+.+.}-{2:2}, at: dnotify_handle_event+0x5e/0x420 fs/notify/dnotify/dnotify.c:107
 #3: ffff88807b4da630 (&f->f_owner.lock){....}-{2:2}, at: send_sigio+0x2f/0x360 fs/fcntl.c:770

the dependencies between SOFTIRQ-irq-safe lock and the holding lock:
  -> (&client->buffer_lock){..-.}-{2:2} {
     IN-SOFTIRQ-W at:
                        lock_acquire+0x1b4/0x490 kernel/locking/lockdep.c:5662
                        __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:351 [inline]
                        evdev_pass_values+0xcb/0xab0 drivers/input/evdev.c:261
                        evdev_events+0x1d4/0x320 drivers/input/evdev.c:306
                        input_to_handler drivers/input/input.c:127 [inline]
                        input_pass_values+0x907/0x1300 drivers/input/input.c:159
                        input_event_dispose+0x3e8/0x6c0 drivers/input/input.c:385
                        input_event+0x88/0xb0 drivers/input/input.c:431
                        hidinput_hid_event+0x1394/0x1d10 drivers/hid/hid-input.c:1707
                        hid_process_event+0x4b7/0x620 drivers/hid/hid-core.c:1545
                        hid_process_report drivers/hid/hid-core.c:1693 [inline]
                        hid_report_raw_event+0xf66/0x1760 drivers/hid/hid-core.c:2029
                        hid_input_report+0x420/0x4e0 drivers/hid/hid-core.c:2097
                        hid_irq_in+0x435/0x690 drivers/hid/usbhid/hid-core.c:284
                        __usb_hcd_giveback_urb+0x35f/0x520 drivers/usb/core/hcd.c:1675
                        dummy_timer+0x888/0x31b0 drivers/usb/gadget/udc/dummy_hcd.c:1994
                        __run_hrtimer kernel/time/hrtimer.c:1747 [inline]
                        __hrtimer_run_queues+0x554/0xd60 kernel/time/hrtimer.c:1811
                        hrtimer_run_softirq+0x183/0x2a0 kernel/time/hrtimer.c:1828
                        handle_softirqs+0x2a1/0x920 kernel/softirq.c:596
                        __do_softirq kernel/softirq.c:630 [inline]
                        invoke_softirq kernel/softirq.c:470 [inline]
                        __irq_exit_rcu+0x12f/0x220 kernel/softirq.c:679
                        irq_exit_rcu+0x5/0x20 kernel/softirq.c:691
                        instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
                        sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118
                        asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
                        get_current arch/x86/include/asm/current.h:15 [inline]
                        __syscall_enter_from_user_work kernel/entry/common.c:97 [inline]
                        syscall_enter_from_user_mode+0x2a/0x80 kernel/entry/common.c:118
                        do_syscall_64+0x24/0xa0 arch/x86/entry/common.c:77
                        entry_SYSCALL_64_after_hwframe+0x68/0xd2
     INITIAL USE at:
                       lock_acquire+0x1b4/0x490 kernel/locking/lockdep.c:5662
                       __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:351 [inline]
                       evdev_pass_values+0xcb/0xab0 drivers/input/evdev.c:261
                       evdev_events+0x1d4/0x320 drivers/input/evdev.c:306
                       input_to_handler drivers/input/input.c:127 [inline]
                       input_pass_values+0x907/0x1300 drivers/input/input.c:159
                       input_event_dispose+0x346/0x6c0 drivers/input/input.c:374
                       input_inject_event+0x1f5/0x310 drivers/input/input.c:461
                       evdev_write+0x326/0x470 drivers/input/evdev.c:530
                       vfs_write+0x2c4/0x960 fs/read_write.c:582
                       ksys_write+0x143/0x240 fs/read_write.c:637
                       do_syscall_x64 arch/x86/entry/common.c:51 [inline]
                       do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
                       entry_SYSCALL_64_after_hwframe+0x68/0xd2
   }
   ... key      at: [<ffffffff96fabaa0>] evdev_open.__key.29+0x0/0x20
 -> (&new->fa_lock){....}-{2:2} {
    INITIAL USE at:
                     lock_acquire+0x1b4/0x490 kernel/locking/lockdep.c:5662
                     __raw_write_lock_irq include/linux/rwlock_api_smp.h:195 [inline]
                     _raw_write_lock_irq+0x9f/0xe0 kernel/locking/spinlock.c:326
                     fasync_remove_entry+0xf0/0x1c0 fs/fcntl.c:865
                     __fput+0x7a7/0x920 fs/file_table.c:317
                     task_work_run+0x1ca/0x250 kernel/task_work.c:203
                     resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
                     exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177
                     exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210
                     __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
                     syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303
                     do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:87
                     entry_SYSCALL_64_after_hwframe+0x68/0xd2
    INITIAL READ USE at:
                          lock_acquire+0x1b4/0x490 kernel/locking/lockdep.c:5662
                          __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline]
                          _raw_read_lock_irqsave+0xac/0xf0 kernel/locking/spinlock.c:236
                          kill_fasync_rcu fs/fcntl.c:988 [inline]
                          kill_fasync+0x18e/0x4b0 fs/fcntl.c:1009
                          __pass_event drivers/input/evdev.c:240 [inline]
                          evdev_pass_values+0x54b/0xab0 drivers/input/evdev.c:278
                          evdev_events+0x1d4/0x320 drivers/input/evdev.c:306
                          input_to_handler drivers/input/input.c:127 [inline]
                          input_pass_values+0x907/0x1300 drivers/input/input.c:159
                          input_event_dispose+0x346/0x6c0 drivers/input/input.c:374
                          input_inject_event+0x1f5/0x310 drivers/input/input.c:461
                          evdev_write+0x326/0x470 drivers/input/evdev.c:530
                          vfs_write+0x2c4/0x960 fs/read_write.c:582
                          ksys_write+0x143/0x240 fs/read_write.c:637
                          do_syscall_x64 arch/x86/entry/common.c:51 [inline]
                          do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
                          entry_SYSCALL_64_after_hwframe+0x68/0xd2
  }
  ... key      at: [<ffffffff96cb35a0>] fasync_insert_entry.__key+0x0/0x20
  ... acquired at:
   __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline]
   _raw_read_lock_irqsave+0xac/0xf0 kernel/locking/spinlock.c:236
   kill_fasync_rcu fs/fcntl.c:988 [inline]
   kill_fasync+0x18e/0x4b0 fs/fcntl.c:1009
   __pass_event drivers/input/evdev.c:240 [inline]
   evdev_pass_values+0x54b/0xab0 drivers/input/evdev.c:278
   evdev_events+0x1d4/0x320 drivers/input/evdev.c:306
   input_to_handler drivers/input/input.c:127 [inline]
   input_pass_values+0x907/0x1300 drivers/input/input.c:159
   input_event_dispose+0x346/0x6c0 drivers/input/input.c:374
   input_inject_event+0x1f5/0x310 drivers/input/input.c:461
   evdev_write+0x326/0x470 drivers/input/evdev.c:530
   vfs_write+0x2c4/0x960 fs/read_write.c:582
   ksys_write+0x143/0x240 fs/read_write.c:637
   do_syscall_x64 arch/x86/entry/common.c:51 [inline]
   do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
   entry_SYSCALL_64_after_hwframe+0x68/0xd2

-> (&f->f_owner.lock){....}-{2:2} {
   INITIAL USE at:
                   lock_acquire+0x1b4/0x490 kernel/locking/lockdep.c:5662
                   __raw_write_lock_irq include/linux/rwlock_api_smp.h:195 [inline]
                   _raw_write_lock_irq+0x9f/0xe0 kernel/locking/spinlock.c:326
                   __f_setown+0x37/0x330 fs/fcntl.c:91
                   fcntl_dirnotify+0x6de/0x8f0 fs/notify/dnotify/dnotify.c:369
                   do_fcntl+0x587/0x11c0 fs/fcntl.c:398
                   __do_sys_fcntl fs/fcntl.c:446 [inline]
                   __se_sys_fcntl+0xc9/0x190 fs/fcntl.c:431
                   do_syscall_x64 arch/x86/entry/common.c:51 [inline]
                   do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
                   entry_SYSCALL_64_after_hwframe+0x68/0xd2
   INITIAL READ USE at:
                        lock_acquire+0x1b4/0x490 kernel/locking/lockdep.c:5662
                        __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline]
                        _raw_read_lock_irqsave+0xac/0xf0 kernel/locking/spinlock.c:236
                        send_sigurg+0x25/0x3c0 fs/fcntl.c:809
                        sk_send_sigurg+0x6b/0xc0 net/core/sock.c:3371
                        tcp_check_urg+0x200/0x750 net/ipv4/tcp_input.c:5716
                        tcp_urg+0x15d/0x3e0 net/ipv4/tcp_input.c:5757
                        tcp_rcv_established+0xde4/0x1d30 net/ipv4/tcp_input.c:6110
                        tcp_v4_do_rcv+0x48d/0xb00 net/ipv4/tcp_ipv4.c:1683
                        sk_backlog_rcv include/net/sock.h:1125 [inline]
                        __release_sock+0x1b9/0x420 net/core/sock.c:2944
                        release_sock+0x5b/0x1b0 net/core/sock.c:3508
                        tcp_sendmsg+0x35/0x40 net/ipv4/tcp.c:1491
                        sock_sendmsg_nosec net/socket.c:718 [inline]
                        __sock_sendmsg net/socket.c:730 [inline]
                        __sys_sendto+0x44f/0x5c0 net/socket.c:2153
                        __do_sys_sendto net/socket.c:2165 [inline]
                        __se_sys_sendto net/socket.c:2161 [inline]
                        __x64_sys_sendto+0xda/0xf0 net/socket.c:2161
                        do_syscall_x64 arch/x86/entry/common.c:51 [inline]
                        do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
                        entry_SYSCALL_64_after_hwframe+0x68/0xd2
 }
 ... key      at: [<ffffffff96cb2920>] __alloc_file.__key+0x0/0x10
 ... acquired at:
   __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline]
   _raw_read_lock_irqsave+0xac/0xf0 kernel/locking/spinlock.c:236
   send_sigio+0x2f/0x360 fs/fcntl.c:770
   kill_fasync_rcu fs/fcntl.c:995 [inline]
   kill_fasync+0x224/0x4b0 fs/fcntl.c:1009
   __pass_event drivers/input/evdev.c:240 [inline]
   evdev_pass_values+0x54b/0xab0 drivers/input/evdev.c:278
   evdev_events+0x1d4/0x320 drivers/input/evdev.c:306
   input_to_handler drivers/input/input.c:127 [inline]
   input_pass_values+0x907/0x1300 drivers/input/input.c:159
   input_event_dispose+0x346/0x6c0 drivers/input/input.c:374
   input_inject_event+0x1f5/0x310 drivers/input/input.c:461
   evdev_write+0x326/0x470 drivers/input/evdev.c:530
   vfs_write+0x2c4/0x960 fs/read_write.c:582
   ksys_write+0x143/0x240 fs/read_write.c:637
   do_syscall_x64 arch/x86/entry/common.c:51 [inline]
   do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
   entry_SYSCALL_64_after_hwframe+0x68/0xd2


the dependencies between the lock to be acquired
 and SOFTIRQ-irq-unsafe lock:
-> (tasklist_lock){.+.+}-{2:2} {
   HARDIRQ-ON-R at:
                    lock_acquire+0x1b4/0x490 kernel/locking/lockdep.c:5662
                    __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline]
                    _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
                    do_wait+0x2b6/0xb60 kernel/exit.c:1605
                    kernel_wait+0xa8/0x160 kernel/exit.c:1795
                    call_usermodehelper_exec_sync kernel/umh.c:140 [inline]
                    call_usermodehelper_exec_work+0xb5/0x220 kernel/umh.c:167
                    process_one_work+0x898/0x1160 kernel/workqueue.c:2292
                    worker_thread+0xaa2/0x1250 kernel/workqueue.c:2439
                    kthread+0x29d/0x330 kernel/kthread.c:376
                    ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
   SOFTIRQ-ON-R at:
                    lock_acquire+0x1b4/0x490 kernel/locking/lockdep.c:5662
                    __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline]
                    _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
                    do_wait+0x2b6/0xb60 kernel/exit.c:1605
                    kernel_wait+0xa8/0x160 kernel/exit.c:1795
                    call_usermodehelper_exec_sync kernel/umh.c:140 [inline]
                    call_usermodehelper_exec_work+0xb5/0x220 kernel/umh.c:167
                    process_one_work+0x898/0x1160 kernel/workqueue.c:2292
                    worker_thread+0xaa2/0x1250 kernel/workqueue.c:2439
                    kthread+0x29d/0x330 kernel/kthread.c:376
                    ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
   INITIAL USE at:
                   lock_acquire+0x1b4/0x490 kernel/locking/lockdep.c:5662
                   __raw_write_lock_irq include/linux/rwlock_api_smp.h:195 [inline]
                   _raw_write_lock_irq+0x9f/0xe0 kernel/locking/spinlock.c:326
                   copy_process+0x2531/0x4020 kernel/fork.c:2476
                   kernel_clone+0x225/0x8b0 kernel/fork.c:2757
                   user_mode_thread+0xda/0x130 kernel/fork.c:2833
                   rest_init+0x23/0x300 init/main.c:698
                   start_kernel+0x0/0x539 init/main.c:893
                   start_kernel+0x490/0x539 init/main.c:1140
                   secondary_startup_64_no_verify+0xcf/0xdb
   INITIAL READ USE at:
                        lock_acquire+0x1b4/0x490 kernel/locking/lockdep.c:5662
                        __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline]
                        _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
                        do_wait+0x2b6/0xb60 kernel/exit.c:1605
                        kernel_wait+0xa8/0x160 kernel/exit.c:1795
                        call_usermodehelper_exec_sync kernel/umh.c:140 [inline]
                        call_usermodehelper_exec_work+0xb5/0x220 kernel/umh.c:167
                        process_one_work+0x898/0x1160 kernel/workqueue.c:2292
                        worker_thread+0xaa2/0x1250 kernel/workqueue.c:2439
                        kthread+0x29d/0x330 kernel/kthread.c:376
                        ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 }
 ... key      at: [<ffffffff8c80a058>] tasklist_lock+0x18/0x40
 ... acquired at:
   __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline]
   _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
   send_sigio+0xf5/0x360 fs/fcntl.c:784
   dnotify_handle_event+0x14f/0x420 fs/notify/dnotify/dnotify.c:115
   fsnotify_handle_inode_event fs/notify/fsnotify.c:275 [inline]
   fsnotify_handle_event fs/notify/fsnotify.c:304 [inline]
   send_to_group fs/notify/fsnotify.c:378 [inline]
   fsnotify+0x165a/0x1cc0 fs/notify/fsnotify.c:584
   __fsnotify_parent+0x5ae/0x6e0 fs/notify/fsnotify.c:241
   fsnotify_parent include/linux/fsnotify.h:77 [inline]
   fsnotify_file include/linux/fsnotify.h:105 [inline]
   fsnotify_modify include/linux/fsnotify.h:323 [inline]
   do_iter_write+0x93f/0xaf0 fs/read_write.c:865
   vfs_writev fs/read_write.c:934 [inline]
   do_pwritev+0x201/0x340 fs/read_write.c:1031
   do_syscall_x64 arch/x86/entry/common.c:51 [inline]
   do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
   entry_SYSCALL_64_after_hwframe+0x68/0xd2


stack backtrace:
CPU: 1 PID: 5005 Comm: syz.0.189 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
Call Trace:
 <TASK>
 dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106
 print_bad_irq_dependency kernel/locking/lockdep.c:2604 [inline]
 check_irq_usage kernel/locking/lockdep.c:2843 [inline]
 check_prev_add kernel/locking/lockdep.c:3094 [inline]
 check_prevs_add kernel/locking/lockdep.c:3209 [inline]
 validate_chain kernel/locking/lockdep.c:3825 [inline]
 __lock_acquire+0x660b/0x7c50 kernel/locking/lockdep.c:5049
 lock_acquire+0x1b4/0x490 kernel/locking/lockdep.c:5662
 __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline]
 _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
 send_sigio+0xf5/0x360 fs/fcntl.c:784
 dnotify_handle_event+0x14f/0x420 fs/notify/dnotify/dnotify.c:115
 fsnotify_handle_inode_event fs/notify/fsnotify.c:275 [inline]
 fsnotify_handle_event fs/notify/fsnotify.c:304 [inline]
 send_to_group fs/notify/fsnotify.c:378 [inline]
 fsnotify+0x165a/0x1cc0 fs/notify/fsnotify.c:584
 __fsnotify_parent+0x5ae/0x6e0 fs/notify/fsnotify.c:241
 fsnotify_parent include/linux/fsnotify.h:77 [inline]
 fsnotify_file include/linux/fsnotify.h:105 [inline]
 fsnotify_modify include/linux/fsnotify.h:323 [inline]
 do_iter_write+0x93f/0xaf0 fs/read_write.c:865
 vfs_writev fs/read_write.c:934 [inline]
 do_pwritev+0x201/0x340 fs/read_write.c:1031
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f238898eec9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f2389818038 EFLAGS: 00000246 ORIG_RAX: 0000000000000148
RAX: ffffffffffffffda RBX: 00007f2388be5fa0 RCX: 00007f238898eec9
RDX: 00000000000002b8 RSI: 0000200000022e80 RDI: 0000000000000003
RBP: 00007f2388a11f91 R08: 0000000000008000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2388be6038 R14: 00007f2388be5fa0 R15: 00007ffebb8d9238
 </TASK>

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/15 14:27 linux-6.1.y c2fda4b3f577 b6605ba8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan possible deadlock in evdev_pass_values
2025/08/12 21:44 linux-6.1.y 3594f306da12 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan possible deadlock in evdev_pass_values
2025/07/29 09:23 linux-6.1.y 3594f306da12 c4a95487 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan possible deadlock in evdev_pass_values
2025/07/29 09:23 linux-6.1.y 3594f306da12 c4a95487 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan possible deadlock in evdev_pass_values
2025/07/18 23:18 linux-6.1.y 3369c6df2fae 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan possible deadlock in evdev_pass_values
2025/07/18 23:18 linux-6.1.y 3369c6df2fae 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan possible deadlock in evdev_pass_values
2025/07/18 07:27 linux-6.1.y 3369c6df2fae 88248e14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan possible deadlock in evdev_pass_values
2025/07/18 07:27 linux-6.1.y 3369c6df2fae 88248e14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan possible deadlock in evdev_pass_values
2025/04/15 14:47 linux-6.1.y 420102835862 23b969b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan possible deadlock in evdev_pass_values
2025/04/15 14:37 linux-6.1.y 420102835862 23b969b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan possible deadlock in evdev_pass_values
2025/04/03 09:00 linux-6.1.y 8e60a714ba3b 996a9618 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan possible deadlock in evdev_pass_values
2025/04/03 08:59 linux-6.1.y 8e60a714ba3b 996a9618 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan possible deadlock in evdev_pass_values
* Struck through repros no longer work on HEAD.