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: 146d, last: 15d
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 868d 1691d 0/29 closed as dup on 2021/07/02 09:55
linux-5.15 possible deadlock in evdev_pass_values (3) 4 11 365d 398d 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 450d 517d 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 205d 216d 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 788d 788d 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 20d 29d 0/2 upstream: reported on 2025/07/29 23:28
linux-5.15 possible deadlock in evdev_pass_values 4 6 665d 769d 0/3 auto-obsoleted due to no activity on 2024/02/09 07:09
upstream possible deadlock in evdev_pass_values (2) input 4 1366 5h07m 859d 0/29 upstream: reported on 2023/04/21 09:42
linux-5.15 possible deadlock in evdev_pass_values (2) 4 22 483d 561d 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 649d 649d 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 1 1d20h 1d20h 0/3 upstream: reported on 2025/08/26 05:46

Sample crash report:
=====================================================
WARNING: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected
6.1.147-syzkaller #0 Not tainted
-----------------------------------------------------
syz.5.1677/11301 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire:
ffffffff8c80a058 (tasklist_lock){.+.+}-{2:2}, at: send_sigurg+0xec/0x3c0 fs/fcntl.c:825

and this task is already holding:
ffff88805ff9fcb0 (&f->f_owner.lock){...-}-{2:2}, at: send_sigurg+0x25/0x3c0 fs/fcntl.c:809
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+0x12f5/0x1c80 drivers/hid/hid-input.c:1710
  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:1752 [inline]
  __hrtimer_run_queues+0x554/0xd60 kernel/time/hrtimer.c:1816
  hrtimer_run_softirq+0x183/0x2a0 kernel/time/hrtimer.c:1833
  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
  folio_memcg_lock+0x18b/0x2e0 mm/memcontrol.c:2116
  page_add_file_rmap+0xe3/0x1500 mm/rmap.c:1293
  do_set_pte+0x2f4/0x460 mm/memory.c:4424
  filemap_map_pages+0xcab/0x10d0 mm/filemap.c:3481
  do_fault_around mm/memory.c:4600 [inline]
  do_read_fault mm/memory.c:4626 [inline]
  do_fault mm/memory.c:4760 [inline]
  handle_pte_fault mm/memory.c:5031 [inline]
  __handle_mm_fault mm/memory.c:5173 [inline]
  handle_mm_fault+0x2889/0x3e70 mm/memory.c:5294
  do_user_addr_fault+0x51f/0xb10 arch/x86/mm/fault.c:1340
  handle_page_fault arch/x86/mm/fault.c:1431 [inline]
  exc_page_fault+0x60/0x100 arch/x86/mm/fault.c:1487
  asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:608

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 ***

2 locks held by syz.5.1677/11301:
 #0: ffff88807c3bce78 (&u->lock){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline]
 #0: ffff88807c3bce78 (&u->lock){+.+.}-{2:2}, at: queue_oob+0x1c7/0x4d0 net/unix/af_unix.c:2134
 #1: ffff88805ff9fcb0 (&f->f_owner.lock){...-}-{2:2}, at: send_sigurg+0x25/0x3c0 fs/fcntl.c:809

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+0x12f5/0x1c80 drivers/hid/hid-input.c:1710
                        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:1752 [inline]
                        __hrtimer_run_queues+0x554/0xd60 kernel/time/hrtimer.c:1816
                        hrtimer_run_softirq+0x183/0x2a0 kernel/time/hrtimer.c:1833
                        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
                        folio_memcg_lock+0x18b/0x2e0 mm/memcontrol.c:2116
                        page_add_file_rmap+0xe3/0x1500 mm/rmap.c:1293
                        do_set_pte+0x2f4/0x460 mm/memory.c:4424
                        filemap_map_pages+0xcab/0x10d0 mm/filemap.c:3481
                        do_fault_around mm/memory.c:4600 [inline]
                        do_read_fault mm/memory.c:4626 [inline]
                        do_fault mm/memory.c:4760 [inline]
                        handle_pte_fault mm/memory.c:5031 [inline]
                        __handle_mm_fault mm/memory.c:5173 [inline]
                        handle_mm_fault+0x2889/0x3e70 mm/memory.c:5294
                        do_user_addr_fault+0x51f/0xb10 arch/x86/mm/fault.c:1340
                        handle_page_fault arch/x86/mm/fault.c:1431 [inline]
                        exc_page_fault+0x60/0x100 arch/x86/mm/fault.c:1487
                        asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:608
     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: [<ffffffff96fa6860>] 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
                     lease_modify+0x1a2/0x390 fs/locks.c:1386
                     locks_remove_lease fs/locks.c:2622 [inline]
                     locks_remove_file+0x492/0xdf0 fs/locks.c:2647
                     __fput+0x188/0x920 fs/file_table.c:312
                     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+0xb1/0x140 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
                          lease_break_callback+0x22/0x30 fs/locks.c:521
                          __break_lease+0x4a3/0x1420 fs/locks.c:1521
                          break_lease include/linux/fs.h:2719 [inline]
                          do_dentry_open+0x74f/0x10d0 fs/open.c:873
                          do_open fs/namei.c:3626 [inline]
                          path_openat+0x25c6/0x2e70 fs/namei.c:3783
                          do_filp_open+0x1c1/0x3c0 fs/namei.c:3810
                          do_sys_openat2+0x142/0x490 fs/open.c:1318
                          do_sys_open fs/open.c:1334 [inline]
                          __do_sys_openat fs/open.c:1350 [inline]
                          __se_sys_openat fs/open.c:1345 [inline]
                          __x64_sys_openat+0x135/0x160 fs/open.c:1345
                          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: [<ffffffff96cae560>] 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} {
   IN-SOFTIRQ-R 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:3366
                    tcp_check_urg+0x200/0x750 net/ipv4/tcp_input.c:5715
                    tcp_urg+0x15d/0x3e0 net/ipv4/tcp_input.c:5756
                    tcp_rcv_established+0xde4/0x1d30 net/ipv4/tcp_input.c:6109
                    tcp_v4_do_rcv+0x48d/0xb00 net/ipv4/tcp_ipv4.c:1683
                    tcp_v4_rcv+0x2789/0x2e30 net/ipv4/tcp_ipv4.c:2114
                    ip_protocol_deliver_rcu+0x3ad/0x780 net/ipv4/ip_input.c:205
                    ip_local_deliver_finish+0x2c7/0x510 net/ipv4/ip_input.c:233
                    NF_HOOK+0x2ff/0x390 include/linux/netfilter.h:302
                    NF_HOOK+0x2ff/0x390 include/linux/netfilter.h:302
                    __netif_receive_skb_one_core net/core/dev.c:5569 [inline]
                    __netif_receive_skb+0xcc/0x290 net/core/dev.c:5683
                    process_backlog+0x37c/0x6e0 net/core/dev.c:6011
                    __napi_poll+0xc0/0x460 net/core/dev.c:6578
                    napi_poll net/core/dev.c:6645 [inline]
                    net_rx_action+0x5b1/0xad0 net/core/dev.c:6759
                    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
                    lock_acquire+0x20f/0x490 kernel/locking/lockdep.c:5666
                    rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
                    rcu_read_lock include/linux/rcupdate.h:791 [inline]
                    page_ext_get+0x3a/0x2a0 mm/page_ext.c:157
                    page_table_check_set+0x51/0x6d0 mm/page_table_check.c:112
                    page_table_check_pte_set include/linux/page_table_check.h:83 [inline]
                    set_pte_at arch/x86/include/asm/pgtable.h:1009 [inline]
                    copy_present_pte mm/memory.c:1000 [inline]
                    copy_pte_range mm/memory.c:1091 [inline]
                    copy_pmd_range mm/memory.c:1177 [inline]
                    copy_pud_range mm/memory.c:1214 [inline]
                    copy_p4d_range mm/memory.c:1238 [inline]
                    copy_page_range+0x26b3/0x39e0 mm/memory.c:1336
                    dup_mmap kernel/fork.c:697 [inline]
                    dup_mm kernel/fork.c:1541 [inline]
                    copy_mm+0xde1/0x15c0 kernel/fork.c:1590
                    copy_process+0x1953/0x4020 kernel/fork.c:2351
                    kernel_clone+0x225/0x8b0 kernel/fork.c:2757
                    __do_sys_clone kernel/fork.c:2898 [inline]
                    __se_sys_clone kernel/fork.c:2882 [inline]
                    __x64_sys_clone+0x17c/0x1d0 kernel/fork.c:2882
                    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 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
                   generic_add_lease fs/locks.c:1806 [inline]
                   generic_setlease+0xf2c/0x13c0 fs/locks.c:1886
                   vfs_setlease fs/locks.c:1976 [inline]
                   do_fcntl_add_lease fs/locks.c:1997 [inline]
                   fcntl_setlease+0x25e/0x330 fs/locks.c:2019
                   do_fcntl+0x10c/0x11c0 fs/fcntl.c:395
                   __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_sigio+0x2f/0x360 fs/fcntl.c:770
                        kill_fasync_rcu fs/fcntl.c:995 [inline]
                        kill_fasync+0x224/0x4b0 fs/fcntl.c:1009
                        lease_break_callback+0x22/0x30 fs/locks.c:521
                        __break_lease+0x4a3/0x1420 fs/locks.c:1521
                        break_lease include/linux/fs.h:2719 [inline]
                        do_dentry_open+0x74f/0x10d0 fs/open.c:873
                        do_open fs/namei.c:3626 [inline]
                        path_openat+0x25c6/0x2e70 fs/namei.c:3783
                        do_filp_open+0x1c1/0x3c0 fs/namei.c:3810
                        do_sys_openat2+0x142/0x490 fs/open.c:1318
                        do_sys_open fs/open.c:1334 [inline]
                        __do_sys_openat fs/open.c:1350 [inline]
                        __se_sys_openat fs/open.c:1345 [inline]
                        __x64_sys_openat+0x135/0x160 fs/open.c:1345
                        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: [<ffffffff96cad8e0>] __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
   lease_break_callback+0x22/0x30 fs/locks.c:521
   __break_lease+0x4a3/0x1420 fs/locks.c:1521
   break_lease include/linux/fs.h:2719 [inline]
   do_dentry_open+0x74f/0x10d0 fs/open.c:873
   do_open fs/namei.c:3626 [inline]
   path_openat+0x25c6/0x2e70 fs/namei.c:3783
   do_filp_open+0x1c1/0x3c0 fs/namei.c:3810
   do_sys_openat2+0x142/0x490 fs/open.c:1318
   do_sys_open fs/open.c:1334 [inline]
   __do_sys_openat fs/open.c:1350 [inline]
   __se_sys_openat fs/open.c:1345 [inline]
   __x64_sys_openat+0x135/0x160 fs/open.c:1345
   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_sigurg+0xec/0x3c0 fs/fcntl.c:825
   sk_send_sigurg+0x6b/0xc0 net/core/sock.c:3366
   queue_oob+0x3d3/0x4d0 net/unix/af_unix.c:2151
   unix_stream_sendmsg+0x8c2/0xa60 net/unix/af_unix.c:2252
   sock_sendmsg_nosec net/socket.c:718 [inline]
   __sock_sendmsg net/socket.c:730 [inline]
   ____sys_sendmsg+0x59b/0x970 net/socket.c:2519
   ___sys_sendmsg+0x21c/0x290 net/socket.c:2573
   __sys_sendmmsg+0x272/0x490 net/socket.c:2659
   __do_sys_sendmmsg net/socket.c:2688 [inline]
   __se_sys_sendmmsg net/socket.c:2685 [inline]
   __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2685
   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: 11301 Comm: syz.5.1677 Not tainted 6.1.147-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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_sigurg+0xec/0x3c0 fs/fcntl.c:825
 sk_send_sigurg+0x6b/0xc0 net/core/sock.c:3366
 queue_oob+0x3d3/0x4d0 net/unix/af_unix.c:2151
 unix_stream_sendmsg+0x8c2/0xa60 net/unix/af_unix.c:2252
 sock_sendmsg_nosec net/socket.c:718 [inline]
 __sock_sendmsg net/socket.c:730 [inline]
 ____sys_sendmsg+0x59b/0x970 net/socket.c:2519
 ___sys_sendmsg+0x21c/0x290 net/socket.c:2573
 __sys_sendmmsg+0x272/0x490 net/socket.c:2659
 __do_sys_sendmmsg net/socket.c:2688 [inline]
 __se_sys_sendmmsg net/socket.c:2685 [inline]
 __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2685
 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:0x7f989c98ebe9
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:00007f989d877038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007f989cbb5fa0 RCX: 00007f989c98ebe9
RDX: 0000000000000001 RSI: 0000200000006c40 RDI: 0000000000000003
RBP: 00007f989ca11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000040015 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f989cbb6038 R14: 00007f989cbb5fa0 R15: 00007ffdcdfb47a8
 </TASK>

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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.