[ 17.385634][ T306] ip (306) used greatest stack depth: 24520 bytes left [ 17.385655][ T306] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.385657][ T306] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 306, name: ip [ 17.385659][ T306] preempt_count: 2, expected: 0 [ 17.385660][ T306] RCU nest depth: 0, expected: 0 [ 17.385661][ T306] locks held by ip/306: 5, last CPU#3: [ 17.385663][ T306] #0: ffffffffa78127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 17.385675][ T306] #1: ffffffffa7979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.385681][ T306] #2: ffffffffa7979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.385685][ T306] #3: ffffffffa7899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.385689][ T306] #4: ffffffffa7899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.385694][ T306] irq event stamp: 27862 [ 17.385695][ T306] hardirqs last enabled at (27861): [] __down_trylock_console_sem+0x86/0xa0 [ 17.385697][ T306] hardirqs last disabled at (27862): [] console_emit_next_record+0x3d4/0x4c0 [ 17.385699][ T306] softirqs last enabled at (21492): [] handle_softirqs+0x67c/0x900 [ 17.385702][ T306] softirqs last disabled at (21487): [] __irq_exit_rcu+0x145/0x1c0 [ 17.385705][ T306] Preemption disabled at: [ 17.385706][ T306] [<0000000000000000>] 0x0 [ 17.385715][ T306] CPU: 3 UID: 0 PID: 306 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.385719][ T306] Tainted: [W]=WARN [ 17.385720][ T306] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.385722][ T306] Call Trace: [ 17.385724][ T306] [ 17.385725][ T306] dump_stack_lvl+0x6f/0xa0 [ 17.385732][ T306] __might_resched.cold+0x1fe/0x2c1 [ 17.385736][ T306] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.385740][ T306] ? __kmalloc_noprof+0xdb/0x760 [ 17.385745][ T306] __kmalloc_noprof+0x443/0x760 [ 17.385748][ T306] ? alloc_buf.isra.0+0x4b/0x260 [ 17.385753][ T306] ? do_raw_spin_unlock+0x59/0x250 [ 17.385756][ T306] alloc_buf.isra.0+0x4b/0x260 [ 17.385760][ T306] put_chars+0x1e1/0x2f0 [ 17.385763][ T306] ? __send_to_port+0x420/0x420 [ 17.385764][ T306] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 17.385769][ T306] ? validate_chain+0x38b/0xc20 [ 17.385774][ T306] hvc_console_print+0x292/0x780 [ 17.385781][ T306] ? hvc_write+0x3a0/0x3a0 [ 17.385784][ T306] ? rcu_is_watching+0x16/0xd0 [ 17.385786][ T306] ? lock_acquire+0x13c/0x160 [ 17.385790][ T306] console_emit_next_record+0x22f/0x4c0 [ 17.385794][ T306] ? devkmsg_read+0x4b0/0x4b0 [ 17.385796][ T306] ? console_flush_one_record+0x106/0x710 [ 17.385799][ T306] ? rcu_is_watching+0x16/0xd0 [ 17.385801][ T306] ? lock_acquire+0x13c/0x160 [ 17.385805][ T306] console_flush_one_record+0x46f/0x710 [ 17.385810][ T306] ? console_emit_next_record+0x4c0/0x4c0 [ 17.385811][ T306] ? __lock_acquire+0x518/0xc20 [ 17.385816][ T306] console_unlock+0xee/0x1f0 [ 17.385819][ T306] ? console_flush_one_record+0x710/0x710 [ 17.385821][ T306] ? rcu_is_watching+0x16/0xd0 [ 17.385823][ T306] ? lock_acquire+0x60/0x160 [ 17.385827][ T306] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.385829][ T306] ? vprintk_emit+0x320/0x3e0 [ 17.385832][ T306] vprintk_emit+0x37c/0x3e0 [ 17.385836][ T306] ? wake_up_klogd_work_func+0x90/0x90 [ 17.385840][ T306] ? __lock_acquire+0x518/0xc20 [ 17.385843][ T306] _printk+0xc7/0x100 [ 17.385847][ T306] ? snapshot_read.cold+0x21/0x21 [ 17.385850][ T306] ? do_raw_spin_lock+0x131/0x280 [ 17.385852][ T306] ? __rwlock_init+0x150/0x150 [ 17.385856][ T306] ? do_raw_spin_lock+0x131/0x280 [ 17.385859][ T306] do_exit.cold+0x82/0x9c [ 17.385862][ T306] ? exit_notify+0x890/0x890 [ 17.385864][ T306] ? __lock_release.isra.0+0x69/0x1a0 [ 17.385866][ T306] ? rcu_is_watching+0x16/0xd0 [ 17.385871][ T306] do_group_exit+0xb8/0x370 [ 17.385874][ T306] __x64_sys_exit_group+0x3c/0x50 [ 17.385875][ T306] x64_sys_call+0x1567/0x1570 [ 17.385879][ T306] do_syscall_64+0xff/0x530 [ 17.385884][ T306] ? exc_page_fault+0xee/0x100 [ 17.385889][ T306] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.385891][ T306] RIP: 0033:0x7f65bb71f1b8 [ 17.385894][ T306] Code: Unable to access opcode bytes at 0x7f65bb71f18e. [ 17.385895][ T306] RSP: 002b:00007fff38c78a08 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 17.385898][ T306] RAX: ffffffffffffffda RBX: 00007f65bb84ff88 RCX: 00007f65bb71f1b8 [ 17.385899][ T306] RDX: 00007f65bb469fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 17.385900][ T306] RBP: 00007fff38c78a60 R08: 0000000000000000 R09: 0000000000008010 [ 17.385901][ T306] R10: 00007fff38c78820 R11: 0000000000000246 R12: 0000000000000001 [ 17.385902][ T306] R13: 0000000000000000 R14: 00007f65bb84e680 R15: 00007f65bb84ffa0 [ 17.385908][ T306] [ 17.743140][ T315] ip (315) used greatest stack depth: 23728 bytes left [ 32.616651][ T682] iperf3 (682) used greatest stack depth: 22832 bytes left [ 32.616671][ T682] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 32.616673][ T682] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 682, name: iperf3 [ 32.616675][ T682] preempt_count: 2, expected: 0 [ 32.616676][ T682] RCU nest depth: 0, expected: 0 [ 32.616676][ T682] locks held by iperf3/682: 5, last CPU#3: [ 32.616678][ T682] #0: ffffffffa78127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 32.616690][ T682] #1: ffffffffa7979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 32.616696][ T682] #2: ffffffffa7979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 32.616700][ T682] #3: ffffffffa7899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 32.616703][ T682] #4: ffffffffa7899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 32.616707][ T682] irq event stamp: 4503892 [ 32.616708][ T682] hardirqs last enabled at (4503891): [] __down_trylock_console_sem+0x86/0xa0 [ 32.616711][ T682] hardirqs last disabled at (4503892): [] console_emit_next_record+0x3d4/0x4c0 [ 32.616713][ T682] softirqs last enabled at (4503480): [] handle_softirqs+0x67c/0x900 [ 32.616715][ T682] softirqs last disabled at (4502579): [] __irq_exit_rcu+0x145/0x1c0 [ 32.616718][ T682] Preemption disabled at: [ 32.616719][ T682] [<0000000000000000>] 0x0 [ 32.616726][ T682] CPU: 3 UID: 0 PID: 682 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 32.616729][ T682] Tainted: [W]=WARN [ 32.616730][ T682] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 32.616732][ T682] Call Trace: [ 32.616733][ T682] [ 32.616735][ T682] dump_stack_lvl+0x6f/0xa0 [ 32.616741][ T682] __might_resched.cold+0x1fe/0x2c1 [ 32.616745][ T682] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 32.616750][ T682] ? __kmalloc_noprof+0xdb/0x760 [ 32.616754][ T682] __kmalloc_noprof+0x443/0x760 [ 32.616757][ T682] ? alloc_buf.isra.0+0x4b/0x260 [ 32.616763][ T682] ? do_raw_spin_unlock+0x59/0x250 [ 32.616765][ T682] alloc_buf.isra.0+0x4b/0x260 [ 32.616769][ T682] put_chars+0x1e1/0x2f0 [ 32.616771][ T682] ? prb_final_commit+0x50/0x50 [ 32.616773][ T682] ? __send_to_port+0x420/0x420 [ 32.616776][ T682] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 32.616781][ T682] ? rcu_read_lock_any_held+0x3c/0x90 [ 32.616783][ T682] ? validate_chain+0x38b/0xc20 [ 32.616786][ T682] hvc_console_print+0x292/0x780 [ 32.616790][ T682] ? mark_usage+0x61/0x170 [ 32.616791][ T682] ? __lock_acquire+0x518/0xc20 [ 32.616793][ T682] ? __lock_acquire+0x518/0xc20 [ 32.616797][ T682] ? hvc_write+0x3a0/0x3a0 [ 32.616799][ T682] ? console_emit_next_record+0x1df/0x4c0 [ 32.616802][ T682] ? rcu_is_watching+0x16/0xd0 [ 32.616804][ T682] ? lock_acquire+0x13c/0x160 [ 32.616808][ T682] console_emit_next_record+0x22f/0x4c0 [ 32.616812][ T682] ? devkmsg_read+0x4b0/0x4b0 [ 32.616814][ T682] ? console_flush_one_record+0x106/0x710 [ 32.616817][ T682] ? rcu_is_watching+0x16/0xd0 [ 32.616819][ T682] ? lock_acquire+0x13c/0x160 [ 32.616823][ T682] console_flush_one_record+0x46f/0x710 [ 32.616827][ T682] ? console_emit_next_record+0x4c0/0x4c0 [ 32.616829][ T682] ? __lock_acquire+0x518/0xc20 [ 32.616834][ T682] console_unlock+0xee/0x1f0 [ 32.616837][ T682] ? console_flush_one_record+0x710/0x710 [ 32.616838][ T682] ? rcu_is_watching+0x16/0xd0 [ 32.616841][ T682] ? lock_acquire+0x60/0x160 [ 32.616844][ T682] ? __down_trylock_console_sem+0x5e/0xa0 [ 32.616846][ T682] ? vprintk_emit+0x320/0x3e0 [ 32.616849][ T682] vprintk_emit+0x37c/0x3e0 [ 32.616853][ T682] ? wake_up_klogd_work_func+0x90/0x90 [ 32.616856][ T682] ? __lock_acquire+0x518/0xc20 [ 32.616860][ T682] _printk+0xc7/0x100 [ 32.616863][ T682] ? snapshot_read.cold+0x21/0x21 [ 32.616866][ T682] ? do_raw_spin_lock+0x131/0x280 [ 32.616869][ T682] ? __rwlock_init+0x150/0x150 [ 32.616872][ T682] ? do_raw_spin_lock+0x131/0x280 [ 32.616875][ T682] do_exit.cold+0x82/0x9c [ 32.616879][ T682] ? exit_notify+0x890/0x890 [ 32.616884][ T682] __x64_sys_exit+0x42/0x50 [ 32.616886][ T682] x64_sys_call+0x156c/0x1570 [ 32.616888][ T682] do_syscall_64+0xff/0x530 [ 32.616892][ T682] ? exc_page_fault+0xee/0x100 [ 32.616895][ T682] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 32.616898][ T682] RIP: 0033:0x7f8ed2397c49 [ 32.616900][ T682] Code: Unable to access opcode bytes at 0x7f8ed2397c1f. [ 32.616901][ T682] RSP: 002b:00007f8ed1b56e60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 32.616904][ T682] RAX: ffffffffffffffda RBX: 00007f8ed1b576c0 RCX: 00007f8ed2397c49 [ 32.616905][ T682] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 32.616906][ T682] RBP: 00007f8ed1b56f70 R08: 0000000000000001 R09: 00007f8ed1b576c0 [ 32.616907][ T682] R10: 0000000000000008 R11: 0000000000000246 R12: 00007f8ed1357000 [ 32.616908][ T682] R13: 00007ffec6fa6910 R14: 0000000000000002 R15: 00007ffec6fa6a17 [ 32.616914][ T682] [ 34.664628][ T776] tun0: deleting peer with id 1, reason 1 [ 34.664805][ T776] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 34.664807][ T776] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 776, name: ovpn-cli [ 34.664808][ T776] preempt_count: 202, expected: 0 [ 34.664809][ T776] RCU nest depth: 0, expected: 0 [ 34.664810][ T776] locks held by ovpn-cli/776: 6, last CPU#1: [ 34.664813][ T776] #0: ffffffffa8144ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 34.664825][ T776] #1: ff1100000ccf4e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 34.664833][ T776] #2: ffffffffa7979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 34.664839][ T776] #3: ffffffffa7979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 34.664843][ T776] #4: ffffffffa7899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 34.664847][ T776] #5: ffffffffa7899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 34.664851][ T776] irq event stamp: 36663 [ 34.664852][ T776] hardirqs last enabled at (36662): [] __down_trylock_console_sem+0x86/0xa0 [ 34.664854][ T776] hardirqs last disabled at (36663): [] console_emit_next_record+0x3d4/0x4c0 [ 34.664856][ T776] softirqs last enabled at (36630): [] __alloc_skb+0x4c2/0x5f0 [ 34.664860][ T776] softirqs last disabled at (36658): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 34.664863][ T776] Preemption disabled at: [ 34.664864][ T776] [<0000000000000000>] 0x0 [ 34.664871][ T776] CPU: 1 UID: 0 PID: 776 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 34.664874][ T776] Tainted: [W]=WARN [ 34.664875][ T776] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 34.664877][ T776] Call Trace: [ 34.664879][ T776] [ 34.664880][ T776] dump_stack_lvl+0x6f/0xa0 [ 34.664886][ T776] __might_resched.cold+0x1fe/0x2c1 [ 34.664891][ T776] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 34.664895][ T776] ? __kmalloc_noprof+0xdb/0x760 [ 34.664900][ T776] __kmalloc_noprof+0x443/0x760 [ 34.664902][ T776] ? alloc_buf.isra.0+0x4b/0x260 [ 34.664908][ T776] ? do_raw_spin_unlock+0x59/0x250 [ 34.664911][ T776] alloc_buf.isra.0+0x4b/0x260 [ 34.664914][ T776] put_chars+0x1e1/0x2f0 [ 34.664917][ T776] ? __send_to_port+0x420/0x420 [ 34.664919][ T776] ? check_prev_add+0x316/0xe90 [ 34.664923][ T776] ? validate_chain+0x34a/0xc20 [ 34.664926][ T776] hvc_console_print+0x292/0x780 [ 34.664929][ T776] ? mark_usage+0x61/0x170 [ 34.664931][ T776] ? __lock_acquire+0x518/0xc20 [ 34.664932][ T776] ? __lock_acquire+0x518/0xc20 [ 34.664936][ T776] ? hvc_write+0x3a0/0x3a0 [ 34.664938][ T776] ? lock_acquire.part.0+0xd4/0x280 [ 34.664942][ T776] ? lock_acquire+0x13c/0x160 [ 34.664946][ T776] console_emit_next_record+0x22f/0x4c0 [ 34.664949][ T776] ? devkmsg_read+0x4b0/0x4b0 [ 34.664951][ T776] ? console_flush_one_record+0x106/0x710 [ 34.664954][ T776] ? rcu_is_watching+0x16/0xd0 [ 34.664958][ T776] ? lock_acquire+0x13c/0x160 [ 34.664962][ T776] console_flush_one_record+0x46f/0x710 [ 34.664966][ T776] ? console_emit_next_record+0x4c0/0x4c0 [ 34.664968][ T776] ? __lock_acquire+0x518/0xc20 [ 34.664973][ T776] console_unlock+0xee/0x1f0 [ 34.664976][ T776] ? console_flush_one_record+0x710/0x710 [ 34.664977][ T776] ? rcu_is_watching+0x16/0xd0 [ 34.664980][ T776] ? lock_acquire+0x60/0x160 [ 34.664983][ T776] ? __down_trylock_console_sem+0x5e/0xa0 [ 34.664985][ T776] ? vprintk_emit+0x320/0x3e0 [ 34.664988][ T776] vprintk_emit+0x37c/0x3e0 [ 34.664991][ T776] ? wake_up_klogd_work_func+0x90/0x90 [ 34.664993][ T776] ? kernel_text_address+0x149/0x170 [ 34.664996][ T776] ? __kernel_text_address+0x12/0x30 [ 34.664998][ T776] ? write_profile+0xf0/0xf0 [ 34.665000][ T776] ? unwind_get_return_address+0x67/0xd0 [ 34.665005][ T776] _printk+0xc7/0x100 [ 34.665009][ T776] ? snapshot_read.cold+0x21/0x21 [ 34.665013][ T776] ? mark_usage+0x61/0x170 [ 34.665014][ T776] ? netdev_name+0x43/0x60 [ 34.665017][ T776] ? __netdev_printk+0x17f/0x1d0 [ 34.665021][ T776] netdev_info+0xe2/0x116 [ 34.665023][ T776] ? netdev_notice+0x120/0x120 [ 34.665024][ T776] ? find_held_lock+0x2b/0x80 [ 34.665027][ T776] ? mark_usage+0x61/0x170 [ 34.665029][ T776] ? __lock_acquire+0x518/0xc20 [ 34.665035][ T776] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 34.665040][ T776] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 34.665043][ T776] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 34.665049][ T776] ovpn_peer_remove+0x394/0x640 [ovpn] [ 34.665052][ T776] ? do_raw_spin_lock+0x131/0x280 [ 34.665055][ T776] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 34.665061][ T776] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 34.665065][ T776] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 34.665071][ T776] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 34.665074][ T776] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 34.665078][ T776] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 34.665080][ T776] ? ref_tracker_alloc+0x28d/0x430 [ 34.665091][ T776] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 34.665095][ T776] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 34.665101][ T776] genl_family_rcv_msg_doit+0x206/0x300 [ 34.665104][ T776] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 34.665106][ T776] ? __lock_release.isra.0+0x69/0x1a0 [ 34.665112][ T776] ? rcu_is_watching+0x16/0xd0 [ 34.665114][ T776] ? cap_capable+0x1d7/0x3d0 [ 34.665118][ T776] ? write_profile+0xf0/0xf0 [ 34.665119][ T776] ? unwind_get_return_address+0x67/0xd0 [ 34.665123][ T776] genl_family_rcv_msg+0x3a4/0x640 [ 34.665126][ T776] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 34.665129][ T776] ? rcu_read_lock_any_held+0x3c/0x90 [ 34.665131][ T776] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 34.665133][ T776] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 34.665136][ T776] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 34.665139][ T776] ? __lock_acquire+0x518/0xc20 [ 34.665144][ T776] genl_rcv_msg+0xbb/0x160 [ 34.665148][ T776] netlink_rcv_skb+0x14e/0x3a0 [ 34.665150][ T776] ? genl_family_rcv_msg+0x640/0x640 [ 34.665153][ T776] ? netlink_ack+0xcf0/0xcf0 [ 34.665160][ T776] ? netlink_deliver_tap+0xc5/0x330 [ 34.665162][ T776] ? netlink_deliver_tap+0x13c/0x330 [ 34.665171][ T776] genl_rcv+0x28/0x40 [ 34.665173][ T776] netlink_unicast+0x486/0x750 [ 34.665177][ T776] ? netlink_attachskb+0x810/0x810 [ 34.665180][ T776] ? __lock_acquire+0x518/0xc20 [ 34.665184][ T776] netlink_sendmsg+0x735/0xc60 [ 34.665188][ T776] ? netlink_unicast+0x750/0x750 [ 34.665192][ T776] ? __might_fault+0x97/0x140 [ 34.665198][ T776] ____sys_sendmsg+0x415/0x880 [ 34.665201][ T776] ? copy_msghdr_from_user+0x279/0x420 [ 34.665203][ T776] ? get_timestamp.constprop.0+0x390/0x390 [ 34.665205][ T776] ? move_addr_to_kernel+0x40/0x40 [ 34.665212][ T776] ___sys_sendmsg+0x14e/0x1d0 [ 34.665215][ T776] ? copy_msghdr_from_user+0x420/0x420 [ 34.665217][ T776] ? kfree+0x22/0x590 [ 34.665232][ T776] __sys_sendmsg+0x12c/0x1d0 [ 34.665235][ T776] ? __sys_sendmsg_sock+0x20/0x20 [ 34.665240][ T776] ? rcu_is_watching+0x16/0xd0 [ 34.665243][ T776] ? rcu_is_watching+0x16/0xd0 [ 34.665246][ T776] do_syscall_64+0xff/0x530 [ 34.665250][ T776] ? exc_page_fault+0xee/0x100 [ 34.665252][ T776] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 34.665254][ T776] RIP: 0033:0x7f06f57a254e [ 34.665257][ 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 [ 34.665258][ T776] RSP: 002b:00007fff7930cd40 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 34.665261][ T776] RAX: ffffffffffffffda RBX: 0000000012a74130 RCX: 00007f06f57a254e [ 34.665263][ T776] RDX: 0000000000000000 RSI: 00007fff7930cde0 RDI: 0000000000000005 [ 34.665264][ T776] RBP: 00007fff7930cd50 R08: 0000000000000000 R09: 0000000000000000 [ 34.665264][ T776] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000012a74200 [ 34.665265][ T776] R13: 00007fff7930cde0 R14: 0000000012a75260 R15: 000000000040bda8 [ 34.665272][ T776] [ 34.853745][ T780] tun1: deleting peer with id 10, reason 1 [ 38.002931][ T828] tun0: deleting peer with id 2, reason 1 [ 38.002952][ T828] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 38.002954][ T828] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 828, name: ovpn-cli [ 38.002956][ T828] preempt_count: 202, expected: 0 [ 38.002957][ T828] RCU nest depth: 0, expected: 0 [ 38.002958][ T828] locks held by ovpn-cli/828: 6, last CPU#2: [ 38.002961][ T828] #0: ffffffffa8144ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 38.002974][ T828] #1: ff1100000ccf4e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 38.002982][ T828] #2: ffffffffa7979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 38.002989][ T828] #3: ffffffffa7979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 38.002993][ T828] #4: ffffffffa7899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 38.002997][ T828] #5: ffffffffa7899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 38.003001][ T828] irq event stamp: 27343 [ 38.003002][ T828] hardirqs last enabled at (27342): [] __down_trylock_console_sem+0x86/0xa0 [ 38.003004][ T828] hardirqs last disabled at (27343): [] console_emit_next_record+0x3d4/0x4c0 [ 38.003007][ T828] softirqs last enabled at (27310): [] __alloc_skb+0x4c2/0x5f0 [ 38.003012][ T828] softirqs last disabled at (27338): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 38.003017][ T828] Preemption disabled at: [ 38.003018][ T828] [<0000000000000000>] 0x0 [ 38.003026][ T828] CPU: 2 UID: 0 PID: 828 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 38.003031][ T828] Tainted: [W]=WARN [ 38.003032][ T828] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 38.003034][ T828] Call Trace: [ 38.003036][ T828] [ 38.003038][ T828] dump_stack_lvl+0x6f/0xa0 [ 38.003046][ T828] __might_resched.cold+0x1fe/0x2c1 [ 38.003052][ T828] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 38.003057][ T828] ? __kmalloc_noprof+0xdb/0x760 [ 38.003064][ T828] __kmalloc_noprof+0x443/0x760 [ 38.003067][ T828] ? alloc_buf.isra.0+0x4b/0x260 [ 38.003074][ T828] ? do_raw_spin_unlock+0x59/0x250 [ 38.003078][ T828] alloc_buf.isra.0+0x4b/0x260 [ 38.003082][ T828] put_chars+0x1e1/0x2f0 [ 38.003085][ T828] ? __send_to_port+0x420/0x420 [ 38.003088][ T828] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 38.003093][ T828] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.003095][ T828] ? validate_chain+0x38b/0xc20 [ 38.003099][ T828] hvc_console_print+0x292/0x780 [ 38.003102][ T828] ? mark_usage+0x61/0x170 [ 38.003104][ T828] ? __lock_acquire+0x518/0xc20 [ 38.003106][ T828] ? __lock_acquire+0x518/0xc20 [ 38.003110][ T828] ? hvc_write+0x3a0/0x3a0 [ 38.003111][ T828] ? lock_acquire.part.0+0xd4/0x280 [ 38.003116][ T828] ? lock_acquire+0x13c/0x160 [ 38.003120][ T828] console_emit_next_record+0x22f/0x4c0 [ 38.003124][ T828] ? devkmsg_read+0x4b0/0x4b0 [ 38.003126][ T828] ? console_flush_one_record+0x106/0x710 [ 38.003129][ T828] ? rcu_is_watching+0x16/0xd0 [ 38.003132][ T828] ? lock_acquire+0x13c/0x160 [ 38.003135][ T828] console_flush_one_record+0x46f/0x710 [ 38.003140][ T828] ? console_emit_next_record+0x4c0/0x4c0 [ 38.003142][ T828] ? __lock_acquire+0x518/0xc20 [ 38.003147][ T828] console_unlock+0xee/0x1f0 [ 38.003150][ T828] ? console_flush_one_record+0x710/0x710 [ 38.003152][ T828] ? rcu_is_watching+0x16/0xd0 [ 38.003154][ T828] ? lock_acquire+0x60/0x160 [ 38.003158][ T828] ? __down_trylock_console_sem+0x5e/0xa0 [ 38.003159][ T828] ? vprintk_emit+0x320/0x3e0 [ 38.003163][ T828] vprintk_emit+0x37c/0x3e0 [ 38.003167][ T828] ? wake_up_klogd_work_func+0x90/0x90 [ 38.003169][ T828] ? kernel_text_address+0x149/0x170 [ 38.003172][ T828] ? __kernel_text_address+0x12/0x30 [ 38.003173][ T828] ? write_profile+0xf0/0xf0 [ 38.003176][ T828] ? unwind_get_return_address+0x67/0xd0 [ 38.003180][ T828] _printk+0xc7/0x100 [ 38.003184][ T828] ? snapshot_read.cold+0x21/0x21 [ 38.003188][ T828] ? mark_usage+0x61/0x170 [ 38.003190][ T828] ? netdev_name+0x43/0x60 [ 38.003193][ T828] ? __netdev_printk+0x17f/0x1d0 [ 38.003197][ T828] netdev_info+0xe2/0x116 [ 38.003199][ T828] ? netdev_notice+0x120/0x120 [ 38.003200][ T828] ? find_held_lock+0x2b/0x80 [ 38.003203][ T828] ? mark_usage+0x61/0x170 [ 38.003206][ T828] ? __lock_acquire+0x518/0xc20 [ 38.003212][ T828] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 38.003217][ T828] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 38.003221][ T828] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 38.003227][ T828] ovpn_peer_remove+0x394/0x640 [ovpn] [ 38.003231][ T828] ? do_raw_spin_lock+0x131/0x280 [ 38.003233][ T828] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 38.003240][ T828] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 38.003244][ T828] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 38.003250][ T828] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 38.003254][ T828] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 38.003261][ T828] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 38.003264][ T828] ? ref_tracker_alloc+0x28d/0x430 [ 38.003275][ T828] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 38.003279][ T828] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 38.003285][ T828] genl_family_rcv_msg_doit+0x206/0x300 [ 38.003289][ T828] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 38.003291][ T828] ? __lock_release.isra.0+0x69/0x1a0 [ 38.003297][ T828] ? rcu_is_watching+0x16/0xd0 [ 38.003300][ T828] ? cap_capable+0x1d7/0x3d0 [ 38.003303][ T828] ? write_profile+0xf0/0xf0 [ 38.003305][ T828] ? unwind_get_return_address+0x67/0xd0 [ 38.003308][ T828] genl_family_rcv_msg+0x3a4/0x640 [ 38.003312][ T828] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 38.003315][ T828] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.003316][ T828] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 38.003319][ T828] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 38.003322][ T828] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 38.003325][ T828] ? __lock_acquire+0x518/0xc20 [ 38.003331][ T828] genl_rcv_msg+0xbb/0x160 [ 38.003334][ T828] netlink_rcv_skb+0x14e/0x3a0 [ 38.003336][ T828] ? genl_family_rcv_msg+0x640/0x640 [ 38.003340][ T828] ? netlink_ack+0xcf0/0xcf0 [ 38.003347][ T828] ? netlink_deliver_tap+0xc5/0x330 [ 38.003349][ T828] ? netlink_deliver_tap+0x13c/0x330 [ 38.003353][ T828] genl_rcv+0x28/0x40 [ 38.003355][ T828] netlink_unicast+0x486/0x750 [ 38.003360][ T828] ? netlink_attachskb+0x810/0x810 [ 38.003363][ T828] ? __lock_acquire+0x518/0xc20 [ 38.003367][ T828] netlink_sendmsg+0x735/0xc60 [ 38.003371][ T828] ? netlink_unicast+0x750/0x750 [ 38.003375][ T828] ? __might_fault+0x97/0x140 [ 38.003381][ T828] ____sys_sendmsg+0x415/0x880 [ 38.003384][ T828] ? copy_msghdr_from_user+0x279/0x420 [ 38.003387][ T828] ? get_timestamp.constprop.0+0x390/0x390 [ 38.003388][ T828] ? move_addr_to_kernel+0x40/0x40 [ 38.003396][ T828] ___sys_sendmsg+0x14e/0x1d0 [ 38.003399][ T828] ? copy_msghdr_from_user+0x420/0x420 [ 38.003401][ T828] ? kfree+0x22/0x590 [ 38.003417][ T828] __sys_sendmsg+0x12c/0x1d0 [ 38.003420][ T828] ? __sys_sendmsg_sock+0x20/0x20 [ 38.003426][ T828] ? rcu_is_watching+0x16/0xd0 [ 38.003428][ T828] ? rcu_is_watching+0x16/0xd0 [ 38.003432][ T828] do_syscall_64+0xff/0x530 [ 38.003435][ T828] ? exc_page_fault+0xee/0x100 [ 38.003438][ T828] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 38.003440][ T828] RIP: 0033:0x7f4dade7154e [ 38.003443][ 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 [ 38.003444][ T828] RSP: 002b:00007ffcbbdebbb0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 38.003447][ T828] RAX: ffffffffffffffda RBX: 0000000036785130 RCX: 00007f4dade7154e [ 38.003449][ T828] RDX: 0000000000000000 RSI: 00007ffcbbdebc50 RDI: 0000000000000005 [ 38.003450][ T828] RBP: 00007ffcbbdebbc0 R08: 0000000000000000 R09: 0000000000000000 [ 38.003450][ T828] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000036785200 [ 38.003451][ T828] R13: 00007ffcbbdebc50 R14: 0000000036786260 R15: 000000000040bda8 [ 38.003458][ T828] [ 38.174447][ T832] tun2: deleting peer with id 11, reason 1 [ 43.482534][ T75] tun0: deleting peer with id 3, reason 2 [ 43.482607][ T75] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 43.482610][ T75] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 75, name: kworker/3:1 [ 43.482611][ T75] preempt_count: 202, expected: 0 [ 43.482612][ T75] RCU nest depth: 0, expected: 0 [ 43.482613][ T75] locks held by kworker/3:1/75: 7, last CPU#3: [ 43.482616][ T75] #0: ff1100000d756340 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 43.482628][ T75] #1: ffa0000000507d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 43.482632][ T75] #2: ff1100000ccf4e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 43.482640][ T75] #3: ffffffffa7979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 43.482646][ T75] #4: ffffffffa7979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 43.482649][ T75] #5: ffffffffa7899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 43.482653][ T75] #6: ffffffffa7899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 43.482657][ T75] irq event stamp: 28999 [ 43.482658][ T75] hardirqs last enabled at (28998): [] __down_trylock_console_sem+0x86/0xa0 [ 43.482660][ T75] hardirqs last disabled at (28999): [] console_emit_next_record+0x3d4/0x4c0 [ 43.482662][ T75] softirqs last enabled at (28804): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 43.482666][ T75] softirqs last disabled at (28990): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 43.482669][ T75] Preemption disabled at: [ 43.482670][ T75] [<0000000000000000>] 0x0 [ 43.482678][ T75] CPU: 3 UID: 0 PID: 75 Comm: kworker/3:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 43.482681][ T75] Tainted: [W]=WARN [ 43.482682][ T75] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 43.482685][ T75] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 43.482689][ T75] Call Trace: [ 43.482691][ T75] [ 43.482694][ T75] dump_stack_lvl+0x6f/0xa0 [ 43.482700][ T75] __might_resched.cold+0x1fe/0x2c1 [ 43.482705][ T75] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 43.482709][ T75] ? __kmalloc_noprof+0xdb/0x760 [ 43.482714][ T75] __kmalloc_noprof+0x443/0x760 [ 43.482717][ T75] ? alloc_buf.isra.0+0x4b/0x260 [ 43.482723][ T75] ? do_raw_spin_unlock+0x59/0x250 [ 43.482726][ T75] alloc_buf.isra.0+0x4b/0x260 [ 43.482729][ T75] put_chars+0x1e1/0x2f0 [ 43.482732][ T75] ? __send_to_port+0x420/0x420 [ 43.482737][ T75] ? validate_chain+0x34a/0xc20 [ 43.482740][ T75] hvc_console_print+0x292/0x780 [ 43.482744][ T75] ? mark_usage+0x61/0x170 [ 43.482746][ T75] ? __lock_acquire+0x518/0xc20 [ 43.482747][ T75] ? __lock_acquire+0x518/0xc20 [ 43.482751][ T75] ? hvc_write+0x3a0/0x3a0 [ 43.482753][ T75] ? console_emit_next_record+0x1df/0x4c0 [ 43.482757][ T75] ? rcu_is_watching+0x16/0xd0 [ 43.482761][ T75] ? lock_acquire+0x13c/0x160 [ 43.482765][ T75] console_emit_next_record+0x22f/0x4c0 [ 43.482769][ T75] ? devkmsg_read+0x4b0/0x4b0 [ 43.482770][ T75] ? console_flush_one_record+0x106/0x710 [ 43.482774][ T75] ? rcu_is_watching+0x16/0xd0 [ 43.482776][ T75] ? lock_acquire+0x13c/0x160 [ 43.482780][ T75] console_flush_one_record+0x46f/0x710 [ 43.482784][ T75] ? console_emit_next_record+0x4c0/0x4c0 [ 43.482786][ T75] ? __lock_acquire+0x518/0xc20 [ 43.482791][ T75] console_unlock+0xee/0x1f0 [ 43.482794][ T75] ? console_flush_one_record+0x710/0x710 [ 43.482796][ T75] ? rcu_is_watching+0x16/0xd0 [ 43.482798][ T75] ? lock_acquire+0x60/0x160 [ 43.482802][ T75] ? __down_trylock_console_sem+0x5e/0xa0 [ 43.482804][ T75] ? vprintk_emit+0x320/0x3e0 [ 43.482807][ T75] vprintk_emit+0x37c/0x3e0 [ 43.482811][ T75] ? wake_up_klogd_work_func+0x90/0x90 [ 43.482814][ T75] ? __lock_release.isra.0+0x69/0x1a0 [ 43.482816][ T75] ? rcu_is_watching+0x16/0xd0 [ 43.482819][ T75] _printk+0xc7/0x100 [ 43.482823][ T75] ? snapshot_read.cold+0x21/0x21 [ 43.482826][ T75] ? find_held_lock+0x2b/0x80 [ 43.482829][ T75] ? netdev_name+0x43/0x60 [ 43.482832][ T75] ? __netdev_printk+0x17f/0x1d0 [ 43.482836][ T75] netdev_info+0xe2/0x116 [ 43.482838][ T75] ? netdev_notice+0x120/0x120 [ 43.482842][ T75] ? debug_object_free+0x530/0x530 [ 43.482846][ T75] ? validate_chain+0x38b/0xc20 [ 43.482848][ T75] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 43.482851][ T75] ? rcu_read_lock_any_held+0x3c/0x90 [ 43.482855][ T75] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 43.482860][ T75] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 43.482867][ T75] ovpn_peer_remove+0x394/0x640 [ovpn] [ 43.482871][ T75] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 43.482874][ T75] ? __rwlock_init+0x150/0x150 [ 43.482876][ T75] ? mark_held_locks+0x40/0x70 [ 43.482881][ T75] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 43.482885][ T75] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 43.482888][ T75] ? __rwlock_init+0x150/0x150 [ 43.482893][ T75] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 43.482897][ T75] ? process_one_work+0xdfc/0x1560 [ 43.482900][ T75] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 43.482903][ T75] ? rcu_is_watching+0x16/0xd0 [ 43.482906][ T75] ? lock_acquire+0x13c/0x160 [ 43.482908][ T75] ? rcu_is_watching+0x16/0xd0 [ 43.482912][ T75] process_one_work+0xe3e/0x1560 [ 43.482918][ T75] ? __queue_delayed_work+0x470/0x470 [ 43.482921][ T75] ? lock_acquire.part.0+0xd4/0x280 [ 43.482929][ T75] worker_thread+0x4f1/0xd60 [ 43.482933][ T75] ? rescuer_thread+0x1340/0x1340 [ 43.482935][ T75] ? __kthread_parkme+0xbd/0x210 [ 43.482939][ T75] ? rescuer_thread+0x1340/0x1340 [ 43.482941][ T75] ? rescuer_thread+0x1340/0x1340 [ 43.482943][ T75] kthread+0x367/0x460 [ 43.482946][ T75] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 43.482949][ T75] ? kthread_affine_preferred+0x4c0/0x4c0 [ 43.482951][ T75] ret_from_fork+0x474/0x6b0 [ 43.482956][ T75] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 43.482959][ T75] ? __switch_to+0x5a3/0xe00 [ 43.482962][ T75] ? kthread_affine_preferred+0x4c0/0x4c0 [ 43.482965][ T75] ret_from_fork_asm+0x11/0x20 [ 43.482974][ T75] [ 44.570297][ T75] tun0: deleting peer with id 4, reason 2 [ 44.570319][ T75] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 44.570322][ T75] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 75, name: kworker/3:1 [ 44.570323][ T75] preempt_count: 202, expected: 0 [ 44.570324][ T75] RCU nest depth: 0, expected: 0 [ 44.570325][ T75] locks held by kworker/3:1/75: 7, last CPU#3: [ 44.570328][ T75] #0: ff1100000d756340 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 44.570339][ T75] #1: ffa0000000507d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 44.570343][ T75] #2: ff1100000ccf4e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 44.570353][ T75] #3: ffffffffa7979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 44.570359][ T75] #4: ffffffffa7979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 44.570365][ T75] #5: ffffffffa7899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 44.570368][ T75] #6: ffffffffa7899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 44.570373][ T75] irq event stamp: 29545 [ 44.570373][ T75] hardirqs last enabled at (29544): [] __down_trylock_console_sem+0x86/0xa0 [ 44.570376][ T75] hardirqs last disabled at (29545): [] console_emit_next_record+0x3d4/0x4c0 [ 44.570378][ T75] softirqs last enabled at (29406): [] ovpn_peer_release+0x37/0xe0 [ovpn] [ 44.570382][ T75] softirqs last disabled at (29538): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 44.570386][ T75] Preemption disabled at: [ 44.570386][ T75] [<0000000000000000>] 0x0 [ 44.570393][ T75] CPU: 3 UID: 0 PID: 75 Comm: kworker/3:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 44.570396][ T75] Tainted: [W]=WARN [ 44.570397][ T75] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 44.570399][ T75] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 44.570404][ T75] Call Trace: [ 44.570406][ T75] [ 44.570408][ T75] dump_stack_lvl+0x6f/0xa0 [ 44.570414][ T75] __might_resched.cold+0x1fe/0x2c1 [ 44.570420][ T75] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 44.570426][ T75] ? __kmalloc_noprof+0xdb/0x760 [ 44.570431][ T75] __kmalloc_noprof+0x443/0x760 [ 44.570434][ T75] ? alloc_buf.isra.0+0x4b/0x260 [ 44.570440][ T75] ? do_raw_spin_unlock+0x59/0x250 [ 44.570442][ T75] alloc_buf.isra.0+0x4b/0x260 [ 44.570446][ T75] put_chars+0x1e1/0x2f0 [ 44.570448][ T75] ? prb_final_commit+0x50/0x50 [ 44.570451][ T75] ? __send_to_port+0x420/0x420 [ 44.570454][ T75] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 44.570458][ T75] ? rcu_read_lock_any_held+0x3c/0x90 [ 44.570460][ T75] ? validate_chain+0x38b/0xc20 [ 44.570464][ T75] hvc_console_print+0x292/0x780 [ 44.570467][ T75] ? mark_usage+0x61/0x170 [ 44.570469][ T75] ? __lock_acquire+0x518/0xc20 [ 44.570471][ T75] ? __lock_acquire+0x518/0xc20 [ 44.570475][ T75] ? hvc_write+0x3a0/0x3a0 [ 44.570477][ T75] ? console_emit_next_record+0x1df/0x4c0 [ 44.570482][ T75] ? rcu_is_watching+0x16/0xd0 [ 44.570486][ T75] ? lock_acquire+0x13c/0x160 [ 44.570490][ T75] console_emit_next_record+0x22f/0x4c0 [ 44.570494][ T75] ? devkmsg_read+0x4b0/0x4b0 [ 44.570496][ T75] ? console_flush_one_record+0x106/0x710 [ 44.570499][ T75] ? rcu_is_watching+0x16/0xd0 [ 44.570502][ T75] ? lock_acquire+0x13c/0x160 [ 44.570506][ T75] console_flush_one_record+0x46f/0x710 [ 44.570510][ T75] ? console_emit_next_record+0x4c0/0x4c0 [ 44.570512][ T75] ? __lock_acquire+0x518/0xc20 [ 44.570517][ T75] console_unlock+0xee/0x1f0 [ 44.570520][ T75] ? console_flush_one_record+0x710/0x710 [ 44.570522][ T75] ? rcu_is_watching+0x16/0xd0 [ 44.570524][ T75] ? lock_acquire+0x60/0x160 [ 44.570528][ T75] ? __down_trylock_console_sem+0x5e/0xa0 [ 44.570530][ T75] ? vprintk_emit+0x320/0x3e0 [ 44.570533][ T75] vprintk_emit+0x37c/0x3e0 [ 44.570537][ T75] ? wake_up_klogd_work_func+0x90/0x90 [ 44.570542][ T75] ? __lock_release.isra.0+0x69/0x1a0 [ 44.570544][ T75] ? rcu_is_watching+0x16/0xd0 [ 44.570549][ T75] _printk+0xc7/0x100 [ 44.570552][ T75] ? snapshot_read.cold+0x21/0x21 [ 44.570555][ T75] ? __add_to_free_list+0x81/0x5c0 [ 44.570558][ T75] ? __mod_zone_page_state+0xe1/0x190 [ 44.570561][ T75] ? netdev_name+0x43/0x60 [ 44.570565][ T75] ? __netdev_printk+0x17f/0x1d0 [ 44.570568][ T75] netdev_info+0xe2/0x116 [ 44.570571][ T75] ? netdev_notice+0x120/0x120 [ 44.570572][ T75] ? rcu_read_lock_any_held+0x3c/0x90 [ 44.570578][ T75] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 44.570580][ T75] ? rcu_read_lock_any_held+0x3c/0x90 [ 44.570584][ T75] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 44.570590][ T75] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 44.570602][ T75] ovpn_peer_remove+0x394/0x640 [ovpn] [ 44.570606][ T75] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 44.570609][ T75] ? __rwlock_init+0x150/0x150 [ 44.570612][ T75] ? mark_held_locks+0x40/0x70 [ 44.570616][ T75] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 44.570622][ T75] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 44.570627][ T75] ? __rwlock_init+0x150/0x150 [ 44.570632][ T75] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 44.570637][ T75] ? process_one_work+0xdfc/0x1560 [ 44.570640][ T75] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 44.570643][ T75] ? rcu_is_watching+0x16/0xd0 [ 44.570645][ T75] ? lock_acquire+0x13c/0x160 [ 44.570647][ T75] ? rcu_is_watching+0x16/0xd0 [ 44.570651][ T75] process_one_work+0xe3e/0x1560 [ 44.570658][ T75] ? __queue_delayed_work+0x470/0x470 [ 44.570661][ T75] ? lock_acquire.part.0+0xd4/0x280 [ 44.570668][ T75] worker_thread+0x4f1/0xd60 [ 44.570673][ T75] ? rescuer_thread+0x1340/0x1340 [ 44.570675][ T75] ? __kthread_parkme+0xbd/0x210 [ 44.570678][ T75] ? rescuer_thread+0x1340/0x1340 [ 44.570682][ T75] ? rescuer_thread+0x1340/0x1340 [ 44.570684][ T75] kthread+0x367/0x460 [ 44.570688][ T75] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 44.570691][ T75] ? kthread_affine_preferred+0x4c0/0x4c0 [ 44.570694][ T75] ret_from_fork+0x474/0x6b0 [ 44.570698][ T75] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 44.570701][ T75] ? __switch_to+0x5a3/0xe00 [ 44.570705][ T75] ? kthread_affine_preferred+0x4c0/0x4c0 [ 44.570707][ T75] ret_from_fork_asm+0x11/0x20 [ 44.570716][ T75] [ 44.597150][ T75] tun0: deleting peer with id 5, reason 2 [ 44.597531][ T75] tun0: deleting peer with id 6, reason 2 [ 49.689921][ T10] tun3: deleting peer with id 12, reason 2 [ 49.689949][ T10] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 49.689952][ T10] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 [ 49.689955][ T10] preempt_count: 202, expected: 0 [ 49.689956][ T10] RCU nest depth: 0, expected: 0 [ 49.689958][ T10] locks held by kworker/0:1/10: 7, last CPU#0: [ 49.689961][ T10] #0: ff1100000d756340 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 49.689977][ T10] #1: ffa00000000a7d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 49.689983][ T10] #2: ff11000008ae9e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 49.689994][ T10] #3: ffffffffa7979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 49.690002][ T10] #4: ffffffffa7979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 49.690007][ T10] #5: ffffffffa7899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 49.690014][ T10] #6: ffffffffa7899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 49.690020][ T10] irq event stamp: 34827 [ 49.690021][ T10] hardirqs last enabled at (34826): [] __down_trylock_console_sem+0x86/0xa0 [ 49.690025][ T10] hardirqs last disabled at (34827): [] console_emit_next_record+0x3d4/0x4c0 [ 49.690027][ T10] softirqs last enabled at (34336): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 49.690033][ T10] softirqs last disabled at (34816): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 49.690039][ T10] Preemption disabled at: [ 49.690040][ T10] [<0000000000000000>] 0x0 [ 49.690049][ T10] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 49.690053][ T10] Tainted: [W]=WARN [ 49.690055][ T10] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 49.690058][ T10] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 49.690065][ T10] Call Trace: [ 49.690067][ T10] [ 49.690070][ T10] dump_stack_lvl+0x6f/0xa0 [ 49.690079][ T10] __might_resched.cold+0x1fe/0x2c1 [ 49.690085][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 49.690091][ T10] ? __kmalloc_noprof+0xdb/0x760 [ 49.690098][ T10] __kmalloc_noprof+0x443/0x760 [ 49.690102][ T10] ? alloc_buf.isra.0+0x4b/0x260 [ 49.690111][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 49.690114][ T10] alloc_buf.isra.0+0x4b/0x260 [ 49.690120][ T10] put_chars+0x1e1/0x2f0 [ 49.690123][ T10] ? prb_final_commit+0x50/0x50 [ 49.690127][ T10] ? __send_to_port+0x420/0x420 [ 49.690133][ T10] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 49.690138][ T10] ? rcu_read_lock_any_held+0x3c/0x90 [ 49.690142][ T10] ? validate_chain+0x38b/0xc20 [ 49.690148][ T10] hvc_console_print+0x292/0x780 [ 49.690153][ T10] ? mark_usage+0x61/0x170 [ 49.690156][ T10] ? __lock_acquire+0x518/0xc20 [ 49.690158][ T10] ? __lock_acquire+0x518/0xc20 [ 49.690165][ T10] ? hvc_write+0x3a0/0x3a0 [ 49.690169][ T10] ? console_emit_next_record+0x1df/0x4c0 [ 49.690174][ T10] ? rcu_is_watching+0x16/0xd0 [ 49.690178][ T10] ? lock_acquire+0x13c/0x160 [ 49.690185][ T10] console_emit_next_record+0x22f/0x4c0 [ 49.690191][ T10] ? devkmsg_read+0x4b0/0x4b0 [ 49.690194][ T10] ? console_flush_one_record+0x106/0x710 [ 49.690199][ T10] ? rcu_is_watching+0x16/0xd0 [ 49.690203][ T10] ? lock_acquire+0x13c/0x160 [ 49.690210][ T10] console_flush_one_record+0x46f/0x710 [ 49.690218][ T10] ? console_emit_next_record+0x4c0/0x4c0 [ 49.690221][ T10] ? __lock_acquire+0x518/0xc20 [ 49.690230][ T10] console_unlock+0xee/0x1f0 [ 49.690235][ T10] ? console_flush_one_record+0x710/0x710 [ 49.690238][ T10] ? rcu_is_watching+0x16/0xd0 [ 49.690241][ T10] ? lock_acquire+0x60/0x160 [ 49.690248][ T10] ? __down_trylock_console_sem+0x5e/0xa0 [ 49.690250][ T10] ? vprintk_emit+0x320/0x3e0 [ 49.690261][ T10] vprintk_emit+0x37c/0x3e0 [ 49.690268][ T10] ? wake_up_klogd_work_func+0x90/0x90 [ 49.690272][ T10] ? __lock_release.isra.0+0x69/0x1a0 [ 49.690280][ T10] _printk+0xc7/0x100 [ 49.690285][ T10] ? snapshot_read.cold+0x21/0x21 [ 49.690287][ T10] ? try_to_wake_up+0x153/0x1130 [ 49.690293][ T10] ? select_fallback_rq+0x510/0x510 [ 49.690297][ T10] ? netdev_name+0x43/0x60 [ 49.690301][ T10] ? __netdev_printk+0x17f/0x1d0 [ 49.690308][ T10] netdev_info+0xe2/0x116 [ 49.690311][ T10] ? netdev_notice+0x120/0x120 [ 49.690320][ T10] ? __queue_work+0x3ab/0xd30 [ 49.690330][ T10] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 49.690339][ T10] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 49.690344][ T10] ? mark_held_locks+0x40/0x70 [ 49.690349][ T10] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 49.690351][ T10] ? lockdep_hardirqs_on+0x91/0x130 [ 49.690359][ T10] ovpn_peer_remove+0x394/0x640 [ovpn] [ 49.690366][ T10] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 49.690370][ T10] ? __rwlock_init+0x150/0x150 [ 49.690374][ T10] ? mark_held_locks+0x40/0x70 [ 49.690382][ T10] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 49.690389][ T10] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 49.690394][ T10] ? __rwlock_init+0x150/0x150 [ 49.690404][ T10] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 49.690411][ T10] ? process_one_work+0xdfc/0x1560 [ 49.690416][ T10] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 49.690421][ T10] ? rcu_is_watching+0x16/0xd0 [ 49.690425][ T10] ? lock_acquire+0x13c/0x160 [ 49.690427][ T10] ? rcu_is_watching+0x16/0xd0 [ 49.690434][ T10] ? process_one_work+0xdfc/0x1560 [ 49.690436][ T10] process_one_work+0xe3e/0x1560 [ 49.690448][ T10] ? __queue_delayed_work+0x470/0x470 [ 49.690453][ T10] ? lock_acquire.part.0+0xd4/0x280 [ 49.690467][ T10] worker_thread+0x4f1/0xd60 [ 49.690474][ T10] ? rescuer_thread+0x1340/0x1340 [ 49.690477][ T10] ? __kthread_parkme+0xbd/0x210 [ 49.690482][ T10] ? rescuer_thread+0x1340/0x1340 [ 49.690487][ T10] ? rescuer_thread+0x1340/0x1340 [ 49.690490][ T10] kthread+0x367/0x460 [ 49.690493][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 49.690497][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 49.690502][ T10] ret_from_fork+0x474/0x6b0 [ 49.690508][ T10] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 49.690514][ T10] ? __switch_to+0x5a3/0xe00 [ 49.690519][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 49.690523][ T10] ret_from_fork_asm+0x11/0x20 [ 49.690538][ T10] [ 49.817372][ T10] tun4: deleting peer with id 13, reason 2 [ 49.882339][ T75] tun5: deleting peer with id 14, reason 2 [ 50.009385][ T10] tun6: deleting peer with id 15, reason 2