===================================================== WARNING: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected syzkaller #0 Not tainted ----------------------------------------------------- syz.1.1011/7065 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire: ffffffff8c80a058 (tasklist_lock){.+.+}-{2:2}, at: send_sigio+0xf5/0x360 fs/fcntl.c:784 and this task is already holding: ffff888023bfc630 (&f->f_owner.lock){....}-{2:2}, at: send_sigio+0x2f/0x360 fs/fcntl.c:770 which would create a new lock dependency: (&f->f_owner.lock){....}-{2:2} -> (tasklist_lock){.+.+}-{2:2} but this new dependency connects a HARDIRQ-irq-safe lock: (&dev->event_lock#2){-.-.}-{2:2} ... which became HARDIRQ-irq-safe at: lock_acquire+0x1bb/0x4a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xb0/0x100 kernel/locking/spinlock.c:162 input_event+0x76/0xb0 drivers/input/input.c:430 input_report_key include/linux/input.h:425 [inline] psmouse_report_standard_buttons drivers/input/mouse/psmouse-base.c:121 [inline] psmouse_report_standard_packet+0x4f/0x200 drivers/input/mouse/psmouse-base.c:139 psmouse_process_byte+0x42b/0x620 drivers/input/mouse/psmouse-base.c:230 psmouse_handle_byte+0x43/0x490 drivers/input/mouse/psmouse-base.c:272 psmouse_interrupt+0x699/0x1130 drivers/input/mouse/psmouse-base.c:424 serio_interrupt+0x87/0x130 drivers/input/serio/serio.c:998 i8042_interrupt+0x365/0x710 drivers/input/serio/i8042.c:610 __handle_irq_event_percpu+0x293/0xa50 kernel/irq/handle.c:158 handle_irq_event_percpu kernel/irq/handle.c:193 [inline] handle_irq_event+0x87/0x1e0 kernel/irq/handle.c:210 handle_edge_irq+0x243/0xb20 kernel/irq/chip.c:819 generic_handle_irq_desc include/linux/irqdesc.h:158 [inline] handle_irq arch/x86/kernel/irq.c:233 [inline] __common_interrupt+0xd7/0x1e0 arch/x86/kernel/irq.c:252 common_interrupt+0xb0/0xd0 arch/x86/kernel/irq.c:242 asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:682 is_usb_device drivers/usb/core/usb.h:154 [inline] usb_device_match+0x40/0x530 drivers/usb/core/driver.c:858 driver_match_device drivers/base/base.h:147 [inline] __driver_attach+0x67/0x6e0 drivers/base/dd.c:1157 bus_for_each_dev+0x182/0x1f0 drivers/base/bus.c:303 bus_add_driver+0x30a/0x5a0 drivers/base/bus.c:620 driver_register+0x32d/0x430 drivers/base/driver.c:246 usb_register_driver+0x202/0x3d0 drivers/usb/core/driver.c:1062 do_one_initcall+0x26a/0x840 init/main.c:1310 do_initcall_level+0x137/0x1e4 init/main.c:1383 do_initcalls+0x4b/0x8a init/main.c:1399 kernel_init_freeable+0x415/0x5be init/main.c:1638 kernel_init+0x19/0x1b0 init/main.c:1526 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 to a HARDIRQ-irq-unsafe lock: (tasklist_lock){.+.+}-{2:2} ... which became HARDIRQ-irq-unsafe at: ... lock_acquire+0x1bb/0x4a0 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+0xd3/0x1c0 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+0x8a2/0x1160 kernel/workqueue.c:2292 worker_thread+0xaa2/0x1270 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: &dev->event_lock#2 --> &f->f_owner.lock --> tasklist_lock Possible interrupt unsafe locking scenario: CPU0 CPU1 ---- ---- lock(tasklist_lock); local_irq_disable(); lock(&dev->event_lock#2); lock(&f->f_owner.lock); lock(&dev->event_lock#2); *** DEADLOCK *** 5 locks held by syz.1.1011/7065: #0: ffff888054d58460 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x3d/0x90 fs/namespace.c:402 #1: ffff888058706140 (&type->i_mutex_dir_key#5/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff888058706140 (&type->i_mutex_dir_key#5/1){+.+.}-{3:3}, at: filename_create+0x208/0x470 fs/namei.c:3884 #2: ffffffff96cc7788 (&fsnotify_mark_srcu){....}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #2: ffffffff96cc7788 (&fsnotify_mark_srcu){....}-{0:0}, at: srcu_read_lock include/linux/srcu.h:165 [inline] #2: ffffffff96cc7788 (&fsnotify_mark_srcu){....}-{0:0}, at: fsnotify+0x529/0x1d00 fs/notify/fsnotify.c:568 #3: ffff888065645038 (&mark->lock){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline] #3: ffff888065645038 (&mark->lock){+.+.}-{2:2}, at: dnotify_handle_event+0x5e/0x420 fs/notify/dnotify/dnotify.c:107 #4: ffff888023bfc630 (&f->f_owner.lock){....}-{2:2}, at: send_sigio+0x2f/0x360 fs/fcntl.c:770 the dependencies between HARDIRQ-irq-safe lock and the holding lock: -> (&dev->event_lock#2){-.-.}-{2:2} { IN-HARDIRQ-W at: lock_acquire+0x1bb/0x4a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xb0/0x100 kernel/locking/spinlock.c:162 input_event+0x76/0xb0 drivers/input/input.c:430 input_report_key include/linux/input.h:425 [inline] psmouse_report_standard_buttons drivers/input/mouse/psmouse-base.c:121 [inline] psmouse_report_standard_packet+0x4f/0x200 drivers/input/mouse/psmouse-base.c:139 psmouse_process_byte+0x42b/0x620 drivers/input/mouse/psmouse-base.c:230 psmouse_handle_byte+0x43/0x490 drivers/input/mouse/psmouse-base.c:272 psmouse_interrupt+0x699/0x1130 drivers/input/mouse/psmouse-base.c:424 serio_interrupt+0x87/0x130 drivers/input/serio/serio.c:998 i8042_interrupt+0x365/0x710 drivers/input/serio/i8042.c:610 __handle_irq_event_percpu+0x293/0xa50 kernel/irq/handle.c:158 handle_irq_event_percpu kernel/irq/handle.c:193 [inline] handle_irq_event+0x87/0x1e0 kernel/irq/handle.c:210 handle_edge_irq+0x243/0xb20 kernel/irq/chip.c:819 generic_handle_irq_desc include/linux/irqdesc.h:158 [inline] handle_irq arch/x86/kernel/irq.c:233 [inline] __common_interrupt+0xd7/0x1e0 arch/x86/kernel/irq.c:252 common_interrupt+0xb0/0xd0 arch/x86/kernel/irq.c:242 asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:682 is_usb_device drivers/usb/core/usb.h:154 [inline] usb_device_match+0x40/0x530 drivers/usb/core/driver.c:858 driver_match_device drivers/base/base.h:147 [inline] __driver_attach+0x67/0x6e0 drivers/base/dd.c:1157 bus_for_each_dev+0x182/0x1f0 drivers/base/bus.c:303 bus_add_driver+0x30a/0x5a0 drivers/base/bus.c:620 driver_register+0x32d/0x430 drivers/base/driver.c:246 usb_register_driver+0x202/0x3d0 drivers/usb/core/driver.c:1062 do_one_initcall+0x26a/0x840 init/main.c:1310 do_initcall_level+0x137/0x1e4 init/main.c:1383 do_initcalls+0x4b/0x8a init/main.c:1399 kernel_init_freeable+0x415/0x5be init/main.c:1638 kernel_init+0x19/0x1b0 init/main.c:1526 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 IN-SOFTIRQ-W at: lock_acquire+0x1bb/0x4a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xb0/0x100 kernel/locking/spinlock.c:162 input_inject_event+0xa7/0x310 drivers/input/input.c:456 led_trigger_event+0x12f/0x210 drivers/leds/led-triggers.c:392 kbd_propagate_led_state drivers/tty/vt/keyboard.c:1082 [inline] kbd_bh+0x1bc/0x2d0 drivers/tty/vt/keyboard.c:1271 tasklet_action_common+0x2fe/0x4d0 kernel/softirq.c:827 handle_softirqs+0x2a1/0x930 kernel/softirq.c:596 __do_softirq kernel/softirq.c:630 [inline] invoke_softirq kernel/softirq.c:470 [inline] __irq_exit_rcu+0x13b/0x230 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 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0xbc/0x120 kernel/locking/spinlock.c:194 evdev_write+0x35b/0x490 drivers/input/evdev.c:530 vfs_write+0x2e6/0xa30 fs/read_write.c:582 ksys_write+0x14c/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 INITIAL USE at: lock_acquire+0x1bb/0x4a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xb0/0x100 kernel/locking/spinlock.c:162 input_inject_event+0xa7/0x310 drivers/input/input.c:456 led_trigger_event+0x12f/0x210 drivers/leds/led-triggers.c:392 kbd_led_trigger_activate+0xb9/0x100 drivers/tty/vt/keyboard.c:1036 led_trigger_set+0x50c/0x910 drivers/leds/led-triggers.c:211 led_trigger_set_default+0x19c/0x1e0 drivers/leds/led-triggers.c:275 led_classdev_register_ext+0x625/0x860 drivers/leds/led-class.c:426 led_classdev_register include/linux/leds.h:196 [inline] input_leds_connect+0x4e7/0x6b0 drivers/input/input-leds.c:139 input_attach_handler drivers/input/input.c:1060 [inline] input_register_device+0xdfd/0x1310 drivers/input/input.c:2470 atkbd_connect+0x6f8/0x9a0 drivers/input/keyboard/atkbd.c:1322 serio_connect_driver drivers/input/serio/serio.c:44 [inline] serio_driver_probe+0x76/0x90 drivers/input/serio/serio.c:775 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2aa/0xc70 drivers/base/dd.c:639 __driver_probe_device+0x18c/0x330 drivers/base/dd.c:785 driver_probe_device+0x4f/0x420 drivers/base/dd.c:815 __driver_attach+0x44a/0x6e0 drivers/base/dd.c:1201 bus_for_each_dev+0x182/0x1f0 drivers/base/bus.c:303 serio_attach_driver drivers/input/serio/serio.c:804 [inline] serio_handle_event+0x29c/0x840 drivers/input/serio/serio.c:224 process_one_work+0x8a2/0x1160 kernel/workqueue.c:2292 worker_thread+0xaa2/0x1270 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: [] input_allocate_device.__key.5+0x0/0x20 -> (&client->buffer_lock){....}-{2:2} { INITIAL USE at: lock_acquire+0x1bb/0x4a0 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+0x905/0x12f0 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+0x35b/0x490 drivers/input/evdev.c:530 vfs_write+0x2e6/0xa30 fs/read_write.c:582 ksys_write+0x14c/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 } ... key at: [] evdev_open.__key.29+0x0/0x20 ... acquired at: __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+0x905/0x12f0 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+0x35b/0x490 drivers/input/evdev.c:530 vfs_write+0x2e6/0xa30 fs/read_write.c:582 ksys_write+0x14c/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 -> (&new->fa_lock){....}-{2:2} { INITIAL USE at: lock_acquire+0x1bb/0x4a0 kernel/locking/lockdep.c:5662 __raw_write_lock_irq include/linux/rwlock_api_smp.h:195 [inline] _raw_write_lock_irq+0xab/0xf0 kernel/locking/spinlock.c:326 fasync_remove_entry+0xf0/0x1c0 fs/fcntl.c:865 lease_modify+0x1a2/0x390 fs/locks.c:1386 generic_delete_lease fs/locks.c:1843 [inline] generic_setlease+0xd89/0x1400 fs/locks.c:1878 vfs_setlease fs/locks.c:1976 [inline] fcntl_setlease+0x20f/0x330 fs/locks.c:2018 do_fcntl+0x117/0x1270 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:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 INITIAL READ USE at: lock_acquire+0x1bb/0x4a0 kernel/locking/lockdep.c:5662 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline] _raw_read_lock_irqsave+0xb8/0x100 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+0x905/0x12f0 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+0x35b/0x490 drivers/input/evdev.c:530 vfs_write+0x2e6/0xa30 fs/read_write.c:582 ksys_write+0x14c/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 } ... 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+0xb8/0x100 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+0x905/0x12f0 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+0x35b/0x490 drivers/input/evdev.c:530 vfs_write+0x2e6/0xa30 fs/read_write.c:582 ksys_write+0x14c/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/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+0x1bb/0x4a0 kernel/locking/lockdep.c:5662 __raw_write_lock_irq include/linux/rwlock_api_smp.h:195 [inline] _raw_write_lock_irq+0xab/0xf0 kernel/locking/spinlock.c:326 __f_setown+0x37/0x330 fs/fcntl.c:91 generic_add_lease fs/locks.c:1806 [inline] generic_setlease+0xf6a/0x1400 fs/locks.c:1886 vfs_setlease fs/locks.c:1976 [inline] do_fcntl_add_lease fs/locks.c:1997 [inline] fcntl_setlease+0x262/0x330 fs/locks.c:2019 do_fcntl+0x117/0x1270 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:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 INITIAL READ USE at: lock_acquire+0x1bb/0x4a0 kernel/locking/lockdep.c:5662 __raw_read_lock_irq include/linux/rwlock_api_smp.h:169 [inline] _raw_read_lock_irq+0xb3/0xf0 kernel/locking/spinlock.c:244 f_getown_ex fs/fcntl.c:206 [inline] do_fcntl+0x1c8/0x1270 fs/fcntl.c:372 __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:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 } ... key at: [] __alloc_file.__key+0x0/0x10 ... acquired at: __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline] _raw_read_lock_irqsave+0xb8/0x100 kernel/locking/spinlock.c:236 send_sigio+0x2f/0x360 fs/fcntl.c:770 kill_fasync_rcu fs/fcntl.c:995 [inline] kill_fasync+0x224/0x4b0 fs/fcntl.c:1009 __pass_event drivers/input/evdev.c:240 [inline] evdev_pass_values+0x54b/0xab0 drivers/input/evdev.c:278 evdev_events+0x1d4/0x320 drivers/input/evdev.c:306 input_to_handler drivers/input/input.c:127 [inline] input_pass_values+0x905/0x12f0 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+0x35b/0x490 drivers/input/evdev.c:530 vfs_write+0x2e6/0xa30 fs/read_write.c:582 ksys_write+0x14c/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/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+0x1bb/0x4a0 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+0xd3/0x1c0 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+0x8a2/0x1160 kernel/workqueue.c:2292 worker_thread+0xaa2/0x1270 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+0x1bb/0x4a0 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+0xd3/0x1c0 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+0x8a2/0x1160 kernel/workqueue.c:2292 worker_thread+0xaa2/0x1270 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+0x1bb/0x4a0 kernel/locking/lockdep.c:5662 __raw_write_lock_irq include/linux/rwlock_api_smp.h:195 [inline] _raw_write_lock_irq+0xab/0xf0 kernel/locking/spinlock.c:326 copy_process+0x2557/0x4030 kernel/fork.c:2481 kernel_clone+0x24b/0x900 kernel/fork.c:2762 user_mode_thread+0x10d/0x180 kernel/fork.c:2838 rest_init+0x23/0x300 init/main.c:710 start_kernel+0x0/0x53c init/main.c:905 start_kernel+0x493/0x53c init/main.c:1152 secondary_startup_64_no_verify+0xcf/0xdb INITIAL READ USE at: lock_acquire+0x1bb/0x4a0 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+0xd3/0x1c0 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+0x8a2/0x1160 kernel/workqueue.c:2292 worker_thread+0xaa2/0x1270 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: [] tasklist_lock+0x18/0x40 ... acquired at: __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline] _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228 send_sigio+0xf5/0x360 fs/fcntl.c:784 dnotify_handle_event+0x14f/0x420 fs/notify/dnotify/dnotify.c:115 fsnotify_handle_inode_event fs/notify/fsnotify.c:282 [inline] fsnotify_handle_event fs/notify/fsnotify.c:337 [inline] send_to_group fs/notify/fsnotify.c:385 [inline] fsnotify+0x191c/0x1d00 fs/notify/fsnotify.c:591 fsnotify_name include/linux/fsnotify.h:36 [inline] fsnotify_dirent include/linux/fsnotify.h:42 [inline] fsnotify_create+0xfc/0x150 include/linux/fsnotify.h:213 vfs_mknod+0x456/0x4c0 fs/namei.c:3995 do_mknodat+0x356/0x4d0 fs/namei.c:-1 __do_sys_mknod fs/namei.c:4076 [inline] __se_sys_mknod fs/namei.c:4074 [inline] __x64_sys_mknod+0x8a/0xa0 fs/namei.c:4074 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 stack backtrace: CPU: 0 PID: 7065 Comm: syz.1.1011 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Call Trace: dump_stack_lvl+0x188/0x24e 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+0x66c8/0x7d10 kernel/locking/lockdep.c:5049 lock_acquire+0x1bb/0x4a0 kernel/locking/lockdep.c:5662 __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline] _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228 send_sigio+0xf5/0x360 fs/fcntl.c:784 dnotify_handle_event+0x14f/0x420 fs/notify/dnotify/dnotify.c:115 fsnotify_handle_inode_event fs/notify/fsnotify.c:282 [inline] fsnotify_handle_event fs/notify/fsnotify.c:337 [inline] send_to_group fs/notify/fsnotify.c:385 [inline] fsnotify+0x191c/0x1d00 fs/notify/fsnotify.c:591 fsnotify_name include/linux/fsnotify.h:36 [inline] fsnotify_dirent include/linux/fsnotify.h:42 [inline] fsnotify_create+0xfc/0x150 include/linux/fsnotify.h:213 vfs_mknod+0x456/0x4c0 fs/namei.c:3995 do_mknodat+0x356/0x4d0 fs/namei.c:-1 __do_sys_mknod fs/namei.c:4076 [inline] __se_sys_mknod fs/namei.c:4074 [inline] __x64_sys_mknod+0x8a/0xa0 fs/namei.c:4074 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f5e75d9acb9 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:00007f5e76b74028 EFLAGS: 00000246 ORIG_RAX: 0000000000000085 RAX: ffffffffffffffda RBX: 00007f5e76015fa0 RCX: 00007f5e75d9acb9 RDX: 0000000000000000 RSI: 0000000008001420 RDI: 0000200000000040 RBP: 00007f5e75e08bf7 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5e76016038 R14: 00007f5e76015fa0 R15: 00007ffead1e5448