./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1176936351 <...> Warning: Permanently added '10.128.0.78' (ED25519) to the list of known hosts. execve("./syz-executor1176936351", ["./syz-executor1176936351"], 0x7ffe6e250110 /* 10 vars */) = 0 brk(NULL) = 0x555582547000 brk(0x555582547d00) = 0x555582547d00 arch_prctl(ARCH_SET_FS, 0x555582547380) = 0 set_tid_address(0x555582547650) = 5071 set_robust_list(0x555582547660, 24) = 0 rseq(0x555582547ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1176936351", 4096) = 28 getrandom("\x08\x33\xb3\x7f\xd7\xa4\xd2\x44", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555582547d00 brk(0x555582568d00) = 0x555582568d00 brk(0x555582569000) = 0x555582569000 mprotect(0x7f9d9348b000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 openat(AT_FDCWD, "/dev/sequencer2", O_RDONLY) = 3 openat(AT_FDCWD, "/dev/audio", O_RDWR|O_CREAT|O_NONBLOCK|O_SYNC|O_LARGEFILE, 000) = 4 ioctl(4, SNDCTL_DSP_SETFMT, 0x20000000) = 0 mmap(0x20ffd000, 8192, PROT_WRITE|PROT_GROWSUP, MAP_PRIVATE|MAP_FIXED|MAP_POPULATE, 4, 0) = 0x20ffd000 ioctl(4, SNDCTL_DSP_POST, 0) = 0 exit_group(0) = ? [ 80.018528][ T5071] [ 80.020909][ T5071] ================================ [ 80.026023][ T5071] WARNING: inconsistent lock state [ 80.031120][ T5071] 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Not tainted [ 80.037779][ T5071] -------------------------------- [ 80.042890][ T5071] inconsistent {IN-SOFTIRQ-W} -> {SOFTIRQ-ON-W} usage. [ 80.049719][ T5071] syz-executor117/5071 [HC0[0]:SC0[0]:HE1:SE1] takes: [ 80.056473][ T5071] ffff88802914f148 (&timer->lock){+.?.}-{2:2}, at: snd_timer_close_locked+0x53/0x8d0 [ 80.066002][ T5071] {IN-SOFTIRQ-W} state was registered at: [ 80.071724][ T5071] lock_acquire+0x1e4/0x530 [ 80.076314][ T5071] _raw_spin_lock_irqsave+0xd5/0x120 [ 80.081725][ T5071] snd_timer_notify+0x103/0x3d0 [ 80.086668][ T5071] snd_pcm_drain_done+0x2b8/0x3e0 [ 80.091785][ T5071] snd_pcm_update_state+0x31b/0x410 [ 80.097086][ T5071] snd_pcm_update_hw_ptr0+0x1066/0x1a70 [ 80.102729][ T5071] snd_pcm_period_elapsed_under_stream_lock+0xeb/0x210 [ 80.109672][ T5071] snd_pcm_period_elapsed+0x2c/0x50 [ 80.114962][ T5071] dummy_hrtimer_callback+0x7f/0x180 [ 80.120337][ T5071] __hrtimer_run_queues+0x597/0xd00 [ 80.125626][ T5071] hrtimer_run_softirq+0x19a/0x2c0 [ 80.130825][ T5071] __do_softirq+0x2be/0x943 [ 80.135412][ T5071] __irq_exit_rcu+0xf2/0x1c0 [ 80.140098][ T5071] irq_exit_rcu+0x9/0x30 [ 80.144419][ T5071] sysvec_apic_timer_interrupt+0xa6/0xc0 [ 80.150139][ T5071] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 80.156223][ T5071] acpi_safe_halt+0x21/0x30 [ 80.160810][ T5071] acpi_idle_enter+0xe4/0x140 [ 80.165602][ T5071] cpuidle_enter_state+0x11a/0x490 [ 80.170808][ T5071] cpuidle_enter+0x5d/0xa0 [ 80.175307][ T5071] do_idle+0x375/0x5d0 [ 80.179487][ T5071] cpu_startup_entry+0x42/0x60 [ 80.184329][ T5071] rest_init+0x2e0/0x300 [ 80.188682][ T5071] arch_call_rest_init+0xe/0x10 [ 80.193613][ T5071] start_kernel+0x47a/0x500 [ 80.198196][ T5071] x86_64_start_reservations+0x2a/0x30 [ 80.203741][ T5071] x86_64_start_kernel+0x99/0xa0 [ 80.208766][ T5071] common_startup_64+0x13e/0x147 [ 80.213787][ T5071] irq event stamp: 6027 [ 80.217921][ T5071] hardirqs last enabled at (6027): [] _raw_spin_unlock_irq+0x23/0x50 [ 80.227649][ T5071] hardirqs last disabled at (6026): [] _raw_spin_lock_irq+0xad/0x120 [ 80.237285][ T5071] softirqs last enabled at (5198): [] __irq_exit_rcu+0xf2/0x1c0 [ 80.246562][ T5071] softirqs last disabled at (5167): [] __irq_exit_rcu+0xf2/0x1c0 [ 80.255838][ T5071] [ 80.255838][ T5071] other info that might help us debug this: [ 80.263882][ T5071] Possible unsafe locking scenario: [ 80.263882][ T5071] [ 80.271320][ T5071] CPU0 [ 80.274593][ T5071] ---- [ 80.277861][ T5071] lock(&timer->lock); [ 80.282029][ T5071] [ 80.285467][ T5071] lock(&timer->lock); [ 80.289807][ T5071] [ 80.289807][ T5071] *** DEADLOCK *** [ 80.289807][ T5071] [ 80.297940][ T5071] 3 locks held by syz-executor117/5071: [ 80.303469][ T5071] #0: ffffffff8f2e5728 (register_mutex#4){+.+.}-{3:3}, at: odev_release+0x4e/0x80 [ 80.312801][ T5071] #1: ffff8880292d0978 (&q->timer_mutex){+.+.}-{3:3}, at: snd_seq_queue_delete+0x5b/0xf0 [ 80.322739][ T5071] #2: ffffffff8f2d3f68 (register_mutex){+.+.}-{3:3}, at: snd_timer_close+0xa3/0x130 [ 80.332245][ T5071] [ 80.332245][ T5071] stack backtrace: [ 80.338117][ T5071] CPU: 0 PID: 5071 Comm: syz-executor117 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 [ 80.348168][ T5071] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 80.358231][ T5071] Call Trace: [ 80.361502][ T5071] [ 80.364441][ T5071] dump_stack_lvl+0x241/0x360 [ 80.369136][ T5071] ? __pfx_dump_stack_lvl+0x10/0x10 [ 80.374339][ T5071] ? srso_return_thunk+0x5/0x5f [ 80.379191][ T5071] ? srso_return_thunk+0x5/0x5f [ 80.384040][ T5071] ? print_usage_bug+0x61a/0x8a0 [ 80.388979][ T5071] ? is_bpf_text_address+0x28d/0x2b0 [ 80.394271][ T5071] valid_state+0x13a/0x1c0 [ 80.398702][ T5071] mark_lock_irq+0xbb/0xc20 [ 80.403201][ T5071] ? srso_return_thunk+0x5/0x5f [ 80.408069][ T5071] ? arch_stack_walk+0x16d/0x1b0 [ 80.413027][ T5071] ? __pfx_mark_lock_irq+0x10/0x10 [ 80.418137][ T5071] ? srso_return_thunk+0x5/0x5f [ 80.422982][ T5071] ? stack_trace_save+0x118/0x1d0 [ 80.428014][ T5071] ? __pfx_stack_trace_save+0x10/0x10 [ 80.433392][ T5071] ? srso_return_thunk+0x5/0x5f [ 80.438239][ T5071] ? srso_return_thunk+0x5/0x5f [ 80.443084][ T5071] ? save_trace+0x749/0xb40 [ 80.447590][ T5071] mark_lock+0x223/0x350 [ 80.451830][ T5071] __lock_acquire+0x116e/0x1fd0 [ 80.456681][ T5071] lock_acquire+0x1e4/0x530 [ 80.461175][ T5071] ? snd_timer_close_locked+0x53/0x8d0 [ 80.466637][ T5071] ? __pfx___mutex_trylock_common+0x10/0x10 [ 80.472531][ T5071] ? __pfx_lock_acquire+0x10/0x10 [ 80.477566][ T5071] ? rcu_is_watching+0x15/0xb0 [ 80.482324][ T5071] ? srso_return_thunk+0x5/0x5f [ 80.487169][ T5071] ? trace_contention_end+0x3c/0x100 [ 80.492472][ T5071] ? srso_return_thunk+0x5/0x5f [ 80.497317][ T5071] ? __mutex_lock+0x2ef/0xd70 [ 80.501994][ T5071] ? snd_timer_close+0xa3/0x130 [ 80.506850][ T5071] _raw_spin_lock+0x2e/0x40 [ 80.511356][ T5071] ? snd_timer_close_locked+0x53/0x8d0 [ 80.516817][ T5071] snd_timer_close_locked+0x53/0x8d0 [ 80.522192][ T5071] ? srso_return_thunk+0x5/0x5f [ 80.527042][ T5071] snd_timer_close+0xae/0x130 [ 80.531718][ T5071] ? __pfx_snd_timer_close+0x10/0x10 [ 80.537019][ T5071] ? _raw_spin_unlock_irq+0x23/0x50 [ 80.542226][ T5071] ? srso_return_thunk+0x5/0x5f [ 80.547070][ T5071] ? lockdep_hardirqs_on+0x99/0x150 [ 80.552272][ T5071] snd_seq_timer_close+0xa9/0xe0 [ 80.557206][ T5071] snd_seq_queue_delete+0x8f/0xf0 [ 80.562235][ T5071] snd_seq_oss_release+0x1d3/0x310 [ 80.567344][ T5071] ? srso_return_thunk+0x5/0x5f [ 80.572197][ T5071] ? __pfx_snd_seq_oss_release+0x10/0x10 [ 80.577825][ T5071] ? __asan_memset+0x23/0x50 [ 80.582528][ T5071] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 80.588865][ T5071] ? srso_return_thunk+0x5/0x5f [ 80.593710][ T5071] ? evm_file_release+0x140/0x1d0 [ 80.598725][ T5071] ? __pfx_odev_release+0x10/0x10 [ 80.603747][ T5071] odev_release+0x56/0x80 [ 80.608077][ T5071] __fput+0x42b/0x8a0 [ 80.612065][ T5071] task_work_run+0x251/0x310 [ 80.616663][ T5071] ? __pfx_task_work_run+0x10/0x10 [ 80.621777][ T5071] ? srso_return_thunk+0x5/0x5f [ 80.626631][ T5071] ? switch_task_namespaces+0xe1/0x110 [ 80.632083][ T5071] do_exit+0xa1b/0x27e0 [ 80.636244][ T5071] ? __pfx_do_exit+0x10/0x10 [ 80.640833][ T5071] ? srso_return_thunk+0x5/0x5f [ 80.645680][ T5071] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 80.651656][ T5071] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 80.657980][ T5071] ? _raw_spin_unlock_irq+0x23/0x50 [ 80.663184][ T5071] ? srso_return_thunk+0x5/0x5f [ 80.668031][ T5071] ? lockdep_hardirqs_on+0x99/0x150 [ 80.673237][ T5071] do_group_exit+0x207/0x2c0 [ 80.677832][ T5071] __x64_sys_exit_group+0x3f/0x40 [ 80.682857][ T5071] do_syscall_64+0xfd/0x240 [ 80.687352][ T5071] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 80.693267][ T5071] RIP: 0033:0x7f9d93416cb9 [ 80.697670][ T5071] Code: Unable to access opcode bytes at 0x7f9d93416c8f. [ 80.704692][ T5071] RSP: 002b:00007ffddd8c7ef8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 80.713120][ T5071] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9d93416cb9 +++ exited with 0 +++ [ 8