[ 10.950562][ T250] ip (250) used greatest stack depth: 24800 bytes left [ 10.950578][ T250] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.950580][ T250] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 250, name: ip [ 10.950581][ T250] preempt_count: 2, expected: 0 [ 10.950582][ T250] RCU nest depth: 0, expected: 0 [ 10.950583][ T250] locks held by ip/250: 5, last CPU#0: [ 10.950585][ T250] #0: ffffffff9a0127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.950596][ T250] #1: ffffffff9a179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.950602][ T250] #2: ffffffff9a179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.950606][ T250] #3: ffffffff9a099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.950609][ T250] #4: ffffffff9a099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.950613][ T250] irq event stamp: 29732 [ 10.950614][ T250] hardirqs last enabled at (29731): [] __down_trylock_console_sem+0x86/0xa0 [ 10.950617][ T250] hardirqs last disabled at (29732): [] console_emit_next_record+0x3d4/0x4c0 [ 10.950619][ T250] softirqs last enabled at (28446): [] netlink_release+0x17b/0xcf0 [ 10.950623][ T250] softirqs last disabled at (28444): [] netlink_release+0xd2/0xcf0 [ 10.950626][ T250] Preemption disabled at: [ 10.950626][ T250] [<0000000000000000>] 0x0 [ 10.950633][ T250] CPU: 0 UID: 0 PID: 250 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.950636][ T250] Tainted: [W]=WARN [ 10.950637][ T250] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.950639][ T250] Call Trace: [ 10.950641][ T250] [ 10.950642][ T250] dump_stack_lvl+0x6f/0xa0 [ 10.950649][ T250] __might_resched.cold+0x1fe/0x2c1 [ 10.950653][ T250] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.950657][ T250] ? __kmalloc_noprof+0xdb/0x760 [ 10.950662][ T250] __kmalloc_noprof+0x443/0x760 [ 10.950664][ T250] ? alloc_buf.isra.0+0x4b/0x260 [ 10.950670][ T250] ? do_raw_spin_unlock+0x59/0x250 [ 10.950673][ T250] alloc_buf.isra.0+0x4b/0x260 [ 10.950676][ T250] put_chars+0x1e1/0x2f0 [ 10.950679][ T250] ? __send_to_port+0x420/0x420 [ 10.950680][ T250] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.950685][ T250] ? validate_chain+0x38b/0xc20 [ 10.950690][ T250] hvc_console_print+0x292/0x780 [ 10.950697][ T250] ? hvc_write+0x3a0/0x3a0 [ 10.950699][ T250] ? rcu_is_watching+0x16/0xd0 [ 10.950701][ T250] ? lock_acquire+0x13c/0x160 [ 10.950705][ T250] console_emit_next_record+0x22f/0x4c0 [ 10.950709][ T250] ? devkmsg_read+0x4b0/0x4b0 [ 10.950711][ T250] ? console_flush_one_record+0x106/0x710 [ 10.950714][ T250] ? rcu_is_watching+0x16/0xd0 [ 10.950716][ T250] ? lock_acquire+0x13c/0x160 [ 10.950720][ T250] console_flush_one_record+0x46f/0x710 [ 10.950724][ T250] ? console_emit_next_record+0x4c0/0x4c0 [ 10.950725][ T250] ? __lock_acquire+0x518/0xc20 [ 10.950730][ T250] console_unlock+0xee/0x1f0 [ 10.950733][ T250] ? console_flush_one_record+0x710/0x710 [ 10.950735][ T250] ? rcu_is_watching+0x16/0xd0 [ 10.950737][ T250] ? lock_acquire+0x60/0x160 [ 10.950741][ T250] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.950743][ T250] ? vprintk_emit+0x320/0x3e0 [ 10.950746][ T250] vprintk_emit+0x37c/0x3e0 [ 10.950749][ T250] ? wake_up_klogd_work_func+0x90/0x90 [ 10.950753][ T250] ? __lock_acquire+0x518/0xc20 [ 10.950756][ T250] _printk+0xc7/0x100 [ 10.950759][ T250] ? snapshot_read.cold+0x21/0x21 [ 10.950762][ T250] ? do_raw_spin_lock+0x131/0x280 [ 10.950765][ T250] ? __rwlock_init+0x150/0x150 [ 10.950769][ T250] ? do_raw_spin_lock+0x131/0x280 [ 10.950771][ T250] do_exit.cold+0x82/0x9c [ 10.950775][ T250] ? exit_notify+0x890/0x890 [ 10.950776][ T250] ? __lock_release.isra.0+0x69/0x1a0 [ 10.950779][ T250] ? rcu_is_watching+0x16/0xd0 [ 10.950783][ T250] do_group_exit+0xb8/0x370 [ 10.950786][ T250] __x64_sys_exit_group+0x3c/0x50 [ 10.950787][ T250] x64_sys_call+0x1567/0x1570 [ 10.950790][ T250] do_syscall_64+0xff/0x530 [ 10.950794][ T250] ? exc_page_fault+0xee/0x100 [ 10.950796][ T250] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.950799][ T250] RIP: 0033:0x7f09eb5121b8 [ 10.950801][ T250] Code: Unable to access opcode bytes at 0x7f09eb51218e. [ 10.950802][ T250] RSP: 002b:00007fff1bbb1c38 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.950805][ T250] RAX: ffffffffffffffda RBX: 00007f09eb642f88 RCX: 00007f09eb5121b8 [ 10.950806][ T250] RDX: 00007f09eb25cfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.950807][ T250] RBP: 00007fff1bbb1c90 R08: 0000000000000000 R09: 0000000000000000 [ 10.950808][ T250] R10: 00007fff1bbb1a50 R11: 0000000000000246 R12: 0000000000000001 [ 10.950808][ T250] R13: 0000000000000000 R14: 00007f09eb641680 R15: 00007f09eb642fa0 [ 10.950815][ T250] [ 11.155063][ T256] ip (256) used greatest stack depth: 24752 bytes left [ 11.188383][ T257] ip (257) used greatest stack depth: 24664 bytes left [ 11.275870][ T260] ip (260) used greatest stack depth: 24320 bytes left [ 19.977366][ T365] tun2: deleting peer with id 11, reason 4 [ 19.977429][ T365] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 19.977431][ T365] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 365, name: ovpn-cli [ 19.977433][ T365] preempt_count: 202, expected: 0 [ 19.977434][ T365] RCU nest depth: 0, expected: 0 [ 19.977435][ T365] locks held by ovpn-cli/365: 6, last CPU#2: [ 19.977437][ T365] #0: ff1100000b67b478 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 19.977449][ T365] #1: ff1100000fe5ce68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_release_p2p+0x8a/0x2a0 [ovpn] [ 19.977457][ T365] #2: ffffffff9a179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 19.977464][ T365] #3: ffffffff9a179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 19.977467][ T365] #4: ffffffff9a099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 19.977471][ T365] #5: ffffffff9a099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 19.977474][ T365] irq event stamp: 4805 [ 19.977475][ T365] hardirqs last enabled at (4804): [] __down_trylock_console_sem+0x86/0xa0 [ 19.977477][ T365] hardirqs last disabled at (4805): [] console_emit_next_record+0x3d4/0x4c0 [ 19.977479][ T365] softirqs last enabled at (4790): [] udpv6_destroy_sock+0x73/0x200 [ 19.977483][ T365] softirqs last disabled at (4792): [] ovpn_peer_release_p2p+0x8a/0x2a0 [ovpn] [ 19.977486][ T365] Preemption disabled at: [ 19.977487][ T365] [<0000000000000000>] 0x0 [ 19.977493][ T365] CPU: 2 UID: 0 PID: 365 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 19.977497][ T365] Tainted: [W]=WARN [ 19.977498][ T365] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.977500][ T365] Call Trace: [ 19.977501][ T365] [ 19.977503][ T365] dump_stack_lvl+0x6f/0xa0 [ 19.977509][ T365] __might_resched.cold+0x1fe/0x2c1 [ 19.977513][ T365] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 19.977517][ T365] ? __kmalloc_noprof+0xdb/0x760 [ 19.977522][ T365] __kmalloc_noprof+0x443/0x760 [ 19.977524][ T365] ? alloc_buf.isra.0+0x4b/0x260 [ 19.977530][ T365] ? do_raw_spin_unlock+0x59/0x250 [ 19.977532][ T365] alloc_buf.isra.0+0x4b/0x260 [ 19.977536][ T365] put_chars+0x1e1/0x2f0 [ 19.977538][ T365] ? __send_to_port+0x420/0x420 [ 19.977545][ T365] hvc_console_print+0x292/0x780 [ 19.977551][ T365] ? hvc_write+0x3a0/0x3a0 [ 19.977554][ T365] ? lock_acquire+0x13c/0x160 [ 19.977558][ T365] console_emit_next_record+0x22f/0x4c0 [ 19.977561][ T365] ? devkmsg_read+0x4b0/0x4b0 [ 19.977563][ T365] ? console_flush_one_record+0x106/0x710 [ 19.977566][ T365] ? rcu_is_watching+0x16/0xd0 [ 19.977570][ T365] ? lock_acquire+0x13c/0x160 [ 19.977574][ T365] console_flush_one_record+0x46f/0x710 [ 19.977578][ T365] ? console_emit_next_record+0x4c0/0x4c0 [ 19.977580][ T365] ? __lock_acquire+0x518/0xc20 [ 19.977585][ T365] console_unlock+0xee/0x1f0 [ 19.977588][ T365] ? console_flush_one_record+0x710/0x710 [ 19.977589][ T365] ? rcu_is_watching+0x16/0xd0 [ 19.977592][ T365] ? lock_acquire+0x60/0x160 [ 19.977595][ T365] ? __down_trylock_console_sem+0x5e/0xa0 [ 19.977597][ T365] ? vprintk_emit+0x320/0x3e0 [ 19.977600][ T365] vprintk_emit+0x37c/0x3e0 [ 19.977603][ T365] ? wake_up_klogd_work_func+0x90/0x90 [ 19.977606][ T365] ? __lock_release.isra.0+0x69/0x1a0 [ 19.977610][ T365] _printk+0xc7/0x100 [ 19.977614][ T365] ? snapshot_read.cold+0x21/0x21 [ 19.977615][ T365] ? try_to_wake_up+0x153/0x1130 [ 19.977618][ T365] ? select_fallback_rq+0x510/0x510 [ 19.977620][ T365] ? netdev_name+0x43/0x60 [ 19.977624][ T365] ? __netdev_printk+0x17f/0x1d0 [ 19.977627][ T365] netdev_info+0xe2/0x116 [ 19.977629][ T365] ? netdev_notice+0x120/0x120 [ 19.977634][ T365] ? __queue_work+0x3ab/0xd30 [ 19.977640][ T365] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 19.977645][ T365] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 19.977649][ T365] ? mark_held_locks+0x40/0x70 [ 19.977651][ T365] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 19.977653][ T365] ? lockdep_hardirqs_on+0x91/0x130 [ 19.977657][ T365] ovpn_peer_remove+0x394/0x640 [ovpn] [ 19.977662][ T365] ? do_raw_spin_lock+0x131/0x280 [ 19.977664][ T365] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 19.977667][ T365] ? __rwlock_init+0x150/0x150 [ 19.977672][ T365] ovpn_peer_release_p2p+0x155/0x2a0 [ovpn] [ 19.977675][ T365] ? ovpn_peer_remove+0x640/0x640 [ovpn] [ 19.977679][ T365] ? ovpn_udp_encap_destroy+0xc6/0x280 [ovpn] [ 19.977685][ T365] udpv6_destroy_sock+0xe2/0x200 [ 19.977687][ T365] sk_common_release+0x62/0x310 [ 19.977691][ T365] inet_release+0x10a/0x240 [ 19.977694][ T365] ? fcntl_setlk+0xc80/0xc80 [ 19.977698][ T365] __sock_release+0xb8/0x280 [ 19.977701][ T365] sock_close+0x18/0x20 [ 19.977703][ T365] __fput+0x363/0xac0 [ 19.977706][ T365] ? lockdep_hardirqs_on+0x91/0x130 [ 19.977707][ T365] ? __call_rcu_common.constprop.0+0x3d3/0xa20 [ 19.977709][ T365] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 19.977712][ T365] ? do_raw_spin_unlock+0x59/0x250 [ 19.977715][ T365] task_work_run+0x12b/0x240 [ 19.977717][ T365] ? lockdep_hardirqs_on+0x91/0x130 [ 19.977719][ T365] ? task_work_cancel+0x30/0x30 [ 19.977722][ T365] ? kmem_cache_free+0xf8/0x550 [ 19.977726][ T365] do_exit+0x614/0xdc0 [ 19.977728][ T365] ? exit_notify+0x890/0x890 [ 19.977730][ T365] ? find_held_lock+0x2b/0x80 [ 19.977732][ T365] ? __lock_release.isra.0+0x69/0x1a0 [ 19.977734][ T365] ? __rwlock_init+0x150/0x150 [ 19.977737][ T365] do_group_exit+0xb8/0x370 [ 19.977739][ T365] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 19.977740][ T365] ? lockdep_hardirqs_on+0x91/0x130 [ 19.977742][ T365] ? _raw_spin_unlock_irq+0x28/0x50 [ 19.977744][ T365] ? _raw_spin_unlock_irq+0x33/0x50 [ 19.977745][ T365] get_signal+0x1886/0x1980 [ 19.977750][ T365] ? rcu_is_watching+0x16/0xd0 [ 19.977753][ T365] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 19.977754][ T365] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 19.977757][ T365] ? ptrace_signal+0x600/0x600 [ 19.977758][ T365] ? __switch_to+0x5a3/0xe00 [ 19.977761][ T365] ? rcu_is_watching+0x16/0xd0 [ 19.977763][ T365] ? trace_sched_exit_tp+0x9b/0x160 [ 19.977768][ T365] arch_do_signal_or_restart+0xc2/0x3a0 [ 19.977771][ T365] ? get_sigframe_size+0x20/0x20 [ 19.977772][ T365] ? find_held_lock+0x2b/0x80 [ 19.977777][ T365] ? rcu_is_watching+0x16/0xd0 [ 19.977779][ T365] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 19.977781][ T365] exit_to_user_mode_loop+0xd5/0x5a0 [ 19.977784][ T365] ? rcu_is_watching+0x16/0xd0 [ 19.977787][ T365] do_syscall_64+0x3e3/0x530 [ 19.977790][ T365] ? exc_page_fault+0xee/0x100 [ 19.977792][ T365] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 19.977794][ T365] RIP: 0033:0x7f611825d54e [ 19.977797][ T365] Code: Unable to access opcode bytes at 0x7f611825d524. [ 19.977798][ T365] RSP: 002b:00007ffd9c323230 EFLAGS: 00000202 ORIG_RAX: 0000000000000022 [ 19.977800][ T365] RAX: fffffffffffffdfe RBX: 0000000000000000 RCX: 00007f611825d54e [ 19.977801][ T365] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 19.977802][ T365] RBP: 00007ffd9c323240 R08: 0000000000000000 R09: 0000000000000000 [ 19.977803][ T365] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffd9c3237c8 [ 19.977803][ T365] R13: 0000000000000008 R14: 00007f6118548000 R15: 000000000040bda8 [ 19.977810][ T365] [ 20.029346][ T322] tun0: deleting peer with id 4, reason 4 [ 20.029492][ T379] tun3: deleting peer with id 12, reason 4 [ 20.029500][ T351] tun1: deleting peer with id 10, reason 4 [ 20.029861][ T322] tun0: deleting peer with id 3, reason 4 [ 20.030574][ T322] tun0: deleting peer with id 5, reason 4 [ 20.035949][ T322] tun0: deleting peer with id 1, reason 4 [ 20.036273][ T322] tun0: deleting peer with id 6, reason 4 [ 20.036582][ T322] tun0: deleting peer with id 2, reason 4