===================================================== WARNING: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected syzkaller #0 Not tainted ----------------------------------------------------- syz.1.3965/18799 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire: ffff8880261c4408 (&new->fa_lock){....}-{2:2}, at: kill_fasync_rcu fs/fcntl.c:990 [inline] ffff8880261c4408 (&new->fa_lock){....}-{2:2}, at: kill_fasync+0x192/0x4b0 fs/fcntl.c:1011 and this task is already holding: ffff88807fbb2028 (&client->buffer_lock){....}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline] ffff88807fbb2028 (&client->buffer_lock){....}-{2:2}, at: evdev_pass_values+0xcb/0xab0 drivers/input/evdev.c:261 which would create a new lock dependency: (&client->buffer_lock){....}-{2:2} -> (&new->fa_lock){....}-{2:2} but this new dependency connects a HARDIRQ-irq-safe lock: (&dev->event_lock#2){-.-.}-{2:2} ... which became HARDIRQ-irq-safe at: lock_acquire+0x19e/0x420 kernel/locking/lockdep.c:5754 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xb4/0x100 kernel/locking/spinlock.c:162 input_event+0x7a/0xc0 drivers/input/input.c:434 input_report_key include/linux/input.h:425 [inline] psmouse_report_standard_buttons drivers/input/mouse/psmouse-base.c:128 [inline] psmouse_report_standard_packet+0x53/0x200 drivers/input/mouse/psmouse-base.c:146 psmouse_process_byte+0x478/0x670 drivers/input/mouse/psmouse-base.c:237 psmouse_handle_byte+0x43/0x490 drivers/input/mouse/psmouse-base.c:279 ps2_interrupt+0x164/0x980 drivers/input/serio/libps2.c:613 serio_interrupt+0x8b/0x130 drivers/input/serio/serio.c:998 i8042_interrupt+0x385/0x710 drivers/input/serio/i8042.c:610 __handle_irq_event_percpu+0x271/0x940 kernel/irq/handle.c:158 handle_irq_event_percpu kernel/irq/handle.c:193 [inline] handle_irq_event+0x8b/0x1e0 kernel/irq/handle.c:210 handle_edge_irq+0x247/0xb30 kernel/irq/chip.c:831 generic_handle_irq_desc include/linux/irqdesc.h:161 [inline] handle_irq arch/x86/kernel/irq.c:240 [inline] __common_interrupt+0x13b/0x230 arch/x86/kernel/irq.c:259 common_interrupt+0xb4/0xd0 arch/x86/kernel/irq.c:249 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:678 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0xc0/0x120 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] rmqueue_bulk mm/page_alloc.c:2198 [inline] __rmqueue_pcplist+0xc05/0x1160 mm/page_alloc.c:2751 rmqueue_pcplist mm/page_alloc.c:2793 [inline] rmqueue mm/page_alloc.c:2830 [inline] get_page_from_freelist+0x69d/0x19e0 mm/page_alloc.c:3217 __alloc_pages+0x1f0/0x460 mm/page_alloc.c:4500 alloc_page_interleave+0x24/0x1e0 mm/mempolicy.c:2120 alloc_slab_page+0x5d/0x160 mm/slub.c:1881 allocate_slab mm/slub.c:2028 [inline] new_slab+0x87/0x2d0 mm/slub.c:2081 ___slab_alloc+0xc5d/0x12f0 mm/slub.c:3253 __slab_alloc mm/slub.c:3339 [inline] __slab_alloc_node mm/slub.c:3392 [inline] slab_alloc_node mm/slub.c:3485 [inline] slab_alloc mm/slub.c:3503 [inline] __kmem_cache_alloc_lru mm/slub.c:3510 [inline] kmem_cache_alloc+0x1b3/0x2d0 mm/slub.c:3519 kmem_cache_zalloc include/linux/slab.h:711 [inline] __kernfs_new_node+0xe5/0x810 fs/kernfs/dir.c:624 kernfs_new_node+0x14c/0x260 fs/kernfs/dir.c:700 __kernfs_create_file+0x4b/0x2e0 fs/kernfs/file.c:1068 sysfs_add_file_mode_ns+0x238/0x300 fs/sysfs/file.c:294 sysfs_create_file_ns+0x12c/0x1b0 fs/sysfs/file.c:355 add_bind_files drivers/base/bus.c:591 [inline] bus_add_driver+0x454/0x630 drivers/base/bus.c:699 driver_register+0x23a/0x310 drivers/base/driver.c:246 usb_register_driver+0x206/0x3d0 drivers/usb/core/driver.c:1062 do_one_initcall+0x242/0x790 init/main.c:1250 do_initcall_level+0x137/0x1f0 init/main.c:1312 do_initcalls+0x69/0xd0 init/main.c:1328 kernel_init_freeable+0x3ed/0x580 init/main.c:1565 kernel_init+0x1d/0x1c0 init/main.c:1455 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 to a HARDIRQ-irq-unsafe lock: (tasklist_lock){.+.+}-{2:2} ... which became HARDIRQ-irq-unsafe at: ... lock_acquire+0x19e/0x420 kernel/locking/lockdep.c:5754 __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline] _raw_read_lock+0x36/0x50 kernel/locking/spinlock.c:228 do_wait+0x294/0xae0 kernel/exit.c:1607 kernel_wait+0xd7/0x1c0 kernel/exit.c:1797 call_usermodehelper_exec_sync kernel/umh.c:137 [inline] call_usermodehelper_exec_work+0xb9/0x220 kernel/umh.c:164 process_one_work kernel/workqueue.c:2653 [inline] process_scheduled_works+0xa5d/0x15d0 kernel/workqueue.c:2730 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2811 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 other info that might help us debug this: Chain exists of: &dev->event_lock#2 --> &client->buffer_lock --> tasklist_lock Possible interrupt unsafe locking scenario: CPU0 CPU1 ---- ---- lock(tasklist_lock); local_irq_disable(); lock(&dev->event_lock#2); lock(&client->buffer_lock); lock(&dev->event_lock#2); *** DEADLOCK *** 7 locks held by syz.1.3965/18799: #0: ffff888144337110 (&evdev->mutex){+.+.}-{3:3}, at: evdev_write+0x180/0x490 drivers/input/evdev.c:513 #1: ffff88801af03230 (&dev->event_lock#2){-.-.}-{2:2}, at: input_inject_event+0xab/0x320 drivers/input/input.c:460 #2: ffffffff8d132060 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline] #2: ffffffff8d132060 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline] #2: ffffffff8d132060 (rcu_read_lock){....}-{1:2}, at: input_inject_event+0xbc/0x320 drivers/input/input.c:462 #3: ffffffff8d132060 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline] #3: ffffffff8d132060 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline] #3: ffffffff8d132060 (rcu_read_lock){....}-{1:2}, at: input_pass_values+0xa3/0x12f0 drivers/input/input.c:153 #4: ffffffff8d132060 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline] #4: ffffffff8d132060 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline] #4: ffffffff8d132060 (rcu_read_lock){....}-{1:2}, at: evdev_events+0x79/0x330 drivers/input/evdev.c:298 #5: ffff88807fbb2028 (&client->buffer_lock){....}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline] #5: ffff88807fbb2028 (&client->buffer_lock){....}-{2:2}, at: evdev_pass_values+0xcb/0xab0 drivers/input/evdev.c:261 #6: ffffffff8d132060 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline] #6: ffffffff8d132060 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline] #6: ffffffff8d132060 (rcu_read_lock){....}-{1:2}, at: kill_fasync+0x53/0x4b0 fs/fcntl.c:1010 the dependencies between HARDIRQ-irq-safe lock and the holding lock: -> (&dev->event_lock#2){-.-.}-{2:2} { IN-HARDIRQ-W at: lock_acquire+0x19e/0x420 kernel/locking/lockdep.c:5754 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xb4/0x100 kernel/locking/spinlock.c:162 input_event+0x7a/0xc0 drivers/input/input.c:434 input_report_key include/linux/input.h:425 [inline] psmouse_report_standard_buttons drivers/input/mouse/psmouse-base.c:128 [inline] psmouse_report_standard_packet+0x53/0x200 drivers/input/mouse/psmouse-base.c:146 psmouse_process_byte+0x478/0x670 drivers/input/mouse/psmouse-base.c:237 psmouse_handle_byte+0x43/0x490 drivers/input/mouse/psmouse-base.c:279 ps2_interrupt+0x164/0x980 drivers/input/serio/libps2.c:613 serio_interrupt+0x8b/0x130 drivers/input/serio/serio.c:998 i8042_interrupt+0x385/0x710 drivers/input/serio/i8042.c:610 __handle_irq_event_percpu+0x271/0x940 kernel/irq/handle.c:158 handle_irq_event_percpu kernel/irq/handle.c:193 [inline] handle_irq_event+0x8b/0x1e0 kernel/irq/handle.c:210 handle_edge_irq+0x247/0xb30 kernel/irq/chip.c:831 generic_handle_irq_desc include/linux/irqdesc.h:161 [inline] handle_irq arch/x86/kernel/irq.c:240 [inline] __common_interrupt+0x13b/0x230 arch/x86/kernel/irq.c:259 common_interrupt+0xb4/0xd0 arch/x86/kernel/irq.c:249 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:678 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0xc0/0x120 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] rmqueue_bulk mm/page_alloc.c:2198 [inline] __rmqueue_pcplist+0xc05/0x1160 mm/page_alloc.c:2751 rmqueue_pcplist mm/page_alloc.c:2793 [inline] rmqueue mm/page_alloc.c:2830 [inline] get_page_from_freelist+0x69d/0x19e0 mm/page_alloc.c:3217 __alloc_pages+0x1f0/0x460 mm/page_alloc.c:4500 alloc_page_interleave+0x24/0x1e0 mm/mempolicy.c:2120 alloc_slab_page+0x5d/0x160 mm/slub.c:1881 allocate_slab mm/slub.c:2028 [inline] new_slab+0x87/0x2d0 mm/slub.c:2081 ___slab_alloc+0xc5d/0x12f0 mm/slub.c:3253 __slab_alloc mm/slub.c:3339 [inline] __slab_alloc_node mm/slub.c:3392 [inline] slab_alloc_node mm/slub.c:3485 [inline] slab_alloc mm/slub.c:3503 [inline] __kmem_cache_alloc_lru mm/slub.c:3510 [inline] kmem_cache_alloc+0x1b3/0x2d0 mm/slub.c:3519 kmem_cache_zalloc include/linux/slab.h:711 [inline] __kernfs_new_node+0xe5/0x810 fs/kernfs/dir.c:624 kernfs_new_node+0x14c/0x260 fs/kernfs/dir.c:700 __kernfs_create_file+0x4b/0x2e0 fs/kernfs/file.c:1068 sysfs_add_file_mode_ns+0x238/0x300 fs/sysfs/file.c:294 sysfs_create_file_ns+0x12c/0x1b0 fs/sysfs/file.c:355 add_bind_files drivers/base/bus.c:591 [inline] bus_add_driver+0x454/0x630 drivers/base/bus.c:699 driver_register+0x23a/0x310 drivers/base/driver.c:246 usb_register_driver+0x206/0x3d0 drivers/usb/core/driver.c:1062 do_one_initcall+0x242/0x790 init/main.c:1250 do_initcall_level+0x137/0x1f0 init/main.c:1312 do_initcalls+0x69/0xd0 init/main.c:1328 kernel_init_freeable+0x3ed/0x580 init/main.c:1565 kernel_init+0x1d/0x1c0 init/main.c:1455 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 IN-SOFTIRQ-W at: lock_acquire+0x19e/0x420 kernel/locking/lockdep.c:5754 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xb4/0x100 kernel/locking/spinlock.c:162 input_inject_event+0xab/0x320 drivers/input/input.c:460 kd_sound_helper+0x101/0x210 drivers/tty/vt/keyboard.c:256 input_handler_for_each_handle+0xfb/0x1c0 drivers/input/input.c:2597 call_timer_fn+0x189/0x540 kernel/time/timer.c:1701 expire_timers kernel/time/timer.c:1752 [inline] __run_timers+0x542/0x800 kernel/time/timer.c:2023 run_timer_softirq+0x67/0xf0 kernel/time/timer.c:2036 handle_softirqs+0x280/0x820 kernel/softirq.c:578 __do_softirq kernel/softirq.c:612 [inline] invoke_softirq kernel/softirq.c:452 [inline] __irq_exit_rcu+0xd3/0x190 kernel/softirq.c:661 irq_exit_rcu+0x9/0x20 kernel/softirq.c:673 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687 lockdep_enabled kernel/locking/lockdep.c:122 [inline] lock_is_held_type+0x50/0x190 kernel/locking/lockdep.c:5818 lock_is_held include/linux/lockdep.h:288 [inline] __might_resched+0xee/0x630 kernel/sched/core.c:10173 __mutex_lock_common kernel/locking/mutex.c:580 [inline] __mutex_lock+0xb7/0xcc0 kernel/locking/mutex.c:747 arch_jump_label_transform_queue+0x5b/0x100 arch/x86/kernel/jump_label.c:136 __jump_label_update+0x17d/0x390 kernel/jump_label.c:510 static_key_enable_cpuslocked+0x123/0x240 kernel/jump_label.c:207 static_key_enable+0x1a/0x20 kernel/jump_label.c:220 toggle_allocation_gate+0xa8/0x260 mm/kfence/core.c:846 process_one_work kernel/workqueue.c:2653 [inline] process_scheduled_works+0xa5d/0x15d0 kernel/workqueue.c:2730 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2811 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 INITIAL USE at: lock_acquire+0x19e/0x420 kernel/locking/lockdep.c:5754 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xb4/0x100 kernel/locking/spinlock.c:162 input_inject_event+0xab/0x320 drivers/input/input.c:460 led_trigger_event+0x133/0x210 drivers/leds/led-triggers.c:393 kbd_led_trigger_activate+0xbd/0x100 drivers/tty/vt/keyboard.c:1036 led_trigger_set+0x52c/0x950 drivers/leds/led-triggers.c:212 led_trigger_set_default+0x1a0/0x1e0 drivers/leds/led-triggers.c:276 led_classdev_register_ext+0x733/0x9b0 drivers/leds/led-class.c:562 led_classdev_register include/linux/leds.h:279 [inline] input_leds_connect+0x4eb/0x6b0 drivers/input/input-leds.c:139 input_attach_handler drivers/input/input.c:1064 [inline] input_register_device+0xcdc/0x1070 drivers/input/input.c:2470 atkbd_connect+0x70a/0x9b0 drivers/input/keyboard/atkbd.c:1342 serio_connect_driver drivers/input/serio/serio.c:44 [inline] serio_driver_probe+0x7a/0xa0 drivers/input/serio/serio.c:775 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x25b/0xb20 drivers/base/dd.c:658 __driver_probe_device+0x18c/0x330 drivers/base/dd.c:800 driver_probe_device+0x4f/0x420 drivers/base/dd.c:830 __driver_attach+0x44e/0x6e0 drivers/base/dd.c:1216 bus_for_each_dev+0x235/0x2b0 drivers/base/bus.c:370 serio_attach_driver drivers/input/serio/serio.c:804 [inline] serio_handle_event+0x1a2/0x860 drivers/input/serio/serio.c:224 process_one_work kernel/workqueue.c:2653 [inline] process_scheduled_works+0xa5d/0x15d0 kernel/workqueue.c:2730 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2811 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 } ... key at: [] input_allocate_device.__key.5+0x0/0x20 -> (&client->buffer_lock){....}-{2:2} { INITIAL USE at: lock_acquire+0x19e/0x420 kernel/locking/lockdep.c:5754 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] evdev_pass_values+0xcb/0xab0 drivers/input/evdev.c:261 evdev_events+0x1d8/0x330 drivers/input/evdev.c:306 input_to_handler drivers/input/input.c:129 [inline] input_pass_values+0x905/0x12f0 drivers/input/input.c:161 input_event_dispose+0x3e8/0x6c0 drivers/input/input.c:389 input_inject_event+0x1f9/0x320 drivers/input/input.c:465 kd_sound_helper+0x101/0x210 drivers/tty/vt/keyboard.c:256 input_handler_for_each_handle+0xfb/0x1c0 drivers/input/input.c:2597 kd_mksound+0x97/0x130 drivers/tty/vt/keyboard.c:280 do_con_trol drivers/tty/vt/vt.c:2131 [inline] do_con_write+0x2bd4/0x6e50 drivers/tty/vt/vt.c:2905 con_write+0x24/0x40 drivers/tty/vt/vt.c:3245 process_output_block drivers/tty/n_tty.c:580 [inline] n_tty_write+0xd34/0x11e0 drivers/tty/n_tty.c:2395 iterate_tty_write drivers/tty/tty_io.c:1017 [inline] file_tty_write+0x54b/0x980 drivers/tty/tty_io.c:1088 call_write_iter include/linux/fs.h:2018 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x46c/0x990 fs/read_write.c:584 ksys_write+0x150/0x260 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 } ... key at: [] evdev_open.__key.28+0x0/0x20 ... acquired at: __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] evdev_pass_values+0xcb/0xab0 drivers/input/evdev.c:261 evdev_events+0x1d8/0x330 drivers/input/evdev.c:306 input_to_handler drivers/input/input.c:129 [inline] input_pass_values+0x905/0x12f0 drivers/input/input.c:161 input_event_dispose+0x3e8/0x6c0 drivers/input/input.c:389 input_inject_event+0x1f9/0x320 drivers/input/input.c:465 kd_sound_helper+0x101/0x210 drivers/tty/vt/keyboard.c:256 input_handler_for_each_handle+0xfb/0x1c0 drivers/input/input.c:2597 kd_mksound+0x97/0x130 drivers/tty/vt/keyboard.c:280 do_con_trol drivers/tty/vt/vt.c:2131 [inline] do_con_write+0x2bd4/0x6e50 drivers/tty/vt/vt.c:2905 con_write+0x24/0x40 drivers/tty/vt/vt.c:3245 process_output_block drivers/tty/n_tty.c:580 [inline] n_tty_write+0xd34/0x11e0 drivers/tty/n_tty.c:2395 iterate_tty_write drivers/tty/tty_io.c:1017 [inline] file_tty_write+0x54b/0x980 drivers/tty/tty_io.c:1088 call_write_iter include/linux/fs.h:2018 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x46c/0x990 fs/read_write.c:584 ksys_write+0x150/0x260 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 the dependencies between the lock to be acquired and HARDIRQ-irq-unsafe lock: -> (tasklist_lock){.+.+}-{2:2} { HARDIRQ-ON-R at: lock_acquire+0x19e/0x420 kernel/locking/lockdep.c:5754 __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline] _raw_read_lock+0x36/0x50 kernel/locking/spinlock.c:228 do_wait+0x294/0xae0 kernel/exit.c:1607 kernel_wait+0xd7/0x1c0 kernel/exit.c:1797 call_usermodehelper_exec_sync kernel/umh.c:137 [inline] call_usermodehelper_exec_work+0xb9/0x220 kernel/umh.c:164 process_one_work kernel/workqueue.c:2653 [inline] process_scheduled_works+0xa5d/0x15d0 kernel/workqueue.c:2730 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2811 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 SOFTIRQ-ON-R at: lock_acquire+0x19e/0x420 kernel/locking/lockdep.c:5754 __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline] _raw_read_lock+0x36/0x50 kernel/locking/spinlock.c:228 do_wait+0x294/0xae0 kernel/exit.c:1607 kernel_wait+0xd7/0x1c0 kernel/exit.c:1797 call_usermodehelper_exec_sync kernel/umh.c:137 [inline] call_usermodehelper_exec_work+0xb9/0x220 kernel/umh.c:164 process_one_work kernel/workqueue.c:2653 [inline] process_scheduled_works+0xa5d/0x15d0 kernel/workqueue.c:2730 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2811 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 INITIAL USE at: lock_acquire+0x19e/0x420 kernel/locking/lockdep.c:5754 __raw_write_lock_irq include/linux/rwlock_api_smp.h:195 [inline] _raw_write_lock_irq+0xaf/0xf0 kernel/locking/spinlock.c:326 copy_process+0x2275/0x3d80 kernel/fork.c:2631 kernel_clone+0x24b/0x8a0 kernel/fork.c:2914 user_mode_thread+0x111/0x180 kernel/fork.c:2992 rest_init+0x27/0x300 init/main.c:709 arch_call_rest_init+0xe/0x10 init/main.c:841 start_kernel+0x459/0x4e0 init/main.c:1086 x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:555 copy_bootdata+0x0/0xe0 arch/x86/kernel/head64.c:536 secondary_startup_64_no_verify+0x179/0x17b INITIAL READ USE at: lock_acquire+0x19e/0x420 kernel/locking/lockdep.c:5754 __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline] _raw_read_lock+0x36/0x50 kernel/locking/spinlock.c:228 do_wait+0x294/0xae0 kernel/exit.c:1607 kernel_wait+0xd7/0x1c0 kernel/exit.c:1797 call_usermodehelper_exec_sync kernel/umh.c:137 [inline] call_usermodehelper_exec_work+0xb9/0x220 kernel/umh.c:164 process_one_work kernel/workqueue.c:2653 [inline] process_scheduled_works+0xa5d/0x15d0 kernel/workqueue.c:2730 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2811 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 } ... key at: [] tasklist_lock+0x18/0x40 ... acquired at: __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline] _raw_read_lock+0x36/0x50 kernel/locking/spinlock.c:228 send_sigurg+0xf0/0x3c0 fs/fcntl.c:827 sk_send_sigurg+0x6f/0xc0 net/core/sock.c:3412 queue_oob+0x3f1/0x4f0 net/unix/af_unix.c:2207 unix_stream_sendmsg+0xaf0/0xbf0 net/unix/af_unix.c:2326 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x5ba/0x960 net/socket.c:2594 ___sys_sendmsg+0x2a6/0x360 net/socket.c:2648 __sys_sendmmsg+0x2ca/0x510 net/socket.c:2734 __do_sys_sendmmsg net/socket.c:2763 [inline] __se_sys_sendmmsg net/socket.c:2760 [inline] __x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2760 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 -> (&f->f_owner.lock){....}-{2:2} { INITIAL USE at: lock_acquire+0x19e/0x420 kernel/locking/lockdep.c:5754 __raw_write_lock_irq include/linux/rwlock_api_smp.h:195 [inline] _raw_write_lock_irq+0xaf/0xf0 kernel/locking/spinlock.c:326 __f_setown+0x3b/0x330 fs/fcntl.c:92 generic_add_lease fs/locks.c:1815 [inline] generic_setlease+0xe58/0x1290 fs/locks.c:1895 vfs_setlease fs/locks.c:1960 [inline] do_fcntl_add_lease fs/locks.c:1981 [inline] fcntl_setlease+0x26c/0x340 fs/locks.c:2003 do_fcntl+0x1db/0x1490 fs/fcntl.c:397 __do_sys_fcntl fs/fcntl.c:448 [inline] __se_sys_fcntl+0xc9/0x1a0 fs/fcntl.c:433 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 INITIAL READ USE at: lock_acquire+0x19e/0x420 kernel/locking/lockdep.c:5754 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline] _raw_read_lock_irqsave+0xbc/0x100 kernel/locking/spinlock.c:236 send_sigio+0x33/0x360 fs/fcntl.c:772 kill_fasync_rcu fs/fcntl.c:997 [inline] kill_fasync+0x228/0x4b0 fs/fcntl.c:1011 sock_wake_async+0x137/0x160 net/socket.c:-1 sk_wake_async+0x184/0x280 include/net/sock.h:2615 sock_def_readable+0x22d/0x420 net/core/sock.c:3356 rxrpc_notify_socket+0x503/0x530 net/rxrpc/recvmsg.c:52 rxrpc_set_call_completion+0x12c/0x1e0 net/rxrpc/call_state.c:28 rxrpc_send_data_packet+0x141c/0x1e20 net/rxrpc/output.c:479 rxrpc_transmit_one+0x24/0x1e0 net/rxrpc/output.c:715 rxrpc_decant_prepared_tx net/rxrpc/call_event.c:326 [inline] rxrpc_transmit_some_data+0x6ff/0xa20 net/rxrpc/call_event.c:350 rxrpc_input_call_event+0x6cc/0x12a0 net/rxrpc/call_event.c:462 rxrpc_io_thread+0x6c0/0x26c0 net/rxrpc/io_thread.c:467 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 } ... key at: [] init_file.__key+0x0/0x20 ... acquired at: __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline] _raw_read_lock_irqsave+0xbc/0x100 kernel/locking/spinlock.c:236 send_sigio+0x33/0x360 fs/fcntl.c:772 kill_fasync_rcu fs/fcntl.c:997 [inline] kill_fasync+0x228/0x4b0 fs/fcntl.c:1011 sock_wake_async+0x137/0x160 net/socket.c:-1 sk_wake_async+0x184/0x280 include/net/sock.h:2615 sock_def_readable+0x22d/0x420 net/core/sock.c:3356 rxrpc_notify_socket+0x503/0x530 net/rxrpc/recvmsg.c:52 rxrpc_set_call_completion+0x12c/0x1e0 net/rxrpc/call_state.c:28 rxrpc_send_data_packet+0x141c/0x1e20 net/rxrpc/output.c:479 rxrpc_transmit_one+0x24/0x1e0 net/rxrpc/output.c:715 rxrpc_decant_prepared_tx net/rxrpc/call_event.c:326 [inline] rxrpc_transmit_some_data+0x6ff/0xa20 net/rxrpc/call_event.c:350 rxrpc_input_call_event+0x6cc/0x12a0 net/rxrpc/call_event.c:462 rxrpc_io_thread+0x6c0/0x26c0 net/rxrpc/io_thread.c:467 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 -> (&new->fa_lock){....}-{2:2} { INITIAL USE at: lock_acquire+0x19e/0x420 kernel/locking/lockdep.c:5754 __raw_write_lock_irq include/linux/rwlock_api_smp.h:195 [inline] _raw_write_lock_irq+0xaf/0xf0 kernel/locking/spinlock.c:326 fasync_remove_entry+0xf4/0x1c0 fs/fcntl.c:867 lease_modify+0x1a6/0x390 fs/locks.c:1402 locks_remove_lease fs/locks.c:2617 [inline] locks_remove_file+0x548/0xee0 fs/locks.c:2642 __fput+0x18f/0x970 fs/file_table.c:376 task_work_run+0x1d4/0x260 kernel/task_work.c:245 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:291 [inline] syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302 do_syscall_64+0x61/0xa0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x68/0xd2 INITIAL READ USE at: lock_acquire+0x19e/0x420 kernel/locking/lockdep.c:5754 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline] _raw_read_lock_irqsave+0xbc/0x100 kernel/locking/spinlock.c:236 kill_fasync_rcu fs/fcntl.c:990 [inline] kill_fasync+0x192/0x4b0 fs/fcntl.c:1011 sock_wake_async+0x137/0x160 net/socket.c:-1 sk_wake_async+0x184/0x280 include/net/sock.h:2615 sock_def_readable+0x22d/0x420 net/core/sock.c:3356 rxrpc_notify_socket+0x503/0x530 net/rxrpc/recvmsg.c:52 rxrpc_set_call_completion+0x12c/0x1e0 net/rxrpc/call_state.c:28 rxrpc_send_data_packet+0x141c/0x1e20 net/rxrpc/output.c:479 rxrpc_transmit_one+0x24/0x1e0 net/rxrpc/output.c:715 rxrpc_decant_prepared_tx net/rxrpc/call_event.c:326 [inline] rxrpc_transmit_some_data+0x6ff/0xa20 net/rxrpc/call_event.c:350 rxrpc_input_call_event+0x6cc/0x12a0 net/rxrpc/call_event.c:462 rxrpc_io_thread+0x6c0/0x26c0 net/rxrpc/io_thread.c:467 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 } ... key at: [] fasync_insert_entry.__key+0x0/0x20 ... acquired at: __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline] _raw_read_lock_irqsave+0xbc/0x100 kernel/locking/spinlock.c:236 kill_fasync_rcu fs/fcntl.c:990 [inline] kill_fasync+0x192/0x4b0 fs/fcntl.c:1011 __pass_event drivers/input/evdev.c:240 [inline] evdev_pass_values+0x54b/0xab0 drivers/input/evdev.c:278 evdev_events+0x1d8/0x330 drivers/input/evdev.c:306 input_to_handler drivers/input/input.c:129 [inline] input_pass_values+0x905/0x12f0 drivers/input/input.c:161 input_event_dispose+0x346/0x6c0 drivers/input/input.c:378 input_inject_event+0x1f9/0x320 drivers/input/input.c:465 evdev_write+0x35f/0x490 drivers/input/evdev.c:530 vfs_write+0x296/0x990 fs/read_write.c:582 ksys_write+0x150/0x260 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 stack backtrace: CPU: 0 PID: 18799 Comm: syz.1.3965 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 Call Trace: dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106 print_bad_irq_dependency kernel/locking/lockdep.c:2626 [inline] check_irq_usage kernel/locking/lockdep.c:2865 [inline] check_prev_add kernel/locking/lockdep.c:3138 [inline] check_prevs_add kernel/locking/lockdep.c:3253 [inline] validate_chain kernel/locking/lockdep.c:3869 [inline] __lock_acquire+0x6851/0x7d40 kernel/locking/lockdep.c:5137 lock_acquire+0x19e/0x420 kernel/locking/lockdep.c:5754 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline] _raw_read_lock_irqsave+0xbc/0x100 kernel/locking/spinlock.c:236 kill_fasync_rcu fs/fcntl.c:990 [inline] kill_fasync+0x192/0x4b0 fs/fcntl.c:1011 __pass_event drivers/input/evdev.c:240 [inline] evdev_pass_values+0x54b/0xab0 drivers/input/evdev.c:278 evdev_events+0x1d8/0x330 drivers/input/evdev.c:306 input_to_handler drivers/input/input.c:129 [inline] input_pass_values+0x905/0x12f0 drivers/input/input.c:161 input_event_dispose+0x346/0x6c0 drivers/input/input.c:378 input_inject_event+0x1f9/0x320 drivers/input/input.c:465 evdev_write+0x35f/0x490 drivers/input/evdev.c:530 vfs_write+0x296/0x990 fs/read_write.c:582 ksys_write+0x150/0x260 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fb57659c799 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:00007fb57744b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fb576815fa0 RCX: 00007fb57659c799 RDX: 0000000000000037 RSI: 0000200000000040 RDI: 0000000000000004 RBP: 00007fb576632bd9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fb576816038 R14: 00007fb576815fa0 R15: 00007ffe919ebe08