[ 11.949586][ T248] ip (248) used greatest stack depth: 23952 bytes left [ 11.949602][ T248] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.949604][ T248] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 248, name: ip [ 11.949605][ T248] preempt_count: 2, expected: 0 [ 11.949606][ T248] RCU nest depth: 0, expected: 0 [ 11.949607][ T248] locks held by ip/248: 5, last CPU#2: [ 11.949609][ T248] #0: ffffffff8c2127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.949622][ T248] #1: ffffffff8c379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.949628][ T248] #2: ffffffff8c379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.949632][ T248] #3: ffffffff8c299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.949636][ T248] #4: ffffffff8c299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.949639][ T248] irq event stamp: 35970 [ 11.949640][ T248] hardirqs last enabled at (35969): [] __down_trylock_console_sem+0x86/0xa0 [ 11.949643][ T248] hardirqs last disabled at (35970): [] console_emit_next_record+0x3d4/0x4c0 [ 11.949645][ T248] softirqs last enabled at (35880): [] handle_softirqs+0x67c/0x900 [ 11.949648][ T248] softirqs last disabled at (35875): [] __irq_exit_rcu+0x145/0x1c0 [ 11.949650][ T248] Preemption disabled at: [ 11.949651][ T248] [<0000000000000000>] 0x0 [ 11.949658][ T248] CPU: 2 UID: 0 PID: 248 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.949661][ T248] Tainted: [W]=WARN [ 11.949662][ T248] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.949664][ T248] Call Trace: [ 11.949665][ T248] [ 11.949667][ T248] dump_stack_lvl+0x6f/0xa0 [ 11.949674][ T248] __might_resched.cold+0x1fe/0x2c1 [ 11.949679][ T248] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.949683][ T248] ? __kmalloc_noprof+0xdb/0x760 [ 11.949688][ T248] __kmalloc_noprof+0x443/0x760 [ 11.949690][ T248] ? alloc_buf.isra.0+0x4b/0x260 [ 11.949696][ T248] ? do_raw_spin_unlock+0x59/0x250 [ 11.949699][ T248] alloc_buf.isra.0+0x4b/0x260 [ 11.949702][ T248] put_chars+0x1e1/0x2f0 [ 11.949705][ T248] ? __send_to_port+0x420/0x420 [ 11.949707][ T248] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.949712][ T248] ? validate_chain+0x38b/0xc20 [ 11.949717][ T248] hvc_console_print+0x292/0x780 [ 11.949727][ T248] ? hvc_write+0x3a0/0x3a0 [ 11.949729][ T248] ? rcu_is_watching+0x16/0xd0 [ 11.949732][ T248] ? lock_acquire+0x13c/0x160 [ 11.949736][ T248] console_emit_next_record+0x22f/0x4c0 [ 11.949740][ T248] ? devkmsg_read+0x4b0/0x4b0 [ 11.949742][ T248] ? console_flush_one_record+0x106/0x710 [ 11.949745][ T248] ? rcu_is_watching+0x16/0xd0 [ 11.949747][ T248] ? lock_acquire+0x13c/0x160 [ 11.949751][ T248] console_flush_one_record+0x46f/0x710 [ 11.949755][ T248] ? console_emit_next_record+0x4c0/0x4c0 [ 11.949757][ T248] ? __lock_acquire+0x518/0xc20 [ 11.949762][ T248] console_unlock+0xee/0x1f0 [ 11.949765][ T248] ? console_flush_one_record+0x710/0x710 [ 11.949767][ T248] ? rcu_is_watching+0x16/0xd0 [ 11.949769][ T248] ? lock_acquire+0x60/0x160 [ 11.949773][ T248] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.949775][ T248] ? vprintk_emit+0x320/0x3e0 [ 11.949778][ T248] vprintk_emit+0x37c/0x3e0 [ 11.949782][ T248] ? wake_up_klogd_work_func+0x90/0x90 [ 11.949785][ T248] ? __lock_acquire+0x518/0xc20 [ 11.949789][ T248] _printk+0xc7/0x100 [ 11.949793][ T248] ? snapshot_read.cold+0x21/0x21 [ 11.949796][ T248] ? do_raw_spin_lock+0x131/0x280 [ 11.949798][ T248] ? __rwlock_init+0x150/0x150 [ 11.949802][ T248] ? do_raw_spin_lock+0x131/0x280 [ 11.949805][ T248] do_exit.cold+0x82/0x9c [ 11.949809][ T248] ? exit_notify+0x890/0x890 [ 11.949810][ T248] ? __lock_release.isra.0+0x69/0x1a0 [ 11.949813][ T248] ? rcu_is_watching+0x16/0xd0 [ 11.949817][ T248] do_group_exit+0xb8/0x370 [ 11.949820][ T248] __x64_sys_exit_group+0x3c/0x50 [ 11.949822][ T248] x64_sys_call+0x1567/0x1570 [ 11.949824][ T248] do_syscall_64+0xff/0x530 [ 11.949828][ T248] ? exc_page_fault+0xee/0x100 [ 11.949831][ T248] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.949833][ T248] RIP: 0033:0x7f64c101f1b8 [ 11.949835][ T248] Code: Unable to access opcode bytes at 0x7f64c101f18e. [ 11.949837][ T248] RSP: 002b:00007ffee783f108 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.949839][ T248] RAX: ffffffffffffffda RBX: 00007f64c114ff88 RCX: 00007f64c101f1b8 [ 11.949840][ T248] RDX: 00007f64c0d69fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.949841][ T248] RBP: 00007ffee783f160 R08: 0000000000000000 R09: 0000000000000000 [ 11.949842][ T248] R10: 00007ffee783ef20 R11: 0000000000000246 R12: 0000000000000001 [ 11.949843][ T248] R13: 0000000000000000 R14: 00007f64c114e680 R15: 00007f64c114ffa0 [ 11.949850][ T248] [ 21.587829][ T365] tun2: deleting peer with id 11, reason 4 [ 21.587922][ T365] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 21.587925][ T365] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 365, name: ovpn-cli [ 21.587926][ T365] preempt_count: 202, expected: 0 [ 21.587927][ T365] RCU nest depth: 0, expected: 0 [ 21.587928][ T365] locks held by ovpn-cli/365: 6, last CPU#3: [ 21.587930][ T365] #0: ff1100000f44c0f8 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 21.587943][ T365] #1: ff11000007c89e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_release_p2p+0x8a/0x2a0 [ovpn] [ 21.587952][ T365] #2: ffffffff8c379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 21.587958][ T365] #3: ffffffff8c379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 21.587962][ T365] #4: ffffffff8c299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 21.587966][ T365] #5: ffffffff8c299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 21.587970][ T365] irq event stamp: 3449 [ 21.587971][ T365] hardirqs last enabled at (3448): [] __down_trylock_console_sem+0x86/0xa0 [ 21.587974][ T365] hardirqs last disabled at (3449): [] console_emit_next_record+0x3d4/0x4c0 [ 21.587976][ T365] softirqs last enabled at (3438): [] udpv6_destroy_sock+0x73/0x200 [ 21.587979][ T365] softirqs last disabled at (3440): [] ovpn_peer_release_p2p+0x8a/0x2a0 [ovpn] [ 21.587983][ T365] Preemption disabled at: [ 21.587984][ T365] [<0000000000000000>] 0x0 [ 21.587990][ T365] CPU: 3 UID: 0 PID: 365 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 21.587994][ T365] Tainted: [W]=WARN [ 21.587995][ T365] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.587997][ T365] Call Trace: [ 21.587999][ T365] [ 21.588000][ T365] dump_stack_lvl+0x6f/0xa0 [ 21.588007][ T365] __might_resched.cold+0x1fe/0x2c1 [ 21.588011][ T365] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 21.588016][ T365] ? __kmalloc_noprof+0xdb/0x760 [ 21.588021][ T365] __kmalloc_noprof+0x443/0x760 [ 21.588023][ T365] ? alloc_buf.isra.0+0x4b/0x260 [ 21.588029][ T365] ? do_raw_spin_unlock+0x59/0x250 [ 21.588032][ T365] alloc_buf.isra.0+0x4b/0x260 [ 21.588036][ T365] put_chars+0x1e1/0x2f0 [ 21.588039][ T365] ? __send_to_port+0x420/0x420 [ 21.588045][ T365] hvc_console_print+0x292/0x780 [ 21.588053][ T365] ? hvc_write+0x3a0/0x3a0 [ 21.588056][ T365] ? lock_acquire+0x13c/0x160 [ 21.588060][ T365] console_emit_next_record+0x22f/0x4c0 [ 21.588064][ T365] ? devkmsg_read+0x4b0/0x4b0 [ 21.588066][ T365] ? console_flush_one_record+0x106/0x710 [ 21.588069][ T365] ? rcu_is_watching+0x16/0xd0 [ 21.588073][ T365] ? lock_acquire+0x13c/0x160 [ 21.588077][ T365] console_flush_one_record+0x46f/0x710 [ 21.588081][ T365] ? console_emit_next_record+0x4c0/0x4c0 [ 21.588083][ T365] ? __lock_acquire+0x518/0xc20 [ 21.588089][ T365] console_unlock+0xee/0x1f0 [ 21.588092][ T365] ? console_flush_one_record+0x710/0x710 [ 21.588094][ T365] ? rcu_is_watching+0x16/0xd0 [ 21.588096][ T365] ? lock_acquire+0x60/0x160 [ 21.588100][ T365] ? __down_trylock_console_sem+0x5e/0xa0 [ 21.588101][ T365] ? vprintk_emit+0x320/0x3e0 [ 21.588105][ T365] vprintk_emit+0x37c/0x3e0 [ 21.588109][ T365] ? wake_up_klogd_work_func+0x90/0x90 [ 21.588112][ T365] ? __lock_release.isra.0+0x69/0x1a0 [ 21.588116][ T365] _printk+0xc7/0x100 [ 21.588119][ T365] ? snapshot_read.cold+0x21/0x21 [ 21.588121][ T365] ? try_to_wake_up+0x153/0x1130 [ 21.588125][ T365] ? select_fallback_rq+0x510/0x510 [ 21.588127][ T365] ? netdev_name+0x43/0x60 [ 21.588131][ T365] ? __netdev_printk+0x17f/0x1d0 [ 21.588134][ T365] netdev_info+0xe2/0x116 [ 21.588136][ T365] ? netdev_notice+0x120/0x120 [ 21.588141][ T365] ? __queue_work+0x3ab/0xd30 [ 21.588148][ T365] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 21.588153][ T365] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 21.588156][ T365] ? mark_held_locks+0x40/0x70 [ 21.588159][ T365] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 21.588161][ T365] ? lockdep_hardirqs_on+0x91/0x130 [ 21.588165][ T365] ovpn_peer_remove+0x394/0x640 [ovpn] [ 21.588168][ T365] ? do_raw_spin_lock+0x131/0x280 [ 21.588171][ T365] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 21.588174][ T365] ? __rwlock_init+0x150/0x150 [ 21.588179][ T365] ovpn_peer_release_p2p+0x155/0x2a0 [ovpn] [ 21.588183][ T365] ? ovpn_peer_remove+0x640/0x640 [ovpn] [ 21.588187][ T365] ? ovpn_udp_encap_destroy+0xc6/0x280 [ovpn] [ 21.588193][ T365] udpv6_destroy_sock+0xe2/0x200 [ 21.588195][ T365] sk_common_release+0x62/0x310 [ 21.588199][ T365] inet_release+0x10a/0x240 [ 21.588202][ T365] ? fcntl_setlk+0xc80/0xc80 [ 21.588207][ T365] __sock_release+0xb8/0x280 [ 21.588210][ T365] sock_close+0x18/0x20 [ 21.588212][ T365] __fput+0x363/0xac0 [ 21.588215][ T365] ? lockdep_hardirqs_on+0x91/0x130 [ 21.588217][ T365] ? __call_rcu_common.constprop.0+0x3d3/0xa20 [ 21.588219][ T365] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 21.588222][ T365] ? do_raw_spin_unlock+0x59/0x250 [ 21.588225][ T365] task_work_run+0x12b/0x240 [ 21.588227][ T365] ? lockdep_hardirqs_on+0x91/0x130 [ 21.588229][ T365] ? task_work_cancel+0x30/0x30 [ 21.588232][ T365] ? kmem_cache_free+0xf8/0x550 [ 21.588236][ T365] do_exit+0x614/0xdc0 [ 21.588239][ T365] ? exit_notify+0x890/0x890 [ 21.588240][ T365] ? find_held_lock+0x2b/0x80 [ 21.588244][ T365] ? __lock_release.isra.0+0x69/0x1a0 [ 21.588245][ T365] ? __rwlock_init+0x150/0x150 [ 21.588249][ T365] do_group_exit+0xb8/0x370 [ 21.588250][ T365] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 21.588252][ T365] ? lockdep_hardirqs_on+0x91/0x130 [ 21.588254][ T365] ? _raw_spin_unlock_irq+0x28/0x50 [ 21.588256][ T365] ? _raw_spin_unlock_irq+0x33/0x50 [ 21.588257][ T365] get_signal+0x1886/0x1980 [ 21.588262][ T365] ? kmem_cache_free+0xf8/0x550 [ 21.588264][ T365] ? rcu_is_watching+0x16/0xd0 [ 21.588268][ T365] ? ptrace_signal+0x600/0x600 [ 21.588270][ T365] ? __switch_to+0x5a3/0xe00 [ 21.588273][ T365] ? rcu_is_watching+0x16/0xd0 [ 21.588275][ T365] ? trace_sched_exit_tp+0x9b/0x160 [ 21.588280][ T365] arch_do_signal_or_restart+0xc2/0x3a0 [ 21.588284][ T365] ? get_sigframe_size+0x20/0x20 [ 21.588285][ T365] ? find_held_lock+0x2b/0x80 [ 21.588290][ T365] ? rcu_is_watching+0x16/0xd0 [ 21.588292][ T365] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 21.588295][ T365] exit_to_user_mode_loop+0xd5/0x5a0 [ 21.588298][ T365] ? rcu_is_watching+0x16/0xd0 [ 21.588301][ T365] do_syscall_64+0x3e3/0x530 [ 21.588304][ T365] ? exc_page_fault+0xee/0x100 [ 21.588307][ T365] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 21.588309][ T365] RIP: 0033:0x7f170acad54e [ 21.588312][ T365] Code: Unable to access opcode bytes at 0x7f170acad524. [ 21.588313][ T365] RSP: 002b:00007ffd1a570d20 EFLAGS: 00000202 ORIG_RAX: 0000000000000022 [ 21.588315][ T365] RAX: fffffffffffffdfe RBX: 0000000000000000 RCX: 00007f170acad54e [ 21.588316][ T365] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 21.588317][ T365] RBP: 00007ffd1a570d30 R08: 0000000000000000 R09: 0000000000000000 [ 21.588318][ T365] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffd1a5712b8 [ 21.588319][ T365] R13: 0000000000000008 R14: 00007f170af98000 R15: 000000000040bda8 [ 21.588326][ T365] [ 21.624335][ T322] tun0: deleting peer with id 4, reason 4 [ 21.624954][ T322] tun0: deleting peer with id 3, reason 4 [ 21.625654][ T322] tun0: deleting peer with id 5, reason 4 [ 21.626295][ T322] tun0: deleting peer with id 1, reason 4 [ 21.626860][ T322] tun0: deleting peer with id 6, reason 4 [ 21.637736][ T322] tun0: deleting peer with id 2, reason 4 [ 21.638779][ T379] tun3: deleting peer with id 12, reason 4 [ 21.638875][ T351] tun1: deleting peer with id 10, reason 4