===================================================== WARNING: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected 5.15.0-syzkaller #0 Not tainted ----------------------------------------------------- syz-executor.2/29028 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire: ffffffff8c60a058 (tasklist_lock){.+.+}-{2:2}, at: send_sigio+0xbe/0x300 fs/fcntl.c:810 and this task is already holding: ffff88803a64f2b8 (&f->f_owner.lock){...-}-{2:2}, at: send_sigio+0x2f/0x300 fs/fcntl.c:796 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: (&timer->lock){-.-.}-{2:2} ... which became HARDIRQ-irq-safe at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __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:350 [inline] snd_hrtimer_callback+0x51/0x360 sound/core/hrtimer.c:38 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x50b/0xa60 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3b3/0x1040 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 vma_compute_subtree_gap mm/mmap.c:316 [inline] validate_mm_rb mm/mmap.c:386 [inline] vma_rb_insert mm/mmap.c:458 [inline] __vma_link_rb+0x6ec/0x810 mm/mmap.c:657 dup_mmap+0xa24/0xfd0 kernel/fork.c:603 dup_mm+0x8c/0x310 kernel/fork.c:1452 copy_mm kernel/fork.c:1504 [inline] copy_process+0x28d7/0x5ca0 kernel/fork.c:2193 kernel_clone+0x22a/0x7e0 kernel/fork.c:2583 __do_sys_clone kernel/fork.c:2700 [inline] __se_sys_clone kernel/fork.c:2684 [inline] __x64_sys_clone+0x245/0x2b0 kernel/fork.c:2684 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae to a HARDIRQ-irq-unsafe lock: (tasklist_lock){.+.+}-{2:2} ... which became HARDIRQ-irq-unsafe at: ... lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline] _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228 do_wait+0x224/0x9d0 kernel/exit.c:1505 kernel_wait+0xe4/0x230 kernel/exit.c:1695 call_usermodehelper_exec_sync kernel/umh.c:139 [inline] call_usermodehelper_exec_work+0xb4/0x220 kernel/umh.c:166 process_one_work+0x853/0x1140 kernel/workqueue.c:2297 worker_thread+0xac1/0x1320 kernel/workqueue.c:2444 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 other info that might help us debug this: Chain exists of: &timer->lock --> &f->f_owner.lock --> tasklist_lock Possible interrupt unsafe locking scenario: CPU0 CPU1 ---- ---- lock(tasklist_lock); local_irq_disable(); lock(&timer->lock); lock(&f->f_owner.lock); lock(&timer->lock); *** DEADLOCK *** 6 locks held by syz-executor.2/29028: #0: ffff88814b1f4460 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:376 #1: ffffffff8ca40af0 (file_rwsem){.+.+}-{0:0}, at: __break_lease+0x444/0x1980 fs/locks.c:1421 #2: ffff888019896018 (&ctx->flc_lock){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:350 [inline] #2: ffff888019896018 (&ctx->flc_lock){+.+.}-{2:2}, at: __break_lease+0x451/0x1980 fs/locks.c:1422 #3: ffffffff8c91d500 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:267 #4: ffff888073635210 (&new->fa_lock){....}-{2:2}, at: kill_fasync_rcu fs/fcntl.c:1014 [inline] #4: ffff888073635210 (&new->fa_lock){....}-{2:2}, at: kill_fasync+0x13b/0x430 fs/fcntl.c:1035 #5: ffff88803a64f2b8 (&f->f_owner.lock){...-}-{2:2}, at: send_sigio+0x2f/0x300 fs/fcntl.c:796 the dependencies between HARDIRQ-irq-safe lock and the holding lock: -> (&timer->lock){-.-.}-{2:2} { IN-HARDIRQ-W at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __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:350 [inline] snd_hrtimer_callback+0x51/0x360 sound/core/hrtimer.c:38 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x50b/0xa60 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3b3/0x1040 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 vma_compute_subtree_gap mm/mmap.c:316 [inline] validate_mm_rb mm/mmap.c:386 [inline] vma_rb_insert mm/mmap.c:458 [inline] __vma_link_rb+0x6ec/0x810 mm/mmap.c:657 dup_mmap+0xa24/0xfd0 kernel/fork.c:603 dup_mm+0x8c/0x310 kernel/fork.c:1452 copy_mm kernel/fork.c:1504 [inline] copy_process+0x28d7/0x5ca0 kernel/fork.c:2193 kernel_clone+0x22a/0x7e0 kernel/fork.c:2583 __do_sys_clone kernel/fork.c:2700 [inline] __se_sys_clone kernel/fork.c:2684 [inline] __x64_sys_clone+0x245/0x2b0 kernel/fork.c:2684 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae IN-SOFTIRQ-W at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __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:350 [inline] snd_hrtimer_callback+0x51/0x360 sound/core/hrtimer.c:38 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x50b/0xa60 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3b3/0x1040 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 ieee80211_scan_rx+0x141/0xc00 net/mac80211/scan.c:274 __ieee80211_rx_handle_packet net/mac80211/rx.c:4787 [inline] ieee80211_rx_list+0x22df/0x2a50 net/mac80211/rx.c:4979 ieee80211_rx_napi+0x14b/0x360 net/mac80211/rx.c:5002 ieee80211_rx include/net/mac80211.h:4571 [inline] ieee80211_tasklet_handler+0x120/0x1d0 net/mac80211/main.c:235 tasklet_action_common+0x3c2/0x560 kernel/softirq.c:783 __do_softirq+0x392/0x7a3 kernel/softirq.c:558 do_softirq+0x161/0x240 kernel/softirq.c:459 __local_bh_enable_ip+0x1b0/0x1f0 kernel/softirq.c:383 spin_unlock_bh include/linux/spinlock.h:395 [inline] cfg80211_bss_update+0x11b6/0x2170 net/wireless/scan.c:1789 cfg80211_inform_single_bss_frame_data net/wireless/scan.c:2414 [inline] cfg80211_inform_bss_frame_data+0x87c/0x1e50 net/wireless/scan.c:2447 ieee80211_bss_info_update+0x755/0xbc0 net/mac80211/scan.c:190 ieee80211_rx_bss_info net/mac80211/ibss.c:1119 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1608 [inline] ieee80211_ibss_rx_queued_mgmt+0x1702/0x2b40 net/mac80211/ibss.c:1635 ieee80211_iface_process_skb net/mac80211/iface.c:1439 [inline] ieee80211_iface_work+0x749/0xce0 net/mac80211/iface.c:1493 process_one_work+0x853/0x1140 kernel/workqueue.c:2297 worker_thread+0xac1/0x1320 kernel/workqueue.c:2444 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 INITIAL USE at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 snd_timer_notify+0x105/0x3e0 sound/core/timer.c:1087 snd_pcm_timer_notify sound/core/pcm_native.c:595 [inline] snd_pcm_post_start sound/core/pcm_native.c:1392 [inline] snd_pcm_action_single sound/core/pcm_native.c:1229 [inline] snd_pcm_action sound/core/pcm_native.c:1310 [inline] snd_pcm_start+0x592/0x6d0 sound/core/pcm_native.c:1411 __snd_pcm_lib_xfer+0x1088/0x1440 sound/core/pcm_lib.c:2281 snd_pcm_oss_write3+0x1f7/0x390 sound/core/oss/pcm_oss.c:1228 snd_pcm_plug_write_transfer+0x2fe/0x530 sound/core/oss/pcm_plugin.c:627 snd_pcm_oss_write2+0x1cd/0x420 sound/core/oss/pcm_oss.c:1360 snd_pcm_oss_write1+0x68f/0xae0 sound/core/oss/pcm_oss.c:1426 vfs_write+0x327/0xe90 fs/read_write.c:588 ksys_write+0x18f/0x2c0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae } ... key at: [] snd_timer_new.__key+0x0/0x40 -> (&new->fa_lock){....}-{2:2} { INITIAL USE at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_write_lock_irq include/linux/rwlock_api_smp.h:194 [inline] _raw_write_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:316 fasync_remove_entry+0xff/0x1d0 fs/fcntl.c:891 sock_fasync+0x86/0xf0 net/socket.c:1339 __fput+0x71e/0x870 fs/file_table.c:277 task_work_run+0x146/0x1c0 kernel/task_work.c:164 get_signal+0x1fe4/0x2090 kernel/signal.c:2628 arch_do_signal_or_restart+0x9c/0x730 arch/x86/kernel/signal.c:868 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x191/0x220 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:300 do_syscall_64+0x53/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae INITIAL READ USE at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:159 [inline] _raw_read_lock_irqsave+0xd9/0x120 kernel/locking/spinlock.c:236 kill_fasync_rcu fs/fcntl.c:1014 [inline] kill_fasync+0x13b/0x430 fs/fcntl.c:1035 sock_wake_async+0x133/0x150 rcu_read_unlock include/linux/rcupdate.h:717 [inline] sk_wake_async+0x12e/0x200 include/net/sock.h:2369 tcp_rcv_state_process+0x1075/0x2450 net/ipv4/tcp_input.c:6469 tcp_v4_do_rcv+0x5b3/0x880 net/ipv4/tcp_ipv4.c:1735 sk_backlog_rcv include/net/sock.h:1027 [inline] __release_sock+0x1d8/0x4c0 net/core/sock.c:2686 release_sock+0x5d/0x1c0 net/core/sock.c:3218 inet_wait_for_connect net/ipv4/af_inet.c:597 [inline] __inet_stream_connect+0x60f/0xe40 net/ipv4/af_inet.c:689 tcp_sendmsg_fastopen net/ipv4/tcp.c:1187 [inline] tcp_sendmsg_locked+0x3aae/0x4120 net/ipv4/tcp.c:1229 tcp_sendmsg+0x2c/0x40 net/ipv4/tcp.c:1458 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg net/socket.c:724 [inline] __sys_sendto+0x42e/0x5b0 net/socket.c:2036 __do_sys_sendto net/socket.c:2048 [inline] __se_sys_sendto net/socket.c:2044 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2044 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae } ... key at: [] fasync_insert_entry.__key+0x0/0x40 ... acquired at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:159 [inline] _raw_read_lock_irqsave+0xd9/0x120 kernel/locking/spinlock.c:236 kill_fasync_rcu fs/fcntl.c:1014 [inline] kill_fasync+0x13b/0x430 fs/fcntl.c:1035 snd_timer_user_ccallback+0x370/0x540 sound/core/timer.c:1387 snd_timer_notify1+0x1ad/0x350 sound/core/timer.c:516 snd_timer_start1+0x53d/0x640 sound/core/timer.c:578 snd_timer_start sound/core/timer.c:697 [inline] snd_timer_user_start sound/core/timer.c:1985 [inline] __snd_timer_user_ioctl+0xb56/0x5920 sound/core/timer.c:2108 snd_timer_user_ioctl+0x5d/0x80 sound/core/timer.c:2129 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae -> (&f->f_owner.lock){...-}-{2:2} { IN-SOFTIRQ-R at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:159 [inline] _raw_read_lock_irqsave+0xd9/0x120 kernel/locking/spinlock.c:236 send_sigurg+0x25/0x360 fs/fcntl.c:835 sk_send_sigurg+0x6a/0xb0 net/core/sock.c:3090 tcp_check_urg net/ipv4/tcp_input.c:5550 [inline] tcp_urg+0x2b6/0xb40 net/ipv4/tcp_input.c:5591 tcp_rcv_established+0x9ec/0x22b0 net/ipv4/tcp_input.c:5925 tcp_v4_do_rcv+0x3a1/0x880 net/ipv4/tcp_ipv4.c:1713 tcp_v4_rcv+0x3aa1/0x4880 net/ipv4/tcp_ipv4.c:2106 ip_protocol_deliver_rcu+0x1ed/0x3b0 net/ipv4/ip_input.c:204 ip_local_deliver_finish net/ipv4/ip_input.c:231 [inline] NF_HOOK include/linux/netfilter.h:307 [inline] ip_local_deliver+0x316/0x490 net/ipv4/ip_input.c:252 __netif_receive_skb_one_core net/core/dev.c:5443 [inline] __netif_receive_skb+0x1d1/0x500 net/core/dev.c:5557 process_backlog+0x518/0x9a0 net/core/dev.c:6434 __napi_poll+0xba/0x4f0 net/core/dev.c:6993 napi_poll net/core/dev.c:7060 [inline] net_rx_action+0x61c/0xf30 net/core/dev.c:7147 __do_softirq+0x392/0x7a3 kernel/softirq.c:558 run_ksoftirqd+0xc1/0x120 kernel/softirq.c:920 smpboot_thread_fn+0x533/0x9d0 kernel/smpboot.c:164 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 INITIAL USE at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_write_lock_irq include/linux/rwlock_api_smp.h:194 [inline] _raw_write_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:316 f_modown+0x38/0x340 fs/fcntl.c:91 __f_setown fs/fcntl.c:110 [inline] f_setown+0x113/0x1a0 fs/fcntl.c:138 sock_ioctl+0x3d5/0x770 net/socket.c:1178 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae INITIAL READ USE at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:159 [inline] _raw_read_lock_irqsave+0xd9/0x120 kernel/locking/spinlock.c:236 send_sigio+0x2f/0x300 fs/fcntl.c:796 kill_fasync_rcu fs/fcntl.c:1021 [inline] kill_fasync+0x1e4/0x430 fs/fcntl.c:1035 sock_wake_async+0x133/0x150 rcu_read_unlock include/linux/rcupdate.h:717 [inline] sk_wake_async+0x12e/0x200 include/net/sock.h:2369 tcp_rcv_state_process+0x1075/0x2450 net/ipv4/tcp_input.c:6469 tcp_v4_do_rcv+0x5b3/0x880 net/ipv4/tcp_ipv4.c:1735 sk_backlog_rcv include/net/sock.h:1027 [inline] __release_sock+0x1d8/0x4c0 net/core/sock.c:2686 release_sock+0x5d/0x1c0 net/core/sock.c:3218 inet_wait_for_connect net/ipv4/af_inet.c:597 [inline] __inet_stream_connect+0x60f/0xe40 net/ipv4/af_inet.c:689 tcp_sendmsg_fastopen net/ipv4/tcp.c:1187 [inline] tcp_sendmsg_locked+0x3aae/0x4120 net/ipv4/tcp.c:1229 tcp_sendmsg+0x2c/0x40 net/ipv4/tcp.c:1458 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg net/socket.c:724 [inline] __sys_sendto+0x42e/0x5b0 net/socket.c:2036 __do_sys_sendto net/socket.c:2048 [inline] __se_sys_sendto net/socket.c:2044 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2044 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae } ... key at: [] __alloc_file.__key+0x0/0x10 ... acquired at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:159 [inline] _raw_read_lock_irqsave+0xd9/0x120 kernel/locking/spinlock.c:236 send_sigio+0x2f/0x300 fs/fcntl.c:796 kill_fasync_rcu fs/fcntl.c:1021 [inline] kill_fasync+0x1e4/0x430 fs/fcntl.c:1035 sock_wake_async+0x133/0x150 rcu_read_unlock include/linux/rcupdate.h:717 [inline] sk_wake_async+0x12e/0x200 include/net/sock.h:2369 tcp_rcv_state_process+0x1075/0x2450 net/ipv4/tcp_input.c:6469 tcp_v4_do_rcv+0x5b3/0x880 net/ipv4/tcp_ipv4.c:1735 sk_backlog_rcv include/net/sock.h:1027 [inline] __release_sock+0x1d8/0x4c0 net/core/sock.c:2686 release_sock+0x5d/0x1c0 net/core/sock.c:3218 inet_wait_for_connect net/ipv4/af_inet.c:597 [inline] __inet_stream_connect+0x60f/0xe40 net/ipv4/af_inet.c:689 tcp_sendmsg_fastopen net/ipv4/tcp.c:1187 [inline] tcp_sendmsg_locked+0x3aae/0x4120 net/ipv4/tcp.c:1229 tcp_sendmsg+0x2c/0x40 net/ipv4/tcp.c:1458 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg net/socket.c:724 [inline] __sys_sendto+0x42e/0x5b0 net/socket.c:2036 __do_sys_sendto net/socket.c:2048 [inline] __se_sys_sendto net/socket.c:2044 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2044 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae the dependencies between the lock to be acquired and HARDIRQ-irq-unsafe lock: -> (tasklist_lock){.+.+}-{2:2} { HARDIRQ-ON-R at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline] _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228 do_wait+0x224/0x9d0 kernel/exit.c:1505 kernel_wait+0xe4/0x230 kernel/exit.c:1695 call_usermodehelper_exec_sync kernel/umh.c:139 [inline] call_usermodehelper_exec_work+0xb4/0x220 kernel/umh.c:166 process_one_work+0x853/0x1140 kernel/workqueue.c:2297 worker_thread+0xac1/0x1320 kernel/workqueue.c:2444 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 SOFTIRQ-ON-R at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline] _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228 do_wait+0x224/0x9d0 kernel/exit.c:1505 kernel_wait+0xe4/0x230 kernel/exit.c:1695 call_usermodehelper_exec_sync kernel/umh.c:139 [inline] call_usermodehelper_exec_work+0xb4/0x220 kernel/umh.c:166 process_one_work+0x853/0x1140 kernel/workqueue.c:2297 worker_thread+0xac1/0x1320 kernel/workqueue.c:2444 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 INITIAL USE at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_write_lock_irq include/linux/rwlock_api_smp.h:194 [inline] _raw_write_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:316 copy_process+0x34b4/0x5ca0 kernel/fork.c:2312 kernel_clone+0x22a/0x7e0 kernel/fork.c:2583 kernel_thread+0x155/0x1d0 kernel/fork.c:2635 rest_init+0x21/0x2e0 init/main.c:690 start_kernel+0x4bf/0x56e init/main.c:1133 secondary_startup_64_no_verify+0xb1/0xbb INITIAL READ USE at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline] _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228 do_wait+0x224/0x9d0 kernel/exit.c:1505 kernel_wait+0xe4/0x230 kernel/exit.c:1695 call_usermodehelper_exec_sync kernel/umh.c:139 [inline] call_usermodehelper_exec_work+0xb4/0x220 kernel/umh.c:166 process_one_work+0x853/0x1140 kernel/workqueue.c:2297 worker_thread+0xac1/0x1320 kernel/workqueue.c:2444 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 } ... key at: [] tasklist_lock+0x18/0x40 ... acquired at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline] _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228 send_sigio+0xbe/0x300 fs/fcntl.c:810 kill_fasync_rcu fs/fcntl.c:1021 [inline] kill_fasync+0x1e4/0x430 fs/fcntl.c:1035 lease_break_callback+0x22/0x30 fs/locks.c:477 __break_lease+0xe32/0x1980 fs/locks.c:1450 break_lease include/linux/fs.h:2633 [inline] do_dentry_open+0x722/0x1020 fs/open.c:813 do_open fs/namei.c:3426 [inline] path_openat+0x28b4/0x3670 fs/namei.c:3559 do_filp_open+0x277/0x4f0 fs/namei.c:3586 do_sys_openat2+0x13b/0x500 fs/open.c:1200 do_sys_open fs/open.c:1216 [inline] __do_sys_creat fs/open.c:1292 [inline] __se_sys_creat fs/open.c:1286 [inline] __x64_sys_creat+0x11f/0x160 fs/open.c:1286 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae stack backtrace: CPU: 1 PID: 29028 Comm: syz-executor.2 Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106 print_bad_irq_dependency kernel/locking/lockdep.c:2565 [inline] check_irq_usage kernel/locking/lockdep.c:2804 [inline] check_prev_add kernel/locking/lockdep.c:3055 [inline] check_prevs_add kernel/locking/lockdep.c:3174 [inline] validate_chain+0x6f4c/0x8240 kernel/locking/lockdep.c:3789 __lock_acquire+0x1382/0x2b00 kernel/locking/lockdep.c:5015 lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline] _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228 send_sigio+0xbe/0x300 fs/fcntl.c:810 kill_fasync_rcu fs/fcntl.c:1021 [inline] kill_fasync+0x1e4/0x430 fs/fcntl.c:1035 lease_break_callback+0x22/0x30 fs/locks.c:477 __break_lease+0xe32/0x1980 fs/locks.c:1450 break_lease include/linux/fs.h:2633 [inline] do_dentry_open+0x722/0x1020 fs/open.c:813 do_open fs/namei.c:3426 [inline] path_openat+0x28b4/0x3670 fs/namei.c:3559 do_filp_open+0x277/0x4f0 fs/namei.c:3586 do_sys_openat2+0x13b/0x500 fs/open.c:1200 do_sys_open fs/open.c:1216 [inline] __do_sys_creat fs/open.c:1292 [inline] __se_sys_creat fs/open.c:1286 [inline] __x64_sys_creat+0x11f/0x160 fs/open.c:1286 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f17647b0ae9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1761d26188 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f17648c3f60 RCX: 00007f17647b0ae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020001440 RBP: 00007f176480af25 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcdbe2f4ff R14: 00007f1761d26300 R15: 0000000000022000