[ 12.358129][ T249] ip (249) used greatest stack depth: 23952 bytes left [ 12.358146][ T249] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.358148][ T249] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 249, name: ip [ 12.358149][ T249] preempt_count: 2, expected: 0 [ 12.358150][ T249] RCU nest depth: 0, expected: 0 [ 12.358151][ T249] locks held by ip/249: 5, last CPU#0: [ 12.358153][ T249] #0: ffffffffa98127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.358164][ T249] #1: ffffffffa9979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.358170][ T249] #2: ffffffffa9979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.358174][ T249] #3: ffffffffa9899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.358177][ T249] #4: ffffffffa9899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.358181][ T249] irq event stamp: 34934 [ 12.358182][ T249] hardirqs last enabled at (34933): [] __down_trylock_console_sem+0x86/0xa0 [ 12.358185][ T249] hardirqs last disabled at (34934): [] console_emit_next_record+0x3d4/0x4c0 [ 12.358187][ T249] softirqs last enabled at (33800): [] handle_softirqs+0x67c/0x900 [ 12.358189][ T249] softirqs last disabled at (33795): [] __irq_exit_rcu+0x145/0x1c0 [ 12.358191][ T249] Preemption disabled at: [ 12.358192][ T249] [<0000000000000000>] 0x0 [ 12.358199][ T249] CPU: 0 UID: 0 PID: 249 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.358202][ T249] Tainted: [W]=WARN [ 12.358203][ T249] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.358205][ T249] Call Trace: [ 12.358207][ T249] [ 12.358208][ T249] dump_stack_lvl+0x6f/0xa0 [ 12.358214][ T249] __might_resched.cold+0x1fe/0x2c1 [ 12.358219][ T249] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.358223][ T249] ? __kmalloc_noprof+0xdb/0x760 [ 12.358228][ T249] __kmalloc_noprof+0x443/0x760 [ 12.358230][ T249] ? alloc_buf.isra.0+0x4b/0x260 [ 12.358236][ T249] ? do_raw_spin_unlock+0x59/0x250 [ 12.358239][ T249] alloc_buf.isra.0+0x4b/0x260 [ 12.358242][ T249] put_chars+0x1e1/0x2f0 [ 12.358246][ T249] ? __send_to_port+0x420/0x420 [ 12.358247][ T249] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.358254][ T249] ? validate_chain+0x38b/0xc20 [ 12.358260][ T249] hvc_console_print+0x292/0x780 [ 12.358266][ T249] ? hvc_write+0x3a0/0x3a0 [ 12.358268][ T249] ? rcu_is_watching+0x16/0xd0 [ 12.358271][ T249] ? lock_acquire+0x13c/0x160 [ 12.358275][ T249] console_emit_next_record+0x22f/0x4c0 [ 12.358279][ T249] ? devkmsg_read+0x4b0/0x4b0 [ 12.358280][ T249] ? console_flush_one_record+0x106/0x710 [ 12.358283][ T249] ? rcu_is_watching+0x16/0xd0 [ 12.358286][ T249] ? lock_acquire+0x13c/0x160 [ 12.358289][ T249] console_flush_one_record+0x46f/0x710 [ 12.358293][ T249] ? console_emit_next_record+0x4c0/0x4c0 [ 12.358295][ T249] ? __lock_acquire+0x518/0xc20 [ 12.358300][ T249] console_unlock+0xee/0x1f0 [ 12.358303][ T249] ? console_flush_one_record+0x710/0x710 [ 12.358305][ T249] ? rcu_is_watching+0x16/0xd0 [ 12.358307][ T249] ? lock_acquire+0x60/0x160 [ 12.358311][ T249] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.358312][ T249] ? vprintk_emit+0x320/0x3e0 [ 12.358316][ T249] vprintk_emit+0x37c/0x3e0 [ 12.358319][ T249] ? wake_up_klogd_work_func+0x90/0x90 [ 12.358323][ T249] ? __lock_acquire+0x518/0xc20 [ 12.358326][ T249] _printk+0xc7/0x100 [ 12.358330][ T249] ? snapshot_read.cold+0x21/0x21 [ 12.358333][ T249] ? do_raw_spin_lock+0x131/0x280 [ 12.358335][ T249] ? __rwlock_init+0x150/0x150 [ 12.358339][ T249] ? do_raw_spin_lock+0x131/0x280 [ 12.358341][ T249] do_exit.cold+0x82/0x9c [ 12.358345][ T249] ? exit_notify+0x890/0x890 [ 12.358347][ T249] ? __lock_release.isra.0+0x69/0x1a0 [ 12.358349][ T249] ? rcu_is_watching+0x16/0xd0 [ 12.358353][ T249] do_group_exit+0xb8/0x370 [ 12.358356][ T249] __x64_sys_exit_group+0x3c/0x50 [ 12.358358][ T249] x64_sys_call+0x1567/0x1570 [ 12.358361][ T249] do_syscall_64+0xff/0x530 [ 12.358365][ T249] ? exc_page_fault+0xee/0x100 [ 12.358367][ T249] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.358370][ T249] RIP: 0033:0x7f7feb2961b8 [ 12.358372][ T249] Code: Unable to access opcode bytes at 0x7f7feb29618e. [ 12.358373][ T249] RSP: 002b:00007ffe4deeedb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.358375][ T249] RAX: ffffffffffffffda RBX: 00007f7feb3c6f88 RCX: 00007f7feb2961b8 [ 12.358377][ T249] RDX: 00007f7feafe0fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 12.358378][ T249] RBP: 00007ffe4deeee10 R08: 0000000000000000 R09: 0000000000000000 [ 12.358379][ T249] R10: 00007ffe4deeebd0 R11: 0000000000000246 R12: 0000000000000001 [ 12.358379][ T249] R13: 0000000000000000 R14: 00007f7feb3c5680 R15: 00007f7feb3c6fa0 [ 12.358386][ T249] [ 22.464204][ T350] tun1: deleting peer with id 10, reason 4 [ 22.464279][ T350] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 22.464281][ T350] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 350, name: ovpn-cli [ 22.464283][ T350] preempt_count: 202, expected: 0 [ 22.464284][ T350] RCU nest depth: 0, expected: 0 [ 22.464285][ T350] locks held by ovpn-cli/350: 6, last CPU#3: [ 22.464288][ T350] #0: ff1100000e570278 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 22.464300][ T350] #1: ff1100000cf21e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_release_p2p+0x8a/0x2a0 [ovpn] [ 22.464308][ T350] #2: ffffffffa9979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 22.464315][ T350] #3: ffffffffa9979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 22.464319][ T350] #4: ffffffffa9899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 22.464323][ T350] #5: ffffffffa9899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 22.464326][ T350] irq event stamp: 3607 [ 22.464327][ T350] hardirqs last enabled at (3606): [] __down_trylock_console_sem+0x86/0xa0 [ 22.464330][ T350] hardirqs last disabled at (3607): [] console_emit_next_record+0x3d4/0x4c0 [ 22.464332][ T350] softirqs last enabled at (3596): [] udpv6_destroy_sock+0x73/0x200 [ 22.464335][ T350] softirqs last disabled at (3598): [] ovpn_peer_release_p2p+0x8a/0x2a0 [ovpn] [ 22.464339][ T350] Preemption disabled at: [ 22.464340][ T350] [<0000000000000000>] 0x0 [ 22.464347][ T350] CPU: 3 UID: 0 PID: 350 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 22.464350][ T350] Tainted: [W]=WARN [ 22.464351][ T350] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 22.464353][ T350] Call Trace: [ 22.464355][ T350] [ 22.464356][ T350] dump_stack_lvl+0x6f/0xa0 [ 22.464362][ T350] __might_resched.cold+0x1fe/0x2c1 [ 22.464367][ T350] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 22.464371][ T350] ? __kmalloc_noprof+0xdb/0x760 [ 22.464376][ T350] __kmalloc_noprof+0x443/0x760 [ 22.464378][ T350] ? alloc_buf.isra.0+0x4b/0x260 [ 22.464384][ T350] ? do_raw_spin_unlock+0x59/0x250 [ 22.464387][ T350] alloc_buf.isra.0+0x4b/0x260 [ 22.464391][ T350] put_chars+0x1e1/0x2f0 [ 22.464393][ T350] ? __send_to_port+0x420/0x420 [ 22.464401][ T350] hvc_console_print+0x292/0x780 [ 22.464408][ T350] ? hvc_write+0x3a0/0x3a0 [ 22.464411][ T350] ? lock_acquire+0x13c/0x160 [ 22.464415][ T350] console_emit_next_record+0x22f/0x4c0 [ 22.464419][ T350] ? devkmsg_read+0x4b0/0x4b0 [ 22.464421][ T350] ? console_flush_one_record+0x106/0x710 [ 22.464424][ T350] ? rcu_is_watching+0x16/0xd0 [ 22.464429][ T350] ? lock_acquire+0x13c/0x160 [ 22.464433][ T350] console_flush_one_record+0x46f/0x710 [ 22.464437][ T350] ? console_emit_next_record+0x4c0/0x4c0 [ 22.464439][ T350] ? __lock_acquire+0x518/0xc20 [ 22.464444][ T350] console_unlock+0xee/0x1f0 [ 22.464447][ T350] ? console_flush_one_record+0x710/0x710 [ 22.464448][ T350] ? rcu_is_watching+0x16/0xd0 [ 22.464451][ T350] ? lock_acquire+0x60/0x160 [ 22.464460][ T350] ? __down_trylock_console_sem+0x5e/0xa0 [ 22.464462][ T350] ? vprintk_emit+0x320/0x3e0 [ 22.464465][ T350] vprintk_emit+0x37c/0x3e0 [ 22.464469][ T350] ? wake_up_klogd_work_func+0x90/0x90 [ 22.464472][ T350] ? __lock_release.isra.0+0x69/0x1a0 [ 22.464476][ T350] _printk+0xc7/0x100 [ 22.464479][ T350] ? snapshot_read.cold+0x21/0x21 [ 22.464481][ T350] ? try_to_wake_up+0x153/0x1130 [ 22.464484][ T350] ? select_fallback_rq+0x510/0x510 [ 22.464486][ T350] ? netdev_name+0x43/0x60 [ 22.464490][ T350] ? __netdev_printk+0x17f/0x1d0 [ 22.464493][ T350] netdev_info+0xe2/0x116 [ 22.464495][ T350] ? netdev_notice+0x120/0x120 [ 22.464500][ T350] ? __queue_work+0x3ab/0xd30 [ 22.464506][ T350] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 22.464511][ T350] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 22.464514][ T350] ? mark_held_locks+0x40/0x70 [ 22.464517][ T350] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 22.464519][ T350] ? lockdep_hardirqs_on+0x91/0x130 [ 22.464523][ T350] ovpn_peer_remove+0x394/0x640 [ovpn] [ 22.464526][ T350] ? do_raw_spin_lock+0x131/0x280 [ 22.464528][ T350] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 22.464531][ T350] ? __rwlock_init+0x150/0x150 [ 22.464536][ T350] ovpn_peer_release_p2p+0x155/0x2a0 [ovpn] [ 22.464540][ T350] ? ovpn_peer_remove+0x640/0x640 [ovpn] [ 22.464544][ T350] ? ovpn_udp_encap_destroy+0xc6/0x280 [ovpn] [ 22.464550][ T350] udpv6_destroy_sock+0xe2/0x200 [ 22.464552][ T350] sk_common_release+0x62/0x310 [ 22.464556][ T350] inet_release+0x10a/0x240 [ 22.464559][ T350] ? fcntl_setlk+0xc80/0xc80 [ 22.464563][ T350] __sock_release+0xb8/0x280 [ 22.464567][ T350] sock_close+0x18/0x20 [ 22.464569][ T350] __fput+0x363/0xac0 [ 22.464572][ T350] ? lockdep_hardirqs_on+0x91/0x130 [ 22.464573][ T350] ? __call_rcu_common.constprop.0+0x3d3/0xa20 [ 22.464575][ T350] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 22.464578][ T350] ? do_raw_spin_unlock+0x59/0x250 [ 22.464581][ T350] task_work_run+0x12b/0x240 [ 22.464583][ T350] ? lockdep_hardirqs_on+0x91/0x130 [ 22.464585][ T350] ? task_work_cancel+0x30/0x30 [ 22.464588][ T350] ? kmem_cache_free+0xf8/0x550 [ 22.464592][ T350] do_exit+0x614/0xdc0 [ 22.464595][ T350] ? exit_notify+0x890/0x890 [ 22.464597][ T350] ? find_held_lock+0x2b/0x80 [ 22.464600][ T350] ? __lock_release.isra.0+0x69/0x1a0 [ 22.464601][ T350] ? __rwlock_init+0x150/0x150 [ 22.464605][ T350] do_group_exit+0xb8/0x370 [ 22.464607][ T350] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 22.464609][ T350] ? lockdep_hardirqs_on+0x91/0x130 [ 22.464610][ T350] ? _raw_spin_unlock_irq+0x28/0x50 [ 22.464612][ T350] ? _raw_spin_unlock_irq+0x33/0x50 [ 22.464614][ T350] get_signal+0x1886/0x1980 [ 22.464619][ T350] ? kmem_cache_free+0xf8/0x550 [ 22.464621][ T350] ? rcu_is_watching+0x16/0xd0 [ 22.464626][ T350] ? ptrace_signal+0x600/0x600 [ 22.464628][ T350] ? __switch_to+0x5a3/0xe00 [ 22.464631][ T350] ? rcu_is_watching+0x16/0xd0 [ 22.464633][ T350] ? trace_sched_exit_tp+0x9b/0x160 [ 22.464639][ T350] arch_do_signal_or_restart+0xc2/0x3a0 [ 22.464642][ T350] ? get_sigframe_size+0x20/0x20 [ 22.464644][ T350] ? find_held_lock+0x2b/0x80 [ 22.464649][ T350] ? rcu_is_watching+0x16/0xd0 [ 22.464652][ T350] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 22.464655][ T350] exit_to_user_mode_loop+0xd5/0x5a0 [ 22.464658][ T350] ? rcu_is_watching+0x16/0xd0 [ 22.464661][ T350] do_syscall_64+0x3e3/0x530 [ 22.464664][ T350] ? exc_page_fault+0xee/0x100 [ 22.464666][ T350] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.464669][ T350] RIP: 0033:0x7fddc8f7454e [ 22.464672][ T350] Code: Unable to access opcode bytes at 0x7fddc8f74524. [ 22.464673][ T350] RSP: 002b:00007ffe63f46ed0 EFLAGS: 00000202 ORIG_RAX: 0000000000000022 [ 22.464675][ T350] RAX: fffffffffffffdfe RBX: 0000000000000000 RCX: 00007fddc8f7454e [ 22.464676][ T350] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 22.464677][ T350] RBP: 00007ffe63f46ee0 R08: 0000000000000000 R09: 0000000000000000 [ 22.464678][ T350] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffe63f47468 [ 22.464679][ T350] R13: 0000000000000008 R14: 00007fddc925f000 R15: 000000000040bda8 [ 22.464686][ T350] [ 22.505795][ T321] tun0: deleting peer with id 4, reason 4 [ 22.505802][ T364] tun2: deleting peer with id 11, reason 4 [ 22.506381][ T321] tun0: deleting peer with id 3, reason 4 [ 22.507020][ T321] tun0: deleting peer with id 5, reason 4 [ 22.507353][ T321] tun0: deleting peer with id 1, reason 4 [ 22.507677][ T321] tun0: deleting peer with id 6, reason 4 [ 22.508092][ T321] tun0: deleting peer with id 2, reason 4 [ 22.508573][ T378] tun3: deleting peer with id 12, reason 4