[ 14.665458][ T301] ip (301) used greatest stack depth: 23920 bytes left [ 14.665473][ T301] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.665475][ T301] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 301, name: ip [ 14.665477][ T301] preempt_count: 2, expected: 0 [ 14.665478][ T301] RCU nest depth: 0, expected: 0 [ 14.665478][ T301] locks held by ip/301: 5, last CPU#2: [ 14.665481][ T301] #0: ffffffffaac127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 14.665492][ T301] #1: ffffffffaad79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.665497][ T301] #2: ffffffffaad79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.665501][ T301] #3: ffffffffaac99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.665507][ T301] #4: ffffffffaac99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 14.665510][ T301] irq event stamp: 34586 [ 14.665511][ T301] hardirqs last enabled at (34585): [] __down_trylock_console_sem+0x86/0xa0 [ 14.665514][ T301] hardirqs last disabled at (34586): [] console_emit_next_record+0x3d4/0x4c0 [ 14.665516][ T301] softirqs last enabled at (33962): [] handle_softirqs+0x67c/0x900 [ 14.665518][ T301] softirqs last disabled at (33957): [] __irq_exit_rcu+0x145/0x1c0 [ 14.665520][ T301] Preemption disabled at: [ 14.665520][ T301] [<0000000000000000>] 0x0 [ 14.665527][ T301] CPU: 2 UID: 0 PID: 301 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.665531][ T301] Tainted: [W]=WARN [ 14.665531][ T301] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.665533][ T301] Call Trace: [ 14.665535][ T301] [ 14.665536][ T301] dump_stack_lvl+0x6f/0xa0 [ 14.665542][ T301] __might_resched.cold+0x1fe/0x2c1 [ 14.665546][ T301] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.665551][ T301] ? __kmalloc_noprof+0xdb/0x760 [ 14.665555][ T301] __kmalloc_noprof+0x443/0x760 [ 14.665558][ T301] ? alloc_buf.isra.0+0x4b/0x260 [ 14.665563][ T301] ? do_raw_spin_unlock+0x59/0x250 [ 14.665566][ T301] alloc_buf.isra.0+0x4b/0x260 [ 14.665569][ T301] put_chars+0x1e1/0x2f0 [ 14.665572][ T301] ? __send_to_port+0x420/0x420 [ 14.665574][ T301] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.665578][ T301] ? validate_chain+0x38b/0xc20 [ 14.665583][ T301] hvc_console_print+0x292/0x780 [ 14.665590][ T301] ? hvc_write+0x3a0/0x3a0 [ 14.665592][ T301] ? rcu_is_watching+0x16/0xd0 [ 14.665594][ T301] ? lock_acquire+0x13c/0x160 [ 14.665598][ T301] console_emit_next_record+0x22f/0x4c0 [ 14.665602][ T301] ? devkmsg_read+0x4b0/0x4b0 [ 14.665604][ T301] ? console_flush_one_record+0x106/0x710 [ 14.665607][ T301] ? rcu_is_watching+0x16/0xd0 [ 14.665609][ T301] ? lock_acquire+0x13c/0x160 [ 14.665613][ T301] console_flush_one_record+0x46f/0x710 [ 14.665617][ T301] ? console_emit_next_record+0x4c0/0x4c0 [ 14.665619][ T301] ? __lock_acquire+0x518/0xc20 [ 14.665624][ T301] console_unlock+0xee/0x1f0 [ 14.665627][ T301] ? console_flush_one_record+0x710/0x710 [ 14.665628][ T301] ? rcu_is_watching+0x16/0xd0 [ 14.665631][ T301] ? lock_acquire+0x60/0x160 [ 14.665634][ T301] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.665636][ T301] ? vprintk_emit+0x320/0x3e0 [ 14.665639][ T301] vprintk_emit+0x37c/0x3e0 [ 14.665643][ T301] ? wake_up_klogd_work_func+0x90/0x90 [ 14.665646][ T301] ? __lock_acquire+0x518/0xc20 [ 14.665649][ T301] _printk+0xc7/0x100 [ 14.665653][ T301] ? snapshot_read.cold+0x21/0x21 [ 14.665656][ T301] ? do_raw_spin_lock+0x131/0x280 [ 14.665658][ T301] ? __rwlock_init+0x150/0x150 [ 14.665662][ T301] ? do_raw_spin_lock+0x131/0x280 [ 14.665665][ T301] do_exit.cold+0x82/0x9c [ 14.665668][ T301] ? exit_notify+0x890/0x890 [ 14.665669][ T301] ? __lock_release.isra.0+0x69/0x1a0 [ 14.665672][ T301] ? rcu_is_watching+0x16/0xd0 [ 14.665676][ T301] do_group_exit+0xb8/0x370 [ 14.665679][ T301] __x64_sys_exit_group+0x3c/0x50 [ 14.665680][ T301] x64_sys_call+0x1567/0x1570 [ 14.665683][ T301] do_syscall_64+0xff/0x530 [ 14.665687][ T301] ? exc_page_fault+0xee/0x100 [ 14.665689][ T301] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.665692][ T301] RIP: 0033:0x7f2cbbea11b8 [ 14.665694][ T301] Code: Unable to access opcode bytes at 0x7f2cbbea118e. [ 14.665695][ T301] RSP: 002b:00007ffdc9027688 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 14.665697][ T301] RAX: ffffffffffffffda RBX: 00007f2cbbfd1f88 RCX: 00007f2cbbea11b8 [ 14.665699][ T301] RDX: 00007f2cbbbebfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 14.665700][ T301] RBP: 00007ffdc90276e0 R08: 0000000000000000 R09: 0000000000000000 [ 14.665700][ T301] R10: 00007ffdc90274a0 R11: 0000000000000246 R12: 0000000000000001 [ 14.665701][ T301] R13: 0000000000000000 R14: 00007f2cbbfd0680 R15: 00007f2cbbfd1fa0 [ 14.665708][ T301] [ 28.286464][ T683] iperf3 (683) used greatest stack depth: 23248 bytes left [ 28.286484][ T683] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 28.286486][ T683] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 683, name: iperf3 [ 28.286488][ T683] preempt_count: 2, expected: 0 [ 28.286489][ T683] RCU nest depth: 0, expected: 0 [ 28.286489][ T683] locks held by iperf3/683: 5, last CPU#3: [ 28.286491][ T683] #0: ffffffffaac127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 28.286502][ T683] #1: ffffffffaad79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 28.286510][ T683] #2: ffffffffaad79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 28.286513][ T683] #3: ffffffffaac99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 28.286517][ T683] #4: ffffffffaac99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 28.286521][ T683] irq event stamp: 5305224 [ 28.286522][ T683] hardirqs last enabled at (5305223): [] __down_trylock_console_sem+0x86/0xa0 [ 28.286524][ T683] hardirqs last disabled at (5305224): [] console_emit_next_record+0x3d4/0x4c0 [ 28.286526][ T683] softirqs last enabled at (5303242): [] handle_softirqs+0x67c/0x900 [ 28.286529][ T683] softirqs last disabled at (5303151): [] __irq_exit_rcu+0x145/0x1c0 [ 28.286531][ T683] Preemption disabled at: [ 28.286531][ T683] [<0000000000000000>] 0x0 [ 28.286538][ T683] CPU: 3 UID: 0 PID: 683 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 28.286542][ T683] Tainted: [W]=WARN [ 28.286542][ T683] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 28.286544][ T683] Call Trace: [ 28.286546][ T683] [ 28.286547][ T683] dump_stack_lvl+0x6f/0xa0 [ 28.286553][ T683] __might_resched.cold+0x1fe/0x2c1 [ 28.286558][ T683] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 28.286562][ T683] ? __kmalloc_noprof+0xdb/0x760 [ 28.286566][ T683] __kmalloc_noprof+0x443/0x760 [ 28.286569][ T683] ? alloc_buf.isra.0+0x4b/0x260 [ 28.286575][ T683] ? do_raw_spin_unlock+0x59/0x250 [ 28.286577][ T683] alloc_buf.isra.0+0x4b/0x260 [ 28.286580][ T683] put_chars+0x1e1/0x2f0 [ 28.286583][ T683] ? prb_final_commit+0x50/0x50 [ 28.286585][ T683] ? __send_to_port+0x420/0x420 [ 28.286588][ T683] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 28.286592][ T683] ? rcu_read_lock_any_held+0x3c/0x90 [ 28.286594][ T683] ? validate_chain+0x38b/0xc20 [ 28.286598][ T683] hvc_console_print+0x292/0x780 [ 28.286601][ T683] ? mark_usage+0x61/0x170 [ 28.286603][ T683] ? __lock_acquire+0x518/0xc20 [ 28.286605][ T683] ? __lock_acquire+0x518/0xc20 [ 28.286608][ T683] ? hvc_write+0x3a0/0x3a0 [ 28.286610][ T683] ? console_emit_next_record+0x1df/0x4c0 [ 28.286613][ T683] ? rcu_is_watching+0x16/0xd0 [ 28.286616][ T683] ? lock_acquire+0x13c/0x160 [ 28.286620][ T683] console_emit_next_record+0x22f/0x4c0 [ 28.286623][ T683] ? devkmsg_read+0x4b0/0x4b0 [ 28.286625][ T683] ? console_flush_one_record+0x106/0x710 [ 28.286628][ T683] ? rcu_is_watching+0x16/0xd0 [ 28.286630][ T683] ? lock_acquire+0x13c/0x160 [ 28.286634][ T683] console_flush_one_record+0x46f/0x710 [ 28.286638][ T683] ? console_emit_next_record+0x4c0/0x4c0 [ 28.286640][ T683] ? __lock_acquire+0x518/0xc20 [ 28.286645][ T683] console_unlock+0xee/0x1f0 [ 28.286648][ T683] ? console_flush_one_record+0x710/0x710 [ 28.286649][ T683] ? rcu_is_watching+0x16/0xd0 [ 28.286652][ T683] ? lock_acquire+0x60/0x160 [ 28.286655][ T683] ? __down_trylock_console_sem+0x5e/0xa0 [ 28.286657][ T683] ? vprintk_emit+0x320/0x3e0 [ 28.286660][ T683] vprintk_emit+0x37c/0x3e0 [ 28.286663][ T683] ? wake_up_klogd_work_func+0x90/0x90 [ 28.286667][ T683] ? __lock_acquire+0x518/0xc20 [ 28.286670][ T683] _printk+0xc7/0x100 [ 28.286674][ T683] ? snapshot_read.cold+0x21/0x21 [ 28.286676][ T683] ? do_raw_spin_lock+0x131/0x280 [ 28.286679][ T683] ? __rwlock_init+0x150/0x150 [ 28.286682][ T683] ? do_raw_spin_lock+0x131/0x280 [ 28.286685][ T683] do_exit.cold+0x82/0x9c [ 28.286689][ T683] ? exit_notify+0x890/0x890 [ 28.286694][ T683] __x64_sys_exit+0x42/0x50 [ 28.286695][ T683] x64_sys_call+0x156c/0x1570 [ 28.286698][ T683] do_syscall_64+0xff/0x530 [ 28.286702][ T683] ? exc_page_fault+0xee/0x100 [ 28.286705][ T683] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 28.286708][ T683] RIP: 0033:0x7f0aca3adc49 [ 28.286710][ T683] Code: Unable to access opcode bytes at 0x7f0aca3adc1f. [ 28.286711][ T683] RSP: 002b:00007f0ac9b6ce60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 28.286713][ T683] RAX: ffffffffffffffda RBX: 00007f0ac9b6d6c0 RCX: 00007f0aca3adc49 [ 28.286715][ T683] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 28.286716][ T683] RBP: 00007f0ac9b6cf70 R08: 0000000000000001 R09: 00007f0ac9b6d6c0 [ 28.286717][ T683] R10: 0000000000000008 R11: 0000000000000246 R12: 00007f0ac936d000 [ 28.286717][ T683] R13: 00007ffeb01a69e0 R14: 0000000000000002 R15: 00007ffeb01a6ae7 [ 28.286724][ T683] [ 29.973696][ T777] tun0: deleting peer with id 1, reason 1 [ 29.973829][ T777] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 29.973831][ T777] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 777, name: ovpn-cli [ 29.973833][ T777] preempt_count: 202, expected: 0 [ 29.973834][ T777] RCU nest depth: 0, expected: 0 [ 29.973834][ T777] locks held by ovpn-cli/777: 6, last CPU#2: [ 29.973837][ T777] #0: ffffffffab544b68 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 29.973849][ T777] #1: ff1100000c7f4e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 29.973857][ T777] #2: ffffffffaad79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 29.973863][ T777] #3: ffffffffaad79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 29.973866][ T777] #4: ffffffffaac99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 29.973870][ T777] #5: ffffffffaac99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 29.973874][ T777] irq event stamp: 27489 [ 29.973875][ T777] hardirqs last enabled at (27488): [] __down_trylock_console_sem+0x86/0xa0 [ 29.973877][ T777] hardirqs last disabled at (27489): [] console_emit_next_record+0x3d4/0x4c0 [ 29.973879][ T777] softirqs last enabled at (27456): [] __alloc_skb+0x4c2/0x5f0 [ 29.973883][ T777] softirqs last disabled at (27484): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 29.973886][ T777] Preemption disabled at: [ 29.973887][ T777] [<0000000000000000>] 0x0 [ 29.973893][ T777] CPU: 2 UID: 0 PID: 777 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 29.973897][ T777] Tainted: [W]=WARN [ 29.973898][ T777] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.973899][ T777] Call Trace: [ 29.973901][ T777] [ 29.973903][ T777] dump_stack_lvl+0x6f/0xa0 [ 29.973909][ T777] __might_resched.cold+0x1fe/0x2c1 [ 29.973913][ T777] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 29.973917][ T777] ? __kmalloc_noprof+0xdb/0x760 [ 29.973922][ T777] __kmalloc_noprof+0x443/0x760 [ 29.973924][ T777] ? alloc_buf.isra.0+0x4b/0x260 [ 29.973930][ T777] ? do_raw_spin_unlock+0x59/0x250 [ 29.973933][ T777] alloc_buf.isra.0+0x4b/0x260 [ 29.973936][ T777] put_chars+0x1e1/0x2f0 [ 29.973939][ T777] ? __send_to_port+0x420/0x420 [ 29.973940][ T777] ? check_prev_add+0x316/0xe90 [ 29.973944][ T777] ? validate_chain+0x34a/0xc20 [ 29.973948][ T777] hvc_console_print+0x292/0x780 [ 29.973951][ T777] ? mark_usage+0x61/0x170 [ 29.973953][ T777] ? __lock_acquire+0x518/0xc20 [ 29.973954][ T777] ? __lock_acquire+0x518/0xc20 [ 29.973958][ T777] ? hvc_write+0x3a0/0x3a0 [ 29.973960][ T777] ? lock_acquire.part.0+0xd4/0x280 [ 29.973964][ T777] ? lock_acquire+0x13c/0x160 [ 29.973968][ T777] console_emit_next_record+0x22f/0x4c0 [ 29.973971][ T777] ? devkmsg_read+0x4b0/0x4b0 [ 29.973973][ T777] ? console_flush_one_record+0x106/0x710 [ 29.973976][ T777] ? rcu_is_watching+0x16/0xd0 [ 29.973980][ T777] ? lock_acquire+0x13c/0x160 [ 29.973984][ T777] console_flush_one_record+0x46f/0x710 [ 29.973988][ T777] ? console_emit_next_record+0x4c0/0x4c0 [ 29.973989][ T777] ? __lock_acquire+0x518/0xc20 [ 29.973994][ T777] console_unlock+0xee/0x1f0 [ 29.973997][ T777] ? console_flush_one_record+0x710/0x710 [ 29.973999][ T777] ? rcu_is_watching+0x16/0xd0 [ 29.974001][ T777] ? lock_acquire+0x60/0x160 [ 29.974005][ T777] ? __down_trylock_console_sem+0x5e/0xa0 [ 29.974006][ T777] ? vprintk_emit+0x320/0x3e0 [ 29.974010][ T777] vprintk_emit+0x37c/0x3e0 [ 29.974013][ T777] ? wake_up_klogd_work_func+0x90/0x90 [ 29.974015][ T777] ? kernel_text_address+0x149/0x170 [ 29.974018][ T777] ? __kernel_text_address+0x12/0x30 [ 29.974019][ T777] ? write_profile+0xf0/0xf0 [ 29.974022][ T777] ? unwind_get_return_address+0x67/0xd0 [ 29.974027][ T777] _printk+0xc7/0x100 [ 29.974030][ T777] ? snapshot_read.cold+0x21/0x21 [ 29.974034][ T777] ? mark_usage+0x61/0x170 [ 29.974035][ T777] ? netdev_name+0x43/0x60 [ 29.974038][ T777] ? __netdev_printk+0x17f/0x1d0 [ 29.974041][ T777] netdev_info+0xe2/0x116 [ 29.974044][ T777] ? netdev_notice+0x120/0x120 [ 29.974045][ T777] ? find_held_lock+0x2b/0x80 [ 29.974048][ T777] ? mark_usage+0x61/0x170 [ 29.974050][ T777] ? __lock_acquire+0x518/0xc20 [ 29.974056][ T777] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 29.974061][ T777] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 29.974065][ T777] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 29.974070][ T777] ovpn_peer_remove+0x394/0x640 [ovpn] [ 29.974074][ T777] ? do_raw_spin_lock+0x131/0x280 [ 29.974076][ T777] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 29.974083][ T777] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 29.974086][ T777] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 29.974093][ T777] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 29.974095][ T777] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 29.974105][ T777] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 29.974107][ T777] ? ref_tracker_alloc+0x28d/0x430 [ 29.974118][ T777] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 29.974122][ T777] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 29.974127][ T777] genl_family_rcv_msg_doit+0x206/0x300 [ 29.974131][ T777] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 29.974133][ T777] ? __lock_release.isra.0+0x69/0x1a0 [ 29.974138][ T777] ? rcu_is_watching+0x16/0xd0 [ 29.974141][ T777] ? cap_capable+0x1d7/0x3d0 [ 29.974144][ T777] ? write_profile+0xf0/0xf0 [ 29.974146][ T777] ? unwind_get_return_address+0x67/0xd0 [ 29.974149][ T777] genl_family_rcv_msg+0x3a4/0x640 [ 29.974153][ T777] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 29.974155][ T777] ? rcu_read_lock_any_held+0x3c/0x90 [ 29.974157][ T777] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 29.974160][ T777] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 29.974162][ T777] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 29.974165][ T777] ? __lock_acquire+0x518/0xc20 [ 29.974171][ T777] genl_rcv_msg+0xbb/0x160 [ 29.974174][ T777] netlink_rcv_skb+0x14e/0x3a0 [ 29.974176][ T777] ? genl_family_rcv_msg+0x640/0x640 [ 29.974179][ T777] ? netlink_ack+0xcf0/0xcf0 [ 29.974186][ T777] ? netlink_deliver_tap+0xc5/0x330 [ 29.974188][ T777] ? netlink_deliver_tap+0x13c/0x330 [ 29.974192][ T777] genl_rcv+0x28/0x40 [ 29.974194][ T777] netlink_unicast+0x486/0x750 [ 29.974198][ T777] ? netlink_attachskb+0x810/0x810 [ 29.974201][ T777] ? __lock_acquire+0x518/0xc20 [ 29.974205][ T777] netlink_sendmsg+0x735/0xc60 [ 29.974209][ T777] ? netlink_unicast+0x750/0x750 [ 29.974213][ T777] ? __might_fault+0x97/0x140 [ 29.974218][ T777] ____sys_sendmsg+0x415/0x880 [ 29.974222][ T777] ? copy_msghdr_from_user+0x279/0x420 [ 29.974224][ T777] ? get_timestamp.constprop.0+0x390/0x390 [ 29.974226][ T777] ? move_addr_to_kernel+0x40/0x40 [ 29.974233][ T777] ___sys_sendmsg+0x14e/0x1d0 [ 29.974236][ T777] ? copy_msghdr_from_user+0x420/0x420 [ 29.974238][ T777] ? kfree+0x22/0x590 [ 29.974253][ T777] __sys_sendmsg+0x12c/0x1d0 [ 29.974256][ T777] ? __sys_sendmsg_sock+0x20/0x20 [ 29.974261][ T777] ? rcu_is_watching+0x16/0xd0 [ 29.974264][ T777] ? rcu_is_watching+0x16/0xd0 [ 29.974267][ T777] do_syscall_64+0xff/0x530 [ 29.974270][ T777] ? exc_page_fault+0xee/0x100 [ 29.974273][ T777] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 29.974275][ T777] RIP: 0033:0x7f6fec2d354e [ 29.974277][ T777] 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.974279][ T777] RSP: 002b:00007ffec7ed0c70 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 29.974282][ T777] RAX: ffffffffffffffda RBX: 0000000013298130 RCX: 00007f6fec2d354e [ 29.974283][ T777] RDX: 0000000000000000 RSI: 00007ffec7ed0d10 RDI: 0000000000000005 [ 29.974284][ T777] RBP: 00007ffec7ed0c80 R08: 0000000000000000 R09: 0000000000000000 [ 29.974285][ T777] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000013298200 [ 29.974286][ T777] R13: 00007ffec7ed0d10 R14: 0000000013299260 R15: 000000000040bda8 [ 29.974292][ T777] [ 30.114992][ T781] tun1: deleting peer with id 10, reason 1 [ 32.969199][ T829] tun0: deleting peer with id 2, reason 1 [ 32.969219][ T829] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 32.969221][ T829] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 829, name: ovpn-cli [ 32.969223][ T829] preempt_count: 202, expected: 0 [ 32.969223][ T829] RCU nest depth: 0, expected: 0 [ 32.969224][ T829] locks held by ovpn-cli/829: 6, last CPU#2: [ 32.969226][ T829] #0: ffffffffab544b68 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 32.969238][ T829] #1: ff1100000c7f4e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 32.969246][ T829] #2: ffffffffaad79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 32.969252][ T829] #3: ffffffffaad79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 32.969255][ T829] #4: ffffffffaac99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 32.969259][ T829] #5: ffffffffaac99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 32.969263][ T829] irq event stamp: 33357 [ 32.969264][ T829] hardirqs last enabled at (33356): [] __down_trylock_console_sem+0x86/0xa0 [ 32.969266][ T829] hardirqs last disabled at (33357): [] console_emit_next_record+0x3d4/0x4c0 [ 32.969268][ T829] softirqs last enabled at (33324): [] __alloc_skb+0x4c2/0x5f0 [ 32.969272][ T829] softirqs last disabled at (33352): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 32.969275][ T829] Preemption disabled at: [ 32.969276][ T829] [<0000000000000000>] 0x0 [ 32.969282][ T829] CPU: 2 UID: 0 PID: 829 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 32.969286][ T829] Tainted: [W]=WARN [ 32.969287][ T829] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 32.969288][ T829] Call Trace: [ 32.969290][ T829] [ 32.969291][ T829] dump_stack_lvl+0x6f/0xa0 [ 32.969298][ T829] __might_resched.cold+0x1fe/0x2c1 [ 32.969302][ T829] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 32.969306][ T829] ? __kmalloc_noprof+0xdb/0x760 [ 32.969311][ T829] __kmalloc_noprof+0x443/0x760 [ 32.969313][ T829] ? alloc_buf.isra.0+0x4b/0x260 [ 32.969319][ T829] ? do_raw_spin_unlock+0x59/0x250 [ 32.969322][ T829] alloc_buf.isra.0+0x4b/0x260 [ 32.969325][ T829] put_chars+0x1e1/0x2f0 [ 32.969328][ T829] ? __send_to_port+0x420/0x420 [ 32.969331][ T829] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 32.969335][ T829] ? rcu_read_lock_any_held+0x3c/0x90 [ 32.969337][ T829] ? validate_chain+0x38b/0xc20 [ 32.969341][ T829] hvc_console_print+0x292/0x780 [ 32.969344][ T829] ? mark_usage+0x61/0x170 [ 32.969346][ T829] ? __lock_acquire+0x518/0xc20 [ 32.969348][ T829] ? __lock_acquire+0x518/0xc20 [ 32.969352][ T829] ? hvc_write+0x3a0/0x3a0 [ 32.969353][ T829] ? lock_acquire.part.0+0xd4/0x280 [ 32.969357][ T829] ? lock_acquire+0x13c/0x160 [ 32.969361][ T829] console_emit_next_record+0x22f/0x4c0 [ 32.969365][ T829] ? devkmsg_read+0x4b0/0x4b0 [ 32.969367][ T829] ? console_flush_one_record+0x106/0x710 [ 32.969370][ T829] ? rcu_is_watching+0x16/0xd0 [ 32.969372][ T829] ? lock_acquire+0x13c/0x160 [ 32.969376][ T829] console_flush_one_record+0x46f/0x710 [ 32.969380][ T829] ? console_emit_next_record+0x4c0/0x4c0 [ 32.969382][ T829] ? __lock_acquire+0x518/0xc20 [ 32.969387][ T829] console_unlock+0xee/0x1f0 [ 32.969390][ T829] ? console_flush_one_record+0x710/0x710 [ 32.969392][ T829] ? rcu_is_watching+0x16/0xd0 [ 32.969394][ T829] ? lock_acquire+0x60/0x160 [ 32.969398][ T829] ? __down_trylock_console_sem+0x5e/0xa0 [ 32.969400][ T829] ? vprintk_emit+0x320/0x3e0 [ 32.969403][ T829] vprintk_emit+0x37c/0x3e0 [ 32.969407][ T829] ? wake_up_klogd_work_func+0x90/0x90 [ 32.969409][ T829] ? kernel_text_address+0x149/0x170 [ 32.969412][ T829] ? __kernel_text_address+0x12/0x30 [ 32.969413][ T829] ? write_profile+0xf0/0xf0 [ 32.969415][ T829] ? unwind_get_return_address+0x67/0xd0 [ 32.969420][ T829] _printk+0xc7/0x100 [ 32.969424][ T829] ? snapshot_read.cold+0x21/0x21 [ 32.969428][ T829] ? mark_usage+0x61/0x170 [ 32.969429][ T829] ? netdev_name+0x43/0x60 [ 32.969432][ T829] ? __netdev_printk+0x17f/0x1d0 [ 32.969436][ T829] netdev_info+0xe2/0x116 [ 32.969438][ T829] ? netdev_notice+0x120/0x120 [ 32.969439][ T829] ? find_held_lock+0x2b/0x80 [ 32.969442][ T829] ? mark_usage+0x61/0x170 [ 32.969445][ T829] ? __lock_acquire+0x518/0xc20 [ 32.969450][ T829] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 32.969455][ T829] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 32.969459][ T829] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 32.969465][ T829] ovpn_peer_remove+0x394/0x640 [ovpn] [ 32.969468][ T829] ? do_raw_spin_lock+0x131/0x280 [ 32.969471][ T829] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 32.969477][ T829] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 32.969481][ T829] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 32.969487][ T829] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 32.969490][ T829] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 32.969494][ T829] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 32.969497][ T829] ? ref_tracker_alloc+0x28d/0x430 [ 32.969509][ T829] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 32.969513][ T829] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 32.969519][ T829] genl_family_rcv_msg_doit+0x206/0x300 [ 32.969522][ T829] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 32.969524][ T829] ? __lock_release.isra.0+0x69/0x1a0 [ 32.969530][ T829] ? rcu_is_watching+0x16/0xd0 [ 32.969532][ T829] ? cap_capable+0x1d7/0x3d0 [ 32.969536][ T829] ? write_profile+0xf0/0xf0 [ 32.969537][ T829] ? unwind_get_return_address+0x67/0xd0 [ 32.969541][ T829] genl_family_rcv_msg+0x3a4/0x640 [ 32.969544][ T829] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 32.969547][ T829] ? rcu_read_lock_any_held+0x3c/0x90 [ 32.969548][ T829] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 32.969551][ T829] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 32.969554][ T829] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 32.969557][ T829] ? __lock_acquire+0x518/0xc20 [ 32.969562][ T829] genl_rcv_msg+0xbb/0x160 [ 32.969566][ T829] netlink_rcv_skb+0x14e/0x3a0 [ 32.969568][ T829] ? genl_family_rcv_msg+0x640/0x640 [ 32.969571][ T829] ? netlink_ack+0xcf0/0xcf0 [ 32.969578][ T829] ? netlink_deliver_tap+0xc5/0x330 [ 32.969580][ T829] ? netlink_deliver_tap+0x13c/0x330 [ 32.969584][ T829] genl_rcv+0x28/0x40 [ 32.969586][ T829] netlink_unicast+0x486/0x750 [ 32.969590][ T829] ? netlink_attachskb+0x810/0x810 [ 32.969593][ T829] ? __lock_acquire+0x518/0xc20 [ 32.969597][ T829] netlink_sendmsg+0x735/0xc60 [ 32.969601][ T829] ? netlink_unicast+0x750/0x750 [ 32.969605][ T829] ? __might_fault+0x97/0x140 [ 32.969610][ T829] ____sys_sendmsg+0x415/0x880 [ 32.969614][ T829] ? copy_msghdr_from_user+0x279/0x420 [ 32.969616][ T829] ? get_timestamp.constprop.0+0x390/0x390 [ 32.969618][ T829] ? move_addr_to_kernel+0x40/0x40 [ 32.969625][ T829] ___sys_sendmsg+0x14e/0x1d0 [ 32.969628][ T829] ? copy_msghdr_from_user+0x420/0x420 [ 32.969630][ T829] ? kfree+0x22/0x590 [ 32.969644][ T829] __sys_sendmsg+0x12c/0x1d0 [ 32.969648][ T829] ? __sys_sendmsg_sock+0x20/0x20 [ 32.969653][ T829] ? rcu_is_watching+0x16/0xd0 [ 32.969655][ T829] ? rcu_is_watching+0x16/0xd0 [ 32.969659][ T829] do_syscall_64+0xff/0x530 [ 32.969662][ T829] ? exc_page_fault+0xee/0x100 [ 32.969664][ T829] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 32.969667][ T829] RIP: 0033:0x7fd97c49254e [ 32.969669][ T829] 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.969671][ T829] RSP: 002b:00007fff4e6eec90 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 32.969673][ T829] RAX: ffffffffffffffda RBX: 0000000004139130 RCX: 00007fd97c49254e [ 32.969675][ T829] RDX: 0000000000000000 RSI: 00007fff4e6eed30 RDI: 0000000000000005 [ 32.969676][ T829] RBP: 00007fff4e6eeca0 R08: 0000000000000000 R09: 0000000000000000 [ 32.969676][ T829] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000004139200 [ 32.969677][ T829] R13: 00007fff4e6eed30 R14: 000000000413a260 R15: 000000000040bda8 [ 32.969684][ T829] [ 33.115036][ T833] tun2: deleting peer with id 11, reason 1 [ 38.121641][ T53] tun0: deleting peer with id 4, reason 2 [ 38.121747][ T53] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 38.121749][ T53] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 53, name: kworker/2:1 [ 38.121751][ T53] preempt_count: 202, expected: 0 [ 38.121752][ T53] RCU nest depth: 0, expected: 0 [ 38.121753][ T53] locks held by kworker/2:1/53: 7, last CPU#2: [ 38.121755][ T53] #0: ff1100000ce61b40 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 38.121767][ T53] #1: ffa000000039fd10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 38.121770][ T53] #2: ff1100000c7f4e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 38.121778][ T53] #3: ffffffffaad79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 38.121783][ T53] #4: ffffffffaad79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 38.121787][ T53] #5: ffffffffaac99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 38.121790][ T53] #6: ffffffffaac99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 38.121794][ T53] irq event stamp: 54199 [ 38.121795][ T53] hardirqs last enabled at (54198): [] __down_trylock_console_sem+0x86/0xa0 [ 38.121797][ T53] hardirqs last disabled at (54199): [] console_emit_next_record+0x3d4/0x4c0 [ 38.121799][ T53] softirqs last enabled at (54008): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 38.121802][ T53] softirqs last disabled at (54192): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 38.121806][ T53] Preemption disabled at: [ 38.121806][ T53] [<0000000000000000>] 0x0 [ 38.121814][ T53] CPU: 2 UID: 0 PID: 53 Comm: kworker/2:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 38.121817][ T53] Tainted: [W]=WARN [ 38.121818][ T53] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 38.121820][ T53] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 38.121825][ T53] Call Trace: [ 38.121826][ T53] [ 38.121829][ T53] dump_stack_lvl+0x6f/0xa0 [ 38.121835][ T53] __might_resched.cold+0x1fe/0x2c1 [ 38.121840][ T53] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 38.121844][ T53] ? __kmalloc_noprof+0xdb/0x760 [ 38.121849][ T53] __kmalloc_noprof+0x443/0x760 [ 38.121851][ T53] ? alloc_buf.isra.0+0x4b/0x260 [ 38.121857][ T53] ? do_raw_spin_unlock+0x59/0x250 [ 38.121860][ T53] alloc_buf.isra.0+0x4b/0x260 [ 38.121863][ T53] put_chars+0x1e1/0x2f0 [ 38.121866][ T53] ? __send_to_port+0x420/0x420 [ 38.121870][ T53] ? validate_chain+0x34a/0xc20 [ 38.121874][ T53] hvc_console_print+0x292/0x780 [ 38.121877][ T53] ? mark_usage+0x61/0x170 [ 38.121879][ T53] ? __lock_acquire+0x518/0xc20 [ 38.121880][ T53] ? __lock_acquire+0x518/0xc20 [ 38.121884][ T53] ? hvc_write+0x3a0/0x3a0 [ 38.121887][ T53] ? console_emit_next_record+0x1df/0x4c0 [ 38.121890][ T53] ? rcu_is_watching+0x16/0xd0 [ 38.121894][ T53] ? lock_acquire+0x13c/0x160 [ 38.121897][ T53] console_emit_next_record+0x22f/0x4c0 [ 38.121901][ T53] ? devkmsg_read+0x4b0/0x4b0 [ 38.121903][ T53] ? console_flush_one_record+0x106/0x710 [ 38.121906][ T53] ? rcu_is_watching+0x16/0xd0 [ 38.121909][ T53] ? lock_acquire+0x13c/0x160 [ 38.121913][ T53] console_flush_one_record+0x46f/0x710 [ 38.121917][ T53] ? console_emit_next_record+0x4c0/0x4c0 [ 38.121918][ T53] ? __lock_acquire+0x518/0xc20 [ 38.121923][ T53] console_unlock+0xee/0x1f0 [ 38.121926][ T53] ? console_flush_one_record+0x710/0x710 [ 38.121928][ T53] ? rcu_is_watching+0x16/0xd0 [ 38.121930][ T53] ? lock_acquire+0x60/0x160 [ 38.121934][ T53] ? __down_trylock_console_sem+0x5e/0xa0 [ 38.121935][ T53] ? vprintk_emit+0x320/0x3e0 [ 38.121939][ T53] vprintk_emit+0x37c/0x3e0 [ 38.121942][ T53] ? wake_up_klogd_work_func+0x90/0x90 [ 38.121948][ T53] _printk+0xc7/0x100 [ 38.121952][ T53] ? snapshot_read.cold+0x21/0x21 [ 38.121956][ T53] ? netdev_name+0x43/0x60 [ 38.121959][ T53] ? __netdev_printk+0x17f/0x1d0 [ 38.121962][ T53] netdev_info+0xe2/0x116 [ 38.121965][ T53] ? netdev_notice+0x120/0x120 [ 38.121966][ T53] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.121971][ T53] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 38.121974][ T53] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.121978][ T53] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 38.121983][ T53] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 38.121990][ T53] ovpn_peer_remove+0x394/0x640 [ovpn] [ 38.121994][ T53] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 38.121996][ T53] ? __rwlock_init+0x150/0x150 [ 38.121998][ T53] ? mark_held_locks+0x40/0x70 [ 38.122003][ T53] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 38.122007][ T53] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 38.122010][ T53] ? __rwlock_init+0x150/0x150 [ 38.122015][ T53] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 38.122019][ T53] ? process_one_work+0xdfc/0x1560 [ 38.122022][ T53] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 38.122025][ T53] ? rcu_is_watching+0x16/0xd0 [ 38.122027][ T53] ? lock_acquire+0x13c/0x160 [ 38.122029][ T53] ? rcu_is_watching+0x16/0xd0 [ 38.122032][ T53] process_one_work+0xe3e/0x1560 [ 38.122039][ T53] ? __queue_delayed_work+0x470/0x470 [ 38.122042][ T53] ? lock_acquire.part.0+0xd4/0x280 [ 38.122049][ T53] worker_thread+0x4f1/0xd60 [ 38.122053][ T53] ? rescuer_thread+0x1340/0x1340 [ 38.122055][ T53] ? __kthread_parkme+0xbd/0x210 [ 38.122059][ T53] ? rescuer_thread+0x1340/0x1340 [ 38.122061][ T53] ? rescuer_thread+0x1340/0x1340 [ 38.122063][ T53] kthread+0x367/0x460 [ 38.122065][ T53] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 38.122068][ T53] ? kthread_affine_preferred+0x4c0/0x4c0 [ 38.122071][ T53] ret_from_fork+0x474/0x6b0 [ 38.122075][ T53] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 38.122078][ T53] ? __switch_to+0x5a3/0xe00 [ 38.122081][ T53] ? kthread_affine_preferred+0x4c0/0x4c0 [ 38.122083][ T53] ret_from_fork_asm+0x11/0x20 [ 38.122092][ T53] [ 38.150125][ T53] tun0: deleting peer with id 3, reason 2 [ 38.150641][ T53] tun0: deleting peer with id 5, reason 2 [ 39.209698][ T53] tun0: deleting peer with id 6, reason 2 [ 39.209715][ T53] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 39.209717][ T53] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 53, name: kworker/2:1 [ 39.209719][ T53] preempt_count: 202, expected: 0 [ 39.209720][ T53] RCU nest depth: 0, expected: 0 [ 39.209721][ T53] locks held by kworker/2:1/53: 7, last CPU#2: [ 39.209723][ T53] #0: ff1100000ce61b40 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 39.209734][ T53] #1: ffa000000039fd10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 39.209738][ T53] #2: ff1100000c7f4e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 39.209746][ T53] #3: ffffffffaad79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 39.209751][ T53] #4: ffffffffaad79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 39.209754][ T53] #5: ffffffffaac99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 39.209758][ T53] #6: ffffffffaac99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 39.209762][ T53] irq event stamp: 55389 [ 39.209763][ T53] hardirqs last enabled at (55388): [] __down_trylock_console_sem+0x86/0xa0 [ 39.209766][ T53] hardirqs last disabled at (55389): [] console_emit_next_record+0x3d4/0x4c0 [ 39.209768][ T53] softirqs last enabled at (55028): [] ovpn_peer_release+0x37/0xe0 [ovpn] [ 39.209771][ T53] softirqs last disabled at (55382): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 39.209775][ T53] Preemption disabled at: [ 39.209775][ T53] [<0000000000000000>] 0x0 [ 39.209782][ T53] CPU: 2 UID: 0 PID: 53 Comm: kworker/2:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 39.209785][ T53] Tainted: [W]=WARN [ 39.209786][ T53] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 39.209787][ T53] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 39.209791][ T53] Call Trace: [ 39.209793][ T53] [ 39.209795][ T53] dump_stack_lvl+0x6f/0xa0 [ 39.209801][ T53] __might_resched.cold+0x1fe/0x2c1 [ 39.209806][ T53] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 39.209810][ T53] ? __kmalloc_noprof+0xdb/0x760 [ 39.209815][ T53] __kmalloc_noprof+0x443/0x760 [ 39.209817][ T53] ? alloc_buf.isra.0+0x4b/0x260 [ 39.209823][ T53] ? do_raw_spin_unlock+0x59/0x250 [ 39.209826][ T53] alloc_buf.isra.0+0x4b/0x260 [ 39.209829][ T53] put_chars+0x1e1/0x2f0 [ 39.209831][ T53] ? prb_final_commit+0x50/0x50 [ 39.209833][ T53] ? __send_to_port+0x420/0x420 [ 39.209836][ T53] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 39.209840][ T53] ? rcu_read_lock_any_held+0x3c/0x90 [ 39.209842][ T53] ? validate_chain+0x38b/0xc20 [ 39.209846][ T53] hvc_console_print+0x292/0x780 [ 39.209849][ T53] ? mark_usage+0x61/0x170 [ 39.209851][ T53] ? __lock_acquire+0x518/0xc20 [ 39.209853][ T53] ? __lock_acquire+0x518/0xc20 [ 39.209857][ T53] ? hvc_write+0x3a0/0x3a0 [ 39.209859][ T53] ? console_emit_next_record+0x1df/0x4c0 [ 39.209862][ T53] ? rcu_is_watching+0x16/0xd0 [ 39.209865][ T53] ? lock_acquire+0x13c/0x160 [ 39.209868][ T53] console_emit_next_record+0x22f/0x4c0 [ 39.209873][ T53] ? devkmsg_read+0x4b0/0x4b0 [ 39.209874][ T53] ? console_flush_one_record+0x106/0x710 [ 39.209878][ T53] ? rcu_is_watching+0x16/0xd0 [ 39.209880][ T53] ? lock_acquire+0x13c/0x160 [ 39.209884][ T53] console_flush_one_record+0x46f/0x710 [ 39.209888][ T53] ? console_emit_next_record+0x4c0/0x4c0 [ 39.209890][ T53] ? __lock_acquire+0x518/0xc20 [ 39.209895][ T53] console_unlock+0xee/0x1f0 [ 39.209897][ T53] ? console_flush_one_record+0x710/0x710 [ 39.209899][ T53] ? rcu_is_watching+0x16/0xd0 [ 39.209902][ T53] ? lock_acquire+0x60/0x160 [ 39.209905][ T53] ? __down_trylock_console_sem+0x5e/0xa0 [ 39.209907][ T53] ? vprintk_emit+0x320/0x3e0 [ 39.209910][ T53] vprintk_emit+0x37c/0x3e0 [ 39.209914][ T53] ? wake_up_klogd_work_func+0x90/0x90 [ 39.209916][ T53] ? arch_stack_walk+0xd7/0x130 [ 39.209922][ T53] _printk+0xc7/0x100 [ 39.209926][ T53] ? snapshot_read.cold+0x21/0x21 [ 39.209930][ T53] ? netdev_name+0x43/0x60 [ 39.209933][ T53] ? __netdev_printk+0x17f/0x1d0 [ 39.209937][ T53] netdev_info+0xe2/0x116 [ 39.209939][ T53] ? netdev_notice+0x120/0x120 [ 39.209940][ T53] ? rcu_read_lock_any_held+0x3c/0x90 [ 39.209944][ T53] ? kthread+0x367/0x460 [ 39.209946][ T53] ? ret_from_fork+0x474/0x6b0 [ 39.209949][ T53] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 39.209952][ T53] ? rcu_read_lock_any_held+0x3c/0x90 [ 39.209956][ T53] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 39.209960][ T53] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 39.209967][ T53] ovpn_peer_remove+0x394/0x640 [ovpn] [ 39.209971][ T53] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 39.209973][ T53] ? __rwlock_init+0x150/0x150 [ 39.209976][ T53] ? mark_held_locks+0x40/0x70 [ 39.209980][ T53] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 39.209984][ T53] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 39.209987][ T53] ? __rwlock_init+0x150/0x150 [ 39.209992][ T53] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 39.209996][ T53] ? process_one_work+0xdfc/0x1560 [ 39.209999][ T53] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 39.210002][ T53] ? rcu_is_watching+0x16/0xd0 [ 39.210004][ T53] ? lock_acquire+0x13c/0x160 [ 39.210006][ T53] ? rcu_is_watching+0x16/0xd0 [ 39.210010][ T53] process_one_work+0xe3e/0x1560 [ 39.210016][ T53] ? __queue_delayed_work+0x470/0x470 [ 39.210019][ T53] ? lock_acquire.part.0+0xd4/0x280 [ 39.210026][ T53] worker_thread+0x4f1/0xd60 [ 39.210030][ T53] ? rescuer_thread+0x1340/0x1340 [ 39.210032][ T53] ? __kthread_parkme+0xbd/0x210 [ 39.210035][ T53] ? rescuer_thread+0x1340/0x1340 [ 39.210038][ T53] ? rescuer_thread+0x1340/0x1340 [ 39.210040][ T53] kthread+0x367/0x460 [ 39.210042][ T53] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 39.210045][ T53] ? kthread_affine_preferred+0x4c0/0x4c0 [ 39.210047][ T53] ret_from_fork+0x474/0x6b0 [ 39.210050][ T53] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 39.210053][ T53] ? __switch_to+0x5a3/0xe00 [ 39.210056][ T53] ? kthread_affine_preferred+0x4c0/0x4c0 [ 39.210059][ T53] ret_from_fork_asm+0x11/0x20 [ 39.210067][ T53] [ 44.266045][ T53] tun3: deleting peer with id 12, reason 2 [ 44.266067][ T53] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 44.266070][ T53] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 53, name: kworker/2:1 [ 44.266072][ T53] preempt_count: 202, expected: 0 [ 44.266073][ T53] RCU nest depth: 0, expected: 0 [ 44.266074][ T53] locks held by kworker/2:1/53: 7, last CPU#2: [ 44.266076][ T53] #0: ff1100000ce61b40 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 44.266088][ T53] #1: ffa000000039fd10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 44.266092][ T53] #2: ff1100000d619e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 44.266099][ T53] #3: ffffffffaad79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 44.266104][ T53] #4: ffffffffaad79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 44.266108][ T53] #5: ffffffffaac99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 44.266112][ T53] #6: ffffffffaac99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 44.266116][ T53] irq event stamp: 57901 [ 44.266116][ T53] hardirqs last enabled at (57900): [] __down_trylock_console_sem+0x86/0xa0 [ 44.266119][ T53] hardirqs last disabled at (57901): [] console_emit_next_record+0x3d4/0x4c0 [ 44.266121][ T53] softirqs last enabled at (57678): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 44.266124][ T53] softirqs last disabled at (57890): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 44.266128][ T53] Preemption disabled at: [ 44.266129][ T53] [<0000000000000000>] 0x0 [ 44.266136][ T53] CPU: 2 UID: 0 PID: 53 Comm: kworker/2:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 44.266140][ T53] Tainted: [W]=WARN [ 44.266140][ T53] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 44.266142][ T53] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 44.266147][ T53] Call Trace: [ 44.266148][ T53] [ 44.266150][ T53] dump_stack_lvl+0x6f/0xa0 [ 44.266160][ T53] __might_resched.cold+0x1fe/0x2c1 [ 44.266165][ T53] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 44.266169][ T53] ? __kmalloc_noprof+0xdb/0x760 [ 44.266173][ T53] __kmalloc_noprof+0x443/0x760 [ 44.266176][ T53] ? alloc_buf.isra.0+0x4b/0x260 [ 44.266182][ T53] ? do_raw_spin_unlock+0x59/0x250 [ 44.266185][ T53] alloc_buf.isra.0+0x4b/0x260 [ 44.266188][ T53] put_chars+0x1e1/0x2f0 [ 44.266190][ T53] ? prb_final_commit+0x50/0x50 [ 44.266192][ T53] ? __send_to_port+0x420/0x420 [ 44.266195][ T53] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 44.266200][ T53] ? rcu_read_lock_any_held+0x3c/0x90 [ 44.266202][ T53] ? validate_chain+0x38b/0xc20 [ 44.266205][ T53] hvc_console_print+0x292/0x780 [ 44.266209][ T53] ? mark_usage+0x61/0x170 [ 44.266211][ T53] ? __lock_acquire+0x518/0xc20 [ 44.266212][ T53] ? __lock_acquire+0x518/0xc20 [ 44.266216][ T53] ? hvc_write+0x3a0/0x3a0 [ 44.266218][ T53] ? console_emit_next_record+0x1df/0x4c0 [ 44.266222][ T53] ? rcu_is_watching+0x16/0xd0 [ 44.266224][ T53] ? lock_acquire+0x13c/0x160 [ 44.266228][ T53] console_emit_next_record+0x22f/0x4c0 [ 44.266232][ T53] ? devkmsg_read+0x4b0/0x4b0 [ 44.266234][ T53] ? console_flush_one_record+0x106/0x710 [ 44.266237][ T53] ? rcu_is_watching+0x16/0xd0 [ 44.266239][ T53] ? lock_acquire+0x13c/0x160 [ 44.266243][ T53] console_flush_one_record+0x46f/0x710 [ 44.266247][ T53] ? console_emit_next_record+0x4c0/0x4c0 [ 44.266249][ T53] ? __lock_acquire+0x518/0xc20 [ 44.266254][ T53] console_unlock+0xee/0x1f0 [ 44.266257][ T53] ? console_flush_one_record+0x710/0x710 [ 44.266259][ T53] ? rcu_is_watching+0x16/0xd0 [ 44.266261][ T53] ? lock_acquire+0x60/0x160 [ 44.266265][ T53] ? __down_trylock_console_sem+0x5e/0xa0 [ 44.266266][ T53] ? vprintk_emit+0x320/0x3e0 [ 44.266270][ T53] vprintk_emit+0x37c/0x3e0 [ 44.266273][ T53] ? wake_up_klogd_work_func+0x90/0x90 [ 44.266276][ T53] ? __lock_release.isra.0+0x69/0x1a0 [ 44.266280][ T53] _printk+0xc7/0x100 [ 44.266284][ T53] ? snapshot_read.cold+0x21/0x21 [ 44.266286][ T53] ? try_to_wake_up+0x153/0x1130 [ 44.266289][ T53] ? select_fallback_rq+0x510/0x510 [ 44.266291][ T53] ? netdev_name+0x43/0x60 [ 44.266295][ T53] ? __netdev_printk+0x17f/0x1d0 [ 44.266298][ T53] netdev_info+0xe2/0x116 [ 44.266301][ T53] ? netdev_notice+0x120/0x120 [ 44.266305][ T53] ? __queue_work+0x3ab/0xd30 [ 44.266309][ T53] ? kthread+0x367/0x460 [ 44.266313][ T53] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 44.266318][ T53] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 44.266321][ T53] ? mark_held_locks+0x40/0x70 [ 44.266324][ T53] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 44.266326][ T53] ? lockdep_hardirqs_on+0x91/0x130 [ 44.266331][ T53] ovpn_peer_remove+0x394/0x640 [ovpn] [ 44.266334][ T53] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 44.266337][ T53] ? __rwlock_init+0x150/0x150 [ 44.266339][ T53] ? mark_held_locks+0x40/0x70 [ 44.266343][ T53] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 44.266347][ T53] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 44.266350][ T53] ? __rwlock_init+0x150/0x150 [ 44.266355][ T53] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 44.266359][ T53] ? process_one_work+0xdfc/0x1560 [ 44.266362][ T53] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 44.266365][ T53] ? rcu_is_watching+0x16/0xd0 [ 44.266367][ T53] ? lock_acquire+0x13c/0x160 [ 44.266369][ T53] ? rcu_is_watching+0x16/0xd0 [ 44.266373][ T53] ? process_one_work+0xdfc/0x1560 [ 44.266374][ T53] process_one_work+0xe3e/0x1560 [ 44.266381][ T53] ? __queue_delayed_work+0x470/0x470 [ 44.266383][ T53] ? lock_acquire.part.0+0xd4/0x280 [ 44.266391][ T53] worker_thread+0x4f1/0xd60 [ 44.266395][ T53] ? rescuer_thread+0x1340/0x1340 [ 44.266397][ T53] ? __kthread_parkme+0xbd/0x210 [ 44.266400][ T53] ? rescuer_thread+0x1340/0x1340 [ 44.266402][ T53] ? rescuer_thread+0x1340/0x1340 [ 44.266404][ T53] kthread+0x367/0x460 [ 44.266406][ T53] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 44.266409][ T53] ? kthread_affine_preferred+0x4c0/0x4c0 [ 44.266411][ T53] ret_from_fork+0x474/0x6b0 [ 44.266416][ T53] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 44.266419][ T53] ? __switch_to+0x5a3/0xe00 [ 44.266422][ T53] ? kthread_affine_preferred+0x4c0/0x4c0 [ 44.266425][ T53] ret_from_fork_asm+0x11/0x20 [ 44.266433][ T53] [ 44.329543][ T53] tun4: deleting peer with id 13, reason 2 [ 44.457536][ T53] tun5: deleting peer with id 14, reason 2 [ 44.520548][ T210] tun6: deleting peer with id 15, reason 2