[ 15.288379][ T299] ip (299) used greatest stack depth: 24208 bytes left [ 15.288395][ T299] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.288397][ T299] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 299, name: ip [ 15.288398][ T299] preempt_count: 2, expected: 0 [ 15.288399][ T299] RCU nest depth: 0, expected: 0 [ 15.288400][ T299] locks held by ip/299: 5, last CPU#2: [ 15.288402][ T299] #0: ffffffff852127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 15.288413][ T299] #1: ffffffff85379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.288419][ T299] #2: ffffffff85379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.288424][ T299] #3: ffffffff85299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.288427][ T299] #4: ffffffff85299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 15.288431][ T299] irq event stamp: 38658 [ 15.288432][ T299] hardirqs last enabled at (38657): [] __down_trylock_console_sem+0x86/0xa0 [ 15.288435][ T299] hardirqs last disabled at (38658): [] console_emit_next_record+0x3d4/0x4c0 [ 15.288437][ T299] softirqs last enabled at (37376): [] netlink_release+0x17b/0xcf0 [ 15.288441][ T299] softirqs last disabled at (37374): [] netlink_release+0xd2/0xcf0 [ 15.288444][ T299] Preemption disabled at: [ 15.288444][ T299] [<0000000000000000>] 0x0 [ 15.288451][ T299] CPU: 2 UID: 0 PID: 299 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.288455][ T299] Tainted: [W]=WARN [ 15.288456][ T299] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.288458][ T299] Call Trace: [ 15.288459][ T299] [ 15.288461][ T299] dump_stack_lvl+0x6f/0xa0 [ 15.288467][ T299] __might_resched.cold+0x1fe/0x2c1 [ 15.288472][ T299] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.288476][ T299] ? __kmalloc_noprof+0xdb/0x760 [ 15.288481][ T299] __kmalloc_noprof+0x443/0x760 [ 15.288484][ T299] ? alloc_buf.isra.0+0x4b/0x260 [ 15.288490][ T299] ? do_raw_spin_unlock+0x59/0x250 [ 15.288493][ T299] alloc_buf.isra.0+0x4b/0x260 [ 15.288496][ T299] put_chars+0x1e1/0x2f0 [ 15.288499][ T299] ? __send_to_port+0x420/0x420 [ 15.288501][ T299] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.288506][ T299] ? validate_chain+0x38b/0xc20 [ 15.288511][ T299] hvc_console_print+0x292/0x780 [ 15.288518][ T299] ? hvc_write+0x3a0/0x3a0 [ 15.288520][ T299] ? rcu_is_watching+0x16/0xd0 [ 15.288523][ T299] ? lock_acquire+0x13c/0x160 [ 15.288527][ T299] console_emit_next_record+0x22f/0x4c0 [ 15.288531][ T299] ? devkmsg_read+0x4b0/0x4b0 [ 15.288533][ T299] ? console_flush_one_record+0x106/0x710 [ 15.288536][ T299] ? rcu_is_watching+0x16/0xd0 [ 15.288539][ T299] ? lock_acquire+0x13c/0x160 [ 15.288543][ T299] console_flush_one_record+0x46f/0x710 [ 15.288547][ T299] ? console_emit_next_record+0x4c0/0x4c0 [ 15.288549][ T299] ? __lock_acquire+0x518/0xc20 [ 15.288554][ T299] console_unlock+0xee/0x1f0 [ 15.288557][ T299] ? console_flush_one_record+0x710/0x710 [ 15.288559][ T299] ? rcu_is_watching+0x16/0xd0 [ 15.288561][ T299] ? lock_acquire+0x60/0x160 [ 15.288565][ T299] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.288567][ T299] ? vprintk_emit+0x320/0x3e0 [ 15.288570][ T299] vprintk_emit+0x37c/0x3e0 [ 15.288574][ T299] ? wake_up_klogd_work_func+0x90/0x90 [ 15.288578][ T299] ? __lock_acquire+0x518/0xc20 [ 15.288582][ T299] _printk+0xc7/0x100 [ 15.288585][ T299] ? snapshot_read.cold+0x21/0x21 [ 15.288588][ T299] ? do_raw_spin_lock+0x131/0x280 [ 15.288591][ T299] ? __rwlock_init+0x150/0x150 [ 15.288595][ T299] ? do_raw_spin_lock+0x131/0x280 [ 15.288598][ T299] do_exit.cold+0x82/0x9c [ 15.288601][ T299] ? exit_notify+0x890/0x890 [ 15.288603][ T299] ? __lock_release.isra.0+0x69/0x1a0 [ 15.288605][ T299] ? rcu_is_watching+0x16/0xd0 [ 15.288610][ T299] do_group_exit+0xb8/0x370 [ 15.288613][ T299] __x64_sys_exit_group+0x3c/0x50 [ 15.288615][ T299] x64_sys_call+0x1567/0x1570 [ 15.288618][ T299] do_syscall_64+0xff/0x530 [ 15.288621][ T299] ? exc_page_fault+0xee/0x100 [ 15.288624][ T299] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.288626][ T299] RIP: 0033:0x7fc0a83b91b8 [ 15.288629][ T299] Code: Unable to access opcode bytes at 0x7fc0a83b918e. [ 15.288630][ T299] RSP: 002b:00007fff251cc8d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 15.288633][ T299] RAX: ffffffffffffffda RBX: 00007fc0a84e9f88 RCX: 00007fc0a83b91b8 [ 15.288634][ T299] RDX: 00007fc0a8103fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 15.288635][ T299] RBP: 00007fff251cc930 R08: 0000000000000000 R09: 0000000000000000 [ 15.288636][ T299] R10: 00007fff251cc6f0 R11: 0000000000000246 R12: 0000000000000001 [ 15.288637][ T299] R13: 0000000000000000 R14: 00007fc0a84e8680 R15: 00007fc0a84e9fa0 [ 15.288644][ T299] [ 15.492417][ T306] ip (306) used greatest stack depth: 24040 bytes left [ 29.563453][ T682] iperf3 (682) used greatest stack depth: 22832 bytes left [ 29.563473][ T682] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 29.563475][ T682] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 682, name: iperf3 [ 29.563477][ T682] preempt_count: 2, expected: 0 [ 29.563478][ T682] RCU nest depth: 0, expected: 0 [ 29.563479][ T682] locks held by iperf3/682: 5, last CPU#1: [ 29.563480][ T682] #0: ffffffff852127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 29.563492][ T682] #1: ffffffff85379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 29.563498][ T682] #2: ffffffff85379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 29.563502][ T682] #3: ffffffff85299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 29.563506][ T682] #4: ffffffff85299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 29.563511][ T682] irq event stamp: 4812236 [ 29.563511][ T682] hardirqs last enabled at (4812235): [] __down_trylock_console_sem+0x86/0xa0 [ 29.563514][ T682] hardirqs last disabled at (4812236): [] console_emit_next_record+0x3d4/0x4c0 [ 29.563516][ T682] softirqs last enabled at (4811686): [] handle_softirqs+0x67c/0x900 [ 29.563518][ T682] softirqs last disabled at (4811571): [] __irq_exit_rcu+0x145/0x1c0 [ 29.563521][ T682] Preemption disabled at: [ 29.563521][ T682] [<0000000000000000>] 0x0 [ 29.563529][ T682] CPU: 1 UID: 0 PID: 682 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 29.563532][ T682] Tainted: [W]=WARN [ 29.563533][ T682] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.563535][ T682] Call Trace: [ 29.563537][ T682] [ 29.563538][ T682] dump_stack_lvl+0x6f/0xa0 [ 29.563544][ T682] __might_resched.cold+0x1fe/0x2c1 [ 29.563549][ T682] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 29.563553][ T682] ? __kmalloc_noprof+0xdb/0x760 [ 29.563558][ T682] __kmalloc_noprof+0x443/0x760 [ 29.563561][ T682] ? alloc_buf.isra.0+0x4b/0x260 [ 29.563567][ T682] ? do_raw_spin_unlock+0x59/0x250 [ 29.563570][ T682] alloc_buf.isra.0+0x4b/0x260 [ 29.563573][ T682] put_chars+0x1e1/0x2f0 [ 29.563576][ T682] ? prb_final_commit+0x50/0x50 [ 29.563578][ T682] ? __send_to_port+0x420/0x420 [ 29.563581][ T682] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 29.563586][ T682] ? rcu_read_lock_any_held+0x3c/0x90 [ 29.563588][ T682] ? validate_chain+0x38b/0xc20 [ 29.563592][ T682] hvc_console_print+0x292/0x780 [ 29.563595][ T682] ? mark_usage+0x61/0x170 [ 29.563597][ T682] ? __lock_acquire+0x518/0xc20 [ 29.563599][ T682] ? __lock_acquire+0x518/0xc20 [ 29.563603][ T682] ? hvc_write+0x3a0/0x3a0 [ 29.563605][ T682] ? console_emit_next_record+0x1df/0x4c0 [ 29.563609][ T682] ? rcu_is_watching+0x16/0xd0 [ 29.563611][ T682] ? lock_acquire+0x13c/0x160 [ 29.563615][ T682] console_emit_next_record+0x22f/0x4c0 [ 29.563619][ T682] ? devkmsg_read+0x4b0/0x4b0 [ 29.563621][ T682] ? console_flush_one_record+0x106/0x710 [ 29.563625][ T682] ? rcu_is_watching+0x16/0xd0 [ 29.563627][ T682] ? lock_acquire+0x13c/0x160 [ 29.563631][ T682] console_flush_one_record+0x46f/0x710 [ 29.563635][ T682] ? console_emit_next_record+0x4c0/0x4c0 [ 29.563637][ T682] ? __lock_acquire+0x518/0xc20 [ 29.563643][ T682] console_unlock+0xee/0x1f0 [ 29.563646][ T682] ? console_flush_one_record+0x710/0x710 [ 29.563647][ T682] ? rcu_is_watching+0x16/0xd0 [ 29.563650][ T682] ? lock_acquire+0x60/0x160 [ 29.563654][ T682] ? __down_trylock_console_sem+0x5e/0xa0 [ 29.563655][ T682] ? vprintk_emit+0x320/0x3e0 [ 29.563659][ T682] vprintk_emit+0x37c/0x3e0 [ 29.563663][ T682] ? wake_up_klogd_work_func+0x90/0x90 [ 29.563666][ T682] ? __lock_acquire+0x518/0xc20 [ 29.563670][ T682] _printk+0xc7/0x100 [ 29.563674][ T682] ? snapshot_read.cold+0x21/0x21 [ 29.563677][ T682] ? do_raw_spin_lock+0x131/0x280 [ 29.563679][ T682] ? __rwlock_init+0x150/0x150 [ 29.563683][ T682] ? do_raw_spin_lock+0x131/0x280 [ 29.563686][ T682] do_exit.cold+0x82/0x9c [ 29.563690][ T682] ? exit_notify+0x890/0x890 [ 29.563695][ T682] __x64_sys_exit+0x42/0x50 [ 29.563697][ T682] x64_sys_call+0x156c/0x1570 [ 29.563700][ T682] do_syscall_64+0xff/0x530 [ 29.563704][ T682] ? exc_page_fault+0xee/0x100 [ 29.563707][ T682] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 29.563709][ T682] RIP: 0033:0x7f5a28dfdc49 [ 29.563712][ T682] Code: Unable to access opcode bytes at 0x7f5a28dfdc1f. [ 29.563713][ T682] RSP: 002b:00007f5a285bce60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 29.563715][ T682] RAX: ffffffffffffffda RBX: 00007f5a285bd6c0 RCX: 00007f5a28dfdc49 [ 29.563717][ T682] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 29.563718][ T682] RBP: 00007f5a285bcf70 R08: 0000000000000001 R09: 00007f5a285bd6c0 [ 29.563719][ T682] R10: 0000000000000008 R11: 0000000000000246 R12: 00007f5a27dbd000 [ 29.563719][ T682] R13: 00007ffdbe949130 R14: 0000000000000002 R15: 00007ffdbe949237 [ 29.563726][ T682] [ 31.425233][ T776] tun0: deleting peer with id 1, reason 1 [ 31.425413][ T776] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 31.425416][ T776] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 776, name: ovpn-cli [ 31.425417][ T776] preempt_count: 202, expected: 0 [ 31.425418][ T776] RCU nest depth: 0, expected: 0 [ 31.425419][ T776] locks held by ovpn-cli/776: 6, last CPU#2: [ 31.425421][ T776] #0: ffffffff85b44b68 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 31.425434][ T776] #1: ff11000007701e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 31.425442][ T776] #2: ffffffff85379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 31.425449][ T776] #3: ffffffff85379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 31.425453][ T776] #4: ffffffff85299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 31.425457][ T776] #5: ffffffff85299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 31.425461][ T776] irq event stamp: 42357 [ 31.425462][ T776] hardirqs last enabled at (42356): [] irqentry_exit+0x21c/0x790 [ 31.425466][ T776] hardirqs last disabled at (42357): [] console_emit_next_record+0x3d4/0x4c0 [ 31.425468][ T776] softirqs last enabled at (42322): [] __alloc_skb+0x4c2/0x5f0 [ 31.425472][ T776] softirqs last disabled at (42350): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 31.425476][ T776] Preemption disabled at: [ 31.425477][ T776] [<0000000000000000>] 0x0 [ 31.425484][ T776] CPU: 2 UID: 0 PID: 776 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 31.425487][ T776] Tainted: [W]=WARN [ 31.425488][ T776] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 31.425490][ T776] Call Trace: [ 31.425492][ T776] [ 31.425493][ T776] dump_stack_lvl+0x6f/0xa0 [ 31.425500][ T776] __might_resched.cold+0x1fe/0x2c1 [ 31.425505][ T776] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 31.425509][ T776] ? __kmalloc_noprof+0xdb/0x760 [ 31.425515][ T776] __kmalloc_noprof+0x443/0x760 [ 31.425517][ T776] ? alloc_buf.isra.0+0x4b/0x260 [ 31.425523][ T776] ? do_raw_spin_unlock+0x59/0x250 [ 31.425526][ T776] alloc_buf.isra.0+0x4b/0x260 [ 31.425530][ T776] put_chars+0x1e1/0x2f0 [ 31.425533][ T776] ? __send_to_port+0x420/0x420 [ 31.425535][ T776] ? check_prev_add+0x316/0xe90 [ 31.425539][ T776] ? validate_chain+0x34a/0xc20 [ 31.425543][ T776] hvc_console_print+0x292/0x780 [ 31.425546][ T776] ? mark_usage+0x61/0x170 [ 31.425548][ T776] ? __lock_acquire+0x518/0xc20 [ 31.425550][ T776] ? __lock_acquire+0x518/0xc20 [ 31.425554][ T776] ? hvc_write+0x3a0/0x3a0 [ 31.425556][ T776] ? lock_acquire.part.0+0xd4/0x280 [ 31.425560][ T776] ? lock_acquire+0x13c/0x160 [ 31.425564][ T776] console_emit_next_record+0x22f/0x4c0 [ 31.425568][ T776] ? devkmsg_read+0x4b0/0x4b0 [ 31.425570][ T776] ? console_flush_one_record+0x106/0x710 [ 31.425574][ T776] ? rcu_is_watching+0x16/0xd0 [ 31.425578][ T776] ? lock_acquire+0x13c/0x160 [ 31.425582][ T776] console_flush_one_record+0x46f/0x710 [ 31.425586][ T776] ? console_emit_next_record+0x4c0/0x4c0 [ 31.425588][ T776] ? __lock_acquire+0x518/0xc20 [ 31.425590][ T776] ? insn_get_immediate.part.0+0x187b/0x29e0 [ 31.425596][ T776] console_unlock+0xee/0x1f0 [ 31.425599][ T776] ? console_flush_one_record+0x710/0x710 [ 31.425601][ T776] ? rcu_is_watching+0x16/0xd0 [ 31.425603][ T776] ? lock_acquire+0x60/0x160 [ 31.425607][ T776] ? __down_trylock_console_sem+0x5e/0xa0 [ 31.425609][ T776] ? vprintk_emit+0x320/0x3e0 [ 31.425613][ T776] vprintk_emit+0x37c/0x3e0 [ 31.425616][ T776] ? wake_up_klogd_work_func+0x90/0x90 [ 31.425618][ T776] ? kernel_text_address+0x149/0x170 [ 31.425622][ T776] ? __kernel_text_address+0x12/0x30 [ 31.425623][ T776] ? write_profile+0xf0/0xf0 [ 31.425626][ T776] ? unwind_get_return_address+0x67/0xd0 [ 31.425631][ T776] _printk+0xc7/0x100 [ 31.425634][ T776] ? snapshot_read.cold+0x21/0x21 [ 31.425638][ T776] ? mark_usage+0x61/0x170 [ 31.425640][ T776] ? netdev_name+0x43/0x60 [ 31.425643][ T776] ? __netdev_printk+0x17f/0x1d0 [ 31.425647][ T776] netdev_info+0xe2/0x116 [ 31.425649][ T776] ? netdev_notice+0x120/0x120 [ 31.425651][ T776] ? find_held_lock+0x2b/0x80 [ 31.425654][ T776] ? mark_usage+0x61/0x170 [ 31.425657][ T776] ? __lock_acquire+0x518/0xc20 [ 31.425663][ T776] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 31.425668][ T776] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 31.425672][ T776] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 31.425678][ T776] ovpn_peer_remove+0x394/0x640 [ovpn] [ 31.425681][ T776] ? do_raw_spin_lock+0x131/0x280 [ 31.425684][ T776] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 31.425691][ T776] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 31.425694][ T776] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 31.425701][ T776] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 31.425704][ T776] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 31.425707][ T776] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 31.425710][ T776] ? ref_tracker_alloc+0x28d/0x430 [ 31.425721][ T776] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 31.425726][ T776] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 31.425731][ T776] genl_family_rcv_msg_doit+0x206/0x300 [ 31.425735][ T776] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 31.425737][ T776] ? __lock_release.isra.0+0x69/0x1a0 [ 31.425743][ T776] ? rcu_is_watching+0x16/0xd0 [ 31.425746][ T776] ? cap_capable+0x1d7/0x3d0 [ 31.425750][ T776] ? write_profile+0xf0/0xf0 [ 31.425751][ T776] ? unwind_get_return_address+0x67/0xd0 [ 31.425755][ T776] genl_family_rcv_msg+0x3a4/0x640 [ 31.425759][ T776] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 31.425761][ T776] ? rcu_read_lock_any_held+0x3c/0x90 [ 31.425763][ T776] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 31.425766][ T776] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 31.425769][ T776] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 31.425772][ T776] ? __lock_acquire+0x518/0xc20 [ 31.425778][ T776] genl_rcv_msg+0xbb/0x160 [ 31.425789][ T776] netlink_rcv_skb+0x14e/0x3a0 [ 31.425791][ T776] ? genl_family_rcv_msg+0x640/0x640 [ 31.425795][ T776] ? netlink_ack+0xcf0/0xcf0 [ 31.425802][ T776] ? netlink_deliver_tap+0xc5/0x330 [ 31.425804][ T776] ? netlink_deliver_tap+0x13c/0x330 [ 31.425809][ T776] genl_rcv+0x28/0x40 [ 31.425811][ T776] netlink_unicast+0x486/0x750 [ 31.425815][ T776] ? netlink_attachskb+0x810/0x810 [ 31.425818][ T776] ? __lock_acquire+0x518/0xc20 [ 31.425823][ T776] netlink_sendmsg+0x735/0xc60 [ 31.425827][ T776] ? netlink_unicast+0x750/0x750 [ 31.425831][ T776] ? __might_fault+0x97/0x140 [ 31.425837][ T776] ____sys_sendmsg+0x415/0x880 [ 31.425841][ T776] ? copy_msghdr_from_user+0x279/0x420 [ 31.425843][ T776] ? get_timestamp.constprop.0+0x390/0x390 [ 31.425845][ T776] ? move_addr_to_kernel+0x40/0x40 [ 31.425853][ T776] ___sys_sendmsg+0x14e/0x1d0 [ 31.425856][ T776] ? copy_msghdr_from_user+0x420/0x420 [ 31.425858][ T776] ? kfree+0x22/0x590 [ 31.425874][ T776] __sys_sendmsg+0x12c/0x1d0 [ 31.425877][ T776] ? __sys_sendmsg_sock+0x20/0x20 [ 31.425883][ T776] ? rcu_is_watching+0x16/0xd0 [ 31.425886][ T776] ? rcu_is_watching+0x16/0xd0 [ 31.425890][ T776] do_syscall_64+0xff/0x530 [ 31.425892][ T776] ? exc_page_fault+0xee/0x100 [ 31.425894][ T776] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 31.425897][ T776] RIP: 0033:0x7f885304054e [ 31.425899][ T776] 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 [ 31.425901][ T776] RSP: 002b:00007ffcf4de1db0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 31.425903][ T776] RAX: ffffffffffffffda RBX: 000000001b531130 RCX: 00007f885304054e [ 31.425905][ T776] RDX: 0000000000000000 RSI: 00007ffcf4de1e50 RDI: 0000000000000005 [ 31.425906][ T776] RBP: 00007ffcf4de1dc0 R08: 0000000000000000 R09: 0000000000000000 [ 31.425907][ T776] R10: 0000000000000000 R11: 0000000000000202 R12: 000000001b531200 [ 31.425908][ T776] R13: 00007ffcf4de1e50 R14: 000000001b532260 R15: 000000000040bda8 [ 31.425915][ T776] [ 31.566429][ T780] tun1: deleting peer with id 10, reason 1 [ 34.483644][ T828] tun0: deleting peer with id 2, reason 1 [ 34.483664][ T828] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 34.483666][ T828] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 828, name: ovpn-cli [ 34.483668][ T828] preempt_count: 202, expected: 0 [ 34.483669][ T828] RCU nest depth: 0, expected: 0 [ 34.483670][ T828] locks held by ovpn-cli/828: 6, last CPU#2: [ 34.483671][ T828] #0: ffffffff85b44b68 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 34.483684][ T828] #1: ff11000007701e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 34.483693][ T828] #2: ffffffff85379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 34.483700][ T828] #3: ffffffff85379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 34.483704][ T828] #4: ffffffff85299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 34.483708][ T828] #5: ffffffff85299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 34.483712][ T828] irq event stamp: 29551 [ 34.483712][ T828] hardirqs last enabled at (29550): [] __down_trylock_console_sem+0x86/0xa0 [ 34.483715][ T828] hardirqs last disabled at (29551): [] console_emit_next_record+0x3d4/0x4c0 [ 34.483717][ T828] softirqs last enabled at (29518): [] __alloc_skb+0x4c2/0x5f0 [ 34.483721][ T828] softirqs last disabled at (29546): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 34.483725][ T828] Preemption disabled at: [ 34.483726][ T828] [<0000000000000000>] 0x0 [ 34.483733][ T828] CPU: 2 UID: 0 PID: 828 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 34.483736][ T828] Tainted: [W]=WARN [ 34.483737][ T828] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 34.483739][ T828] Call Trace: [ 34.483740][ T828] [ 34.483742][ T828] dump_stack_lvl+0x6f/0xa0 [ 34.483748][ T828] __might_resched.cold+0x1fe/0x2c1 [ 34.483753][ T828] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 34.483758][ T828] ? __kmalloc_noprof+0xdb/0x760 [ 34.483763][ T828] __kmalloc_noprof+0x443/0x760 [ 34.483765][ T828] ? alloc_buf.isra.0+0x4b/0x260 [ 34.483771][ T828] ? do_raw_spin_unlock+0x59/0x250 [ 34.483774][ T828] alloc_buf.isra.0+0x4b/0x260 [ 34.483778][ T828] put_chars+0x1e1/0x2f0 [ 34.483781][ T828] ? __send_to_port+0x420/0x420 [ 34.483784][ T828] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 34.483788][ T828] ? rcu_read_lock_any_held+0x3c/0x90 [ 34.483790][ T828] ? validate_chain+0x38b/0xc20 [ 34.483795][ T828] hvc_console_print+0x292/0x780 [ 34.483804][ T828] ? mark_usage+0x61/0x170 [ 34.483806][ T828] ? __lock_acquire+0x518/0xc20 [ 34.483808][ T828] ? __lock_acquire+0x518/0xc20 [ 34.483812][ T828] ? hvc_write+0x3a0/0x3a0 [ 34.483814][ T828] ? lock_acquire.part.0+0xd4/0x280 [ 34.483818][ T828] ? lock_acquire+0x13c/0x160 [ 34.483823][ T828] console_emit_next_record+0x22f/0x4c0 [ 34.483827][ T828] ? devkmsg_read+0x4b0/0x4b0 [ 34.483829][ T828] ? console_flush_one_record+0x106/0x710 [ 34.483832][ T828] ? rcu_is_watching+0x16/0xd0 [ 34.483835][ T828] ? lock_acquire+0x13c/0x160 [ 34.483839][ T828] console_flush_one_record+0x46f/0x710 [ 34.483843][ T828] ? console_emit_next_record+0x4c0/0x4c0 [ 34.483845][ T828] ? __lock_acquire+0x518/0xc20 [ 34.483851][ T828] console_unlock+0xee/0x1f0 [ 34.483854][ T828] ? console_flush_one_record+0x710/0x710 [ 34.483856][ T828] ? rcu_is_watching+0x16/0xd0 [ 34.483858][ T828] ? lock_acquire+0x60/0x160 [ 34.483862][ T828] ? __down_trylock_console_sem+0x5e/0xa0 [ 34.483864][ T828] ? vprintk_emit+0x320/0x3e0 [ 34.483867][ T828] vprintk_emit+0x37c/0x3e0 [ 34.483871][ T828] ? wake_up_klogd_work_func+0x90/0x90 [ 34.483873][ T828] ? kernel_text_address+0x149/0x170 [ 34.483877][ T828] ? __kernel_text_address+0x12/0x30 [ 34.483878][ T828] ? write_profile+0xf0/0xf0 [ 34.483880][ T828] ? unwind_get_return_address+0x67/0xd0 [ 34.483886][ T828] _printk+0xc7/0x100 [ 34.483890][ T828] ? snapshot_read.cold+0x21/0x21 [ 34.483894][ T828] ? mark_usage+0x61/0x170 [ 34.483896][ T828] ? netdev_name+0x43/0x60 [ 34.483899][ T828] ? __netdev_printk+0x17f/0x1d0 [ 34.483903][ T828] netdev_info+0xe2/0x116 [ 34.483905][ T828] ? netdev_notice+0x120/0x120 [ 34.483906][ T828] ? find_held_lock+0x2b/0x80 [ 34.483909][ T828] ? mark_usage+0x61/0x170 [ 34.483912][ T828] ? __lock_acquire+0x518/0xc20 [ 34.483918][ T828] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 34.483924][ T828] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 34.483928][ T828] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 34.483934][ T828] ovpn_peer_remove+0x394/0x640 [ovpn] [ 34.483938][ T828] ? do_raw_spin_lock+0x131/0x280 [ 34.483940][ T828] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 34.483947][ T828] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 34.483951][ T828] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 34.483958][ T828] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 34.483964][ T828] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 34.483969][ T828] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 34.483974][ T828] ? ref_tracker_alloc+0x28d/0x430 [ 34.483986][ T828] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 34.483990][ T828] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 34.483996][ T828] genl_family_rcv_msg_doit+0x206/0x300 [ 34.484000][ T828] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 34.484002][ T828] ? __lock_release.isra.0+0x69/0x1a0 [ 34.484008][ T828] ? rcu_is_watching+0x16/0xd0 [ 34.484011][ T828] ? cap_capable+0x1d7/0x3d0 [ 34.484015][ T828] ? write_profile+0xf0/0xf0 [ 34.484016][ T828] ? unwind_get_return_address+0x67/0xd0 [ 34.484020][ T828] genl_family_rcv_msg+0x3a4/0x640 [ 34.484024][ T828] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 34.484026][ T828] ? rcu_read_lock_any_held+0x3c/0x90 [ 34.484028][ T828] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 34.484031][ T828] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 34.484034][ T828] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 34.484037][ T828] ? __lock_acquire+0x518/0xc20 [ 34.484043][ T828] genl_rcv_msg+0xbb/0x160 [ 34.484047][ T828] netlink_rcv_skb+0x14e/0x3a0 [ 34.484049][ T828] ? genl_family_rcv_msg+0x640/0x640 [ 34.484052][ T828] ? netlink_ack+0xcf0/0xcf0 [ 34.484060][ T828] ? netlink_deliver_tap+0xc5/0x330 [ 34.484062][ T828] ? netlink_deliver_tap+0x13c/0x330 [ 34.484066][ T828] genl_rcv+0x28/0x40 [ 34.484069][ T828] netlink_unicast+0x486/0x750 [ 34.484073][ T828] ? netlink_attachskb+0x810/0x810 [ 34.484076][ T828] ? __lock_acquire+0x518/0xc20 [ 34.484080][ T828] netlink_sendmsg+0x735/0xc60 [ 34.484085][ T828] ? netlink_unicast+0x750/0x750 [ 34.484089][ T828] ? __might_fault+0x97/0x140 [ 34.484095][ T828] ____sys_sendmsg+0x415/0x880 [ 34.484099][ T828] ? copy_msghdr_from_user+0x279/0x420 [ 34.484101][ T828] ? get_timestamp.constprop.0+0x390/0x390 [ 34.484103][ T828] ? move_addr_to_kernel+0x40/0x40 [ 34.484111][ T828] ___sys_sendmsg+0x14e/0x1d0 [ 34.484114][ T828] ? copy_msghdr_from_user+0x420/0x420 [ 34.484116][ T828] ? kfree+0x22/0x590 [ 34.484132][ T828] __sys_sendmsg+0x12c/0x1d0 [ 34.484136][ T828] ? __sys_sendmsg_sock+0x20/0x20 [ 34.484141][ T828] ? rcu_is_watching+0x16/0xd0 [ 34.484144][ T828] ? rcu_is_watching+0x16/0xd0 [ 34.484148][ T828] do_syscall_64+0xff/0x530 [ 34.484151][ T828] ? exc_page_fault+0xee/0x100 [ 34.484154][ T828] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 34.484156][ T828] RIP: 0033:0x7fcbc73d554e [ 34.484159][ T828] 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 [ 34.484161][ T828] RSP: 002b:00007ffeafa067b0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 34.484164][ T828] RAX: ffffffffffffffda RBX: 000000002187f130 RCX: 00007fcbc73d554e [ 34.484165][ T828] RDX: 0000000000000000 RSI: 00007ffeafa06850 RDI: 0000000000000005 [ 34.484166][ T828] RBP: 00007ffeafa067c0 R08: 0000000000000000 R09: 0000000000000000 [ 34.484167][ T828] R10: 0000000000000000 R11: 0000000000000202 R12: 000000002187f200 [ 34.484168][ T828] R13: 00007ffeafa06850 R14: 0000000021880260 R15: 000000000040bda8 [ 34.484175][ T828] [ 34.622842][ T832] tun2: deleting peer with id 11, reason 1 [ 40.670435][ T57] tun0: deleting peer with id 4, reason 2 [ 40.670503][ T57] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 40.670505][ T57] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 57, name: kworker/3:1 [ 40.670507][ T57] preempt_count: 202, expected: 0 [ 40.670508][ T57] RCU nest depth: 0, expected: 0 [ 40.670509][ T57] locks held by kworker/3:1/57: 7, last CPU#3: [ 40.670511][ T57] #0: ff1100000d132140 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 40.670523][ T57] #1: ffa00000003dfd10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 40.670527][ T57] #2: ff11000007701e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 40.670535][ T57] #3: ffffffff85379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 40.670541][ T57] #4: ffffffff85379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 40.670544][ T57] #5: ffffffff85299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 40.670548][ T57] #6: ffffffff85299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 40.670552][ T57] irq event stamp: 21559 [ 40.670553][ T57] hardirqs last enabled at (21558): [] __down_trylock_console_sem+0x86/0xa0 [ 40.670556][ T57] hardirqs last disabled at (21559): [] console_emit_next_record+0x3d4/0x4c0 [ 40.670558][ T57] softirqs last enabled at (21268): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 40.670562][ T57] softirqs last disabled at (21552): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 40.670565][ T57] Preemption disabled at: [ 40.670566][ T57] [<0000000000000000>] 0x0 [ 40.670573][ T57] CPU: 3 UID: 0 PID: 57 Comm: kworker/3:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 40.670576][ T57] Tainted: [W]=WARN [ 40.670577][ T57] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 40.670579][ T57] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 40.670583][ T57] Call Trace: [ 40.670585][ T57] [ 40.670587][ T57] dump_stack_lvl+0x6f/0xa0 [ 40.670594][ T57] __might_resched.cold+0x1fe/0x2c1 [ 40.670598][ T57] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 40.670603][ T57] ? __kmalloc_noprof+0xdb/0x760 [ 40.670608][ T57] __kmalloc_noprof+0x443/0x760 [ 40.670610][ T57] ? alloc_buf.isra.0+0x4b/0x260 [ 40.670617][ T57] ? do_raw_spin_unlock+0x59/0x250 [ 40.670619][ T57] alloc_buf.isra.0+0x4b/0x260 [ 40.670623][ T57] put_chars+0x1e1/0x2f0 [ 40.670626][ T57] ? __send_to_port+0x420/0x420 [ 40.670631][ T57] ? validate_chain+0x34a/0xc20 [ 40.670635][ T57] hvc_console_print+0x292/0x780 [ 40.670638][ T57] ? mark_usage+0x61/0x170 [ 40.670640][ T57] ? __lock_acquire+0x518/0xc20 [ 40.670642][ T57] ? __lock_acquire+0x518/0xc20 [ 40.670646][ T57] ? hvc_write+0x3a0/0x3a0 [ 40.670648][ T57] ? console_emit_next_record+0x1df/0x4c0 [ 40.670652][ T57] ? rcu_is_watching+0x16/0xd0 [ 40.670656][ T57] ? lock_acquire+0x13c/0x160 [ 40.670660][ T57] console_emit_next_record+0x22f/0x4c0 [ 40.670664][ T57] ? devkmsg_read+0x4b0/0x4b0 [ 40.670666][ T57] ? console_flush_one_record+0x106/0x710 [ 40.670670][ T57] ? rcu_is_watching+0x16/0xd0 [ 40.670672][ T57] ? lock_acquire+0x13c/0x160 [ 40.670676][ T57] console_flush_one_record+0x46f/0x710 [ 40.670680][ T57] ? console_emit_next_record+0x4c0/0x4c0 [ 40.670682][ T57] ? __lock_acquire+0x518/0xc20 [ 40.670688][ T57] console_unlock+0xee/0x1f0 [ 40.670691][ T57] ? console_flush_one_record+0x710/0x710 [ 40.670693][ T57] ? rcu_is_watching+0x16/0xd0 [ 40.670695][ T57] ? lock_acquire+0x60/0x160 [ 40.670699][ T57] ? __down_trylock_console_sem+0x5e/0xa0 [ 40.670701][ T57] ? vprintk_emit+0x320/0x3e0 [ 40.670704][ T57] vprintk_emit+0x37c/0x3e0 [ 40.670708][ T57] ? wake_up_klogd_work_func+0x90/0x90 [ 40.670712][ T57] ? __lock_release.isra.0+0x69/0x1a0 [ 40.670714][ T57] ? rcu_is_watching+0x16/0xd0 [ 40.670718][ T57] _printk+0xc7/0x100 [ 40.670722][ T57] ? snapshot_read.cold+0x21/0x21 [ 40.670725][ T57] ? __add_to_free_list+0x81/0x5c0 [ 40.670728][ T57] ? __mod_zone_page_state+0xe1/0x190 [ 40.670731][ T57] ? netdev_name+0x43/0x60 [ 40.670734][ T57] ? __netdev_printk+0x17f/0x1d0 [ 40.670738][ T57] netdev_info+0xe2/0x116 [ 40.670740][ T57] ? netdev_notice+0x120/0x120 [ 40.670742][ T57] ? rcu_read_lock_any_held+0x3c/0x90 [ 40.670748][ T57] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 40.670751][ T57] ? rcu_read_lock_any_held+0x3c/0x90 [ 40.670755][ T57] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 40.670760][ T57] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 40.670768][ T57] ovpn_peer_remove+0x394/0x640 [ovpn] [ 40.670772][ T57] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 40.670775][ T57] ? __rwlock_init+0x150/0x150 [ 40.670777][ T57] ? mark_held_locks+0x40/0x70 [ 40.670782][ T57] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 40.670786][ T57] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 40.670789][ T57] ? __rwlock_init+0x150/0x150 [ 40.670795][ T57] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 40.670799][ T57] ? process_one_work+0xdfc/0x1560 [ 40.670802][ T57] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 40.670805][ T57] ? rcu_is_watching+0x16/0xd0 [ 40.670808][ T57] ? lock_acquire+0x13c/0x160 [ 40.670809][ T57] ? rcu_is_watching+0x16/0xd0 [ 40.670814][ T57] process_one_work+0xe3e/0x1560 [ 40.670820][ T57] ? __queue_delayed_work+0x470/0x470 [ 40.670823][ T57] ? lock_acquire.part.0+0xd4/0x280 [ 40.670838][ T57] worker_thread+0x4f1/0xd60 [ 40.670843][ T57] ? rescuer_thread+0x1340/0x1340 [ 40.670845][ T57] ? __kthread_parkme+0xbd/0x210 [ 40.670848][ T57] ? rescuer_thread+0x1340/0x1340 [ 40.670851][ T57] ? rescuer_thread+0x1340/0x1340 [ 40.670853][ T57] kthread+0x367/0x460 [ 40.670855][ T57] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 40.670859][ T57] ? kthread_affine_preferred+0x4c0/0x4c0 [ 40.670862][ T57] ret_from_fork+0x474/0x6b0 [ 40.670866][ T57] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 40.670869][ T57] ? __switch_to+0x5a3/0xe00 [ 40.670872][ T57] ? kthread_affine_preferred+0x4c0/0x4c0 [ 40.670875][ T57] ret_from_fork_asm+0x11/0x20 [ 40.670884][ T57] [ 40.703230][ T57] tun0: deleting peer with id 3, reason 2 [ 40.703599][ T57] tun0: deleting peer with id 5, reason 2 [ 40.703885][ T57] tun0: deleting peer with id 6, reason 2 [ 45.854489][ T66] tun3: deleting peer with id 12, reason 2 [ 45.854508][ T66] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 45.854510][ T66] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 66, name: kworker/2:2 [ 45.854511][ T66] preempt_count: 202, expected: 0 [ 45.854512][ T66] RCU nest depth: 0, expected: 0 [ 45.854513][ T66] locks held by kworker/2:2/66: 7, last CPU#2: [ 45.854516][ T66] #0: ff1100000d132140 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 45.854528][ T66] #1: ffa0000000477d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 45.854532][ T66] #2: ff1100000a6dce68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 45.854540][ T66] #3: ffffffff85379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 45.854545][ T66] #4: ffffffff85379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 45.854549][ T66] #5: ffffffff85299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 45.854552][ T66] #6: ffffffff85299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 45.854556][ T66] irq event stamp: 25265 [ 45.854557][ T66] hardirqs last enabled at (25264): [] __down_trylock_console_sem+0x86/0xa0 [ 45.854560][ T66] hardirqs last disabled at (25265): [] console_emit_next_record+0x3d4/0x4c0 [ 45.854562][ T66] softirqs last enabled at (24874): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 45.854565][ T66] softirqs last disabled at (25254): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 45.854569][ T66] Preemption disabled at: [ 45.854570][ T66] [<0000000000000000>] 0x0 [ 45.854576][ T66] CPU: 2 UID: 0 PID: 66 Comm: kworker/2:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 45.854580][ T66] Tainted: [W]=WARN [ 45.854581][ T66] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 45.854583][ T66] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 45.854587][ T66] Call Trace: [ 45.854589][ T66] [ 45.854591][ T66] dump_stack_lvl+0x6f/0xa0 [ 45.854597][ T66] __might_resched.cold+0x1fe/0x2c1 [ 45.854603][ T66] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 45.854607][ T66] ? __kmalloc_noprof+0xdb/0x760 [ 45.854613][ T66] __kmalloc_noprof+0x443/0x760 [ 45.854615][ T66] ? alloc_buf.isra.0+0x4b/0x260 [ 45.854622][ T66] ? do_raw_spin_unlock+0x59/0x250 [ 45.854625][ T66] alloc_buf.isra.0+0x4b/0x260 [ 45.854628][ T66] put_chars+0x1e1/0x2f0 [ 45.854631][ T66] ? prb_final_commit+0x50/0x50 [ 45.854633][ T66] ? __send_to_port+0x420/0x420 [ 45.854636][ T66] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 45.854641][ T66] ? rcu_read_lock_any_held+0x3c/0x90 [ 45.854643][ T66] ? validate_chain+0x38b/0xc20 [ 45.854648][ T66] hvc_console_print+0x292/0x780 [ 45.854651][ T66] ? mark_usage+0x61/0x170 [ 45.854653][ T66] ? __lock_acquire+0x518/0xc20 [ 45.854655][ T66] ? __lock_acquire+0x518/0xc20 [ 45.854660][ T66] ? hvc_write+0x3a0/0x3a0 [ 45.854662][ T66] ? console_emit_next_record+0x1df/0x4c0 [ 45.854666][ T66] ? rcu_is_watching+0x16/0xd0 [ 45.854668][ T66] ? lock_acquire+0x13c/0x160 [ 45.854673][ T66] console_emit_next_record+0x22f/0x4c0 [ 45.854677][ T66] ? devkmsg_read+0x4b0/0x4b0 [ 45.854679][ T66] ? console_flush_one_record+0x106/0x710 [ 45.854682][ T66] ? rcu_is_watching+0x16/0xd0 [ 45.854685][ T66] ? lock_acquire+0x13c/0x160 [ 45.854689][ T66] console_flush_one_record+0x46f/0x710 [ 45.854694][ T66] ? console_emit_next_record+0x4c0/0x4c0 [ 45.854696][ T66] ? __lock_acquire+0x518/0xc20 [ 45.854702][ T66] console_unlock+0xee/0x1f0 [ 45.854705][ T66] ? console_flush_one_record+0x710/0x710 [ 45.854707][ T66] ? rcu_is_watching+0x16/0xd0 [ 45.854710][ T66] ? lock_acquire+0x60/0x160 [ 45.854714][ T66] ? __down_trylock_console_sem+0x5e/0xa0 [ 45.854716][ T66] ? vprintk_emit+0x320/0x3e0 [ 45.854719][ T66] vprintk_emit+0x37c/0x3e0 [ 45.854723][ T66] ? wake_up_klogd_work_func+0x90/0x90 [ 45.854727][ T66] ? __lock_release.isra.0+0x69/0x1a0 [ 45.854732][ T66] _printk+0xc7/0x100 [ 45.854736][ T66] ? snapshot_read.cold+0x21/0x21 [ 45.854738][ T66] ? try_to_wake_up+0x153/0x1130 [ 45.854741][ T66] ? select_fallback_rq+0x510/0x510 [ 45.854744][ T66] ? netdev_name+0x43/0x60 [ 45.854747][ T66] ? __netdev_printk+0x17f/0x1d0 [ 45.854751][ T66] netdev_info+0xe2/0x116 [ 45.854754][ T66] ? netdev_notice+0x120/0x120 [ 45.854759][ T66] ? __queue_work+0x3ab/0xd30 [ 45.854766][ T66] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 45.854771][ T66] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 45.854775][ T66] ? mark_held_locks+0x40/0x70 [ 45.854778][ T66] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 45.854780][ T66] ? lockdep_hardirqs_on+0x91/0x130 [ 45.854785][ T66] ovpn_peer_remove+0x394/0x640 [ovpn] [ 45.854789][ T66] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 45.854792][ T66] ? __rwlock_init+0x150/0x150 [ 45.854795][ T66] ? mark_held_locks+0x40/0x70 [ 45.854799][ T66] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 45.854804][ T66] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 45.854807][ T66] ? __rwlock_init+0x150/0x150 [ 45.854813][ T66] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 45.854818][ T66] ? process_one_work+0xdfc/0x1560 [ 45.854821][ T66] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 45.854824][ T66] ? rcu_is_watching+0x16/0xd0 [ 45.854826][ T66] ? lock_acquire+0x13c/0x160 [ 45.854828][ T66] ? rcu_is_watching+0x16/0xd0 [ 45.854832][ T66] ? process_one_work+0xdfc/0x1560 [ 45.854834][ T66] process_one_work+0xe3e/0x1560 [ 45.854841][ T66] ? __queue_delayed_work+0x470/0x470 [ 45.854844][ T66] ? lock_acquire.part.0+0xd4/0x280 [ 45.854853][ T66] worker_thread+0x4f1/0xd60 [ 45.854858][ T66] ? rescuer_thread+0x1340/0x1340 [ 45.854860][ T66] ? __kthread_parkme+0xbd/0x210 [ 45.854869][ T66] ? rescuer_thread+0x1340/0x1340 [ 45.854872][ T66] ? rescuer_thread+0x1340/0x1340 [ 45.854874][ T66] kthread+0x367/0x460 [ 45.854876][ T66] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 45.854880][ T66] ? kthread_affine_preferred+0x4c0/0x4c0 [ 45.854883][ T66] ret_from_fork+0x474/0x6b0 [ 45.854887][ T66] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 45.854891][ T66] ? __switch_to+0x5a3/0xe00 [ 45.854894][ T66] ? kthread_affine_preferred+0x4c0/0x4c0 [ 45.854897][ T66] ret_from_fork_asm+0x11/0x20 [ 45.854907][ T66] [ 45.917280][ T66] tun4: deleting peer with id 13, reason 2 [ 45.982276][ T66] tun5: deleting peer with id 14, reason 2 [ 46.109278][ T10] tun6: deleting peer with id 15, reason 2