===================================================== WARNING: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected syzkaller #0 Not tainted ----------------------------------------------------- syz.5.1188/10357 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire: ffffffff8ce0a058 (tasklist_lock){.+.+}-{2:2}, at: send_sigio+0xf9/0x360 fs/fcntl.c:786 and this task is already holding: ffff888029616b18 (&f->f_owner.lock){...-}-{2:2}, at: send_sigio+0x33/0x360 fs/fcntl.c:772 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+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] klist_next+0x276/0x2f0 lib/klist.c:401 next_device drivers/base/bus.c:326 [inline] bus_for_each_dev+0x202/0x2b0 drivers/base/bus.c:369 bus_add_driver+0x340/0x630 drivers/base/bus.c:675 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:2634 [inline] process_scheduled_works+0xa5d/0x15d0 kernel/workqueue.c:2711 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792 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 --> &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.5.1188/10357: #0: ffff888030200418 (sb_writers#5){.+.+}-{0:0}, at: do_sys_ftruncate+0x281/0x3d0 fs/open.c:191 #1: ffff888023ffab58 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline] #1: ffff888023ffab58 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: do_truncate+0x19c/0x240 fs/open.c:64 #2: ffffffff97334a10 (&fsnotify_mark_srcu){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:116 [inline] #2: ffffffff97334a10 (&fsnotify_mark_srcu){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:215 [inline] #2: ffffffff97334a10 (&fsnotify_mark_srcu){.+.+}-{0:0}, at: fsnotify+0x513/0x17c0 fs/notify/fsnotify.c:568 #3: ffff88802fae6038 (&mark->lock){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline] #3: ffff88802fae6038 (&mark->lock){+.+.}-{2:2}, at: dnotify_handle_event+0x62/0x420 fs/notify/dnotify/dnotify.c:107 #4: ffff888029616b18 (&f->f_owner.lock){...-}-{2:2}, at: send_sigio+0x33/0x360 fs/fcntl.c:772 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] klist_next+0x276/0x2f0 lib/klist.c:401 next_device drivers/base/bus.c:326 [inline] bus_for_each_dev+0x202/0x2b0 drivers/base/bus.c:369 bus_add_driver+0x340/0x630 drivers/base/bus.c:675 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 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:2634 [inline] process_scheduled_works+0xa5d/0x15d0 kernel/workqueue.c:2711 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792 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 -> (&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 __tty_fasync drivers/tty/tty_io.c:2220 [inline] tty_fasync+0xfb/0x340 drivers/tty/tty_io.c:2253 __fput+0x7f3/0x970 fs/file_table.c:381 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 include/net/sock.h:2615 [inline] sctp_data_ready+0x389/0x680 net/sctp/socket.c:9297 sctp_ulpq_tail_event+0x7b8/0xb00 net/sctp/ulpqueue.c:254 do_ulpq_tail_event+0x137/0x1a0 net/sctp/stream_interleave.c:1295 sctp_assoc_ulpevent_type_set+0x21d/0x350 net/sctp/socket.c:4280 sctp_setsockopt_event+0x473/0x6b0 net/sctp/socket.c:4320 sctp_setsockopt+0xac3/0x11e0 net/sctp/socket.c:4758 do_sock_setsockopt+0x175/0x1a0 net/socket.c:2321 __sys_setsockopt net/socket.c:2344 [inline] __do_sys_setsockopt net/socket.c:2353 [inline] __se_sys_setsockopt net/socket.c:2350 [inline] __x64_sys_setsockopt+0x182/0x200 net/socket.c:2350 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: [] 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 mousedev_notify_readers+0x6eb/0xc00 drivers/input/mousedev.c:309 mousedev_event+0x5f0/0x1310 drivers/input/mousedev.c:394 input_to_handler drivers/input/input.c:132 [inline] input_pass_values+0x9c7/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 -> (&f->f_owner.lock){...-}-{2:2} { IN-SOFTIRQ-R 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_sigurg+0x29/0x3c0 fs/fcntl.c:811 sk_send_sigurg+0x6f/0xc0 net/core/sock.c:3412 tcp_check_urg+0x200/0x750 net/ipv4/tcp_input.c:5772 tcp_urg+0x164/0x410 net/ipv4/tcp_input.c:5813 tcp_rcv_established+0xa34/0x1d20 net/ipv4/tcp_input.c:6168 tcp_v4_do_rcv+0x4ed/0xb80 net/ipv4/tcp_ipv4.c:1734 tcp_v4_rcv+0x23bf/0x2af0 net/ipv4/tcp_ipv4.c:2166 ip_protocol_deliver_rcu+0x20e/0x3f0 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x2ca/0x510 net/ipv4/ip_input.c:233 NF_HOOK+0x32d/0x3b0 include/linux/netfilter.h:304 NF_HOOK+0x32d/0x3b0 include/linux/netfilter.h:304 __netif_receive_skb_one_core net/core/dev.c:5621 [inline] __netif_receive_skb+0xcc/0x290 net/core/dev.c:5735 process_backlog+0x391/0x6f0 net/core/dev.c:6063 __napi_poll+0xc0/0x460 net/core/dev.c:6625 napi_poll net/core/dev.c:6692 [inline] net_rx_action+0x616/0xc40 net/core/dev.c:6828 handle_softirqs+0x280/0x820 kernel/softirq.c:578 run_ksoftirqd+0xa8/0x100 kernel/softirq.c:950 smpboot_thread_fn+0x635/0xa00 kernel/smpboot.c:164 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 __f_setown+0x3b/0x330 fs/fcntl.c:92 __tty_fasync drivers/tty/tty_io.c:2238 [inline] tty_fasync+0x258/0x340 drivers/tty/tty_io.c:2253 setfl fs/fcntl.c:74 [inline] do_fcntl+0xe46/0x1490 fs/fcntl.c:334 __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_sigurg+0x29/0x3c0 fs/fcntl.c:811 sk_send_sigurg+0x6f/0xc0 net/core/sock.c:3412 tcp_check_urg+0x200/0x750 net/ipv4/tcp_input.c:5772 tcp_urg+0x164/0x410 net/ipv4/tcp_input.c:5813 tcp_rcv_established+0xa34/0x1d20 net/ipv4/tcp_input.c:6168 tcp_v4_do_rcv+0x4ed/0xb80 net/ipv4/tcp_ipv4.c:1734 sk_backlog_rcv include/net/sock.h:1142 [inline] __release_sock+0x1e5/0x460 net/core/sock.c:3011 release_sock+0x5f/0x1c0 net/core/sock.c:3550 sk_stream_wait_memory+0x6e3/0xee0 net/core/stream.c:145 tcp_sendmsg_locked+0x15cd/0x4ba0 net/ipv4/tcp.c:1302 tcp_sendmsg+0x2f/0x50 net/ipv4/tcp.c:1344 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] __sys_sendto+0x4a9/0x6b0 net/socket.c:2200 __do_sys_sendto net/socket.c:2212 [inline] __se_sys_sendto net/socket.c:2208 [inline] __x64_sys_sendto+0xde/0xf0 net/socket.c:2208 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: [] 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 include/net/sock.h:2615 [inline] sctp_data_ready+0x389/0x680 net/sctp/socket.c:9297 sctp_ulpq_tail_event+0x7b8/0xb00 net/sctp/ulpqueue.c:254 do_ulpq_tail_event+0x137/0x1a0 net/sctp/stream_interleave.c:1295 sctp_assoc_ulpevent_type_set+0x21d/0x350 net/sctp/socket.c:4280 sctp_setsockopt_event+0x473/0x6b0 net/sctp/socket.c:4320 sctp_setsockopt+0xac3/0x11e0 net/sctp/socket.c:4758 do_sock_setsockopt+0x175/0x1a0 net/socket.c:2321 __sys_setsockopt net/socket.c:2344 [inline] __do_sys_setsockopt net/socket.c:2353 [inline] __se_sys_setsockopt net/socket.c:2350 [inline] __x64_sys_setsockopt+0x182/0x200 net/socket.c:2350 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:2634 [inline] process_scheduled_works+0xa5d/0x15d0 kernel/workqueue.c:2711 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792 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:2634 [inline] process_scheduled_works+0xa5d/0x15d0 kernel/workqueue.c:2711 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792 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:2634 [inline] process_scheduled_works+0xa5d/0x15d0 kernel/workqueue.c:2711 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792 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_sigio+0xf9/0x360 fs/fcntl.c:786 dnotify_handle_event+0x153/0x420 fs/notify/dnotify/dnotify.c:115 fsnotify_handle_event fs/notify/fsnotify.c:311 [inline] send_to_group fs/notify/fsnotify.c:385 [inline] fsnotify+0x1353/0x17c0 fs/notify/fsnotify.c:591 __fsnotify_parent+0x655/0x7c0 fs/notify/fsnotify.c:248 notify_change+0xb47/0xe10 fs/attr.c:504 do_truncate+0x1b0/0x240 fs/open.c:66 do_sys_ftruncate+0x325/0x3d0 fs/open.c:194 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: 1 PID: 10357 Comm: syz.5.1188 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 include/linux/rwlock_api_smp.h:150 [inline] _raw_read_lock+0x36/0x50 kernel/locking/spinlock.c:228 send_sigio+0xf9/0x360 fs/fcntl.c:786 dnotify_handle_event+0x153/0x420 fs/notify/dnotify/dnotify.c:115 fsnotify_handle_event fs/notify/fsnotify.c:311 [inline] send_to_group fs/notify/fsnotify.c:385 [inline] fsnotify+0x1353/0x17c0 fs/notify/fsnotify.c:591 __fsnotify_parent+0x655/0x7c0 fs/notify/fsnotify.c:248 notify_change+0xb47/0xe10 fs/attr.c:504 do_truncate+0x1b0/0x240 fs/open.c:66 do_sys_ftruncate+0x325/0x3d0 fs/open.c:194 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:0x7f9940f9c799 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:00007f9941f0d028 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007f9941215fa0 RCX: 00007f9940f9c799 RDX: 0000000000000000 RSI: 0000000002000009 RDI: 0000000000000004 RBP: 00007f9941032bd9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f9941216038 R14: 00007f9941215fa0 R15: 00007ffdf4f6fea8