[ 10.753886][ T249] ip (249) used greatest stack depth: 23808 bytes left [ 10.753901][ T249] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.753903][ T249] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 249, name: ip [ 10.753904][ T249] preempt_count: 2, expected: 0 [ 10.753905][ T249] RCU nest depth: 0, expected: 0 [ 10.753906][ T249] locks held by ip/249: 5, last CPU#1: [ 10.753909][ T249] #0: ffffffff9d4127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.753920][ T249] #1: ffffffff9d579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.753925][ T249] #2: ffffffff9d579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.753929][ T249] #3: ffffffff9d499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.753933][ T249] #4: ffffffff9d499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.753936][ T249] irq event stamp: 42160 [ 10.753937][ T249] hardirqs last enabled at (42159): [] __down_trylock_console_sem+0x86/0xa0 [ 10.753939][ T249] hardirqs last disabled at (42160): [] console_emit_next_record+0x3d4/0x4c0 [ 10.753941][ T249] softirqs last enabled at (40878): [] netlink_release+0x17b/0xcf0 [ 10.753945][ T249] softirqs last disabled at (40876): [] netlink_release+0xd2/0xcf0 [ 10.753948][ T249] Preemption disabled at: [ 10.753949][ T249] [<0000000000000000>] 0x0 [ 10.753955][ T249] CPU: 1 UID: 0 PID: 249 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.753958][ T249] Tainted: [W]=WARN [ 10.753959][ T249] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.753961][ T249] Call Trace: [ 10.753962][ T249] [ 10.753964][ T249] dump_stack_lvl+0x6f/0xa0 [ 10.753970][ T249] __might_resched.cold+0x1fe/0x2c1 [ 10.753974][ T249] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.753978][ T249] ? __kmalloc_noprof+0xdb/0x760 [ 10.753983][ T249] __kmalloc_noprof+0x443/0x760 [ 10.753985][ T249] ? alloc_buf.isra.0+0x4b/0x260 [ 10.753991][ T249] ? do_raw_spin_unlock+0x59/0x250 [ 10.753994][ T249] alloc_buf.isra.0+0x4b/0x260 [ 10.753997][ T249] put_chars+0x1e1/0x2f0 [ 10.754000][ T249] ? __send_to_port+0x420/0x420 [ 10.754001][ T249] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.754006][ T249] ? validate_chain+0x38b/0xc20 [ 10.754011][ T249] hvc_console_print+0x292/0x780 [ 10.754017][ T249] ? hvc_write+0x3a0/0x3a0 [ 10.754020][ T249] ? rcu_is_watching+0x16/0xd0 [ 10.754022][ T249] ? lock_acquire+0x13c/0x160 [ 10.754026][ T249] console_emit_next_record+0x22f/0x4c0 [ 10.754029][ T249] ? devkmsg_read+0x4b0/0x4b0 [ 10.754031][ T249] ? console_flush_one_record+0x106/0x710 [ 10.754034][ T249] ? rcu_is_watching+0x16/0xd0 [ 10.754036][ T249] ? lock_acquire+0x13c/0x160 [ 10.754040][ T249] console_flush_one_record+0x46f/0x710 [ 10.754044][ T249] ? console_emit_next_record+0x4c0/0x4c0 [ 10.754046][ T249] ? __lock_acquire+0x518/0xc20 [ 10.754050][ T249] console_unlock+0xee/0x1f0 [ 10.754053][ T249] ? console_flush_one_record+0x710/0x710 [ 10.754055][ T249] ? rcu_is_watching+0x16/0xd0 [ 10.754057][ T249] ? lock_acquire+0x60/0x160 [ 10.754061][ T249] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.754062][ T249] ? vprintk_emit+0x320/0x3e0 [ 10.754066][ T249] vprintk_emit+0x37c/0x3e0 [ 10.754069][ T249] ? wake_up_klogd_work_func+0x90/0x90 [ 10.754072][ T249] ? __lock_acquire+0x518/0xc20 [ 10.754076][ T249] _printk+0xc7/0x100 [ 10.754079][ T249] ? snapshot_read.cold+0x21/0x21 [ 10.754082][ T249] ? do_raw_spin_lock+0x131/0x280 [ 10.754084][ T249] ? __rwlock_init+0x150/0x150 [ 10.754088][ T249] ? do_raw_spin_lock+0x131/0x280 [ 10.754090][ T249] do_exit.cold+0x82/0x9c [ 10.754094][ T249] ? exit_notify+0x890/0x890 [ 10.754095][ T249] ? __lock_release.isra.0+0x69/0x1a0 [ 10.754098][ T249] ? rcu_is_watching+0x16/0xd0 [ 10.754102][ T249] do_group_exit+0xb8/0x370 [ 10.754105][ T249] __x64_sys_exit_group+0x3c/0x50 [ 10.754106][ T249] x64_sys_call+0x1567/0x1570 [ 10.754109][ T249] do_syscall_64+0xff/0x530 [ 10.754113][ T249] ? exc_page_fault+0xee/0x100 [ 10.754115][ T249] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.754117][ T249] RIP: 0033:0x7fce745fb1b8 [ 10.754120][ T249] Code: Unable to access opcode bytes at 0x7fce745fb18e. [ 10.754121][ T249] RSP: 002b:00007ffeb22091f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.754123][ T249] RAX: ffffffffffffffda RBX: 00007fce7472bf88 RCX: 00007fce745fb1b8 [ 10.754124][ T249] RDX: 00007fce74345fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.754125][ T249] RBP: 00007ffeb2209250 R08: 0000000000000000 R09: 0000000000000000 [ 10.754126][ T249] R10: 00007ffeb2209010 R11: 0000000000000246 R12: 0000000000000001 [ 10.754127][ T249] R13: 0000000000000000 R14: 00007fce7472a680 R15: 00007fce7472bfa0 [ 10.754133][ T249] [ 20.634545][ T406] tun4: deleting peer with id 13, reason 4 [ 20.634608][ T406] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 20.634610][ T406] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 406, name: ovpn-cli [ 20.634611][ T406] preempt_count: 202, expected: 0 [ 20.634612][ T406] RCU nest depth: 0, expected: 0 [ 20.634613][ T406] locks held by ovpn-cli/406: 6, last CPU#2: [ 20.634616][ T406] #0: ff1100000d167938 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 20.634628][ T406] #1: ff1100000d514e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_release_p2p+0x8a/0x2a0 [ovpn] [ 20.634636][ T406] #2: ffffffff9d579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 20.634642][ T406] #3: ffffffff9d579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 20.634646][ T406] #4: ffffffff9d499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 20.634650][ T406] #5: ffffffff9d499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 20.634653][ T406] irq event stamp: 3515 [ 20.634654][ T406] hardirqs last enabled at (3514): [] __down_trylock_console_sem+0x86/0xa0 [ 20.634657][ T406] hardirqs last disabled at (3515): [] console_emit_next_record+0x3d4/0x4c0 [ 20.634659][ T406] softirqs last enabled at (3504): [] udpv6_destroy_sock+0x73/0x200 [ 20.634662][ T406] softirqs last disabled at (3506): [] ovpn_peer_release_p2p+0x8a/0x2a0 [ovpn] [ 20.634666][ T406] Preemption disabled at: [ 20.634666][ T406] [<0000000000000000>] 0x0 [ 20.634672][ T406] CPU: 2 UID: 0 PID: 406 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 20.634676][ T406] Tainted: [W]=WARN [ 20.634677][ T406] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.634679][ T406] Call Trace: [ 20.634680][ T406] [ 20.634681][ T406] dump_stack_lvl+0x6f/0xa0 [ 20.634687][ T406] __might_resched.cold+0x1fe/0x2c1 [ 20.634692][ T406] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 20.634698][ T406] ? __kmalloc_noprof+0xdb/0x760 [ 20.634703][ T406] __kmalloc_noprof+0x443/0x760 [ 20.634706][ T406] ? alloc_buf.isra.0+0x4b/0x260 [ 20.634711][ T406] ? do_raw_spin_unlock+0x59/0x250 [ 20.634714][ T406] alloc_buf.isra.0+0x4b/0x260 [ 20.634718][ T406] put_chars+0x1e1/0x2f0 [ 20.634720][ T406] ? __send_to_port+0x420/0x420 [ 20.634727][ T406] hvc_console_print+0x292/0x780 [ 20.634734][ T406] ? hvc_write+0x3a0/0x3a0 [ 20.634736][ T406] ? lock_acquire+0x13c/0x160 [ 20.634741][ T406] console_emit_next_record+0x22f/0x4c0 [ 20.634744][ T406] ? devkmsg_read+0x4b0/0x4b0 [ 20.634746][ T406] ? console_flush_one_record+0x106/0x710 [ 20.634749][ T406] ? rcu_is_watching+0x16/0xd0 [ 20.634757][ T406] ? lock_acquire+0x13c/0x160 [ 20.634761][ T406] console_flush_one_record+0x46f/0x710 [ 20.634765][ T406] ? console_emit_next_record+0x4c0/0x4c0 [ 20.634766][ T406] ? __lock_acquire+0x518/0xc20 [ 20.634771][ T406] console_unlock+0xee/0x1f0 [ 20.634774][ T406] ? console_flush_one_record+0x710/0x710 [ 20.634776][ T406] ? rcu_is_watching+0x16/0xd0 [ 20.634778][ T406] ? lock_acquire+0x60/0x160 [ 20.634782][ T406] ? __down_trylock_console_sem+0x5e/0xa0 [ 20.634784][ T406] ? vprintk_emit+0x320/0x3e0 [ 20.634787][ T406] vprintk_emit+0x37c/0x3e0 [ 20.634791][ T406] ? wake_up_klogd_work_func+0x90/0x90 [ 20.634794][ T406] ? __lock_release.isra.0+0x69/0x1a0 [ 20.634798][ T406] _printk+0xc7/0x100 [ 20.634802][ T406] ? snapshot_read.cold+0x21/0x21 [ 20.634804][ T406] ? try_to_wake_up+0x153/0x1130 [ 20.634807][ T406] ? select_fallback_rq+0x510/0x510 [ 20.634809][ T406] ? netdev_name+0x43/0x60 [ 20.634813][ T406] ? __netdev_printk+0x17f/0x1d0 [ 20.634816][ T406] netdev_info+0xe2/0x116 [ 20.634818][ T406] ? netdev_notice+0x120/0x120 [ 20.634824][ T406] ? __queue_work+0x3ab/0xd30 [ 20.634831][ T406] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 20.634836][ T406] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 20.634839][ T406] ? mark_held_locks+0x40/0x70 [ 20.634842][ T406] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 20.634844][ T406] ? lockdep_hardirqs_on+0x91/0x130 [ 20.634849][ T406] ovpn_peer_remove+0x394/0x640 [ovpn] [ 20.634852][ T406] ? do_raw_spin_lock+0x131/0x280 [ 20.634854][ T406] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 20.634857][ T406] ? __rwlock_init+0x150/0x150 [ 20.634863][ T406] ovpn_peer_release_p2p+0x155/0x2a0 [ovpn] [ 20.634867][ T406] ? ovpn_peer_remove+0x640/0x640 [ovpn] [ 20.634871][ T406] ? ovpn_udp_encap_destroy+0xc6/0x280 [ovpn] [ 20.634877][ T406] udpv6_destroy_sock+0xe2/0x200 [ 20.634879][ T406] sk_common_release+0x62/0x310 [ 20.634883][ T406] inet_release+0x10a/0x240 [ 20.634886][ T406] ? fcntl_setlk+0xc80/0xc80 [ 20.634891][ T406] __sock_release+0xb8/0x280 [ 20.634894][ T406] sock_close+0x18/0x20 [ 20.634896][ T406] __fput+0x363/0xac0 [ 20.634900][ T406] ? lockdep_hardirqs_on+0x91/0x130 [ 20.634901][ T406] ? __call_rcu_common.constprop.0+0x3d3/0xa20 [ 20.634903][ T406] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 20.634906][ T406] ? do_raw_spin_unlock+0x59/0x250 [ 20.634909][ T406] task_work_run+0x12b/0x240 [ 20.634912][ T406] ? lockdep_hardirqs_on+0x91/0x130 [ 20.634914][ T406] ? task_work_cancel+0x30/0x30 [ 20.634917][ T406] ? kmem_cache_free+0xf8/0x550 [ 20.634921][ T406] do_exit+0x614/0xdc0 [ 20.634924][ T406] ? exit_notify+0x890/0x890 [ 20.634925][ T406] ? find_held_lock+0x2b/0x80 [ 20.634929][ T406] ? __lock_release.isra.0+0x69/0x1a0 [ 20.634930][ T406] ? __rwlock_init+0x150/0x150 [ 20.634934][ T406] do_group_exit+0xb8/0x370 [ 20.634936][ T406] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 20.634937][ T406] ? lockdep_hardirqs_on+0x91/0x130 [ 20.634939][ T406] ? _raw_spin_unlock_irq+0x28/0x50 [ 20.634941][ T406] ? _raw_spin_unlock_irq+0x33/0x50 [ 20.634943][ T406] get_signal+0x1886/0x1980 [ 20.634948][ T406] ? kmem_cache_free+0xf8/0x550 [ 20.634950][ T406] ? rcu_is_watching+0x16/0xd0 [ 20.634954][ T406] ? ptrace_signal+0x600/0x600 [ 20.634956][ T406] ? __switch_to+0x5a3/0xe00 [ 20.634959][ T406] ? rcu_is_watching+0x16/0xd0 [ 20.634961][ T406] ? trace_sched_exit_tp+0x9b/0x160 [ 20.634967][ T406] arch_do_signal_or_restart+0xc2/0x3a0 [ 20.634970][ T406] ? get_sigframe_size+0x20/0x20 [ 20.634972][ T406] ? find_held_lock+0x2b/0x80 [ 20.634977][ T406] ? rcu_is_watching+0x16/0xd0 [ 20.634979][ T406] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 20.634982][ T406] exit_to_user_mode_loop+0xd5/0x5a0 [ 20.634985][ T406] ? rcu_is_watching+0x16/0xd0 [ 20.634988][ T406] do_syscall_64+0x3e3/0x530 [ 20.634991][ T406] ? exc_page_fault+0xee/0x100 [ 20.634994][ T406] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 20.634996][ T406] RIP: 0033:0x7fd9c9a3354e [ 20.634999][ T406] Code: Unable to access opcode bytes at 0x7fd9c9a33524. [ 20.635000][ T406] RSP: 002b:00007ffd59569770 EFLAGS: 00000202 ORIG_RAX: 0000000000000022 [ 20.635002][ T406] RAX: fffffffffffffdfe RBX: 0000000000000000 RCX: 00007fd9c9a3354e [ 20.635003][ T406] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 20.635004][ T406] RBP: 00007ffd59569780 R08: 0000000000000000 R09: 0000000000000000 [ 20.635005][ T406] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffd59569d08 [ 20.635006][ T406] R13: 0000000000000008 R14: 00007fd9c9d1e000 R15: 000000000040bda8 [ 20.635013][ T406] [ 20.685277][ T343] tun0: deleting peer with id 4, reason 4 [ 20.685282][ T378] tun2: deleting peer with id 11, reason 4 [ 20.685301][ T392] tun3: deleting peer with id 12, reason 4 [ 20.685449][ T420] tun5: deleting peer with id 14, reason 4 [ 20.685591][ T364] tun1: deleting peer with id 10, reason 4 [ 20.685862][ T343] tun0: deleting peer with id 3, reason 4 [ 20.685952][ T343] tun0: deleting peer with id 5, reason 4 [ 20.687366][ T343] tun0: deleting peer with id 1, reason 4 [ 20.687760][ T343] tun0: deleting peer with id 6, reason 4 [ 20.688077][ T343] tun0: deleting peer with id 2, reason 4 [ 20.688500][ T434] tun6: deleting peer with id 15, reason 4