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: 114d, last: 8d07h
Similar bugs (9)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream possible deadlock in evdev_pass_values fuse kernfs 4 351 836d 1659d 0/29 closed as dup on 2021/07/02 09:55
linux-5.15 possible deadlock in evdev_pass_values (3) 4 11 333d 366d 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 418d 485d 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 173d 184d 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 756d 756d 0/3 auto-obsoleted due to no activity on 2023/10/09 19:52
linux-5.15 possible deadlock in evdev_pass_values 4 6 633d 737d 0/3 auto-obsoleted due to no activity on 2024/02/09 07:09
upstream possible deadlock in evdev_pass_values (2) input 4 1278 7h17m 827d 0/29 upstream: reported on 2023/04/21 09:42
linux-5.15 possible deadlock in evdev_pass_values (2) 4 22 452d 529d 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 617d 617d 0/3 auto-obsoleted due to no activity on 2024/02/25 22:49

Sample crash report:
=====================================================
WARNING: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected
6.1.146-syzkaller #0 Not tainted
-----------------------------------------------------
syz.7.1784/10422 [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:
ffff888077edf7b0 (&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:2020
  hid_input_report+0x420/0x4e0 drivers/hid/hid-core.c:2088
  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
  run_ksoftirqd+0x98/0xf0 kernel/softirq.c:963
  smpboot_thread_fn+0x64a/0xa40 kernel/smpboot.c:164
  kthread+0x29d/0x330 kernel/kthread.c:376
  ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295

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.7.1784/10422:
 #0: ffff88807c0e0e78 (&u->lock){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline]
 #0: ffff88807c0e0e78 (&u->lock){+.+.}-{2:2}, at: queue_oob+0x1c7/0x4d0 net/unix/af_unix.c:2134
 #1: ffff888077edf7b0 (&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:2020
                        hid_input_report+0x420/0x4e0 drivers/hid/hid-core.c:2088
                        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
                        run_ksoftirqd+0x98/0xf0 kernel/softirq.c:963
                        smpboot_thread_fn+0x64a/0xa40 kernel/smpboot.c:164
                        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_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:2020
                       hid_input_report+0x420/0x4e0 drivers/hid/hid-core.c:2088
                       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
                       run_ksoftirqd+0x98/0xf0 kernel/softirq.c:963
                       smpboot_thread_fn+0x64a/0xa40 kernel/smpboot.c:164
                       kthread+0x29d/0x330 kernel/kthread.c:376
                       ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
   }
   ... key      at: [<ffffffff96fa6800>] 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
                     sock_fasync+0x84/0xf0 net/socket.c:1425
                     __fput+0x7a7/0x920 fs/file_table.c:317
                     task_work_run+0x1ca/0x250 kernel/task_work.c:203
                     get_signal+0x11a6/0x1350 kernel/signal.c:2648
                     arch_do_signal_or_restart+0xb0/0x1230 arch/x86/kernel/signal.c:871
                     exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174
                     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
                          sock_wake_async+0x128/0x150 net/socket.c:-1
                          sk_wake_async+0x184/0x280 include/net/sock.h:2592
                          tcp_rcv_state_process+0x24d0/0x40d0 net/ipv4/tcp_input.c:6670
                          tcp_v6_do_rcv+0x934/0x1320 net/ipv6/tcp_ipv6.c:1510
                          sk_backlog_rcv include/net/sock.h:1119 [inline]
                          __release_sock+0x1b9/0x420 net/core/sock.c:2939
                          release_sock+0x5b/0x1b0 net/core/sock.c:3503
                          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: [<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
                    run_ksoftirqd+0x98/0xf0 kernel/softirq.c:963
                    smpboot_thread_fn+0x64a/0xa40 kernel/smpboot.c:164
                    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
                   __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_sigio+0x2f/0x360 fs/fcntl.c:770
                        kill_fasync_rcu fs/fcntl.c:995 [inline]
                        kill_fasync+0x224/0x4b0 fs/fcntl.c:1009
                        sock_wake_async+0x128/0x150 net/socket.c:-1
                        sk_wake_async+0x184/0x280 include/net/sock.h:2592
                        tcp_rcv_state_process+0x24d0/0x40d0 net/ipv4/tcp_input.c:6670
                        tcp_v6_do_rcv+0x934/0x1320 net/ipv6/tcp_ipv6.c:1510
                        sk_backlog_rcv include/net/sock.h:1119 [inline]
                        __release_sock+0x1b9/0x420 net/core/sock.c:2939
                        release_sock+0x5b/0x1b0 net/core/sock.c:3503
                        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: [<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
   sock_wake_async+0x128/0x150 net/socket.c:-1
   sk_wake_async+0x184/0x280 include/net/sock.h:2592
   tcp_rcv_state_process+0x24d0/0x40d0 net/ipv4/tcp_input.c:6670
   tcp_v6_do_rcv+0x934/0x1320 net/ipv6/tcp_ipv6.c:1510
   sk_backlog_rcv include/net/sock.h:1119 [inline]
   __release_sock+0x1b9/0x420 net/core/sock.c:2939
   release_sock+0x5b/0x1b0 net/core/sock.c:3503
   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


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: 0 PID: 10422 Comm: syz.7.1784 Not tainted 6.1.146-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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:0x7feedad8e9a9
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:00007feedbbf1038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007feedafb5fa0 RCX: 00007feedad8e9a9
RDX: 0000000000000001 RSI: 0000200000006c40 RDI: 0000000000000003
RBP: 00007feedae10d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000040015 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007feedafb5fa0 R15: 00007ffe1b6a87c8
 </TASK>

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