Warning: Permanently added '10.128.10.39' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 47.714394][ C0] [ 47.716735][ C0] ======================================================== [ 47.723904][ C0] WARNING: possible irq lock inversion dependency detected [ 47.731073][ C0] 5.18.0-rc3-syzkaller-00196-g45ab9400e73f #0 Not tainted [ 47.738165][ C0] -------------------------------------------------------- [ 47.745338][ C0] swapper/0/0 just changed the state of lock: [ 47.751384][ C0] ffff888023b16110 (&group->lock){..-.}-{2:2}, at: snd_pcm_period_elapsed+0x2c/0x210 [ 47.760850][ C0] but this lock took another, SOFTIRQ-READ-unsafe lock in the past: [ 47.768802][ C0] (tasklist_lock){.+.+}-{2:2} [ 47.768823][ C0] [ 47.768823][ C0] [ 47.768823][ C0] and interrupts could create inverse lock ordering between them. [ 47.768823][ C0] [ 47.787834][ C0] [ 47.787834][ C0] other info that might help us debug this: [ 47.795870][ C0] Chain exists of: [ 47.795870][ C0] &group->lock --> &timer->lock --> tasklist_lock [ 47.795870][ C0] [ 47.808173][ C0] Possible interrupt unsafe locking scenario: [ 47.808173][ C0] [ 47.816461][ C0] CPU0 CPU1 [ 47.821797][ C0] ---- ---- [ 47.827131][ C0] lock(tasklist_lock); [ 47.831343][ C0] local_irq_disable(); [ 47.838067][ C0] lock(&group->lock); [ 47.844713][ C0] lock(&timer->lock); [ 47.851358][ C0] [ 47.854787][ C0] lock(&group->lock); [ 47.859088][ C0] [ 47.859088][ C0] *** DEADLOCK *** [ 47.859088][ C0] [ 47.867201][ C0] no locks held by swapper/0/0. [ 47.872018][ C0] [ 47.872018][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 47.881380][ C0] -> (tasklist_lock){.+.+}-{2:2} { [ 47.886819][ C0] HARDIRQ-ON-R at: [ 47.891117][ C0] lock_acquire+0x1a7/0x400 [ 47.897942][ C0] _raw_read_lock+0x32/0x40 [ 47.904762][ C0] do_wait+0x224/0x9d0 [ 47.911151][ C0] kernel_wait+0xe4/0x230 [ 47.917805][ C0] call_usermodehelper_exec_work+0xb4/0x220 [ 47.926030][ C0] process_one_work+0x81c/0xd10 [ 47.933215][ C0] worker_thread+0xb14/0x1330 [ 47.940219][ C0] kthread+0x266/0x300 [ 47.946610][ C0] ret_from_fork+0x1f/0x30 [ 47.953346][ C0] SOFTIRQ-ON-R at: [ 47.957647][ C0] lock_acquire+0x1a7/0x400 [ 47.964485][ C0] _raw_read_lock+0x32/0x40 [ 47.971312][ C0] do_wait+0x224/0x9d0 [ 47.977699][ C0] kernel_wait+0xe4/0x230 [ 47.984342][ C0] call_usermodehelper_exec_work+0xb4/0x220 [ 47.992549][ C0] process_one_work+0x81c/0xd10 [ 47.999714][ C0] worker_thread+0xb14/0x1330 [ 48.006709][ C0] kthread+0x266/0x300 [ 48.013095][ C0] ret_from_fork+0x1f/0x30 [ 48.019836][ C0] INITIAL USE at: [ 48.024049][ C0] lock_acquire+0x1a7/0x400 [ 48.030784][ C0] _raw_write_lock_irq+0xcf/0x110 [ 48.038040][ C0] copy_process+0x234d/0x3f70 [ 48.044960][ C0] kernel_clone+0x22f/0x7a0 [ 48.051693][ C0] kernel_thread+0x167/0x1e0 [ 48.058510][ C0] rest_init+0x21/0x2e0 [ 48.064903][ C0] start_kernel+0x4bf/0x56e [ 48.071637][ C0] secondary_startup_64_no_verify+0xc4/0xcb [ 48.079759][ C0] INITIAL READ USE at: [ 48.084410][ C0] lock_acquire+0x1a7/0x400 [ 48.091604][ C0] _raw_read_lock+0x32/0x40 [ 48.098769][ C0] do_wait+0x224/0x9d0 [ 48.105513][ C0] kernel_wait+0xe4/0x230 [ 48.112506][ C0] call_usermodehelper_exec_work+0xb4/0x220 [ 48.121060][ C0] process_one_work+0x81c/0xd10 [ 48.128576][ C0] worker_thread+0xb14/0x1330 [ 48.135916][ C0] kthread+0x266/0x300 [ 48.142646][ C0] ret_from_fork+0x1f/0x30 [ 48.149724][ C0] } [ 48.152544][ C0] ... key at: [] tasklist_lock+0x18/0x40 [ 48.160594][ C0] ... acquired at: [ 48.164713][ C0] lock_acquire+0x1a7/0x400 [ 48.169359][ C0] _raw_read_lock+0x32/0x40 [ 48.174004][ C0] send_sigio+0xbe/0x300 [ 48.178389][ C0] dnotify_handle_event+0x136/0x450 [ 48.183735][ C0] fsnotify+0xc84/0x1270 [ 48.188127][ C0] path_openat+0x14b3/0x2ec0 [ 48.192862][ C0] do_filp_open+0x277/0x4f0 [ 48.197526][ C0] do_sys_openat2+0x13b/0x500 [ 48.202349][ C0] __x64_sys_creat+0x11f/0x160 [ 48.207259][ C0] do_syscall_64+0x2b/0x70 [ 48.211825][ C0] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 48.217866][ C0] [ 48.220168][ C0] -> (&f->f_owner.lock){....}-{2:2} { [ 48.225781][ C0] INITIAL USE at: [ 48.229906][ C0] lock_acquire+0x1a7/0x400 [ 48.236466][ C0] _raw_write_lock_irq+0xcf/0x110 [ 48.243548][ C0] f_modown+0x38/0x340 [ 48.249691][ C0] f_setown+0x113/0x1a0 [ 48.255905][ C0] do_fcntl+0x128/0x13b0 [ 48.262203][ C0] __se_sys_fcntl+0xd5/0x1b0 [ 48.268863][ C0] do_syscall_64+0x2b/0x70 [ 48.275343][ C0] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 48.283292][ C0] INITIAL READ USE at: [ 48.287853][ C0] lock_acquire+0x1a7/0x400 [ 48.294851][ C0] _raw_read_lock_irqsave+0xd9/0x120 [ 48.302628][ C0] send_sigio+0x2f/0x300 [ 48.309357][ C0] kill_fasync+0x1e4/0x430 [ 48.316261][ C0] snd_timer_user_ccallback+0x370/0x540 [ 48.324294][ C0] snd_timer_notify1+0x1ad/0x350 [ 48.331719][ C0] snd_timer_start1+0x53d/0x640 [ 48.339065][ C0] __snd_timer_user_ioctl+0xae7/0x54c0 [ 48.347012][ C0] snd_timer_user_ioctl+0x5d/0x80 [ 48.354537][ C0] __se_sys_ioctl+0xfb/0x170 [ 48.361617][ C0] do_syscall_64+0x2b/0x70 [ 48.368521][ C0] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 48.376991][ C0] } [ 48.379723][ C0] ... key at: [] __alloc_file.__key+0x0/0x10 [ 48.388033][ C0] ... acquired at: [ 48.392072][ C0] lock_acquire+0x1a7/0x400 [ 48.396718][ C0] _raw_read_lock_irqsave+0xd9/0x120 [ 48.402149][ C0] send_sigio+0x2f/0x300 [ 48.406535][ C0] kill_fasync+0x1e4/0x430 [ 48.411096][ C0] snd_timer_user_ccallback+0x370/0x540 [ 48.416789][ C0] snd_timer_notify1+0x1ad/0x350 [ 48.421873][ C0] snd_timer_start1+0x53d/0x640 [ 48.426871][ C0] __snd_timer_user_ioctl+0xae7/0x54c0 [ 48.432476][ C0] snd_timer_user_ioctl+0x5d/0x80 [ 48.437646][ C0] __se_sys_ioctl+0xfb/0x170 [ 48.442380][ C0] do_syscall_64+0x2b/0x70 [ 48.446939][ C0] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 48.452981][ C0] [ 48.455277][ C0] -> (&new->fa_lock){....}-{2:2} { [ 48.460543][ C0] INITIAL READ USE at: [ 48.465023][ C0] lock_acquire+0x1a7/0x400 [ 48.471845][ C0] _raw_read_lock_irqsave+0xd9/0x120 [ 48.479453][ C0] kill_fasync+0x13b/0x430 [ 48.486185][ C0] snd_timer_user_ccallback+0x370/0x540 [ 48.494053][ C0] snd_timer_notify1+0x1ad/0x350 [ 48.501304][ C0] snd_timer_start1+0x53d/0x640 [ 48.508475][ C0] __snd_timer_user_ioctl+0xae7/0x54c0 [ 48.516247][ C0] snd_timer_user_ioctl+0x5d/0x80 [ 48.523595][ C0] __se_sys_ioctl+0xfb/0x170 [ 48.530513][ C0] do_syscall_64+0x2b/0x70 [ 48.537243][ C0] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 48.545456][ C0] } [ 48.548114][ C0] ... key at: [] fasync_insert_entry.__key+0x0/0x20 [ 48.556932][ C0] ... acquired at: [ 48.560891][ C0] lock_acquire+0x1a7/0x400 [ 48.565539][ C0] _raw_read_lock_irqsave+0xd9/0x120 [ 48.570968][ C0] kill_fasync+0x13b/0x430 [ 48.575530][ C0] snd_timer_user_ccallback+0x370/0x540 [ 48.581221][ C0] snd_timer_notify1+0x1ad/0x350 [ 48.586302][ C0] snd_timer_start1+0x53d/0x640 [ 48.591303][ C0] __snd_timer_user_ioctl+0xae7/0x54c0 [ 48.596913][ C0] snd_timer_user_ioctl+0x5d/0x80 [ 48.602097][ C0] __se_sys_ioctl+0xfb/0x170 [ 48.606833][ C0] do_syscall_64+0x2b/0x70 [ 48.611396][ C0] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 48.617441][ C0] [ 48.619740][ C0] -> (&timer->lock){....}-{2:2} { [ 48.624836][ C0] INITIAL USE at: [ 48.628810][ C0] lock_acquire+0x1a7/0x400 [ 48.635040][ C0] _raw_spin_lock_irqsave+0xd1/0x120 [ 48.642034][ C0] __snd_timer_user_ioctl+0x1a3f/0x54c0 [ 48.649291][ C0] snd_timer_user_ioctl+0x5d/0x80 [ 48.656025][ C0] __se_sys_ioctl+0xfb/0x170 [ 48.662326][ C0] do_syscall_64+0x2b/0x70 [ 48.668457][ C0] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 48.676077][ C0] } [ 48.678641][ C0] ... key at: [] snd_timer_new.__key+0x0/0x20 [ 48.686855][ C0] ... acquired at: [ 48.690718][ C0] lock_acquire+0x1a7/0x400 [ 48.695371][ C0] _raw_spin_lock_irqsave+0xd1/0x120 [ 48.700802][ C0] snd_timer_notify+0x105/0x3e0 [ 48.705801][ C0] snd_pcm_start+0x383/0x400 [ 48.710554][ C0] __snd_pcm_lib_xfer+0x13e0/0x18a0 [ 48.715901][ C0] snd_pcm_oss_write3+0x202/0x390 [ 48.721075][ C0] snd_pcm_oss_sync1+0x3a6/0x7f0 [ 48.726158][ C0] snd_pcm_oss_sync+0x9cf/0xf00 [ 48.731152][ C0] snd_pcm_oss_release+0x119/0x270 [ 48.736411][ C0] __fput+0x3b9/0x820 [ 48.740540][ C0] task_work_run+0x146/0x1c0 [ 48.745296][ C0] do_exit+0x547/0x1eb0 [ 48.749600][ C0] do_group_exit+0x23b/0x2f0 [ 48.754337][ C0] __x64_sys_exit_group+0x3b/0x40 [ 48.759509][ C0] do_syscall_64+0x2b/0x70 [ 48.764072][ C0] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 48.770127][ C0] [ 48.772424][ C0] -> (&group->lock){..-.}-{2:2} { [ 48.777445][ C0] IN-SOFTIRQ-W at: [ 48.781400][ C0] lock_acquire+0x1a7/0x400 [ 48.787524][ C0] _raw_spin_lock_irqsave+0xd1/0x120 [ 48.794430][ C0] snd_pcm_period_elapsed+0x2c/0x210 [ 48.801338][ C0] dummy_hrtimer_callback+0x87/0x190 [ 48.808247][ C0] __hrtimer_run_queues+0x50b/0xa60 [ 48.815065][ C0] hrtimer_run_softirq+0x1a1/0x580 [ 48.821975][ C0] __do_softirq+0x382/0x793 [ 48.828113][ C0] __irq_exit_rcu+0xec/0x170 [ 48.834327][ C0] irq_exit_rcu+0x5/0x20 [ 48.840190][ C0] sysvec_apic_timer_interrupt+0x91/0xb0 [ 48.847448][ C0] asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 48.855050][ C0] acpi_idle_enter+0x42d/0x790 [ 48.861435][ C0] cpuidle_enter_state+0x517/0xed0 [ 48.868197][ C0] cpuidle_enter+0x59/0x90 [ 48.874238][ C0] do_idle+0x3d2/0x640 [ 48.879931][ C0] cpu_startup_entry+0x15/0x20 [ 48.886332][ C0] start_kernel+0x4bf/0x56e [ 48.892463][ C0] secondary_startup_64_no_verify+0xc4/0xcb [ 48.899995][ C0] INITIAL USE at: [ 48.903861][ C0] lock_acquire+0x1a7/0x400 [ 48.909900][ C0] _raw_spin_lock_irq+0xcf/0x110 [ 48.916485][ C0] snd_pcm_hw_params+0x164/0x1860 [ 48.923046][ C0] snd_pcm_oss_change_params_locked+0x1f21/0x3c80 [ 48.930997][ C0] snd_pcm_oss_write1+0x249/0x1130 [ 48.937670][ C0] vfs_write+0x303/0xd40 [ 48.943482][ C0] ksys_write+0x19b/0x2c0 [ 48.949361][ C0] do_syscall_64+0x2b/0x70 [ 48.955322][ C0] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 48.962772][ C0] } [ 48.965252][ C0] ... key at: [] snd_pcm_group_init.__key+0x0/0x20 [ 48.973873][ C0] ... acquired at: [ 48.977673][ C0] mark_lock+0x21c/0x350 [ 48.982082][ C0] __lock_acquire+0xb81/0x1f80 [ 48.987007][ C0] lock_acquire+0x1a7/0x400 [ 48.991671][ C0] _raw_spin_lock_irqsave+0xd1/0x120 [ 48.997117][ C0] snd_pcm_period_elapsed+0x2c/0x210 [ 49.002566][ C0] dummy_hrtimer_callback+0x87/0x190 [ 49.008008][ C0] __hrtimer_run_queues+0x50b/0xa60 [ 49.013354][ C0] hrtimer_run_softirq+0x1a1/0x580 [ 49.018611][ C0] __do_softirq+0x382/0x793 [ 49.023276][ C0] __irq_exit_rcu+0xec/0x170 [ 49.028017][ C0] irq_exit_rcu+0x5/0x20 [ 49.032409][ C0] sysvec_apic_timer_interrupt+0x91/0xb0 [ 49.038194][ C0] asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 49.044326][ C0] acpi_idle_enter+0x42d/0x790 [ 49.049243][ C0] cpuidle_enter_state+0x517/0xed0 [ 49.054504][ C0] cpuidle_enter+0x59/0x90 [ 49.059072][ C0] do_idle+0x3d2/0x640 [ 49.063290][ C0] cpu_startup_entry+0x15/0x20 [ 49.068204][ C0] start_kernel+0x4bf/0x56e [ 49.072865][ C0] secondary_startup_64_no_verify+0xc4/0xcb [ 49.078925][ C0] [ 49.081230][ C0] [ 49.081230][ C0] stack backtrace: [ 49.087101][ C0] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.18.0-rc3-syzkaller-00196-g45ab9400e73f #0 [ 49.096812][ C0] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 49.106856][ C0] Call Trace: [ 49.110123][ C0] [ 49.112955][ C0] dump_stack_lvl+0x1e3/0x2cb [ 49.117626][ C0] ? bfq_pos_tree_add_move+0x436/0x436 [ 49.123075][ C0] ? panic+0x76e/0x76e [ 49.127125][ C0] ? print_shortest_lock_dependencies+0x102/0x160 [ 49.133535][ C0] print_irq_inversion_bug+0x58c/0x6f0 [ 49.138999][ C0] ? print_bfs_bug+0x30/0x30 [ 49.143572][ C0] ? stack_trace_save+0x1f0/0x1f0 [ 49.148581][ C0] mark_lock_irq+0x9d2/0xf00 [ 49.153157][ C0] ? save_trace+0xba0/0xba0 [ 49.157641][ C0] ? validate_chain+0x126/0x65c0 [ 49.162566][ C0] ? validate_chain+0x126/0x65c0 [ 49.167495][ C0] ? save_trace+0x5a/0xba0 [ 49.171909][ C0] mark_lock+0x21c/0x350 [ 49.176138][ C0] __lock_acquire+0xb81/0x1f80 [ 49.180894][ C0] lock_acquire+0x1a7/0x400 [ 49.185400][ C0] ? snd_pcm_period_elapsed+0x2c/0x210 [ 49.190856][ C0] ? read_lock_is_recursive+0x10/0x10 [ 49.196215][ C0] ? lockdep_hardirqs_on_prepare+0x448/0x7b0 [ 49.202280][ C0] ? _raw_spin_lock_irqsave+0xac/0x120 [ 49.207720][ C0] ? lockdep_hardirqs_off+0x71/0x100 [ 49.213000][ C0] _raw_spin_lock_irqsave+0xd1/0x120 [ 49.218273][ C0] ? snd_pcm_period_elapsed+0x2c/0x210 [ 49.223726][ C0] ? _raw_spin_lock+0x40/0x40 [ 49.228480][ C0] ? rcu_read_lock_sched_held+0x89/0x130 [ 49.234102][ C0] ? __bpf_trace_rcu_stall_warning+0x10/0x10 [ 49.240069][ C0] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 49.245940][ C0] snd_pcm_period_elapsed+0x2c/0x210 [ 49.251213][ C0] dummy_hrtimer_callback+0x87/0x190 [ 49.256508][ C0] __hrtimer_run_queues+0x50b/0xa60 [ 49.261698][ C0] ? dummy_hrtimer_pointer+0x160/0x160 [ 49.267238][ C0] ? hrtimer_interrupt+0xfd0/0xfd0 [ 49.272340][ C0] hrtimer_run_softirq+0x1a1/0x580 [ 49.277439][ C0] __do_softirq+0x382/0x793 [ 49.281945][ C0] ? __irq_exit_rcu+0xec/0x170 [ 49.286699][ C0] ? __entry_text_end+0x1fecc5/0x1fecc5 [ 49.292235][ C0] __irq_exit_rcu+0xec/0x170 [ 49.296825][ C0] ? irq_exit_rcu+0x20/0x20 [ 49.301313][ C0] irq_exit_rcu+0x5/0x20 [ 49.305542][ C0] sysvec_apic_timer_interrupt+0x91/0xb0 [ 49.311167][ C0] [ 49.314080][ C0] [ 49.316993][ C0] asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 49.322955][ C0] RIP: 0010:acpi_idle_enter+0x42d/0x790 [ 49.328489][ C0] Code: fc 48 83 e3 08 44 8b 7c 24 04 0f 85 22 01 00 00 4c 8d 74 24 40 e8 93 fd 00 fd eb 0c e8 ac 59 fa fc 0f 00 2d f5 a1 68 06 fb f4 <4c> 89 f3 48 c1 eb 03 42 80 3c 23 00 74 08 4c 89 f7 e8 5d 3f 4b fd [ 49.348092][ C0] RSP: 0018:ffffffff8c807bc0 EFLAGS: 00000282 [ 49.354142][ C0] RAX: ea48baa34ad6ff00 RBX: 0000000000000000 RCX: ffffffff90b7a603 [ 49.362089][ C0] RDX: dffffc0000000000 RSI: ffffffff8a8d0480 RDI: ffffffff8ae88c20 [ 49.370035][ C0] RBP: ffffffff8c807c70 R08: ffffffff818ca320 R09: fffffbfff19176c9 [ 49.377984][ C0] R10: fffffbfff19176c9 R11: 1ffffffff19176c8 R12: dffffc0000000000 [ 49.385941][ C0] R13: ffff888016bdf064 R14: ffffffff8c807c00 R15: 0000000000000001 [ 49.393892][ C0] ? trace_hardirqs_on+0x30/0x80 [ 49.398819][ C0] ? acpi_idle_lpi_enter+0xe0/0xe0 [ 49.403907][ C0] ? kvm_sched_clock_read+0x14/0x40 [ 49.409082][ C0] cpuidle_enter_state+0x517/0xed0 [ 49.414172][ C0] ? cpuidle_enter_s2idle+0x6b0/0x6b0 [ 49.419520][ C0] ?