Warning: Permanently added '10.128.10.43' (ECDSA) to the list of known hosts. executing program [ 65.933489][ C1] [ 65.935882][ C1] ======================================================== [ 65.943091][ C1] WARNING: possible irq lock inversion dependency detected [ 65.950259][ C1] 5.9.0-rc5-next-20200916-syzkaller #0 Not tainted [ 65.956728][ C1] -------------------------------------------------------- [ 65.963892][ C1] swapper/1/0 just changed the state of lock: [ 65.969950][ C1] ffff88809980b908 (&group->lock){..-.}-{2:2}, at: _snd_pcm_stream_lock_irqsave+0x9f/0xd0 [ 65.979840][ C1] but this lock took another, SOFTIRQ-READ-unsafe lock in the past: [ 65.987782][ C1] (&card->ctl_files_rwlock){.+.+}-{2:2} [ 65.987795][ C1] [ 65.987795][ C1] [ 65.987795][ C1] and interrupts could create inverse lock ordering between them. [ 65.987795][ C1] [ 66.007789][ C1] [ 66.007789][ C1] other info that might help us debug this: [ 66.015828][ C1] Possible interrupt unsafe locking scenario: [ 66.015828][ C1] [ 66.024122][ C1] CPU0 CPU1 [ 66.029503][ C1] ---- ---- [ 66.034845][ C1] lock(&card->ctl_files_rwlock); [ 66.039930][ C1] local_irq_disable(); [ 66.046674][ C1] lock(&group->lock); [ 66.053328][ C1] lock(&card->ctl_files_rwlock); [ 66.060938][ C1] [ 66.064364][ C1] lock(&group->lock); [ 66.068709][ C1] [ 66.068709][ C1] *** DEADLOCK *** [ 66.068709][ C1] [ 66.076826][ C1] 1 lock held by swapper/1/0: [ 66.081468][ C1] #0: ffffc90000da8d80 ((&dpcm->timer)){+.-.}-{0:0}, at: call_timer_fn+0xd5/0x6b0 [ 66.090740][ C1] [ 66.090740][ C1] the shortest dependencies between 2nd lock and 1st lock: [ 66.100089][ C1] -> (&card->ctl_files_rwlock){.+.+}-{2:2} { [ 66.106135][ C1] HARDIRQ-ON-R at: [ 66.110195][ C1] lock_acquire+0x1f2/0xaa0 [ 66.116519][ C1] _raw_read_lock+0x5b/0x70 [ 66.122817][ C1] snd_ctl_notify.part.0+0x36/0x550 [ 66.129809][ C1] snd_ctl_notify+0x8f/0xb0 [ 66.136142][ C1] __snd_ctl_add_replace+0x638/0x800 [ 66.143253][ C1] snd_ctl_add_replace+0x76/0x130 [ 66.150087][ C1] snd_dummy_probe+0xbbf/0x1050 [ 66.156748][ C1] platform_drv_probe+0x87/0x140 [ 66.163479][ C1] really_probe+0x282/0x9f0 [ 66.169791][ C1] driver_probe_device+0xfe/0x1d0 [ 66.176610][ C1] __device_attach_driver+0x1c2/0x220 [ 66.183853][ C1] bus_for_each_drv+0x15f/0x1e0 [ 66.190545][ C1] __device_attach+0x228/0x470 [ 66.197119][ C1] bus_probe_device+0x1e4/0x290 [ 66.203765][ C1] device_add+0xb17/0x1c40 [ 66.209994][ C1] platform_device_add+0x34f/0x6d0 [ 66.216906][ C1] platform_device_register_full+0x38c/0x4e0 [ 66.224684][ C1] alsa_card_dummy_init+0x1cc/0x2e0 [ 66.231710][ C1] do_one_initcall+0x103/0x6f0 [ 66.238272][ C1] kernel_init_freeable+0x5e9/0x66d [ 66.245294][ C1] kernel_init+0xd/0x1c0 [ 66.251424][ C1] ret_from_fork+0x1f/0x30 [ 66.257633][ C1] SOFTIRQ-ON-R at: [ 66.261680][ C1] lock_acquire+0x1f2/0xaa0 [ 66.267998][ C1] _raw_read_lock+0x5b/0x70 [ 66.274300][ C1] snd_ctl_notify.part.0+0x36/0x550 [ 66.281309][ C1] snd_ctl_notify+0x8f/0xb0 [ 66.287606][ C1] __snd_ctl_add_replace+0x638/0x800 [ 66.294689][ C1] snd_ctl_add_replace+0x76/0x130 [ 66.301525][ C1] snd_dummy_probe+0xbbf/0x1050 [ 66.308181][ C1] platform_drv_probe+0x87/0x140 [ 66.314999][ C1] really_probe+0x282/0x9f0 [ 66.321300][ C1] driver_probe_device+0xfe/0x1d0 [ 66.328120][ C1] __device_attach_driver+0x1c2/0x220 [ 66.335285][ C1] bus_for_each_drv+0x15f/0x1e0 [ 66.341932][ C1] __device_attach+0x228/0x470 [ 66.348528][ C1] bus_probe_device+0x1e4/0x290 [ 66.355182][ C1] device_add+0xb17/0x1c40 [ 66.361403][ C1] platform_device_add+0x34f/0x6d0 [ 66.368349][ C1] platform_device_register_full+0x38c/0x4e0 [ 66.376146][ C1] alsa_card_dummy_init+0x1cc/0x2e0 [ 66.383166][ C1] do_one_initcall+0x103/0x6f0 [ 66.389757][ C1] kernel_init_freeable+0x5e9/0x66d [ 66.396758][ C1] kernel_init+0xd/0x1c0 [ 66.402804][ C1] ret_from_fork+0x1f/0x30 [ 66.409030][ C1] (null) at: [ 66.412599][ C1] general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN [ 66.424288][ C1] KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] [ 66.432706][ C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.9.0-rc5-next-20200916-syzkaller #0 [ 66.441838][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 66.451913][ C1] RIP: 0010:print_shortest_lock_dependencies.cold+0x110/0x2af [ 66.459357][ C1] Code: 48 8b 04 24 48 c1 e8 03 42 80 3c 20 00 74 09 48 8b 3c 24 e8 c1 2b 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 [ 66.479122][ C1] RSP: 0018:ffffc90000da8898 EFLAGS: 00010003 [ 66.485180][ C1] RAX: 0000000000000001 RBX: ffffffff8cbe4af0 RCX: 0000000000000000 [ 66.493121][ C1] RDX: 0000000000000002 RSI: ffffffff815c26b7 RDI: 0000000000000015 [ 66.501078][ C1] RBP: ffffc90000da89c8 R08: 0000000000000004 R09: ffff8880ae720f8b [ 66.509030][ C1] R10: 0000000000000000 R11: 6c756e2820202020 R12: dffffc0000000000 [ 66.516987][ C1] R13: ffffffff8c9ee0d8 R14: 0000000000000009 R15: 0000000000000001 [ 66.524935][ C1] FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 [ 66.533849][ C1] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 66.540404][ C1] CR2: 000000000043e710 CR3: 000000009452d000 CR4: 00000000001506e0 [ 66.548348][ C1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 66.556289][ C1] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 66.564231][ C1] Call Trace: [ 66.567498][ C1] [ 66.570346][ C1] print_irq_inversion_bug.part.0+0x2c6/0x2ee [ 66.576383][ C1] mark_lock.cold+0x38/0x10d [ 66.580947][ C1] ? lock_chain_count+0x20/0x20 [ 66.585769][ C1] ? lock_is_held_type+0xbb/0xf0 [ 66.590676][ C1] ? find_held_lock+0x2d/0x110 [ 66.595424][ C1] ? debug_object_activate+0x287/0x3e0 [ 66.600866][ C1] ? lock_downgrade+0x830/0x830 [ 66.605691][ C1] __lock_acquire+0x117d/0x55d0 [ 66.610518][ C1] ? lock_downgrade+0x830/0x830 [ 66.615338][ C1] ? lockdep_hardirqs_on_prepare+0x530/0x530 [ 66.621289][ C1] ? mark_lock+0xf7/0x2300 [ 66.625694][ C1] lock_acquire+0x1f2/0xaa0 [ 66.630171][ C1] ? _snd_pcm_stream_lock_irqsave+0x9f/0xd0 [ 66.636057][ C1] ? lock_release+0x890/0x890 [ 66.640710][ C1] ? find_held_lock+0x2d/0x110 [ 66.645453][ C1] ? loopback_jiffies_timer_function+0x188/0x220 [ 66.651755][ C1] ? _raw_spin_lock_irqsave+0xa9/0xd0 [ 66.657103][ C1] _raw_spin_lock_irqsave+0x94/0xd0 [ 66.662275][ C1] ? _snd_pcm_stream_lock_irqsave+0x9f/0xd0 [ 66.668144][ C1] _snd_pcm_stream_lock_irqsave+0x9f/0xd0 [ 66.673837][ C1] snd_pcm_period_elapsed+0x24/0x250 [ 66.679103][ C1] loopback_jiffies_timer_function+0x1a8/0x220 [ 66.685230][ C1] ? loopback_jiffies_timer_pos_update+0xf60/0xf60 [ 66.691703][ C1] call_timer_fn+0x1a5/0x6b0 [ 66.696265][ C1] ? add_timer_on+0x450/0x450 [ 66.700930][ C1] ? lock_downgrade+0x830/0x830 [ 66.705753][ C1] ? rwlock_bug.part.0+0x90/0x90 [ 66.710678][ C1] ? _raw_spin_unlock_irq+0x1f/0x80 [ 66.715865][ C1] ? loopback_jiffies_timer_pos_update+0xf60/0xf60 [ 66.722336][ C1] __run_timers.part.0+0x67c/0xa50 [ 66.727443][ C1] ? call_timer_fn+0x6b0/0x6b0 [ 66.732199][ C1] ? lapic_next_event+0x4d/0x80 [ 66.737026][ C1] ? clockevents_program_event+0x12b/0x350 [ 66.742820][ C1] ? kvm_sched_clock_read+0x14/0x40 [ 66.748003][ C1] ? sched_clock+0x2a/0x40 [ 66.752403][ C1] ? sched_clock_cpu+0x18/0x1b0 [ 66.757240][ C1] ? hrtimer_interrupt+0x6ea/0x930 [ 66.762327][ C1] run_timer_softirq+0xae/0x1a0 [ 66.767157][ C1] __do_softirq+0x202/0xa42 [ 66.771637][ C1] asm_call_on_stack+0xf/0x20 [ 66.776292][ C1] [ 66.779208][ C1] do_softirq_own_stack+0x9d/0xd0 [ 66.784225][ C1] irq_exit_rcu+0x235/0x280 [ 66.788712][ C1] sysvec_apic_timer_interrupt+0x51/0xf0 [ 66.794322][ C1] asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 66.800276][ C1] RIP: 0010:native_safe_halt+0xe/0x10 [ 66.805627][ C1] Code: ff 4c 89 ef e8 f3 e7 ae f9 e9 8e fe ff ff 48 89 df e8 e6 e7 ae f9 eb 8a cc cc cc cc e9 07 00 00 00 0f 00 2d e4 4a 64 00 fb f4 90 e9 07 00 00 00 0f 00 2d d4 4a 64 00 f4 c3 cc cc 55 53 e8 e9 [ 66.825206][ C1] RSP: 0018:ffffc90000d3fd10 EFLAGS: 00000293 [ 66.831246][ C1] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 1ffffffff15cb689 [ 66.839191][ C1] RDX: ffff8880a961a340 RSI: ffffffff88047e60 RDI: 0000000000000000 [ 66.847152][ C1] RBP: ffff8880a6281864 R08: 0000000000000001 R09: 0000000000000001 [ 66.855101][ C1] R10: 0000000000000000 R11: 0000000000000001 R12: ffff8880a6281864 [ 66.863046][ C1] R13: 1ffff920001a7fac R14: ffff8880a6281865 R15: 0000000000000001 [ 66.870998][ C1] ? acpi_safe_halt+0x90/0x180 [ 66.875749][ C1] acpi_safe_halt+0x95/0x180 [ 66.880323][ C1] acpi_idle_do_entry+0x15c/0x1b0 [ 66.885330][ C1] acpi_idle_enter+0x403/0xac0 [ 66.890066][ C1] ? acpi_idle_enter_bm+0x2d0/0x2d0 [ 66.895245][ C1] cpuidle_enter_state+0x150/0xa70 [ 66.900328][ C1] ? tick_nohz_idle_stop_tick+0x504/0xbc0 [ 66.906032][ C1] cpuidle_enter+0x4a/0xa0 [ 66.910420][ C1] do_idle+0x48e/0x730 [ 66.914470][ C1] ? arch_cpu_idle_exit+0x70/0x70 [ 66.919466][ C1] cpu_startup_entry+0x14/0x20 [ 66.924203][ C1] secondary_startup_64_no_verify+0xa6/0xab [ 66.930065][ C1] Modules linked in: [ 66.933947][ C1] ---[ end trace 5e58824a60b8aa50 ]--- [ 66.939482][ C1] RIP: 0010:print_shortest_lock_dependencies.cold+0x110/0x2af [ 66.947041][ C1] Code: 48 8b 04 24 48 c1 e8 03 42 80 3c 20 00 74 09 48 8b 3c 24 e8 c1 2b 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 [ 66.966630][ C1] RSP: 0018:ffffc90000da8898 EFLAGS: 00010003 [ 66.972692][ C1] RAX: 0000000000000001 RBX: ffffffff8cbe4af0 RCX: 0000000000000000 [ 66.980637][ C1] RDX: 0000000000000002 RSI: ffffffff815c26b7 RDI: 0000000000000015 [ 66.988582][ C1] RBP: ffffc90000da89c8 R08: 0000000000000004 R09: ffff8880ae720f8b [ 66.996529][ C1] R10: 0000000000000000 R11: 6c756e2820202020 R12: dffffc0000000000 [ 67.004475][ C1] R13: ffffffff8c9ee0d8 R14: 0000000000000009 R15: 0000000000000001 [ 67.012421][ C1] FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 [ 67.021319][ C1] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 67.027887][ C1] CR2: 000000000043e710 CR3: 000000009452d000 CR4: 00000000001506e0 [ 67.035832][ C1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 67.043782][ C1] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 67.051773][ C1] Kernel panic - not syncing: Fatal exception in interrupt [ 67.060549][ C1] Kernel Offset: disabled [ 67.064868][ C1] Rebooting in 86400 seconds..