Warning: Permanently added '10.128.10.35' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 68.038125][ C0] [ 68.040713][ C0] ======================================================== [ 68.047904][ C0] WARNING: possible irq lock inversion dependency detected [ 68.055152][ C0] 5.3.0+ #0 Not tainted [ 68.059295][ C0] -------------------------------------------------------- [ 68.066468][ C0] swapper/0/0 just changed the state of lock: [ 68.072531][ C0] ffff8880a5fd1b58 (&(&ctx->ctx_lock)->rlock){..-.}, at: free_ioctx_users+0x2d/0x490 [ 68.081974][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 68.089484][ C0] (&fiq->waitq){+.+.} [ 68.089490][ C0] [ 68.089490][ C0] [ 68.089490][ C0] and interrupts could create inverse lock ordering between them. [ 68.089490][ C0] [ 68.107933][ C0] [ 68.107933][ C0] other info that might help us debug this: [ 68.115973][ C0] Possible interrupt unsafe locking scenario: [ 68.115973][ C0] [ 68.124278][ C0] CPU0 CPU1 [ 68.129634][ C0] ---- ---- [ 68.134985][ C0] lock(&fiq->waitq); [ 68.139063][ C0] local_irq_disable(); [ 68.145879][ C0] lock(&(&ctx->ctx_lock)->rlock); [ 68.153589][ C0] lock(&fiq->waitq); [ 68.160247][ C0] [ 68.165934][ C0] lock(&(&ctx->ctx_lock)->rlock); [ 68.171291][ C0] [ 68.171291][ C0] *** DEADLOCK *** [ 68.171291][ C0] [ 68.179413][ C0] 2 locks held by swapper/0/0: [ 68.184772][ C0] #0: ffffffff88fab240 (rcu_callback){....}, at: rcu_core+0x60e/0x1560 [ 68.193088][ C0] #1: ffffffff88fab280 (rcu_read_lock_sched){....}, at: percpu_ref_switch_to_atomic_rcu+0x20e/0x570 [ 68.204536][ C0] [ 68.204536][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 68.213910][ C0] -> (&fiq->waitq){+.+.} { [ 68.218517][ C0] HARDIRQ-ON-W at: [ 68.222582][ C0] lock_acquire+0x190/0x410 [ 68.228887][ C0] _raw_spin_lock+0x2f/0x40 [ 68.235191][ C0] flush_bg_queue+0x1f3/0x3c0 [ 68.241668][ C0] fuse_request_queue_background+0x2f8/0x5a0 [ 68.249456][ C0] fuse_request_send_background+0x58/0x110 [ 68.257276][ C0] cuse_channel_open+0x5ba/0x830 [ 68.264095][ C0] misc_open+0x395/0x4c0 [ 68.270156][ C0] chrdev_open+0x245/0x6b0 [ 68.276488][ C0] do_dentry_open+0x4df/0x1250 [ 68.283061][ C0] vfs_open+0xa0/0xd0 [ 68.288867][ C0] path_openat+0x10e9/0x4630 [ 68.295355][ C0] do_filp_open+0x1a1/0x280 [ 68.301676][ C0] do_sys_open+0x3fe/0x5d0 [ 68.307906][ C0] __x64_sys_openat+0x9d/0x100 [ 68.314476][ C0] do_syscall_64+0xfa/0x760 [ 68.320781][ C0] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 68.328484][ C0] SOFTIRQ-ON-W at: [ 68.332549][ C0] lock_acquire+0x190/0x410 [ 68.338860][ C0] _raw_spin_lock+0x2f/0x40 [ 68.345163][ C0] flush_bg_queue+0x1f3/0x3c0 [ 68.351688][ C0] fuse_request_queue_background+0x2f8/0x5a0 [ 68.359481][ C0] fuse_request_send_background+0x58/0x110 [ 68.367200][ C0] cuse_channel_open+0x5ba/0x830 [ 68.373958][ C0] misc_open+0x395/0x4c0 [ 68.380008][ C0] chrdev_open+0x245/0x6b0 [ 68.386245][ C0] do_dentry_open+0x4df/0x1250 [ 68.392915][ C0] vfs_open+0xa0/0xd0 [ 68.398731][ C0] path_openat+0x10e9/0x4630 [ 68.405125][ C0] do_filp_open+0x1a1/0x280 [ 68.411448][ C0] do_sys_open+0x3fe/0x5d0 [ 68.417787][ C0] __x64_sys_openat+0x9d/0x100 [ 68.424383][ C0] do_syscall_64+0xfa/0x760 [ 68.430702][ C0] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 68.438440][ C0] INITIAL USE at: [ 68.442602][ C0] lock_acquire+0x190/0x410 [ 68.448822][ C0] _raw_spin_lock+0x2f/0x40 [ 68.455052][ C0] flush_bg_queue+0x1f3/0x3c0 [ 68.461439][ C0] fuse_request_queue_background+0x2f8/0x5a0 [ 68.469148][ C0] fuse_request_send_background+0x58/0x110 [ 68.476664][ C0] cuse_channel_open+0x5ba/0x830 [ 68.483314][ C0] misc_open+0x395/0x4c0 [ 68.489357][ C0] chrdev_open+0x245/0x6b0 [ 68.495488][ C0] do_dentry_open+0x4df/0x1250 [ 68.501975][ C0] vfs_open+0xa0/0xd0 [ 68.508018][ C0] path_openat+0x10e9/0x4630 [ 68.514322][ C0] do_filp_open+0x1a1/0x280 [ 68.520551][ C0] do_sys_open+0x3fe/0x5d0 [ 68.526676][ C0] __x64_sys_openat+0x9d/0x100 [ 68.533168][ C0] do_syscall_64+0xfa/0x760 [ 68.539400][ C0] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 68.547002][ C0] } [ 68.549579][ C0] ... key at: [] __key.44672+0x0/0x40 [ 68.557093][ C0] ... acquired at: [ 68.561051][ C0] _raw_spin_lock+0x2f/0x40 [ 68.565701][ C0] io_submit_one+0xefa/0x2ef0 [ 68.570526][ C0] __x64_sys_io_submit+0x1bd/0x570 [ 68.575788][ C0] do_syscall_64+0xfa/0x760 [ 68.580468][ C0] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 68.586528][ C0] [ 68.588931][ C0] -> (&(&ctx->ctx_lock)->rlock){..-.} { [ 68.594498][ C0] IN-SOFTIRQ-W at: [ 68.598525][ C0] lock_acquire+0x190/0x410 [ 68.604665][ C0] _raw_spin_lock_irq+0x60/0x80 [ 68.611163][ C0] free_ioctx_users+0x2d/0x490 [ 68.617585][ C0] percpu_ref_switch_to_atomic_rcu+0x4c0/0x570 [ 68.625379][ C0] rcu_core+0x581/0x1560 [ 68.631263][ C0] rcu_core_si+0x9/0x10 [ 68.637056][ C0] __do_softirq+0x262/0x98c [ 68.643403][ C0] irq_exit+0x19b/0x1e0 [ 68.649195][ C0] smp_apic_timer_interrupt+0x1a3/0x610 [ 68.656388][ C0] apic_timer_interrupt+0xf/0x20 [ 68.662969][ C0] native_safe_halt+0xe/0x10 [ 68.669189][ C0] arch_cpu_idle+0xa/0x10 [ 68.675143][ C0] default_idle_call+0x84/0xb0 [ 68.681794][ C0] do_idle+0x3b7/0x6e0 [ 68.687503][ C0] cpu_startup_entry+0x1b/0x20 [ 68.693892][ C0] rest_init+0x245/0x37b [ 68.699852][ C0] arch_call_rest_init+0xe/0x1b [ 68.706429][ C0] start_kernel+0x912/0x951 [ 68.712573][ C0] x86_64_start_reservations+0x29/0x2b [ 68.719670][ C0] x86_64_start_kernel+0x77/0x7b [ 68.726254][ C0] secondary_startup_64+0xa4/0xb0 [ 68.732950][ C0] INITIAL USE at: [ 68.736836][ C0] lock_acquire+0x190/0x410 [ 68.742894][ C0] _raw_spin_lock_irq+0x60/0x80 [ 68.749303][ C0] io_submit_one+0xeb5/0x2ef0 [ 68.755647][ C0] __x64_sys_io_submit+0x1bd/0x570 [ 68.762329][ C0] do_syscall_64+0xfa/0x760 [ 68.768461][ C0] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 68.775900][ C0] } [ 68.778406][ C0] ... key at: [] __key.54289+0x0/0x40 [ 68.785844][ C0] ... acquired at: [ 68.789642][ C0] mark_lock+0x517/0x1220 [ 68.794139][ C0] __lock_acquire+0x1eaf/0x4e70 [ 68.799150][ C0] lock_acquire+0x190/0x410 [ 68.803992][ C0] _raw_spin_lock_irq+0x60/0x80 [ 68.809032][ C0] free_ioctx_users+0x2d/0x490 [ 68.813949][ C0] percpu_ref_switch_to_atomic_rcu+0x4c0/0x570 [ 68.820369][ C0] rcu_core+0x581/0x1560 [ 68.824758][ C0] rcu_core_si+0x9/0x10 [ 68.829078][ C0] __do_softirq+0x262/0x98c [ 68.833851][ C0] irq_exit+0x19b/0x1e0 [ 68.838165][ C0] smp_apic_timer_interrupt+0x1a3/0x610 [ 68.843863][ C0] apic_timer_interrupt+0xf/0x20 [ 68.848955][ C0] native_safe_halt+0xe/0x10 [ 68.854073][ C0] arch_cpu_idle+0xa/0x10 [ 68.864745][ C0] default_idle_call+0x84/0xb0 [ 68.869672][ C0] do_idle+0x3b7/0x6e0 [ 68.873897][ C0] cpu_startup_entry+0x1b/0x20 [ 68.878816][ C0] rest_init+0x245/0x37b [ 68.883383][ C0] arch_call_rest_init+0xe/0x1b [ 68.888382][ C0] start_kernel+0x912/0x951 [ 68.893032][ C0] x86_64_start_reservations+0x29/0x2b [ 68.898638][ C0] x86_64_start_kernel+0x77/0x7b [ 68.903726][ C0] secondary_startup_64+0xa4/0xb0 [ 68.908895][ C0] [ 68.911209][ C0] [ 68.911209][ C0] stack backtrace: [ 68.917093][ C0] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.3.0+ #0 [ 68.923952][ C0] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 68.933991][ C0] Call Trace: [ 68.937266][ C0] [ 68.940138][ C0] dump_stack+0x172/0x1f0 [ 68.944449][ C0] print_irq_inversion_bug.part.0+0x2e4/0x2f1 [ 68.950497][ C0] check_usage_forwards.cold+0x20/0x29 [ 68.955936][ C0] ? check_usage_backwards+0x330/0x330 [ 68.961896][ C0] ? secondary_startup_64+0xa4/0xb0 [ 68.967639][ C0] mark_lock+0x517/0x1220 [ 68.971957][ C0] ? check_usage_backwards+0x330/0x330 [ 68.977405][ C0] __lock_acquire+0x1eaf/0x4e70 [ 68.982410][ C0] ? __kasan_check_read+0x11/0x20 [ 68.987450][ C0] ? mark_lock+0xc2/0x1220 [ 68.991875][ C0] ? mark_held_locks+0xf0/0xf0 [ 68.996650][ C0] lock_acquire+0x190/0x410 [ 69.001138][ C0] ? free_ioctx_users+0x2d/0x490 [ 69.006069][ C0] _raw_spin_lock_irq+0x60/0x80 [ 69.010914][ C0] ? free_ioctx_users+0x2d/0x490 [ 69.015844][ C0] free_ioctx_users+0x2d/0x490 [ 69.020612][ C0] ? rcu_dynticks_curr_cpu_in_eqs+0x54/0xb0 [ 69.026491][ C0] percpu_ref_switch_to_atomic_rcu+0x4c0/0x570 [ 69.032641][ C0] ? percpu_ref_exit+0xd0/0xd0 [ 69.037414][ C0] rcu_core+0x581/0x1560 [ 69.041654][ C0] ? __rcu_read_unlock+0x6b0/0x6b0 [ 69.046762][ C0] ? rcu_read_lock_sched_held+0x9c/0xd0 [ 69.052295][ C0] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 69.058257][ C0] ? run_rebalance_domains+0x227/0x2d0 [ 69.063694][ C0] rcu_core_si+0x9/0x10 [ 69.067833][ C0] __do_softirq+0x262/0x98c [ 69.072319][ C0] ? sched_clock_cpu+0x1b/0x1b0 [ 69.077151][ C0] irq_exit+0x19b/0x1e0 [ 69.081290][ C0] smp_apic_timer_interrupt+0x1a3/0x610 [ 69.086835][ C0] apic_timer_interrupt+0xf/0x20 [ 69.091758][ C0] [ 69.094676][ C0] RIP: 0010:native_safe_halt+0xe/0x10 [ 69.100287][ C0] Code: 38 ae 66 fa eb 8a 90 90 90 90 90 90 e9 07 00 00 00 0f 00 2d 54 45 61 00 f4 c3 66 90 e9 07 00 00 00 0f 00 2d 44 45 61 00 fb f4 90 55 48 89 e5 41 57 41 56 41 55 41 54 53 e8 9e a3 19 fa e8 59 [ 69.119894][ C0] RSP: 0018:ffffffff88e07ce8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 [ 69.128348][ C0] RAX: 1ffffffff11e630f RBX: ffffffff88e7a1c0 RCX: 0000000000000000 [ 69.136300][ C0] RDX: dffffc0000000000 RSI: 0000000000000006 RDI: ffffffff88e7aa54 [ 69.144249][ C0] RBP: ffffffff88e07d18 R08: ffffffff88e7a1c0 R09: 0000000000000000 [ 69.152199][ C0] R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 [ 69.160149][ C0] R13: ffffffff89c6b300 R14: 0000000000000000 R15: 0000000000000000 [ 69.169680][ C0] ? default_idle+0x4e/0x360 [ 69.174251][ C0] arch_cpu_idle+0xa/0x10 [ 69.178577][ C0] default_idle_call+0x84/0xb0 [ 69.183434][ C0] do_idle+0x3b7/0x6e0 [ 69.187502][ C0] ? arch_cpu_idle_exit+0x80/0x80 [ 69.192865][ C0] ? trace_hardirqs_on+0x67/0x240 [ 69.197880][ C0] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 69.204112][ C0] ? debug_smp_processor_id+0x3c/0x214 [ 69.209556][ C0] cpu_startup_entry+0x1b/0x20 [ 69.214321][ C0] rest_init+0x245/0x37b [ 69.218544][ C0] arch_call_rest_init+0xe/0x1b [ 69.223371][ C0] start_kernel+0x912/0x951 [ 69.227867][ C0] ? mem_encrypt_init+0xb/0xb [ 69.232531][ C0] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 69.238855][ C0] ? x86_family+0x41/0x50 [