Warning: Permanently added '10.128.0.210' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 63.284897][ C1] [ 63.287589][ C1] ======================================================== [ 63.294953][ C1] WARNING: possible irq lock inversion dependency detected [ 63.302244][ C1] 5.9.0-rc5-next-20200915-syzkaller #0 Not tainted [ 63.308759][ C1] -------------------------------------------------------- [ 63.316064][ C1] swapper/1/0 just changed the state of lock: [ 63.322165][ C1] ffff888099e74108 (&group->lock){..-.}-{2:2}, at: _snd_pcm_stream_lock_irqsave+0x9f/0xd0 [ 63.332064][ C1] but this lock took another, SOFTIRQ-READ-unsafe lock in the past: [ 63.340084][ C1] (&card->ctl_files_rwlock){.+.+}-{2:2} [ 63.340096][ C1] [ 63.340096][ C1] [ 63.340096][ C1] and interrupts could create inverse lock ordering between them. [ 63.340096][ C1] [ 63.360227][ C1] [ 63.360227][ C1] other info that might help us debug this: [ 63.368421][ C1] Possible interrupt unsafe locking scenario: [ 63.368421][ C1] [ 63.376922][ C1] CPU0 CPU1 [ 63.382424][ C1] ---- ---- [ 63.387807][ C1] lock(&card->ctl_files_rwlock); [ 63.392902][ C1] local_irq_disable(); [ 63.399697][ C1] lock(&group->lock); [ 63.406609][ C1] lock(&card->ctl_files_rwlock); [ 63.414294][ C1] [ 63.417766][ C1] lock(&group->lock); [ 63.422148][ C1] [ 63.422148][ C1] *** DEADLOCK *** [ 63.422148][ C1] [ 63.430373][ C1] 1 lock held by swapper/1/0: [ 63.435084][ C1] #0: ffffc90000da8d80 ((&dpcm->timer)){+.-.}-{0:0}, at: call_timer_fn+0xd5/0x6b0 [ 63.444423][ C1] [ 63.444423][ C1] the shortest dependencies between 2nd lock and 1st lock: [ 63.453974][ C1] -> (&card->ctl_files_rwlock){.+.+}-{2:2} { [ 63.460043][ C1] HARDIRQ-ON-R at: [ 63.464195][ C1] lock_acquire+0x1f2/0xaa0 [ 63.470512][ C1] _raw_read_lock+0x5b/0x70 [ 63.477124][ C1] snd_ctl_notify.part.0+0x36/0x550 [ 63.484343][ C1] snd_ctl_notify+0x8f/0xb0 [ 63.491788][ C1] __snd_ctl_add_replace+0x638/0x800 [ 63.498955][ C1] snd_ctl_add_replace+0x76/0x130 [ 63.505793][ C1] snd_dummy_probe+0xbbf/0x1050 [ 63.512454][ C1] platform_drv_probe+0x87/0x140 [ 63.519204][ C1] really_probe+0x282/0x9f0 [ 63.525943][ C1] driver_probe_device+0xfe/0x1d0 [ 63.533774][ C1] __device_attach_driver+0x1c2/0x220 [ 63.541084][ C1] bus_for_each_drv+0x15f/0x1e0 [ 63.548706][ C1] __device_attach+0x228/0x470 [ 63.555282][ C1] bus_probe_device+0x1e4/0x290 [ 63.562456][ C1] device_add+0xb17/0x1c40 [ 63.568684][ C1] platform_device_add+0x34f/0x6d0 [ 63.575604][ C1] platform_device_register_full+0x38c/0x4e0 [ 63.583398][ C1] alsa_card_dummy_init+0x1cc/0x2e0 [ 63.590450][ C1] do_one_initcall+0x103/0x6f0 [ 63.597062][ C1] kernel_init_freeable+0x5e9/0x66d [ 63.604145][ C1] kernel_init+0xd/0x1c0 [ 63.610204][ C1] ret_from_fork+0x1f/0x30 [ 63.616614][ C1] SOFTIRQ-ON-R at: [ 63.620792][ C1] lock_acquire+0x1f2/0xaa0 [ 63.627293][ C1] _raw_read_lock+0x5b/0x70 [ 63.633742][ C1] snd_ctl_notify.part.0+0x36/0x550 [ 63.641077][ C1] snd_ctl_notify+0x8f/0xb0 [ 63.647751][ C1] __snd_ctl_add_replace+0x638/0x800 [ 63.655278][ C1] snd_ctl_add_replace+0x76/0x130 [ 63.662131][ C1] snd_dummy_probe+0xbbf/0x1050 [ 63.668801][ C1] platform_drv_probe+0x87/0x140 [ 63.675548][ C1] really_probe+0x282/0x9f0 [ 63.681859][ C1] driver_probe_device+0xfe/0x1d0 [ 63.688709][ C1] __device_attach_driver+0x1c2/0x220 [ 63.696079][ C1] bus_for_each_drv+0x15f/0x1e0 [ 63.702836][ C1] __device_attach+0x228/0x470 [ 63.709752][ C1] bus_probe_device+0x1e4/0x290 [ 63.716627][ C1] device_add+0xb17/0x1c40 [ 63.722913][ C1] platform_device_add+0x34f/0x6d0 [ 63.729957][ C1] platform_device_register_full+0x38c/0x4e0 [ 63.737746][ C1] alsa_card_dummy_init+0x1cc/0x2e0 [ 63.744767][ C1] do_one_initcall+0x103/0x6f0 [ 63.751343][ C1] kernel_init_freeable+0x5e9/0x66d [ 63.758355][ C1] kernel_init+0xd/0x1c0 [ 63.764423][ C1] ret_from_fork+0x1f/0x30 [ 63.770932][ C1] (null) at: [ 63.774662][ C1] general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN [ 63.786611][ C1] KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] [ 63.795161][ C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.9.0-rc5-next-20200915-syzkaller #0 [ 63.804323][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 63.814650][ C1] RIP: 0010:print_shortest_lock_dependencies.cold+0x110/0x2af [ 63.822144][ C1] Code: 48 8b 04 24 48 c1 e8 03 42 80 3c 20 00 74 09 48 8b 3c 24 e8 b1 21 d9 f9 48 8b 04 24 48 8b 00 48 8d 78 14 48 89 fa 48 c1 ea 03 <42> 0f b6 0c 22 48 89 fa 83 e2 07 83 c2 03 38 ca 7c 08 84 c9 0f 85 [ 63.842259][ C1] RSP: 0018:ffffc90000da8898 EFLAGS: 00010003 [ 63.848352][ C1] RAX: 0000000000000001 RBX: ffffffff8cbe4700 RCX: 0000000000000000 [ 63.856311][ C1] RDX: 0000000000000002 RSI: ffffffff815c26a7 RDI: 0000000000000015 [ 63.864429][ C1] RBP: ffffc90000da89c8 R08: 0000000000000004 R09: ffff8880ae720f8b [ 63.873342][ C1] R10: 0000000000000000 R11: 6c756e2820202020 R12: dffffc0000000000 [ 63.881340][ C1] R13: ffffffff8c9ee300 R14: 0000000000000009 R15: 0000000000000001 [ 63.889300][ C1] FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 [ 63.898276][ C1] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 63.904859][ C1] CR2: 0000000020000180 CR3: 0000000092468000 CR4: 00000000001506e0 [ 63.913380][ C1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 63.921376][ C1] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 63.929549][ C1] Call Trace: [ 63.932822][ C1] [ 63.935722][ C1] print_irq_inversion_bug.part.0+0x2c6/0x2ee [ 63.941969][ C1] mark_lock.cold+0x38/0x10d [ 63.946851][ C1] ? lock_chain_count+0x20/0x20 [ 63.951838][ C1] ? lock_is_held_type+0xbb/0xf0 [ 63.956950][ C1] ? find_held_lock+0x2d/0x110 [ 63.961706][ C1] ? debug_object_activate+0x287/0x3e0 [ 63.967271][ C1] ? lock_downgrade+0x830/0x830 [ 63.972252][ C1] __lock_acquire+0x117d/0x55d0 [ 63.977313][ C1] ? lock_downgrade+0x830/0x830 [ 63.982155][ C1] ? lockdep_hardirqs_on_prepare+0x530/0x530 [ 63.988118][ C1] ? mark_lock+0xf7/0x2300 [ 63.992518][ C1] lock_acquire+0x1f2/0xaa0 [ 63.997100][ C1] ? _snd_pcm_stream_lock_irqsave+0x9f/0xd0 [ 64.003099][ C1] ? lock_release+0x890/0x890 [ 64.007907][ C1] ? find_held_lock+0x2d/0x110 [ 64.013168][ C1] ? loopback_jiffies_timer_function+0x188/0x220 [ 64.020535][ C1] ? _raw_spin_lock_irqsave+0xa9/0xd0 [ 64.026139][ C1] _raw_spin_lock_irqsave+0x94/0xd0 [ 64.031327][ C1] ? _snd_pcm_stream_lock_irqsave+0x9f/0xd0 [ 64.037461][ C1] _snd_pcm_stream_lock_irqsave+0x9f/0xd0 [ 64.043381][ C1] snd_pcm_period_elapsed+0x24/0x250 [ 64.048772][ C1] loopback_jiffies_timer_function+0x1a8/0x220 [ 64.055088][ C1] ? loopback_jiffies_timer_pos_update+0xf60/0xf60 [ 64.061771][ C1] call_timer_fn+0x1a5/0x6b0 [ 64.066668][ C1] ? add_timer_on+0x450/0x450 [ 64.071861][ C1] ? lock_downgrade+0x830/0x830 [ 64.077020][ C1] ? _raw_spin_unlock_irq+0x1f/0x80 [ 64.082492][ C1] ? loopback_jiffies_timer_pos_update+0xf60/0xf60 [ 64.089118][ C1] __run_timers.part.0+0x67c/0xa50 [ 64.094435][ C1] ? call_timer_fn+0x6b0/0x6b0 [ 64.099185][ C1] ? lapic_next_event+0x4d/0x80 [ 64.104182][ C1] ? clockevents_program_event+0x12b/0x350 [ 64.110286][ C1] ? kvm_sched_clock_read+0x14/0x40 [ 64.115568][ C1] ? sched_clock+0x2a/0x40 [ 64.120221][ C1] ? sched_clock_cpu+0x18/0x1b0 [ 64.125194][ C1] ? hrtimer_interrupt+0x6ea/0x930 [ 64.130384][ C1] run_timer_softirq+0xae/0x1a0 [ 64.135229][ C1] __do_softirq+0x202/0xa42 [ 64.139949][ C1] asm_call_on_stack+0xf/0x20 [ 64.144764][ C1] [ 64.147788][ C1] do_softirq_own_stack+0x9d/0xd0 [ 64.152801][ C1] irq_exit_rcu+0x235/0x280 [ 64.157297][ C1] sysvec_apic_timer_interrupt+0x51/0xf0 [ 64.162976][ C1] asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 64.169122][ C1] RIP: 0010:native_safe_halt+0xe/0x10 [ 64.174482][ C1] Code: ff 4c 89 ef e8 b3 df ae f9 e9 8e fe ff ff 48 89 df e8 a6 df ae f9 eb 8a cc cc cc cc e9 07 00 00 00 0f 00 2d b4 5c 64 00 fb f4 90 e9 07 00 00 00 0f 00 2d a4 5c 64 00 f4 c3 cc cc 55 53 e8 19 [ 64.194431][ C1] RSP: 0018:ffffc90000d3fd10 EFLAGS: 00000293 [ 64.200833][ C1] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 1ffffffff15cb631 [ 64.208927][ C1] RDX: ffff8880a9632340 RSI: ffffffff88046c90 RDI: 0000000000000000 [ 64.217108][ C1] RBP: ffff88821a8bd064 R08: 0000000000000001 R09: 0000000000000001 [ 64.226807][ C1] R10: 0000000000000000 R11: 0000000000000001 R12: ffff88821a8bd064 [ 64.234770][ C1] R13: 1ffff920001a7fac R14: ffff88821a8bd065 R15: 0000000000000001 [ 64.243081][ C1] ? acpi_safe_halt+0x90/0x180 [ 64.247974][ C1] acpi_safe_halt+0x95/0x180 [ 64.252735][ C1] acpi_idle_do_entry+0x15c/0x1b0 [ 64.258150][ C1] acpi_idle_enter+0x403/0xac0 [ 64.263394][ C1] ? acpi_idle_enter_bm+0x2d0/0x2d0 [ 64.268588][ C1] cpuidle_enter_state+0x150/0xa70 [ 64.273988][ C1] ? tick_nohz_idle_stop_tick+0x504/0xbc0 [ 64.279698][ C1] cpuidle_enter+0x4a/0xa0 [ 64.284286][ C1] do_idle+0x48e/0x730 [ 64.288349][ C1] ? arch_cpu_idle_exit+0x70/0x70 [ 64.293360][ C1] ? _raw_write_unlock_irqrestore+0x1/0x90 [ 64.299158][ C1] ? lockdep_hardirqs_on+0x53/0x100 [ 64.304413][ C1] cpu_startup_entry+0x14/0x20 [ 64.309167][ C1] secondary_startup_64_no_verify+0xa6/0xab [ 64.315045][ C1] Modules linked in: [ 64.319003][ C1] ---[ end trace a9adb9438d08ac9d ]--- [ 64.324500][ C1] RIP: 0010:print_shortest_lock_dependencies.cold+0x110/0x2af [ 64.332026][ C1] Code: 48 8b 04 24 48 c1 e8 03 42 80 3c 20 00 74 09 48 8b 3c 24 e8 b1 21 d9 f9 48 8b 04 24 48 8b 00 48 8d 78 14 48 89 fa 48 c1 ea 03 <42> 0f b6 0c 22 48 89 fa 83 e2 07 83 c2 03 38 ca 7c 08 84 c9 0f 85 [ 64.351766][ C1] RSP: 0018:ffffc90000da8898 EFLAGS: 00010003 [ 64.358073][ C1] RAX: 0000000000000001 RBX: ffffffff8cbe4700 RCX: 0000000000000000 [ 64.366032][ C1] RDX: 0000000000000002 RSI: ffffffff815c26a7 RDI: 0000000000000015 [ 64.374028][ C1] RBP: ffffc90000da89c8 R08: 0000000000000004 R09: ffff8880ae720f8b [ 64.381989][ C1] R10: 0000000000000000 R11: 6c756e2820202020 R12: dffffc0000000000 [ 64.389946][ C1] R13: ffffffff8c9ee300 R14: 0000000000000009 R15: 0000000000000001 [ 64.397989][ C1] FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 [ 64.407019][ C1] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 64.413590][ C1] CR2: 0000000020000180 CR3: 0000000092468000 CR4: 00000000001506e0 [ 64.421594][ C1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 64.429556][ C1] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 64.437520][ C1] Kernel panic - not syncing: Fatal exception in interrupt [ 64.446384][ C1] Kernel Offset: disabled [ 64.450778][ C1] Rebooting in 86400 seconds..