===================================================== WARNING: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected syzkaller #0 Not tainted ----------------------------------------------------- syz.0.1819/12158 [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: ffff8880334ff030 (&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 __refcount_add include/linux/refcount.h:-1 [inline] __refcount_inc include/linux/refcount.h:250 [inline] refcount_inc include/linux/refcount.h:267 [inline] __key_get include/linux/key.h:308 [inline] key_get include/linux/key.h:314 [inline] prepare_creds+0x364/0x610 kernel/cred.c:279 prepare_exec_creds+0x14/0x220 kernel/cred.c:311 prepare_bprm_creds fs/exec.c:1503 [inline] bprm_execve+0xf0/0x17e0 fs/exec.c:1842 kernel_execve+0x8b9/0x9c0 fs/exec.c:2039 call_usermodehelper_exec_async+0x207/0x350 kernel/umh.c:113 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.0.1819/12158: #0: ffffffff8cc6a5d0 (file_rwsem){.+.+}-{0:0}, at: __break_lease+0x180/0x1430 fs/locks.c:1492 #1: ffff88807d37ae88 (&ctx->flc_lock){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline] #1: ffff88807d37ae88 (&ctx->flc_lock){+.+.}-{2:2}, at: __break_lease+0x18d/0x1430 fs/locks.c:1493 #2: ffffffff8cb2d620 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #2: ffffffff8cb2d620 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #2: ffffffff8cb2d620 (rcu_read_lock){....}-{1:2}, at: kill_fasync+0x4f/0x4b0 fs/fcntl.c:1008 #3: ffff8880418a59f0 (&new->fa_lock){....}-{2:2}, at: kill_fasync_rcu fs/fcntl.c:988 [inline] #3: ffff8880418a59f0 (&new->fa_lock){....}-{2:2}, at: kill_fasync+0x18e/0x4b0 fs/fcntl.c:1009 #4: ffff8880334ff030 (&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 __refcount_add include/linux/refcount.h:-1 [inline] __refcount_inc include/linux/refcount.h:250 [inline] refcount_inc include/linux/refcount.h:267 [inline] __key_get include/linux/key.h:308 [inline] key_get include/linux/key.h:314 [inline] prepare_creds+0x364/0x610 kernel/cred.c:279 prepare_exec_creds+0x14/0x220 kernel/cred.c:311 prepare_bprm_creds fs/exec.c:1503 [inline] bprm_execve+0xf0/0x17e0 fs/exec.c:1842 kernel_execve+0x8b9/0x9c0 fs/exec.c:2039 call_usermodehelper_exec_async+0x207/0x350 kernel/umh.c:113 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 -> (kbd_event_lock){....}-{2:2} { 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 vt_reset_unicode+0x27/0x160 drivers/tty/vt/keyboard.c:2195 reset_vc+0x64/0x1a0 drivers/tty/vt/vt_ioctl.c:966 vc_init+0x104/0x580 drivers/tty/vt/vt.c:3471 con_init+0x409/0x7b1 drivers/tty/vt/vt.c:3536 console_init+0x1bc/0x78e kernel/printk/printk.c:3359 start_kernel+0x306/0x53c init/main.c:1088 secondary_startup_64_no_verify+0xcf/0xdb } ... key at: [] kbd_event_lock+0x18/0xa0 ... 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] kbd_event+0x98/0x3a50 drivers/tty/vt/keyboard.c:1537 input_to_handler drivers/input/input.c:130 [inline] input_pass_values+0x9c7/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 -> (&tty->flow.lock){....}-{2:2} { 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 start_tty+0x1c/0x40 drivers/tty/tty_io.c:808 n_tty_set_termios+0xa78/0x1090 drivers/tty/n_tty.c:1857 tty_set_termios+0xdab/0x17e0 drivers/tty/tty_ioctl.c:370 set_termios+0x4fb/0x680 drivers/tty/tty_ioctl.c:537 tty_mode_ioctl+0x530/0x6b0 drivers/tty/tty_ioctl.c:-1 tty_ioctl+0x87c/0xba0 drivers/tty/tty_io.c:2785 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:856 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_tty_struct.__key.35+0x0/0x20 ... acquired at: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xb0/0x100 kernel/locking/spinlock.c:162 stop_tty+0x2b/0x110 drivers/tty/tty_io.c:777 kbd_keycode drivers/tty/vt/keyboard.c:1524 [inline] kbd_event+0x28f7/0x3a50 drivers/tty/vt/keyboard.c:1543 input_to_handler drivers/input/input.c:130 [inline] input_pass_values+0x9c7/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 sock_fasync+0x84/0xf0 net/socket.c:1424 __fput+0x7a7/0x920 fs/file_table.c:317 task_work_run+0x1d0/0x260 kernel/task_work.c:203 get_signal+0x11a6/0x1350 kernel/signal.c:2648 arch_do_signal_or_restart+0xc4/0x1350 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:82 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 sock_wake_async+0x128/0x150 net/socket.c:-1 sk_wake_async+0x184/0x280 include/net/sock.h:2641 af_alg_data_wakeup crypto/af_alg.c:807 [inline] af_alg_sendmsg+0x1ad9/0x1ed0 crypto/af_alg.c:982 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] sock_sendmsg+0x24c/0x370 net/socket.c:753 af_alg_sendpage+0x144/0x1c0 crypto/af_alg.c:1013 kernel_sendpage+0x2cd/0x640 net/socket.c:3605 sock_sendpage+0x7a/0xb0 net/socket.c:1081 pipe_to_sendpage+0x22f/0x320 fs/splice.c:360 splice_from_pipe_feed fs/splice.c:414 [inline] __splice_from_pipe+0x302/0x820 fs/splice.c:558 splice_from_pipe fs/splice.c:593 [inline] generic_splice_sendpage+0x111/0x180 fs/splice.c:742 do_splice_from fs/splice.c:763 [inline] direct_splice_actor+0xe1/0x130 fs/splice.c:950 splice_direct_to_actor+0x48b/0xb90 fs/splice.c:896 do_splice_direct+0x1ce/0x2f0 fs/splice.c:1002 do_sendfile+0x5f3/0xea0 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64+0x141/0x1a0 fs/read_write.c:1309 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 tty_wakeup drivers/tty/tty_io.c:524 [inline] __start_tty+0x177/0x210 drivers/tty/tty_io.c:790 n_tty_ioctl_helper+0x219/0x320 drivers/tty/tty_ioctl.c:978 tty_ioctl+0x87c/0xba0 drivers/tty/tty_io.c:2785 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:856 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} { IN-SOFTIRQ-R 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 send_sigurg+0x25/0x3c0 fs/fcntl.c:809 sk_send_sigurg+0x6b/0xc0 net/core/sock.c:3374 tcp_check_urg+0x200/0x750 net/ipv4/tcp_input.c:5716 tcp_urg+0x160/0x400 net/ipv4/tcp_input.c:5757 tcp_rcv_established+0xdef/0x1d50 net/ipv4/tcp_input.c:6110 tcp_v4_do_rcv+0x48d/0xb00 net/ipv4/tcp_ipv4.c:1683 tcp_v4_rcv+0x27f0/0x2ea0 net/ipv4/tcp_ipv4.c:2114 ip_protocol_deliver_rcu+0x3ad/0x780 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x2c7/0x510 net/ipv4/ip_input.c:233 NF_HOOK+0x329/0x3b0 include/linux/netfilter.h:302 NF_HOOK+0x329/0x3b0 include/linux/netfilter.h:302 __netif_receive_skb_one_core net/core/dev.c:5594 [inline] __netif_receive_skb+0xcc/0x290 net/core/dev.c:5708 process_backlog+0x38d/0x6f0 net/core/dev.c:6036 __napi_poll+0xc0/0x460 net/core/dev.c:6603 napi_poll net/core/dev.c:6670 [inline] net_rx_action+0x5dd/0xb20 net/core/dev.c:6784 handle_softirqs+0x2a1/0x930 kernel/softirq.c:596 run_ksoftirqd+0xa4/0x100 kernel/softirq.c:968 smpboot_thread_fn+0x64a/0xa40 kernel/smpboot.c:164 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 INITIAL USE at: lock_acquire+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 fcntl_dirnotify+0x6de/0x8f0 fs/notify/dnotify/dnotify.c:369 do_fcntl+0x5ed/0x1270 fs/fcntl.c:398 __do_sys_fcntl fs/fcntl.c:446 [inline] __se_sys_fcntl+0xc9/0x190 fs/fcntl.c:431 do_syscall_x64 arch/x86/entry/common.c: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 send_sigurg+0x25/0x3c0 fs/fcntl.c:809 sk_send_sigurg+0x6b/0xc0 net/core/sock.c:3374 tcp_check_urg+0x200/0x750 net/ipv4/tcp_input.c:5716 tcp_urg+0x160/0x400 net/ipv4/tcp_input.c:5757 tcp_rcv_established+0xdef/0x1d50 net/ipv4/tcp_input.c:6110 tcp_v4_do_rcv+0x48d/0xb00 net/ipv4/tcp_ipv4.c:1683 sk_backlog_rcv include/net/sock.h:1138 [inline] __release_sock+0x1e1/0x450 net/core/sock.c:2945 release_sock+0x5b/0x1b0 net/core/sock.c:3511 tcp_sendmsg+0x35/0x40 net/ipv4/tcp.c:1491 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] __sys_sendto+0x497/0x650 net/socket.c:2152 __do_sys_sendto net/socket.c:2164 [inline] __se_sys_sendto net/socket.c:2160 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2160 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 sock_wake_async+0x128/0x150 net/socket.c:-1 sk_wake_async+0x184/0x280 include/net/sock.h:2641 af_alg_data_wakeup crypto/af_alg.c:807 [inline] af_alg_sendmsg+0x1ad9/0x1ed0 crypto/af_alg.c:982 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] sock_sendmsg+0x24c/0x370 net/socket.c:753 af_alg_sendpage+0x144/0x1c0 crypto/af_alg.c:1013 kernel_sendpage+0x2cd/0x640 net/socket.c:3605 sock_sendpage+0x7a/0xb0 net/socket.c:1081 pipe_to_sendpage+0x22f/0x320 fs/splice.c:360 splice_from_pipe_feed fs/splice.c:414 [inline] __splice_from_pipe+0x302/0x820 fs/splice.c:558 splice_from_pipe fs/splice.c:593 [inline] generic_splice_sendpage+0x111/0x180 fs/splice.c:742 do_splice_from fs/splice.c:763 [inline] direct_splice_actor+0xe1/0x130 fs/splice.c:950 splice_direct_to_actor+0x48b/0xb90 fs/splice.c:896 do_splice_direct+0x1ce/0x2f0 fs/splice.c:1002 do_sendfile+0x5f3/0xea0 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64+0x141/0x1a0 fs/read_write.c:1309 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 kill_fasync_rcu fs/fcntl.c:995 [inline] kill_fasync+0x224/0x4b0 fs/fcntl.c:1009 lease_break_callback+0x22/0x30 fs/locks.c:521 __break_lease+0x4a6/0x1430 fs/locks.c:1521 break_lease include/linux/fs.h:2719 [inline] do_dentry_open+0x74f/0x10d0 fs/open.c:873 do_open fs/namei.c:3634 [inline] path_openat+0x2635/0x2ee0 fs/namei.c:3791 do_filp_open+0x1f1/0x430 fs/namei.c:3818 do_sys_openat2+0x150/0x4b0 fs/open.c:1320 do_sys_open fs/open.c:1336 [inline] __do_sys_open fs/open.c:1344 [inline] __se_sys_open fs/open.c:1340 [inline] __x64_sys_open+0x11b/0x140 fs/open.c:1340 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: 12158 Comm: syz.0.1819 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 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 kill_fasync_rcu fs/fcntl.c:995 [inline] kill_fasync+0x224/0x4b0 fs/fcntl.c:1009 lease_break_callback+0x22/0x30 fs/locks.c:521 __break_lease+0x4a6/0x1430 fs/locks.c:1521 break_lease include/linux/fs.h:2719 [inline] do_dentry_open+0x74f/0x10d0 fs/open.c:873 do_open fs/namei.c:3634 [inline] path_openat+0x2635/0x2ee0 fs/namei.c:3791 do_filp_open+0x1f1/0x430 fs/namei.c:3818 do_sys_openat2+0x150/0x4b0 fs/open.c:1320 do_sys_open fs/open.c:1336 [inline] __do_sys_open fs/open.c:1344 [inline] __se_sys_open fs/open.c:1340 [inline] __x64_sys_open+0x11b/0x140 fs/open.c:1340 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:0x7f264f79c629 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:00007f265070b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f264fa15fa0 RCX: 00007f264f79c629 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000000 RBP: 00007f264f832b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f264fa16038 R14: 00007f264fa15fa0 R15: 00007ffe4ef70868