[ 9.702899][ T189] awk (189) used greatest stack depth: 23680 bytes left [ 9.702917][ T189] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.702919][ T189] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 189, name: awk [ 9.702920][ T189] preempt_count: 2, expected: 0 [ 9.702921][ T189] RCU nest depth: 0, expected: 0 [ 9.702922][ T189] locks held by awk/189: 5, last CPU#1: [ 9.702924][ T189] #0: ffffffff8a0127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.702936][ T189] #1: ffffffff8a179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.702942][ T189] #2: ffffffff8a179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.702945][ T189] #3: ffffffff8a099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.702949][ T189] #4: ffffffff8a099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.702953][ T189] irq event stamp: 22456 [ 9.702954][ T189] hardirqs last enabled at (22455): [] __down_trylock_console_sem+0x86/0xa0 [ 9.702956][ T189] hardirqs last disabled at (22456): [] console_emit_next_record+0x3d4/0x4c0 [ 9.702959][ T189] softirqs last enabled at (19426): [] handle_softirqs+0x67c/0x900 [ 9.702961][ T189] softirqs last disabled at (18625): [] __irq_exit_rcu+0x145/0x1c0 [ 9.702963][ T189] Preemption disabled at: [ 9.702964][ T189] [<0000000000000000>] 0x0 [ 9.702970][ T189] CPU: 1 UID: 0 PID: 189 Comm: awk Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.702974][ T189] Tainted: [W]=WARN [ 9.702974][ T189] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.702976][ T189] Call Trace: [ 9.702977][ T189] [ 9.702979][ T189] dump_stack_lvl+0x6f/0xa0 [ 9.702985][ T189] __might_resched.cold+0x1fe/0x2c1 [ 9.702990][ T189] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.702994][ T189] ? __kmalloc_noprof+0xdb/0x760 [ 9.702999][ T189] __kmalloc_noprof+0x443/0x760 [ 9.703001][ T189] ? alloc_buf.isra.0+0x4b/0x260 [ 9.703007][ T189] ? do_raw_spin_unlock+0x59/0x250 [ 9.703010][ T189] alloc_buf.isra.0+0x4b/0x260 [ 9.703013][ T189] put_chars+0x1e1/0x2f0 [ 9.703016][ T189] ? __send_to_port+0x420/0x420 [ 9.703017][ T189] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.703022][ T189] ? validate_chain+0x38b/0xc20 [ 9.703027][ T189] hvc_console_print+0x292/0x780 [ 9.703033][ T189] ? hvc_write+0x3a0/0x3a0 [ 9.703036][ T189] ? rcu_is_watching+0x16/0xd0 [ 9.703038][ T189] ? lock_acquire+0x13c/0x160 [ 9.703042][ T189] console_emit_next_record+0x22f/0x4c0 [ 9.703046][ T189] ? devkmsg_read+0x4b0/0x4b0 [ 9.703048][ T189] ? console_flush_one_record+0x106/0x710 [ 9.703051][ T189] ? rcu_is_watching+0x16/0xd0 [ 9.703053][ T189] ? lock_acquire+0x13c/0x160 [ 9.703057][ T189] console_flush_one_record+0x46f/0x710 [ 9.703060][ T189] ? console_emit_next_record+0x4c0/0x4c0 [ 9.703062][ T189] ? __lock_acquire+0x518/0xc20 [ 9.703067][ T189] console_unlock+0xee/0x1f0 [ 9.703070][ T189] ? console_flush_one_record+0x710/0x710 [ 9.703072][ T189] ? rcu_is_watching+0x16/0xd0 [ 9.703074][ T189] ? lock_acquire+0x60/0x160 [ 9.703078][ T189] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.703079][ T189] ? vprintk_emit+0x320/0x3e0 [ 9.703082][ T189] vprintk_emit+0x37c/0x3e0 [ 9.703086][ T189] ? wake_up_klogd_work_func+0x90/0x90 [ 9.703089][ T189] ? __lock_acquire+0x518/0xc20 [ 9.703093][ T189] _printk+0xc7/0x100 [ 9.703096][ T189] ? snapshot_read.cold+0x21/0x21 [ 9.703099][ T189] ? do_raw_spin_lock+0x131/0x280 [ 9.703101][ T189] ? __rwlock_init+0x150/0x150 [ 9.703105][ T189] ? do_raw_spin_lock+0x131/0x280 [ 9.703108][ T189] do_exit.cold+0x82/0x9c [ 9.703112][ T189] ? exit_notify+0x890/0x890 [ 9.703113][ T189] ? __lock_release.isra.0+0x69/0x1a0 [ 9.703115][ T189] ? rcu_is_watching+0x16/0xd0 [ 9.703119][ T189] do_group_exit+0xb8/0x370 [ 9.703122][ T189] __x64_sys_exit_group+0x3c/0x50 [ 9.703124][ T189] x64_sys_call+0x1567/0x1570 [ 9.703126][ T189] do_syscall_64+0xff/0x530 [ 9.703130][ T189] ? exc_page_fault+0xee/0x100 [ 9.703133][ T189] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.703135][ T189] RIP: 0033:0x7fb222f8e1b8 [ 9.703138][ T189] Code: Unable to access opcode bytes at 0x7fb222f8e18e. [ 9.703139][ T189] RSP: 002b:00007ffdca5cc2b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.703141][ T189] RAX: ffffffffffffffda RBX: 00007fb2230bef88 RCX: 00007fb222f8e1b8 [ 9.703142][ T189] RDX: 00007fb222e9edc8 RSI: fffffffffffffc30 RDI: 0000000000000000 [ 9.703143][ T189] RBP: 00007ffdca5cc310 R08: 0000000000000000 R09: 0000000000000030 [ 9.703144][ T189] R10: 00007ffdca5cc110 R11: 0000000000000246 R12: 0000000000000002 [ 9.703145][ T189] R13: 0000000000000000 R14: 00007fb2230bd680 R15: 00007fb2230befa0 [ 9.703151][ T189] [ 27.522336][ T665] iperf3 (665) used greatest stack depth: 23536 bytes left [ 27.522357][ T665] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 27.522359][ T665] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 665, name: iperf3 [ 27.522361][ T665] preempt_count: 2, expected: 0 [ 27.522362][ T665] RCU nest depth: 0, expected: 0 [ 27.522363][ T665] locks held by iperf3/665: 5, last CPU#2: [ 27.522365][ T665] #0: ffffffff8a0127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 27.522376][ T665] #1: ffffffff8a179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 27.522382][ T665] #2: ffffffff8a179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 27.522386][ T665] #3: ffffffff8a099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 27.522390][ T665] #4: ffffffff8a099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 27.522394][ T665] irq event stamp: 7663306 [ 27.522395][ T665] hardirqs last enabled at (7663305): [] __down_trylock_console_sem+0x86/0xa0 [ 27.522397][ T665] hardirqs last disabled at (7663306): [] console_emit_next_record+0x3d4/0x4c0 [ 27.522399][ T665] softirqs last enabled at (7662890): [] fpu__clear_user_states+0x104/0x290 [ 27.522403][ T665] softirqs last disabled at (7662888): [] fpu__clear_user_states+0x6d/0x290 [ 27.522405][ T665] Preemption disabled at: [ 27.522406][ T665] [<0000000000000000>] 0x0 [ 27.522413][ T665] CPU: 2 UID: 0 PID: 665 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 27.522416][ T665] Tainted: [W]=WARN [ 27.522417][ T665] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 27.522419][ T665] Call Trace: [ 27.522421][ T665] [ 27.522422][ T665] dump_stack_lvl+0x6f/0xa0 [ 27.522428][ T665] __might_resched.cold+0x1fe/0x2c1 [ 27.522433][ T665] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 27.522436][ T665] ? __kmalloc_noprof+0xdb/0x760 [ 27.522441][ T665] __kmalloc_noprof+0x443/0x760 [ 27.522446][ T665] ? alloc_buf.isra.0+0x4b/0x260 [ 27.522452][ T665] ? do_raw_spin_unlock+0x59/0x250 [ 27.522454][ T665] alloc_buf.isra.0+0x4b/0x260 [ 27.522458][ T665] put_chars+0x1e1/0x2f0 [ 27.522460][ T665] ? prb_final_commit+0x50/0x50 [ 27.522462][ T665] ? __send_to_port+0x420/0x420 [ 27.522465][ T665] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 27.522470][ T665] ? rcu_read_lock_any_held+0x3c/0x90 [ 27.522472][ T665] ? validate_chain+0x38b/0xc20 [ 27.522475][ T665] hvc_console_print+0x292/0x780 [ 27.522479][ T665] ? mark_usage+0x61/0x170 [ 27.522480][ T665] ? __lock_acquire+0x518/0xc20 [ 27.522482][ T665] ? __lock_acquire+0x518/0xc20 [ 27.522486][ T665] ? hvc_write+0x3a0/0x3a0 [ 27.522488][ T665] ? console_emit_next_record+0x1df/0x4c0 [ 27.522491][ T665] ? rcu_is_watching+0x16/0xd0 [ 27.522493][ T665] ? lock_acquire+0x13c/0x160 [ 27.522497][ T665] console_emit_next_record+0x22f/0x4c0 [ 27.522501][ T665] ? devkmsg_read+0x4b0/0x4b0 [ 27.522503][ T665] ? console_flush_one_record+0x106/0x710 [ 27.522506][ T665] ? rcu_is_watching+0x16/0xd0 [ 27.522508][ T665] ? lock_acquire+0x13c/0x160 [ 27.522512][ T665] console_flush_one_record+0x46f/0x710 [ 27.522516][ T665] ? console_emit_next_record+0x4c0/0x4c0 [ 27.522518][ T665] ? __lock_acquire+0x518/0xc20 [ 27.522522][ T665] console_unlock+0xee/0x1f0 [ 27.522525][ T665] ? console_flush_one_record+0x710/0x710 [ 27.522527][ T665] ? rcu_is_watching+0x16/0xd0 [ 27.522529][ T665] ? lock_acquire+0x60/0x160 [ 27.522533][ T665] ? __down_trylock_console_sem+0x5e/0xa0 [ 27.522534][ T665] ? vprintk_emit+0x320/0x3e0 [ 27.522538][ T665] vprintk_emit+0x37c/0x3e0 [ 27.522541][ T665] ? wake_up_klogd_work_func+0x90/0x90 [ 27.522544][ T665] ? __lock_acquire+0x518/0xc20 [ 27.522548][ T665] _printk+0xc7/0x100 [ 27.522551][ T665] ? snapshot_read.cold+0x21/0x21 [ 27.522554][ T665] ? do_raw_spin_lock+0x131/0x280 [ 27.522557][ T665] ? __rwlock_init+0x150/0x150 [ 27.522560][ T665] ? do_raw_spin_lock+0x131/0x280 [ 27.522563][ T665] do_exit.cold+0x82/0x9c [ 27.522567][ T665] ? exit_notify+0x890/0x890 [ 27.522572][ T665] __x64_sys_exit+0x42/0x50 [ 27.522573][ T665] x64_sys_call+0x156c/0x1570 [ 27.522576][ T665] do_syscall_64+0xff/0x530 [ 27.522580][ T665] ? exc_page_fault+0xee/0x100 [ 27.522582][ T665] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 27.522585][ T665] RIP: 0033:0x7f0ef938fc49 [ 27.522587][ T665] Code: Unable to access opcode bytes at 0x7f0ef938fc1f. [ 27.522588][ T665] RSP: 002b:00007f0ef8b4ee60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 27.522590][ T665] RAX: ffffffffffffffda RBX: 00007f0ef8b4f6c0 RCX: 00007f0ef938fc49 [ 27.522592][ T665] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 27.522593][ T665] RBP: 00007f0ef8b4ef70 R08: 0000000000000001 R09: 00007f0ef8b4f6c0 [ 27.522594][ T665] R10: 0000000000000008 R11: 0000000000000246 R12: 00007f0ef834f000 [ 27.522595][ T665] R13: 00007ffc2873dc20 R14: 0000000000000002 R15: 00007ffc2873dd27 [ 27.522601][ T665] [ 29.236270][ T759] tun0: deleting peer with id 1, reason 1 [ 29.236406][ T759] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 29.236409][ T759] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 759, name: ovpn-cli [ 29.236410][ T759] preempt_count: 202, expected: 0 [ 29.236411][ T759] RCU nest depth: 0, expected: 0 [ 29.236412][ T759] locks held by ovpn-cli/759: 6, last CPU#0: [ 29.236414][ T759] #0: ffffffff8a944ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 29.236426][ T759] #1: ff1100000d554e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 29.236434][ T759] #2: ffffffff8a179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 29.236441][ T759] #3: ffffffff8a179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 29.236447][ T759] #4: ffffffff8a099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 29.236451][ T759] #5: ffffffff8a099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 29.236455][ T759] irq event stamp: 37767 [ 29.236455][ T759] hardirqs last enabled at (37766): [] __down_trylock_console_sem+0x86/0xa0 [ 29.236458][ T759] hardirqs last disabled at (37767): [] console_emit_next_record+0x3d4/0x4c0 [ 29.236460][ T759] softirqs last enabled at (37734): [] __alloc_skb+0x4c2/0x5f0 [ 29.236463][ T759] softirqs last disabled at (37762): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 29.236467][ T759] Preemption disabled at: [ 29.236467][ T759] [<0000000000000000>] 0x0 [ 29.236474][ T759] CPU: 0 UID: 0 PID: 759 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 29.236478][ T759] Tainted: [W]=WARN [ 29.236479][ T759] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.236481][ T759] Call Trace: [ 29.236482][ T759] [ 29.236484][ T759] dump_stack_lvl+0x6f/0xa0 [ 29.236490][ T759] __might_resched.cold+0x1fe/0x2c1 [ 29.236494][ T759] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 29.236498][ T759] ? __kmalloc_noprof+0xdb/0x760 [ 29.236503][ T759] __kmalloc_noprof+0x443/0x760 [ 29.236506][ T759] ? alloc_buf.isra.0+0x4b/0x260 [ 29.236512][ T759] ? do_raw_spin_unlock+0x59/0x250 [ 29.236514][ T759] alloc_buf.isra.0+0x4b/0x260 [ 29.236518][ T759] put_chars+0x1e1/0x2f0 [ 29.236521][ T759] ? __send_to_port+0x420/0x420 [ 29.236522][ T759] ? check_prev_add+0x316/0xe90 [ 29.236526][ T759] ? validate_chain+0x34a/0xc20 [ 29.236530][ T759] hvc_console_print+0x292/0x780 [ 29.236533][ T759] ? mark_usage+0x61/0x170 [ 29.236535][ T759] ? __lock_acquire+0x518/0xc20 [ 29.236537][ T759] ? __lock_acquire+0x518/0xc20 [ 29.236541][ T759] ? hvc_write+0x3a0/0x3a0 [ 29.236542][ T759] ? lock_acquire.part.0+0xd4/0x280 [ 29.236546][ T759] ? lock_acquire+0x13c/0x160 [ 29.236550][ T759] console_emit_next_record+0x22f/0x4c0 [ 29.236554][ T759] ? devkmsg_read+0x4b0/0x4b0 [ 29.236555][ T759] ? console_flush_one_record+0x106/0x710 [ 29.236559][ T759] ? rcu_is_watching+0x16/0xd0 [ 29.236562][ T759] ? lock_acquire+0x13c/0x160 [ 29.236566][ T759] console_flush_one_record+0x46f/0x710 [ 29.236570][ T759] ? console_emit_next_record+0x4c0/0x4c0 [ 29.236572][ T759] ? __lock_acquire+0x518/0xc20 [ 29.236577][ T759] console_unlock+0xee/0x1f0 [ 29.236580][ T759] ? console_flush_one_record+0x710/0x710 [ 29.236582][ T759] ? rcu_is_watching+0x16/0xd0 [ 29.236584][ T759] ? lock_acquire+0x60/0x160 [ 29.236588][ T759] ? __down_trylock_console_sem+0x5e/0xa0 [ 29.236589][ T759] ? vprintk_emit+0x320/0x3e0 [ 29.236593][ T759] vprintk_emit+0x37c/0x3e0 [ 29.236596][ T759] ? wake_up_klogd_work_func+0x90/0x90 [ 29.236598][ T759] ? kernel_text_address+0x149/0x170 [ 29.236601][ T759] ? __kernel_text_address+0x12/0x30 [ 29.236603][ T759] ? write_profile+0xf0/0xf0 [ 29.236605][ T759] ? unwind_get_return_address+0x67/0xd0 [ 29.236610][ T759] _printk+0xc7/0x100 [ 29.236614][ T759] ? snapshot_read.cold+0x21/0x21 [ 29.236618][ T759] ? mark_usage+0x61/0x170 [ 29.236619][ T759] ? netdev_name+0x43/0x60 [ 29.236622][ T759] ? __netdev_printk+0x17f/0x1d0 [ 29.236626][ T759] netdev_info+0xe2/0x116 [ 29.236628][ T759] ? netdev_notice+0x120/0x120 [ 29.236629][ T759] ? find_held_lock+0x2b/0x80 [ 29.236632][ T759] ? mark_usage+0x61/0x170 [ 29.236635][ T759] ? __lock_acquire+0x518/0xc20 [ 29.236640][ T759] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 29.236645][ T759] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 29.236649][ T759] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 29.236654][ T759] ovpn_peer_remove+0x394/0x640 [ovpn] [ 29.236657][ T759] ? do_raw_spin_lock+0x131/0x280 [ 29.236660][ T759] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 29.236666][ T759] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 29.236670][ T759] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 29.236676][ T759] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 29.236679][ T759] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 29.236683][ T759] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 29.236685][ T759] ? ref_tracker_alloc+0x28d/0x430 [ 29.236696][ T759] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 29.236700][ T759] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 29.236706][ T759] genl_family_rcv_msg_doit+0x206/0x300 [ 29.236709][ T759] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 29.236711][ T759] ? __lock_release.isra.0+0x69/0x1a0 [ 29.236717][ T759] ? rcu_is_watching+0x16/0xd0 [ 29.236719][ T759] ? cap_capable+0x1d7/0x3d0 [ 29.236723][ T759] ? write_profile+0xf0/0xf0 [ 29.236724][ T759] ? unwind_get_return_address+0x67/0xd0 [ 29.236728][ T759] genl_family_rcv_msg+0x3a4/0x640 [ 29.236731][ T759] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 29.236734][ T759] ? rcu_read_lock_any_held+0x3c/0x90 [ 29.236736][ T759] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 29.236739][ T759] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 29.236741][ T759] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 29.236744][ T759] ? __lock_acquire+0x518/0xc20 [ 29.236750][ T759] genl_rcv_msg+0xbb/0x160 [ 29.236753][ T759] netlink_rcv_skb+0x14e/0x3a0 [ 29.236755][ T759] ? genl_family_rcv_msg+0x640/0x640 [ 29.236759][ T759] ? netlink_ack+0xcf0/0xcf0 [ 29.236765][ T759] ? netlink_deliver_tap+0xc5/0x330 [ 29.236767][ T759] ? netlink_deliver_tap+0x13c/0x330 [ 29.236771][ T759] genl_rcv+0x28/0x40 [ 29.236773][ T759] netlink_unicast+0x486/0x750 [ 29.236777][ T759] ? netlink_attachskb+0x810/0x810 [ 29.236780][ T759] ? __lock_acquire+0x518/0xc20 [ 29.236785][ T759] netlink_sendmsg+0x735/0xc60 [ 29.236788][ T759] ? netlink_unicast+0x750/0x750 [ 29.236793][ T759] ? __might_fault+0x97/0x140 [ 29.236798][ T759] ____sys_sendmsg+0x415/0x880 [ 29.236801][ T759] ? copy_msghdr_from_user+0x279/0x420 [ 29.236804][ T759] ? get_timestamp.constprop.0+0x390/0x390 [ 29.236806][ T759] ? move_addr_to_kernel+0x40/0x40 [ 29.236813][ T759] ___sys_sendmsg+0x14e/0x1d0 [ 29.236816][ T759] ? copy_msghdr_from_user+0x420/0x420 [ 29.236817][ T759] ? kfree+0x22/0x590 [ 29.236832][ T759] __sys_sendmsg+0x12c/0x1d0 [ 29.236835][ T759] ? __sys_sendmsg_sock+0x20/0x20 [ 29.236841][ T759] ? rcu_is_watching+0x16/0xd0 [ 29.236843][ T759] ? rcu_is_watching+0x16/0xd0 [ 29.236847][ T759] do_syscall_64+0xff/0x530 [ 29.236850][ T759] ? exc_page_fault+0xee/0x100 [ 29.236853][ T759] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 29.236855][ T759] RIP: 0033:0x7fece12d154e [ 29.236857][ T759] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 29.236859][ T759] RSP: 002b:00007ffe4360c550 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 29.236862][ T759] RAX: ffffffffffffffda RBX: 0000000014802130 RCX: 00007fece12d154e [ 29.236863][ T759] RDX: 0000000000000000 RSI: 00007ffe4360c5f0 RDI: 0000000000000005 [ 29.236864][ T759] RBP: 00007ffe4360c560 R08: 0000000000000000 R09: 0000000000000000 [ 29.236865][ T759] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000014802200 [ 29.236866][ T759] R13: 00007ffe4360c5f0 R14: 0000000014803260 R15: 000000000040bda8 [ 29.236872][ T759] [ 29.295472][ T759] ovpn-cli (759) used greatest stack depth: 23528 bytes left [ 29.360142][ T763] tun1: deleting peer with id 1, reason 1 [ 32.236837][ T811] tun0: deleting peer with id 2, reason 1 [ 32.236858][ T811] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 32.236861][ T811] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 811, name: ovpn-cli [ 32.236862][ T811] preempt_count: 202, expected: 0 [ 32.236863][ T811] RCU nest depth: 0, expected: 0 [ 32.236864][ T811] locks held by ovpn-cli/811: 6, last CPU#0: [ 32.236866][ T811] #0: ffffffff8a944ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 32.236878][ T811] #1: ff1100000d554e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 32.236886][ T811] #2: ffffffff8a179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 32.236893][ T811] #3: ffffffff8a179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 32.236897][ T811] #4: ffffffff8a099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 32.236900][ T811] #5: ffffffff8a099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 32.236904][ T811] irq event stamp: 37457 [ 32.236905][ T811] hardirqs last enabled at (37456): [] __down_trylock_console_sem+0x86/0xa0 [ 32.236907][ T811] hardirqs last disabled at (37457): [] console_emit_next_record+0x3d4/0x4c0 [ 32.236909][ T811] softirqs last enabled at (37424): [] __alloc_skb+0x4c2/0x5f0 [ 32.236913][ T811] softirqs last disabled at (37452): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 32.236916][ T811] Preemption disabled at: [ 32.236917][ T811] [<0000000000000000>] 0x0 [ 32.236923][ T811] CPU: 0 UID: 0 PID: 811 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 32.236927][ T811] Tainted: [W]=WARN [ 32.236928][ T811] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 32.236929][ T811] Call Trace: [ 32.236931][ T811] [ 32.236932][ T811] dump_stack_lvl+0x6f/0xa0 [ 32.236938][ T811] __might_resched.cold+0x1fe/0x2c1 [ 32.236943][ T811] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 32.236947][ T811] ? __kmalloc_noprof+0xdb/0x760 [ 32.236952][ T811] __kmalloc_noprof+0x443/0x760 [ 32.236959][ T811] ? alloc_buf.isra.0+0x4b/0x260 [ 32.236965][ T811] ? do_raw_spin_unlock+0x59/0x250 [ 32.236967][ T811] alloc_buf.isra.0+0x4b/0x260 [ 32.236971][ T811] put_chars+0x1e1/0x2f0 [ 32.236974][ T811] ? __send_to_port+0x420/0x420 [ 32.236977][ T811] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 32.236981][ T811] ? rcu_read_lock_any_held+0x3c/0x90 [ 32.236983][ T811] ? validate_chain+0x38b/0xc20 [ 32.236987][ T811] hvc_console_print+0x292/0x780 [ 32.236990][ T811] ? mark_usage+0x61/0x170 [ 32.236992][ T811] ? __lock_acquire+0x518/0xc20 [ 32.236993][ T811] ? __lock_acquire+0x518/0xc20 [ 32.236997][ T811] ? hvc_write+0x3a0/0x3a0 [ 32.236999][ T811] ? lock_acquire.part.0+0xd4/0x280 [ 32.237003][ T811] ? lock_acquire+0x13c/0x160 [ 32.237007][ T811] console_emit_next_record+0x22f/0x4c0 [ 32.237011][ T811] ? devkmsg_read+0x4b0/0x4b0 [ 32.237012][ T811] ? console_flush_one_record+0x106/0x710 [ 32.237015][ T811] ? rcu_is_watching+0x16/0xd0 [ 32.237018][ T811] ? lock_acquire+0x13c/0x160 [ 32.237022][ T811] console_flush_one_record+0x46f/0x710 [ 32.237026][ T811] ? console_emit_next_record+0x4c0/0x4c0 [ 32.237028][ T811] ? __lock_acquire+0x518/0xc20 [ 32.237033][ T811] console_unlock+0xee/0x1f0 [ 32.237036][ T811] ? console_flush_one_record+0x710/0x710 [ 32.237037][ T811] ? rcu_is_watching+0x16/0xd0 [ 32.237040][ T811] ? lock_acquire+0x60/0x160 [ 32.237043][ T811] ? __down_trylock_console_sem+0x5e/0xa0 [ 32.237045][ T811] ? vprintk_emit+0x320/0x3e0 [ 32.237048][ T811] vprintk_emit+0x37c/0x3e0 [ 32.237052][ T811] ? wake_up_klogd_work_func+0x90/0x90 [ 32.237054][ T811] ? kernel_text_address+0x149/0x170 [ 32.237057][ T811] ? __kernel_text_address+0x12/0x30 [ 32.237058][ T811] ? write_profile+0xf0/0xf0 [ 32.237061][ T811] ? unwind_get_return_address+0x67/0xd0 [ 32.237066][ T811] _printk+0xc7/0x100 [ 32.237069][ T811] ? snapshot_read.cold+0x21/0x21 [ 32.237073][ T811] ? mark_usage+0x61/0x170 [ 32.237074][ T811] ? netdev_name+0x43/0x60 [ 32.237078][ T811] ? __netdev_printk+0x17f/0x1d0 [ 32.237081][ T811] netdev_info+0xe2/0x116 [ 32.237083][ T811] ? netdev_notice+0x120/0x120 [ 32.237085][ T811] ? find_held_lock+0x2b/0x80 [ 32.237087][ T811] ? mark_usage+0x61/0x170 [ 32.237090][ T811] ? __lock_acquire+0x518/0xc20 [ 32.237096][ T811] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 32.237100][ T811] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 32.237104][ T811] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 32.237110][ T811] ovpn_peer_remove+0x394/0x640 [ovpn] [ 32.237113][ T811] ? do_raw_spin_lock+0x131/0x280 [ 32.237115][ T811] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 32.237122][ T811] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 32.237126][ T811] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 32.237132][ T811] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 32.237135][ T811] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 32.237139][ T811] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 32.237141][ T811] ? ref_tracker_alloc+0x28d/0x430 [ 32.237152][ T811] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 32.237156][ T811] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 32.237162][ T811] genl_family_rcv_msg_doit+0x206/0x300 [ 32.237166][ T811] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 32.237168][ T811] ? __lock_release.isra.0+0x69/0x1a0 [ 32.237173][ T811] ? rcu_is_watching+0x16/0xd0 [ 32.237175][ T811] ? cap_capable+0x1d7/0x3d0 [ 32.237179][ T811] ? write_profile+0xf0/0xf0 [ 32.237180][ T811] ? unwind_get_return_address+0x67/0xd0 [ 32.237184][ T811] genl_family_rcv_msg+0x3a4/0x640 [ 32.237187][ T811] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 32.237190][ T811] ? rcu_read_lock_any_held+0x3c/0x90 [ 32.237191][ T811] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 32.237194][ T811] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 32.237197][ T811] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 32.237200][ T811] ? __lock_acquire+0x518/0xc20 [ 32.237205][ T811] genl_rcv_msg+0xbb/0x160 [ 32.237209][ T811] netlink_rcv_skb+0x14e/0x3a0 [ 32.237211][ T811] ? genl_family_rcv_msg+0x640/0x640 [ 32.237214][ T811] ? netlink_ack+0xcf0/0xcf0 [ 32.237221][ T811] ? netlink_deliver_tap+0xc5/0x330 [ 32.237223][ T811] ? netlink_deliver_tap+0x13c/0x330 [ 32.237227][ T811] genl_rcv+0x28/0x40 [ 32.237229][ T811] netlink_unicast+0x486/0x750 [ 32.237233][ T811] ? netlink_attachskb+0x810/0x810 [ 32.237236][ T811] ? __lock_acquire+0x518/0xc20 [ 32.237240][ T811] netlink_sendmsg+0x735/0xc60 [ 32.237244][ T811] ? netlink_unicast+0x750/0x750 [ 32.237248][ T811] ? __might_fault+0x97/0x140 [ 32.237253][ T811] ____sys_sendmsg+0x415/0x880 [ 32.237257][ T811] ? copy_msghdr_from_user+0x279/0x420 [ 32.237259][ T811] ? get_timestamp.constprop.0+0x390/0x390 [ 32.237261][ T811] ? move_addr_to_kernel+0x40/0x40 [ 32.237269][ T811] ___sys_sendmsg+0x14e/0x1d0 [ 32.237271][ T811] ? copy_msghdr_from_user+0x420/0x420 [ 32.237273][ T811] ? kfree+0x22/0x590 [ 32.237288][ T811] __sys_sendmsg+0x12c/0x1d0 [ 32.237291][ T811] ? __sys_sendmsg_sock+0x20/0x20 [ 32.237297][ T811] ? rcu_is_watching+0x16/0xd0 [ 32.237299][ T811] ? rcu_is_watching+0x16/0xd0 [ 32.237303][ T811] do_syscall_64+0xff/0x530 [ 32.237306][ T811] ? exc_page_fault+0xee/0x100 [ 32.237309][ T811] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 32.237312][ T811] RIP: 0033:0x7f95d7af254e [ 32.237314][ T811] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 32.237316][ T811] RSP: 002b:00007ffed9c6ad20 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 32.237318][ T811] RAX: ffffffffffffffda RBX: 0000000011c54130 RCX: 00007f95d7af254e [ 32.237319][ T811] RDX: 0000000000000000 RSI: 00007ffed9c6adc0 RDI: 0000000000000005 [ 32.237320][ T811] RBP: 00007ffed9c6ad30 R08: 0000000000000000 R09: 0000000000000000 [ 32.237321][ T811] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000011c54200 [ 32.237322][ T811] R13: 00007ffed9c6adc0 R14: 0000000011c55260 R15: 000000000040bda8 [ 32.237329][ T811] [ 32.360751][ T815] tun2: deleting peer with id 2, reason 1 [ 37.353712][ T10] tun0: deleting peer with id 4, reason 2 [ 37.353780][ T10] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 37.353782][ T10] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 [ 37.353784][ T10] preempt_count: 202, expected: 0 [ 37.353785][ T10] RCU nest depth: 0, expected: 0 [ 37.353786][ T10] locks held by kworker/0:1/10: 7, last CPU#0: [ 37.353788][ T10] #0: ff1100000a8b8340 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 37.353800][ T10] #1: ffa00000000a7d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 37.353803][ T10] #2: ff1100000d554e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 37.353811][ T10] #3: ffffffff8a179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 37.353816][ T10] #4: ffffffff8a179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 37.353820][ T10] #5: ffffffff8a099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 37.353824][ T10] #6: ffffffff8a099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 37.353828][ T10] irq event stamp: 44369 [ 37.353829][ T10] hardirqs last enabled at (44368): [] __down_trylock_console_sem+0x86/0xa0 [ 37.353831][ T10] hardirqs last disabled at (44369): [] console_emit_next_record+0x3d4/0x4c0 [ 37.353833][ T10] softirqs last enabled at (44222): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 37.353837][ T10] softirqs last disabled at (44362): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 37.353840][ T10] Preemption disabled at: [ 37.353841][ T10] [<0000000000000000>] 0x0 [ 37.353848][ T10] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 37.353852][ T10] Tainted: [W]=WARN [ 37.353853][ T10] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 37.353855][ T10] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 37.353859][ T10] Call Trace: [ 37.353860][ T10] [ 37.353862][ T10] dump_stack_lvl+0x6f/0xa0 [ 37.353868][ T10] __might_resched.cold+0x1fe/0x2c1 [ 37.353872][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 37.353876][ T10] ? __kmalloc_noprof+0xdb/0x760 [ 37.353881][ T10] __kmalloc_noprof+0x443/0x760 [ 37.353884][ T10] ? alloc_buf.isra.0+0x4b/0x260 [ 37.353890][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 37.353892][ T10] alloc_buf.isra.0+0x4b/0x260 [ 37.353895][ T10] put_chars+0x1e1/0x2f0 [ 37.353898][ T10] ? __send_to_port+0x420/0x420 [ 37.353903][ T10] ? validate_chain+0x34a/0xc20 [ 37.353906][ T10] hvc_console_print+0x292/0x780 [ 37.353910][ T10] ? mark_usage+0x61/0x170 [ 37.353911][ T10] ? __lock_acquire+0x518/0xc20 [ 37.353913][ T10] ? __lock_acquire+0x518/0xc20 [ 37.353917][ T10] ? hvc_write+0x3a0/0x3a0 [ 37.353919][ T10] ? console_emit_next_record+0x1df/0x4c0 [ 37.353922][ T10] ? rcu_is_watching+0x16/0xd0 [ 37.353927][ T10] ? lock_acquire+0x13c/0x160 [ 37.353930][ T10] console_emit_next_record+0x22f/0x4c0 [ 37.353934][ T10] ? devkmsg_read+0x4b0/0x4b0 [ 37.353936][ T10] ? console_flush_one_record+0x106/0x710 [ 37.353939][ T10] ? rcu_is_watching+0x16/0xd0 [ 37.353941][ T10] ? lock_acquire+0x13c/0x160 [ 37.353945][ T10] console_flush_one_record+0x46f/0x710 [ 37.353950][ T10] ? console_emit_next_record+0x4c0/0x4c0 [ 37.353951][ T10] ? __lock_acquire+0x518/0xc20 [ 37.353956][ T10] console_unlock+0xee/0x1f0 [ 37.353959][ T10] ? console_flush_one_record+0x710/0x710 [ 37.353961][ T10] ? rcu_is_watching+0x16/0xd0 [ 37.353963][ T10] ? lock_acquire+0x60/0x160 [ 37.353967][ T10] ? __down_trylock_console_sem+0x5e/0xa0 [ 37.353969][ T10] ? vprintk_emit+0x320/0x3e0 [ 37.353972][ T10] vprintk_emit+0x37c/0x3e0 [ 37.353976][ T10] ? wake_up_klogd_work_func+0x90/0x90 [ 37.353986][ T10] _printk+0xc7/0x100 [ 37.353989][ T10] ? snapshot_read.cold+0x21/0x21 [ 37.353994][ T10] ? netdev_name+0x43/0x60 [ 37.353997][ T10] ? __netdev_printk+0x17f/0x1d0 [ 37.354001][ T10] netdev_info+0xe2/0x116 [ 37.354003][ T10] ? netdev_notice+0x120/0x120 [ 37.354004][ T10] ? rcu_read_lock_any_held+0x3c/0x90 [ 37.354008][ T10] ? __lock_acquire+0x518/0xc20 [ 37.354011][ T10] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 37.354014][ T10] ? rcu_read_lock_any_held+0x3c/0x90 [ 37.354018][ T10] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 37.354023][ T10] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 37.354029][ T10] ovpn_peer_remove+0x394/0x640 [ovpn] [ 37.354034][ T10] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 37.354036][ T10] ? __rwlock_init+0x150/0x150 [ 37.354038][ T10] ? mark_held_locks+0x40/0x70 [ 37.354043][ T10] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 37.354047][ T10] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 37.354050][ T10] ? __rwlock_init+0x150/0x150 [ 37.354055][ T10] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 37.354059][ T10] ? process_one_work+0xdfc/0x1560 [ 37.354062][ T10] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 37.354065][ T10] ? rcu_is_watching+0x16/0xd0 [ 37.354067][ T10] ? lock_acquire+0x13c/0x160 [ 37.354069][ T10] ? rcu_is_watching+0x16/0xd0 [ 37.354073][ T10] process_one_work+0xe3e/0x1560 [ 37.354079][ T10] ? __queue_delayed_work+0x470/0x470 [ 37.354082][ T10] ? lock_acquire.part.0+0xd4/0x280 [ 37.354089][ T10] worker_thread+0x4f1/0xd60 [ 37.354094][ T10] ? rescuer_thread+0x1340/0x1340 [ 37.354096][ T10] ? __kthread_parkme+0xbd/0x210 [ 37.354099][ T10] ? rescuer_thread+0x1340/0x1340 [ 37.354102][ T10] ? rescuer_thread+0x1340/0x1340 [ 37.354104][ T10] kthread+0x367/0x460 [ 37.354106][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 37.354109][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 37.354112][ T10] ret_from_fork+0x474/0x6b0 [ 37.354116][ T10] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 37.354119][ T10] ? __switch_to+0x5a3/0xe00 [ 37.354122][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 37.354125][ T10] ret_from_fork_asm+0x11/0x20 [ 37.354133][ T10] [ 37.377847][ T10] tun0: deleting peer with id 3, reason 2 [ 38.441469][ T10] tun0: deleting peer with id 5, reason 2 [ 38.441489][ T10] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 38.441492][ T10] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 [ 38.441493][ T10] preempt_count: 202, expected: 0 [ 38.441494][ T10] RCU nest depth: 0, expected: 0 [ 38.441495][ T10] locks held by kworker/0:1/10: 7, last CPU#0: [ 38.441497][ T10] #0: ff1100000a8b8340 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 38.441508][ T10] #1: ffa00000000a7d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 38.441512][ T10] #2: ff1100000d554e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 38.441521][ T10] #3: ffffffff8a179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 38.441526][ T10] #4: ffffffff8a179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 38.441530][ T10] #5: ffffffff8a099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 38.441533][ T10] #6: ffffffff8a099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 38.441537][ T10] irq event stamp: 45247 [ 38.441538][ T10] hardirqs last enabled at (45246): [] __down_trylock_console_sem+0x86/0xa0 [ 38.441540][ T10] hardirqs last disabled at (45247): [] console_emit_next_record+0x3d4/0x4c0 [ 38.441542][ T10] softirqs last enabled at (44874): [] ovpn_peer_release+0x37/0xe0 [ovpn] [ 38.441546][ T10] softirqs last disabled at (45240): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 38.441549][ T10] Preemption disabled at: [ 38.441550][ T10] [<0000000000000000>] 0x0 [ 38.441557][ T10] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 38.441560][ T10] Tainted: [W]=WARN [ 38.441561][ T10] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 38.441563][ T10] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 38.441567][ T10] Call Trace: [ 38.441569][ T10] [ 38.441570][ T10] dump_stack_lvl+0x6f/0xa0 [ 38.441577][ T10] __might_resched.cold+0x1fe/0x2c1 [ 38.441581][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 38.441586][ T10] ? __kmalloc_noprof+0xdb/0x760 [ 38.441591][ T10] __kmalloc_noprof+0x443/0x760 [ 38.441593][ T10] ? alloc_buf.isra.0+0x4b/0x260 [ 38.441599][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 38.441601][ T10] alloc_buf.isra.0+0x4b/0x260 [ 38.441605][ T10] put_chars+0x1e1/0x2f0 [ 38.441607][ T10] ? prb_final_commit+0x50/0x50 [ 38.441609][ T10] ? __send_to_port+0x420/0x420 [ 38.441612][ T10] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 38.441617][ T10] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.441619][ T10] ? validate_chain+0x38b/0xc20 [ 38.441623][ T10] hvc_console_print+0x292/0x780 [ 38.441626][ T10] ? mark_usage+0x61/0x170 [ 38.441628][ T10] ? __lock_acquire+0x518/0xc20 [ 38.441629][ T10] ? __lock_acquire+0x518/0xc20 [ 38.441633][ T10] ? hvc_write+0x3a0/0x3a0 [ 38.441635][ T10] ? console_emit_next_record+0x1df/0x4c0 [ 38.441639][ T10] ? rcu_is_watching+0x16/0xd0 [ 38.441641][ T10] ? lock_acquire+0x13c/0x160 [ 38.441645][ T10] console_emit_next_record+0x22f/0x4c0 [ 38.441649][ T10] ? devkmsg_read+0x4b0/0x4b0 [ 38.441651][ T10] ? console_flush_one_record+0x106/0x710 [ 38.441654][ T10] ? rcu_is_watching+0x16/0xd0 [ 38.441656][ T10] ? lock_acquire+0x13c/0x160 [ 38.441660][ T10] console_flush_one_record+0x46f/0x710 [ 38.441664][ T10] ? console_emit_next_record+0x4c0/0x4c0 [ 38.441666][ T10] ? __lock_acquire+0x518/0xc20 [ 38.441671][ T10] console_unlock+0xee/0x1f0 [ 38.441674][ T10] ? console_flush_one_record+0x710/0x710 [ 38.441675][ T10] ? rcu_is_watching+0x16/0xd0 [ 38.441678][ T10] ? lock_acquire+0x60/0x160 [ 38.441681][ T10] ? __down_trylock_console_sem+0x5e/0xa0 [ 38.441683][ T10] ? vprintk_emit+0x320/0x3e0 [ 38.441686][ T10] vprintk_emit+0x37c/0x3e0 [ 38.441690][ T10] ? wake_up_klogd_work_func+0x90/0x90 [ 38.441693][ T10] ? arch_stack_walk+0xd7/0x130 [ 38.441699][ T10] _printk+0xc7/0x100 [ 38.441702][ T10] ? snapshot_read.cold+0x21/0x21 [ 38.441707][ T10] ? netdev_name+0x43/0x60 [ 38.441710][ T10] ? __netdev_printk+0x17f/0x1d0 [ 38.441714][ T10] netdev_info+0xe2/0x116 [ 38.441716][ T10] ? netdev_notice+0x120/0x120 [ 38.441717][ T10] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.441721][ T10] ? __lock_acquire+0x518/0xc20 [ 38.441724][ T10] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 38.441726][ T10] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.441730][ T10] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 38.441735][ T10] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 38.441742][ T10] ovpn_peer_remove+0x394/0x640 [ovpn] [ 38.441746][ T10] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 38.441749][ T10] ? __rwlock_init+0x150/0x150 [ 38.441751][ T10] ? mark_held_locks+0x40/0x70 [ 38.441756][ T10] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 38.441760][ T10] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 38.441762][ T10] ? __rwlock_init+0x150/0x150 [ 38.441767][ T10] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 38.441772][ T10] ? process_one_work+0xdfc/0x1560 [ 38.441774][ T10] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 38.441778][ T10] ? rcu_is_watching+0x16/0xd0 [ 38.441780][ T10] ? lock_acquire+0x13c/0x160 [ 38.441782][ T10] ? rcu_is_watching+0x16/0xd0 [ 38.441786][ T10] process_one_work+0xe3e/0x1560 [ 38.441792][ T10] ? __queue_delayed_work+0x470/0x470 [ 38.441795][ T10] ? lock_acquire.part.0+0xd4/0x280 [ 38.441802][ T10] worker_thread+0x4f1/0xd60 [ 38.441807][ T10] ? rescuer_thread+0x1340/0x1340 [ 38.441809][ T10] ? __kthread_parkme+0xbd/0x210 [ 38.441812][ T10] ? rescuer_thread+0x1340/0x1340 [ 38.441815][ T10] ? rescuer_thread+0x1340/0x1340 [ 38.441817][ T10] kthread+0x367/0x460 [ 38.441819][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 38.441822][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 38.441825][ T10] ret_from_fork+0x474/0x6b0 [ 38.441828][ T10] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 38.441831][ T10] ? __switch_to+0x5a3/0xe00 [ 38.441834][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 38.441837][ T10] ret_from_fork_asm+0x11/0x20 [ 38.441846][ T10] [ 38.471704][ T10] tun0: deleting peer with id 6, reason 2 [ 43.498964][ T309] tun3: deleting peer with id 3, reason 2 [ 43.498986][ T309] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 43.498989][ T309] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 309, name: kworker/3:2 [ 43.498990][ T309] preempt_count: 202, expected: 0 [ 43.498992][ T309] RCU nest depth: 0, expected: 0 [ 43.498993][ T309] locks held by kworker/3:2/309: 7, last CPU#3: [ 43.498995][ T309] #0: ff1100000a8b8340 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 43.499007][ T309] #1: ffa0000001b8fd10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 43.499015][ T309] #2: ff1100000a594e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 43.499022][ T309] #3: ffffffff8a179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 43.499027][ T309] #4: ffffffff8a179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 43.499031][ T309] #5: ffffffff8a099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 43.499035][ T309] #6: ffffffff8a099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 43.499038][ T309] irq event stamp: 27325 [ 43.499039][ T309] hardirqs last enabled at (27324): [] __down_trylock_console_sem+0x86/0xa0 [ 43.499042][ T309] hardirqs last disabled at (27325): [] console_emit_next_record+0x3d4/0x4c0 [ 43.499044][ T309] softirqs last enabled at (27284): [] process_one_work+0xe3e/0x1560 [ 43.499046][ T309] softirqs last disabled at (27314): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 43.499049][ T309] Preemption disabled at: [ 43.499050][ T309] [<0000000000000000>] 0x0 [ 43.499058][ T309] CPU: 3 UID: 0 PID: 309 Comm: kworker/3:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 43.499061][ T309] Tainted: [W]=WARN [ 43.499063][ T309] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 43.499065][ T309] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 43.499070][ T309] Call Trace: [ 43.499071][ T309] [ 43.499074][ T309] dump_stack_lvl+0x6f/0xa0 [ 43.499080][ T309] __might_resched.cold+0x1fe/0x2c1 [ 43.499085][ T309] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 43.499089][ T309] ? __kmalloc_noprof+0xdb/0x760 [ 43.499094][ T309] __kmalloc_noprof+0x443/0x760 [ 43.499096][ T309] ? alloc_buf.isra.0+0x4b/0x260 [ 43.499102][ T309] ? do_raw_spin_unlock+0x59/0x250 [ 43.499105][ T309] alloc_buf.isra.0+0x4b/0x260 [ 43.499108][ T309] put_chars+0x1e1/0x2f0 [ 43.499110][ T309] ? prb_final_commit+0x50/0x50 [ 43.499112][ T309] ? __send_to_port+0x420/0x420 [ 43.499116][ T309] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 43.499120][ T309] ? rcu_read_lock_any_held+0x3c/0x90 [ 43.499122][ T309] ? validate_chain+0x38b/0xc20 [ 43.499126][ T309] hvc_console_print+0x292/0x780 [ 43.499129][ T309] ? mark_usage+0x61/0x170 [ 43.499131][ T309] ? __lock_acquire+0x518/0xc20 [ 43.499133][ T309] ? __lock_acquire+0x518/0xc20 [ 43.499136][ T309] ? hvc_write+0x3a0/0x3a0 [ 43.499139][ T309] ? console_emit_next_record+0x1df/0x4c0 [ 43.499142][ T309] ? rcu_is_watching+0x16/0xd0 [ 43.499144][ T309] ? lock_acquire+0x13c/0x160 [ 43.499148][ T309] console_emit_next_record+0x22f/0x4c0 [ 43.499152][ T309] ? devkmsg_read+0x4b0/0x4b0 [ 43.499154][ T309] ? console_flush_one_record+0x106/0x710 [ 43.499157][ T309] ? rcu_is_watching+0x16/0xd0 [ 43.499159][ T309] ? lock_acquire+0x13c/0x160 [ 43.499163][ T309] console_flush_one_record+0x46f/0x710 [ 43.499167][ T309] ? console_emit_next_record+0x4c0/0x4c0 [ 43.499169][ T309] ? __lock_acquire+0x518/0xc20 [ 43.499174][ T309] console_unlock+0xee/0x1f0 [ 43.499177][ T309] ? console_flush_one_record+0x710/0x710 [ 43.499179][ T309] ? rcu_is_watching+0x16/0xd0 [ 43.499181][ T309] ? lock_acquire+0x60/0x160 [ 43.499185][ T309] ? __down_trylock_console_sem+0x5e/0xa0 [ 43.499186][ T309] ? vprintk_emit+0x320/0x3e0 [ 43.499190][ T309] vprintk_emit+0x37c/0x3e0 [ 43.499193][ T309] ? wake_up_klogd_work_func+0x90/0x90 [ 43.499196][ T309] ? __lock_release.isra.0+0x69/0x1a0 [ 43.499200][ T309] _printk+0xc7/0x100 [ 43.499204][ T309] ? snapshot_read.cold+0x21/0x21 [ 43.499205][ T309] ? try_to_wake_up+0x153/0x1130 [ 43.499208][ T309] ? select_fallback_rq+0x510/0x510 [ 43.499211][ T309] ? netdev_name+0x43/0x60 [ 43.499214][ T309] ? __netdev_printk+0x17f/0x1d0 [ 43.499217][ T309] netdev_info+0xe2/0x116 [ 43.499219][ T309] ? netdev_notice+0x120/0x120 [ 43.499224][ T309] ? __queue_work+0x3ab/0xd30 [ 43.499230][ T309] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 43.499235][ T309] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 43.499238][ T309] ? mark_held_locks+0x40/0x70 [ 43.499240][ T309] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 43.499242][ T309] ? lockdep_hardirqs_on+0x91/0x130 [ 43.499247][ T309] ovpn_peer_remove+0x394/0x640 [ovpn] [ 43.499252][ T309] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 43.499255][ T309] ? __rwlock_init+0x150/0x150 [ 43.499257][ T309] ? mark_held_locks+0x40/0x70 [ 43.499261][ T309] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 43.499265][ T309] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 43.499268][ T309] ? __rwlock_init+0x150/0x150 [ 43.499273][ T309] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 43.499277][ T309] ? process_one_work+0xdfc/0x1560 [ 43.499280][ T309] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 43.499283][ T309] ? rcu_is_watching+0x16/0xd0 [ 43.499285][ T309] ? lock_acquire+0x13c/0x160 [ 43.499287][ T309] ? rcu_is_watching+0x16/0xd0 [ 43.499290][ T309] ? process_one_work+0xdfc/0x1560 [ 43.499292][ T309] process_one_work+0xe3e/0x1560 [ 43.499298][ T309] ? __queue_delayed_work+0x470/0x470 [ 43.499301][ T309] ? lock_acquire.part.0+0xd4/0x280 [ 43.499308][ T309] worker_thread+0x4f1/0xd60 [ 43.499313][ T309] ? rescuer_thread+0x1340/0x1340 [ 43.499315][ T309] ? __kthread_parkme+0xbd/0x210 [ 43.499318][ T309] ? rescuer_thread+0x1340/0x1340 [ 43.499321][ T309] ? rescuer_thread+0x1340/0x1340 [ 43.499323][ T309] kthread+0x367/0x460 [ 43.499325][ T309] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 43.499327][ T309] ? kthread_affine_preferred+0x4c0/0x4c0 [ 43.499330][ T309] ret_from_fork+0x474/0x6b0 [ 43.499334][ T309] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 43.499337][ T309] ? __switch_to+0x5a3/0xe00 [ 43.499340][ T309] ? kthread_affine_preferred+0x4c0/0x4c0 [ 43.499343][ T309] ret_from_fork_asm+0x11/0x20 [ 43.499352][ T309] [ 43.561494][ T10] tun4: deleting peer with id 4, reason 2 [ 43.690492][ T65] tun5: deleting peer with id 5, reason 2 [ 43.753476][ T10] tun6: deleting peer with id 6, reason 2