syzbot


possible deadlock in evdev_pass_values (5)

Status: upstream: reported on 2025/08/26 05:46
Reported-by: syzbot+27084c39cb0505ecb31e@syzkaller.appspotmail.com
First crash: 226d, last: 2d04h
Similar bugs (12)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream possible deadlock in evdev_pass_values fuse kernfs 4 351 1092d 1915d 0/29 closed as dup on 2021/07/02 09:55
linux-5.15 possible deadlock in evdev_pass_values (3) 4 11 589d 622d 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 674d 741d 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 429d 440d 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 1012d 1012d 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 244d 253d 0/2 auto-obsoleted due to no activity on 2025/11/15 13:39
linux-5.15 possible deadlock in evdev_pass_values 4 6 890d 993d 0/3 auto-obsoleted due to no activity on 2024/02/09 07:09
upstream possible deadlock in evdev_pass_values (2) input 4 1871 22h49m 1084d 0/29 upstream: reported on 2023/04/21 09:42
linux-6.1 possible deadlock in evdev_pass_values (4) 4 12 175d 371d 0/3 auto-obsoleted due to no activity on 2026/01/23 14:28
linux-6.6 possible deadlock in evdev_pass_values (2) 4 4 12d 27d 0/2 upstream: reported on 2026/03/12 13:02
linux-5.15 possible deadlock in evdev_pass_values (2) 4 22 708d 785d 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 873d 873d 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
syzkaller #0 Not tainted
-----------------------------------------------------
syz.0.2035/16189 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire:
ffffffff8c00a058 (tasklist_lock){.+.+}-{2:2}, at: send_sigurg+0xcb/0x390 fs/fcntl.c:845

and this task is already holding:
ffff88802b8ea638 (&f->f_owner.lock){....}-{2:2}, at: send_sigurg+0x25/0x390 fs/fcntl.c:829
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+0x19e/0x400 kernel/locking/lockdep.c:5623
  __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
  _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
  spin_lock include/linux/spinlock.h:364 [inline]
  evdev_pass_values+0xcb/0xab0 drivers/input/evdev.c:261
  evdev_events+0x1c0/0x2f0 drivers/input/evdev.c:306
  input_to_handler drivers/input/input.c:126 [inline]
  input_pass_values+0x87e/0x1210 drivers/input/input.c:156
  input_handle_event+0xbe0/0x1490 drivers/input/input.c:426
  input_event+0x88/0xb0 drivers/input/input.c:457
  hidinput_hid_event+0x1184/0x19a0 drivers/hid/hid-input.c:1483
  hid_process_event+0x4b7/0x620 drivers/hid/hid-core.c:1545
  hid_input_field drivers/hid/hid-core.c:1589 [inline]
  hid_report_raw_event+0xdde/0x1640 drivers/hid/hid-core.c:1822
  hid_input_report+0x424/0x4e0 drivers/hid/hid-core.c:1889
  hid_irq_in+0x435/0x690 drivers/hid/usbhid/hid-core.c:284
  __usb_hcd_giveback_urb+0x35f/0x520 drivers/usb/core/hcd.c:1674
  dummy_timer+0x8a8/0x31e0 drivers/usb/gadget/udc/dummy_hcd.c:1988
  call_timer_fn+0x17b/0x540 kernel/time/timer.c:1648
  expire_timers kernel/time/timer.c:1699 [inline]
  __run_timers+0x53e/0x800 kernel/time/timer.c:1970
  run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1983
  handle_softirqs+0x339/0x830 kernel/softirq.c:576
  __do_softirq kernel/softirq.c:610 [inline]
  invoke_softirq kernel/softirq.c:450 [inline]
  __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659
  irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
  instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
  sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
  asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
  console_unlock+0xcad/0x1120 kernel/printk/printk.c:2749
  vprintk_emit+0xc0/0x150 kernel/printk/printk.c:2274
  _printk+0xda/0x130 kernel/printk/printk.c:2299
  netdev_info+0x11b/0x170 net/core/dev.c:11585
  __bond_release_one+0x567/0x11c0 drivers/net/bonding/bond_main.c:2360
  bond_slave_netdev_event drivers/net/bonding/bond_main.c:3594 [inline]
  bond_netdev_event+0x62a/0xee0 drivers/net/bonding/bond_main.c:3709
  notifier_call_chain kernel/notifier.c:83 [inline]
  raw_notifier_call_chain+0xcb/0x160 kernel/notifier.c:391
  call_netdevice_notifiers_extack net/core/dev.c:2074 [inline]
  call_netdevice_notifiers net/core/dev.c:2088 [inline]
  unregister_netdevice_many+0x1049/0x19f0 net/core/dev.c:11160
  default_device_exit_batch+0x364/0x3c0 net/core/dev.c:11693
  ops_exit_list net/core/net_namespace.c:177 [inline]
  cleanup_net+0x791/0xba0 net/core/net_namespace.c:635
  process_one_work+0x85f/0x1010 kernel/workqueue.c:2310
  worker_thread+0xaa6/0x1290 kernel/workqueue.c:2457
  kthread+0x436/0x520 kernel/kthread.c:334
  ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287

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

... which became SOFTIRQ-irq-unsafe at:
...
  lock_acquire+0x19e/0x400 kernel/locking/lockdep.c:5623
  __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline]
  _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
  do_wait+0x293/0xac0 kernel/exit.c:1579
  kernel_wait+0xd3/0x1c0 kernel/exit.c:1769
  call_usermodehelper_exec_sync kernel/umh.c:139 [inline]
  call_usermodehelper_exec_work+0xb5/0x220 kernel/umh.c:166
  process_one_work+0x85f/0x1010 kernel/workqueue.c:2310
  worker_thread+0xaa6/0x1290 kernel/workqueue.c:2457
  kthread+0x436/0x520 kernel/kthread.c:334
  ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287

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.0.2035/16189:
 #0: ffff88804f193420 (sk_lock-AF_INET6){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1744 [inline]
 #0: ffff88804f193420 (sk_lock-AF_INET6){+.+.}-{0:0}, at: tcp_sendmsg+0x1d/0x40 net/ipv4/tcp.c:1459
 #1: ffff88802b8ea638 (&f->f_owner.lock){....}-{2:2}, at: send_sigurg+0x25/0x390 fs/fcntl.c:829

the dependencies between SOFTIRQ-irq-safe lock and the holding lock:
  -> (&client->buffer_lock){..-.}-{2:2} {
     IN-SOFTIRQ-W at:
                        lock_acquire+0x19e/0x400 kernel/locking/lockdep.c:5623
                        __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
                        _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
                        spin_lock include/linux/spinlock.h:364 [inline]
                        evdev_pass_values+0xcb/0xab0 drivers/input/evdev.c:261
                        evdev_events+0x1c0/0x2f0 drivers/input/evdev.c:306
                        input_to_handler drivers/input/input.c:126 [inline]
                        input_pass_values+0x87e/0x1210 drivers/input/input.c:156
                        input_handle_event+0xbe0/0x1490 drivers/input/input.c:426
                        input_event+0x88/0xb0 drivers/input/input.c:457
                        hidinput_hid_event+0x1184/0x19a0 drivers/hid/hid-input.c:1483
                        hid_process_event+0x4b7/0x620 drivers/hid/hid-core.c:1545
                        hid_input_field drivers/hid/hid-core.c:1589 [inline]
                        hid_report_raw_event+0xdde/0x1640 drivers/hid/hid-core.c:1822
                        hid_input_report+0x424/0x4e0 drivers/hid/hid-core.c:1889
                        hid_irq_in+0x435/0x690 drivers/hid/usbhid/hid-core.c:284
                        __usb_hcd_giveback_urb+0x35f/0x520 drivers/usb/core/hcd.c:1674
                        dummy_timer+0x8a8/0x31e0 drivers/usb/gadget/udc/dummy_hcd.c:1988
                        call_timer_fn+0x17b/0x540 kernel/time/timer.c:1648
                        expire_timers kernel/time/timer.c:1699 [inline]
                        __run_timers+0x53e/0x800 kernel/time/timer.c:1970
                        run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1983
                        handle_softirqs+0x339/0x830 kernel/softirq.c:576
                        __do_softirq kernel/softirq.c:610 [inline]
                        invoke_softirq kernel/softirq.c:450 [inline]
                        __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659
                        irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
                        instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
                        sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
                        asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
                        console_unlock+0xcad/0x1120 kernel/printk/printk.c:2749
                        vprintk_emit+0xc0/0x150 kernel/printk/printk.c:2274
                        _printk+0xda/0x130 kernel/printk/printk.c:2299
                        netdev_info+0x11b/0x170 net/core/dev.c:11585
                        __bond_release_one+0x567/0x11c0 drivers/net/bonding/bond_main.c:2360
                        bond_slave_netdev_event drivers/net/bonding/bond_main.c:3594 [inline]
                        bond_netdev_event+0x62a/0xee0 drivers/net/bonding/bond_main.c:3709
                        notifier_call_chain kernel/notifier.c:83 [inline]
                        raw_notifier_call_chain+0xcb/0x160 kernel/notifier.c:391
                        call_netdevice_notifiers_extack net/core/dev.c:2074 [inline]
                        call_netdevice_notifiers net/core/dev.c:2088 [inline]
                        unregister_netdevice_many+0x1049/0x19f0 net/core/dev.c:11160
                        default_device_exit_batch+0x364/0x3c0 net/core/dev.c:11693
                        ops_exit_list net/core/net_namespace.c:177 [inline]
                        cleanup_net+0x791/0xba0 net/core/net_namespace.c:635
                        process_one_work+0x85f/0x1010 kernel/workqueue.c:2310
                        worker_thread+0xaa6/0x1290 kernel/workqueue.c:2457
                        kthread+0x436/0x520 kernel/kthread.c:334
                        ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
     INITIAL USE at:
                       lock_acquire+0x19e/0x400 kernel/locking/lockdep.c:5623
                       __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
                       _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
                       spin_lock include/linux/spinlock.h:364 [inline]
                       evdev_pass_values+0xcb/0xab0 drivers/input/evdev.c:261
                       evdev_events+0x1c0/0x2f0 drivers/input/evdev.c:306
                       input_to_handler drivers/input/input.c:126 [inline]
                       input_pass_values+0x87e/0x1210 drivers/input/input.c:156
                       input_handle_event+0xbe0/0x1490 drivers/input/input.c:426
                       input_event+0x88/0xb0 drivers/input/input.c:457
                       hidinput_hid_event+0x1184/0x19a0 drivers/hid/hid-input.c:1483
                       hid_process_event+0x4b7/0x620 drivers/hid/hid-core.c:1545
                       hid_input_field drivers/hid/hid-core.c:1589 [inline]
                       hid_report_raw_event+0xdde/0x1640 drivers/hid/hid-core.c:1822
                       hid_input_report+0x424/0x4e0 drivers/hid/hid-core.c:1889
                       hid_irq_in+0x435/0x690 drivers/hid/usbhid/hid-core.c:284
                       __usb_hcd_giveback_urb+0x35f/0x520 drivers/usb/core/hcd.c:1674
                       dummy_timer+0x8a8/0x31e0 drivers/usb/gadget/udc/dummy_hcd.c:1988
                       call_timer_fn+0x17b/0x540 kernel/time/timer.c:1648
                       expire_timers kernel/time/timer.c:1699 [inline]
                       __run_timers+0x53e/0x800 kernel/time/timer.c:1970
                       run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1983
                       handle_softirqs+0x339/0x830 kernel/softirq.c:576
                       __do_softirq kernel/softirq.c:610 [inline]
                       invoke_softirq kernel/softirq.c:450 [inline]
                       __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659
                       irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
                       instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
                       sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
                       asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
                       console_unlock+0xcad/0x1120 kernel/printk/printk.c:2749
                       vprintk_emit+0xc0/0x150 kernel/printk/printk.c:2274
                       _printk+0xda/0x130 kernel/printk/printk.c:2299
                       netdev_info+0x11b/0x170 net/core/dev.c:11585
                       __bond_release_one+0x567/0x11c0 drivers/net/bonding/bond_main.c:2360
                       bond_slave_netdev_event drivers/net/bonding/bond_main.c:3594 [inline]
                       bond_netdev_event+0x62a/0xee0 drivers/net/bonding/bond_main.c:3709
                       notifier_call_chain kernel/notifier.c:83 [inline]
                       raw_notifier_call_chain+0xcb/0x160 kernel/notifier.c:391
                       call_netdevice_notifiers_extack net/core/dev.c:2074 [inline]
                       call_netdevice_notifiers net/core/dev.c:2088 [inline]
                       unregister_netdevice_many+0x1049/0x19f0 net/core/dev.c:11160
                       default_device_exit_batch+0x364/0x3c0 net/core/dev.c:11693
                       ops_exit_list net/core/net_namespace.c:177 [inline]
                       cleanup_net+0x791/0xba0 net/core/net_namespace.c:635
                       process_one_work+0x85f/0x1010 kernel/workqueue.c:2310
                       worker_thread+0xaa6/0x1290 kernel/workqueue.c:2457
                       kthread+0x436/0x520 kernel/kthread.c:334
                       ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
   }
   ... key      at: [<ffffffff9663e300>] evdev_open.__key.22+0x0/0x20
 -> (&new->fa_lock){....}-{2:2} {
    INITIAL USE at:
                     lock_acquire+0x19e/0x400 kernel/locking/lockdep.c:5623
                     __raw_write_lock_irq include/linux/rwlock_api_smp.h:196 [inline]
                     _raw_write_lock_irq+0xab/0xf0 kernel/locking/spinlock.c:316
                     fasync_remove_entry+0xf0/0x1c0 fs/fcntl.c:885
                     lease_modify+0x1a2/0x390 fs/locks.c:1480
                     locks_remove_lease fs/locks.c:2720 [inline]
                     locks_remove_file+0x52f/0xec0 fs/locks.c:2745
                     __fput+0x18d/0x930 fs/file_table.c:303
                     task_work_run+0x125/0x1a0 kernel/task_work.c:188
                     tracehook_notify_resume include/linux/tracehook.h:189 [inline]
                     exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181
                     exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214
                     __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
                     syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307
                     do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86
                     entry_SYSCALL_64_after_hwframe+0x66/0xd0
    INITIAL READ USE at:
                          lock_acquire+0x19e/0x400 kernel/locking/lockdep.c:5623
                          __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:159 [inline]
                          _raw_read_lock_irqsave+0xb8/0x100 kernel/locking/spinlock.c:236
                          kill_fasync_rcu fs/fcntl.c:1008 [inline]
                          kill_fasync+0x16d/0x490 fs/fcntl.c:1029
                          lease_break_callback+0x22/0x30 fs/locks.c:613
                          __break_lease+0x4a1/0x12b0 fs/locks.c:1615
                          break_lease include/linux/fs.h:2651 [inline]
                          do_dentry_open+0x771/0xf80 fs/open.c:817
                          vfs_open fs/open.c:958 [inline]
                          dentry_open+0xc6/0x120 fs/open.c:974
                          create_fd fs/notify/fanotify/fanotify_user.c:262 [inline]
                          copy_event_to_user fs/notify/fanotify/fanotify_user.c:650 [inline]
                          fanotify_read+0x85b/0x2240 fs/notify/fanotify/fanotify_user.c:782
                          vfs_read+0x301/0xd60 fs/read_write.c:483
                          ksys_read+0x152/0x260 fs/read_write.c:623
                          do_syscall_x64 arch/x86/entry/common.c:50 [inline]
                          do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
                          entry_SYSCALL_64_after_hwframe+0x66/0xd0
  }
  ... key      at: [<ffffffff96342780>] fasync_insert_entry.__key+0x0/0x20
  ... acquired at:
   __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:159 [inline]
   _raw_read_lock_irqsave+0xb8/0x100 kernel/locking/spinlock.c:236
   kill_fasync_rcu fs/fcntl.c:1008 [inline]
   kill_fasync+0x16d/0x490 fs/fcntl.c:1029
   __pass_event drivers/input/evdev.c:240 [inline]
   evdev_pass_values+0x54b/0xab0 drivers/input/evdev.c:278
   evdev_events+0x1c0/0x2f0 drivers/input/evdev.c:306
   input_to_handler drivers/input/input.c:126 [inline]
   input_pass_values+0x87e/0x1210 drivers/input/input.c:156
   input_handle_event+0xb3f/0x1490 drivers/input/input.c:415
   input_inject_event+0x1b9/0x2c0 drivers/input/input.c:487
   evdev_write+0x35b/0x490 drivers/input/evdev.c:530
   vfs_write+0x30b/0xd60 fs/read_write.c:592
   ksys_write+0x152/0x260 fs/read_write.c:647
   do_syscall_x64 arch/x86/entry/common.c:50 [inline]
   do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
   entry_SYSCALL_64_after_hwframe+0x66/0xd0

-> (&f->f_owner.lock){....}-{2:2} {
   INITIAL USE at:
                   lock_acquire+0x19e/0x400 kernel/locking/lockdep.c:5623
                   __raw_write_lock_irq include/linux/rwlock_api_smp.h:196 [inline]
                   _raw_write_lock_irq+0xab/0xf0 kernel/locking/spinlock.c:316
                   __f_setown+0x37/0x330 fs/fcntl.c:91
                   generic_add_lease fs/locks.c:1900 [inline]
                   generic_setlease+0xec1/0x12f0 fs/locks.c:1980
                   vfs_setlease fs/locks.c:2070 [inline]
                   do_fcntl_add_lease fs/locks.c:2091 [inline]
                   fcntl_setlease+0x262/0x330 fs/locks.c:2113
                   do_fcntl+0x11a/0x1360 fs/fcntl.c:413
                   __do_sys_fcntl fs/fcntl.c:466 [inline]
                   __se_sys_fcntl+0xcc/0x190 fs/fcntl.c:451
                   do_syscall_x64 arch/x86/entry/common.c:50 [inline]
                   do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
                   entry_SYSCALL_64_after_hwframe+0x66/0xd0
   INITIAL READ USE at:
                        lock_acquire+0x19e/0x400 kernel/locking/lockdep.c:5623
                        __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:159 [inline]
                        _raw_read_lock_irqsave+0xb8/0x100 kernel/locking/spinlock.c:236
                        send_sigurg+0x25/0x390 fs/fcntl.c:829
                        sk_send_sigurg+0x6b/0xc0 net/core/sock.c:3137
                        queue_oob+0x622/0x800 net/unix/af_unix.c:2016
                        unix_stream_sendmsg+0xb71/0xc90 net/unix/af_unix.c:2116
                        sock_sendmsg_nosec net/socket.c:706 [inline]
                        __sock_sendmsg net/socket.c:718 [inline]
                        ____sys_sendmsg+0x5b7/0x8f0 net/socket.c:2445
                        ___sys_sendmsg+0x236/0x2e0 net/socket.c:2499
                        __sys_sendmsg net/socket.c:2528 [inline]
                        __do_sys_sendmsg net/socket.c:2537 [inline]
                        __se_sys_sendmsg+0x1af/0x290 net/socket.c:2535
                        do_syscall_x64 arch/x86/entry/common.c:50 [inline]
                        do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
                        entry_SYSCALL_64_after_hwframe+0x66/0xd0
 }
 ... key      at: [<ffffffff96341b00>] __alloc_file.__key+0x0/0x10
 ... acquired at:
   __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:159 [inline]
   _raw_read_lock_irqsave+0xb8/0x100 kernel/locking/spinlock.c:236
   send_sigio+0x2f/0x330 fs/fcntl.c:790
   kill_fasync_rcu fs/fcntl.c:1015 [inline]
   kill_fasync+0x20a/0x490 fs/fcntl.c:1029
   lease_break_callback+0x22/0x30 fs/locks.c:613
   __break_lease+0x4a1/0x12b0 fs/locks.c:1615
   break_lease include/linux/fs.h:2651 [inline]
   do_dentry_open+0x771/0xf80 fs/open.c:817
   vfs_open fs/open.c:958 [inline]
   dentry_open+0xc6/0x120 fs/open.c:974
   create_fd fs/notify/fanotify/fanotify_user.c:262 [inline]
   copy_event_to_user fs/notify/fanotify/fanotify_user.c:650 [inline]
   fanotify_read+0x85b/0x2240 fs/notify/fanotify/fanotify_user.c:782
   vfs_read+0x301/0xd60 fs/read_write.c:483
   ksys_read+0x152/0x260 fs/read_write.c:623
   do_syscall_x64 arch/x86/entry/common.c:50 [inline]
   do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
   entry_SYSCALL_64_after_hwframe+0x66/0xd0


the dependencies between the lock to be acquired
 and SOFTIRQ-irq-unsafe lock:
-> (tasklist_lock){.+.+}-{2:2} {
   HARDIRQ-ON-R at:
                    lock_acquire+0x19e/0x400 kernel/locking/lockdep.c:5623
                    __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline]
                    _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
                    do_wait+0x293/0xac0 kernel/exit.c:1579
                    kernel_wait+0xd3/0x1c0 kernel/exit.c:1769
                    call_usermodehelper_exec_sync kernel/umh.c:139 [inline]
                    call_usermodehelper_exec_work+0xb5/0x220 kernel/umh.c:166
                    process_one_work+0x85f/0x1010 kernel/workqueue.c:2310
                    worker_thread+0xaa6/0x1290 kernel/workqueue.c:2457
                    kthread+0x436/0x520 kernel/kthread.c:334
                    ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
   SOFTIRQ-ON-R at:
                    lock_acquire+0x19e/0x400 kernel/locking/lockdep.c:5623
                    __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline]
                    _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
                    do_wait+0x293/0xac0 kernel/exit.c:1579
                    kernel_wait+0xd3/0x1c0 kernel/exit.c:1769
                    call_usermodehelper_exec_sync kernel/umh.c:139 [inline]
                    call_usermodehelper_exec_work+0xb5/0x220 kernel/umh.c:166
                    process_one_work+0x85f/0x1010 kernel/workqueue.c:2310
                    worker_thread+0xaa6/0x1290 kernel/workqueue.c:2457
                    kthread+0x436/0x520 kernel/kthread.c:334
                    ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
   INITIAL USE at:
                   lock_acquire+0x19e/0x400 kernel/locking/lockdep.c:5623
                   __raw_write_lock_irq include/linux/rwlock_api_smp.h:196 [inline]
                   _raw_write_lock_irq+0xab/0xf0 kernel/locking/spinlock.c:316
                   copy_process+0x236f/0x3e20 kernel/fork.c:2412
                   kernel_clone+0x23f/0x990 kernel/fork.c:2679
                   kernel_thread+0xfa/0x160 kernel/fork.c:2731
                   rest_init+0x21/0x330 init/main.c:720
                   start_kernel+0x489/0x540 init/main.c:1154
                   secondary_startup_64_no_verify+0xb1/0xbb
   INITIAL READ USE at:
                        lock_acquire+0x19e/0x400 kernel/locking/lockdep.c:5623
                        __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline]
                        _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
                        do_wait+0x293/0xac0 kernel/exit.c:1579
                        kernel_wait+0xd3/0x1c0 kernel/exit.c:1769
                        call_usermodehelper_exec_sync kernel/umh.c:139 [inline]
                        call_usermodehelper_exec_work+0xb5/0x220 kernel/umh.c:166
                        process_one_work+0x85f/0x1010 kernel/workqueue.c:2310
                        worker_thread+0xaa6/0x1290 kernel/workqueue.c:2457
                        kthread+0x436/0x520 kernel/kthread.c:334
                        ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 }
 ... key      at: [<ffffffff8c00a058>] tasklist_lock+0x18/0x40
 ... acquired at:
   __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline]
   _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
   send_sigurg+0xcb/0x390 fs/fcntl.c:845
   sk_send_sigurg+0x6b/0xc0 net/core/sock.c:3137
   tcp_check_urg net/ipv4/tcp_input.c:5688 [inline]
   tcp_urg+0x2bc/0xb20 net/ipv4/tcp_input.c:5729
   tcp_rcv_established+0xac2/0x1ce0 net/ipv4/tcp_input.c:6063
   tcp_v4_do_rcv+0x44b/0x9b0 net/ipv4/tcp_ipv4.c:1731
   sk_backlog_rcv include/net/sock.h:1080 [inline]
   __release_sock+0x1e1/0x450 net/core/sock.c:2731
   release_sock+0x5b/0x1b0 net/core/sock.c:3274
   tcp_sendmsg+0x35/0x40 net/ipv4/tcp.c:1461
   sock_sendmsg_nosec net/socket.c:706 [inline]
   __sock_sendmsg net/socket.c:718 [inline]
   ____sys_sendmsg+0x5b7/0x8f0 net/socket.c:2445
   ___sys_sendmsg+0x236/0x2e0 net/socket.c:2499
   __sys_sendmsg net/socket.c:2528 [inline]
   __do_sys_sendmsg net/socket.c:2537 [inline]
   __se_sys_sendmsg+0x1af/0x290 net/socket.c:2535
   do_syscall_x64 arch/x86/entry/common.c:50 [inline]
   do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
   entry_SYSCALL_64_after_hwframe+0x66/0xd0


stack backtrace:
CPU: 1 PID: 16189 Comm: syz.0.2035 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106
 print_bad_irq_dependency kernel/locking/lockdep.c:2567 [inline]
 check_irq_usage kernel/locking/lockdep.c:2806 [inline]
 check_prev_add kernel/locking/lockdep.c:3057 [inline]
 check_prevs_add kernel/locking/lockdep.c:3172 [inline]
 validate_chain kernel/locking/lockdep.c:3788 [inline]
 __lock_acquire+0x6688/0x7d10 kernel/locking/lockdep.c:5012
 lock_acquire+0x19e/0x400 kernel/locking/lockdep.c:5623
 __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline]
 _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
 send_sigurg+0xcb/0x390 fs/fcntl.c:845
 sk_send_sigurg+0x6b/0xc0 net/core/sock.c:3137
 tcp_check_urg net/ipv4/tcp_input.c:5688 [inline]
 tcp_urg+0x2bc/0xb20 net/ipv4/tcp_input.c:5729
 tcp_rcv_established+0xac2/0x1ce0 net/ipv4/tcp_input.c:6063
 tcp_v4_do_rcv+0x44b/0x9b0 net/ipv4/tcp_ipv4.c:1731
 sk_backlog_rcv include/net/sock.h:1080 [inline]
 __release_sock+0x1e1/0x450 net/core/sock.c:2731
 release_sock+0x5b/0x1b0 net/core/sock.c:3274
 tcp_sendmsg+0x35/0x40 net/ipv4/tcp.c:1461
 sock_sendmsg_nosec net/socket.c:706 [inline]
 __sock_sendmsg net/socket.c:718 [inline]
 ____sys_sendmsg+0x5b7/0x8f0 net/socket.c:2445
 ___sys_sendmsg+0x236/0x2e0 net/socket.c:2499
 __sys_sendmsg net/socket.c:2528 [inline]
 __do_sys_sendmsg net/socket.c:2537 [inline]
 __se_sys_sendmsg+0x1af/0x290 net/socket.c:2535
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f4f77fac819
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4f76206028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f4f78225fa0 RCX: 00007f4f77fac819
RDX: 0000000000000001 RSI: 0000200000000180 RDI: 0000000000000007
RBP: 00007f4f78042c91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f4f78226038 R14: 00007f4f78225fa0 R15: 00007fff8c9e6278
 </TASK>

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/04/07 05:48 linux-5.15.y 91d48252ad4b 4440e7c2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan possible deadlock in evdev_pass_values
2026/03/05 00:46 linux-5.15.y 91d48252ad4b a9fe5c9e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan possible deadlock in evdev_pass_values
2026/02/23 23:48 linux-5.15.y 3330a8d33e08 41d2fa6a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan possible deadlock in evdev_pass_values
2026/02/23 23:48 linux-5.15.y 3330a8d33e08 41d2fa6a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan possible deadlock in evdev_pass_values
2026/02/10 17:51 linux-5.15.y 7b232985052f 91d776d3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan possible deadlock in evdev_pass_values
2026/01/20 01:32 linux-5.15.y 9eec9a14ee10 572effc1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan possible deadlock in evdev_pass_values
2025/10/15 11:53 linux-5.15.y 29e53a5b1c4f b6605ba8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan possible deadlock in evdev_pass_values
2025/08/30 02:16 linux-5.15.y 01879f56bdde 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan possible deadlock in evdev_pass_values
2025/08/26 05:45 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan possible deadlock in evdev_pass_values
* Struck through repros no longer work on HEAD.