[ 16.703245][ T301] ip (301) used greatest stack depth: 23952 bytes left [ 16.703262][ T301] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.703264][ T301] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 301, name: ip [ 16.703265][ T301] preempt_count: 2, expected: 0 [ 16.703266][ T301] RCU nest depth: 0, expected: 0 [ 16.703267][ T301] locks held by ip/301: 5, last CPU#3: [ 16.703270][ T301] #0: ffffffff87e127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 16.703281][ T301] #1: ffffffff87f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.703287][ T301] #2: ffffffff87f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.703291][ T301] #3: ffffffff87e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.703295][ T301] #4: ffffffff87e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.703299][ T301] irq event stamp: 48948 [ 16.703300][ T301] hardirqs last enabled at (48947): [] __down_trylock_console_sem+0x86/0xa0 [ 16.703303][ T301] hardirqs last disabled at (48948): [] console_emit_next_record+0x3d4/0x4c0 [ 16.703306][ T301] softirqs last enabled at (47666): [] netlink_release+0x17b/0xcf0 [ 16.703311][ T301] softirqs last disabled at (47664): [] netlink_release+0xd2/0xcf0 [ 16.703313][ T301] Preemption disabled at: [ 16.703314][ T301] [<0000000000000000>] 0x0 [ 16.703321][ T301] CPU: 3 UID: 0 PID: 301 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.703325][ T301] Tainted: [W]=WARN [ 16.703326][ T301] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.703328][ T301] Call Trace: [ 16.703330][ T301] [ 16.703332][ T301] dump_stack_lvl+0x6f/0xa0 [ 16.703338][ T301] __might_resched.cold+0x1fe/0x2c1 [ 16.703343][ T301] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.703348][ T301] ? __kmalloc_noprof+0xdb/0x760 [ 16.703354][ T301] __kmalloc_noprof+0x443/0x760 [ 16.703357][ T301] ? alloc_buf.isra.0+0x4b/0x260 [ 16.703363][ T301] ? do_raw_spin_unlock+0x59/0x250 [ 16.703366][ T301] alloc_buf.isra.0+0x4b/0x260 [ 16.703369][ T301] put_chars+0x1e1/0x2f0 [ 16.703373][ T301] ? __send_to_port+0x420/0x420 [ 16.703374][ T301] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.703380][ T301] ? validate_chain+0x38b/0xc20 [ 16.703385][ T301] hvc_console_print+0x292/0x780 [ 16.703393][ T301] ? hvc_write+0x3a0/0x3a0 [ 16.703395][ T301] ? rcu_is_watching+0x16/0xd0 [ 16.703400][ T301] ? lock_acquire+0x13c/0x160 [ 16.703404][ T301] console_emit_next_record+0x22f/0x4c0 [ 16.703409][ T301] ? devkmsg_read+0x4b0/0x4b0 [ 16.703411][ T301] ? console_flush_one_record+0x106/0x710 [ 16.703414][ T301] ? rcu_is_watching+0x16/0xd0 [ 16.703417][ T301] ? lock_acquire+0x13c/0x160 [ 16.703421][ T301] console_flush_one_record+0x46f/0x710 [ 16.703425][ T301] ? console_emit_next_record+0x4c0/0x4c0 [ 16.703427][ T301] ? __lock_acquire+0x518/0xc20 [ 16.703433][ T301] console_unlock+0xee/0x1f0 [ 16.703436][ T301] ? console_flush_one_record+0x710/0x710 [ 16.703438][ T301] ? rcu_is_watching+0x16/0xd0 [ 16.703441][ T301] ? lock_acquire+0x60/0x160 [ 16.703444][ T301] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.703446][ T301] ? vprintk_emit+0x320/0x3e0 [ 16.703450][ T301] vprintk_emit+0x37c/0x3e0 [ 16.703454][ T301] ? wake_up_klogd_work_func+0x90/0x90 [ 16.703458][ T301] ? __lock_acquire+0x518/0xc20 [ 16.703462][ T301] _printk+0xc7/0x100 [ 16.703466][ T301] ? snapshot_read.cold+0x21/0x21 [ 16.703469][ T301] ? do_raw_spin_lock+0x131/0x280 [ 16.703471][ T301] ? __rwlock_init+0x150/0x150 [ 16.703475][ T301] ? do_raw_spin_lock+0x131/0x280 [ 16.703478][ T301] do_exit.cold+0x82/0x9c [ 16.703483][ T301] ? exit_notify+0x890/0x890 [ 16.703484][ T301] ? __lock_release.isra.0+0x69/0x1a0 [ 16.703487][ T301] ? rcu_is_watching+0x16/0xd0 [ 16.703491][ T301] do_group_exit+0xb8/0x370 [ 16.703495][ T301] __x64_sys_exit_group+0x3c/0x50 [ 16.703497][ T301] x64_sys_call+0x1567/0x1570 [ 16.703500][ T301] do_syscall_64+0xff/0x530 [ 16.703503][ T301] ? exc_page_fault+0xee/0x100 [ 16.703506][ T301] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.703509][ T301] RIP: 0033:0x7fd49ce2f1b8 [ 16.703511][ T301] Code: Unable to access opcode bytes at 0x7fd49ce2f18e. [ 16.703513][ T301] RSP: 002b:00007ffe2071cdf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 16.703515][ T301] RAX: ffffffffffffffda RBX: 00007fd49cf5ff88 RCX: 00007fd49ce2f1b8 [ 16.703517][ T301] RDX: 00007fd49cb79fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 16.703518][ T301] RBP: 00007ffe2071ce50 R08: 0000000000000000 R09: 0000000000000000 [ 16.703519][ T301] R10: 00007ffe2071cc10 R11: 0000000000000246 R12: 0000000000000001 [ 16.703519][ T301] R13: 0000000000000000 R14: 00007fd49cf5e680 R15: 00007fd49cf5ffa0 [ 16.703526][ T301] [ 32.081944][ T683] iperf3 (683) used greatest stack depth: 22576 bytes left [ 32.081966][ T683] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 32.081968][ T683] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 683, name: iperf3 [ 32.081970][ T683] preempt_count: 2, expected: 0 [ 32.081971][ T683] RCU nest depth: 0, expected: 0 [ 32.081972][ T683] locks held by iperf3/683: 5, last CPU#2: [ 32.081974][ T683] #0: ffffffff87e127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 32.081986][ T683] #1: ffffffff87f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 32.081992][ T683] #2: ffffffff87f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 32.081996][ T683] #3: ffffffff87e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 32.082000][ T683] #4: ffffffff87e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 32.082004][ T683] irq event stamp: 4567172 [ 32.082005][ T683] hardirqs last enabled at (4567171): [] __down_trylock_console_sem+0x86/0xa0 [ 32.082008][ T683] hardirqs last disabled at (4567172): [] console_emit_next_record+0x3d4/0x4c0 [ 32.082010][ T683] softirqs last enabled at (4566798): [] handle_softirqs+0x67c/0x900 [ 32.082013][ T683] softirqs last disabled at (4566791): [] __irq_exit_rcu+0x145/0x1c0 [ 32.082015][ T683] Preemption disabled at: [ 32.082016][ T683] [<0000000000000000>] 0x0 [ 32.082023][ T683] CPU: 2 UID: 0 PID: 683 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 32.082028][ T683] Tainted: [W]=WARN [ 32.082029][ T683] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 32.082030][ T683] Call Trace: [ 32.082032][ T683] [ 32.082034][ T683] dump_stack_lvl+0x6f/0xa0 [ 32.082040][ T683] __might_resched.cold+0x1fe/0x2c1 [ 32.082045][ T683] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 32.082049][ T683] ? __kmalloc_noprof+0xdb/0x760 [ 32.082054][ T683] __kmalloc_noprof+0x443/0x760 [ 32.082057][ T683] ? alloc_buf.isra.0+0x4b/0x260 [ 32.082063][ T683] ? do_raw_spin_unlock+0x59/0x250 [ 32.082066][ T683] alloc_buf.isra.0+0x4b/0x260 [ 32.082070][ T683] put_chars+0x1e1/0x2f0 [ 32.082072][ T683] ? prb_final_commit+0x50/0x50 [ 32.082075][ T683] ? __send_to_port+0x420/0x420 [ 32.082078][ T683] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 32.082083][ T683] ? rcu_read_lock_any_held+0x3c/0x90 [ 32.082086][ T683] ? validate_chain+0x38b/0xc20 [ 32.082090][ T683] hvc_console_print+0x292/0x780 [ 32.082093][ T683] ? mark_usage+0x61/0x170 [ 32.082095][ T683] ? __lock_acquire+0x518/0xc20 [ 32.082097][ T683] ? __lock_acquire+0x518/0xc20 [ 32.082101][ T683] ? hvc_write+0x3a0/0x3a0 [ 32.082104][ T683] ? console_emit_next_record+0x1df/0x4c0 [ 32.082107][ T683] ? rcu_is_watching+0x16/0xd0 [ 32.082110][ T683] ? lock_acquire+0x13c/0x160 [ 32.082114][ T683] console_emit_next_record+0x22f/0x4c0 [ 32.082118][ T683] ? devkmsg_read+0x4b0/0x4b0 [ 32.082120][ T683] ? console_flush_one_record+0x106/0x710 [ 32.082123][ T683] ? rcu_is_watching+0x16/0xd0 [ 32.082126][ T683] ? lock_acquire+0x13c/0x160 [ 32.082130][ T683] console_flush_one_record+0x46f/0x710 [ 32.082134][ T683] ? console_emit_next_record+0x4c0/0x4c0 [ 32.082136][ T683] ? __lock_acquire+0x518/0xc20 [ 32.082142][ T683] console_unlock+0xee/0x1f0 [ 32.082145][ T683] ? console_flush_one_record+0x710/0x710 [ 32.082147][ T683] ? rcu_is_watching+0x16/0xd0 [ 32.082149][ T683] ? lock_acquire+0x60/0x160 [ 32.082153][ T683] ? __down_trylock_console_sem+0x5e/0xa0 [ 32.082155][ T683] ? vprintk_emit+0x320/0x3e0 [ 32.082158][ T683] vprintk_emit+0x37c/0x3e0 [ 32.082162][ T683] ? wake_up_klogd_work_func+0x90/0x90 [ 32.082166][ T683] ? __lock_acquire+0x518/0xc20 [ 32.082170][ T683] _printk+0xc7/0x100 [ 32.082174][ T683] ? snapshot_read.cold+0x21/0x21 [ 32.082177][ T683] ? do_raw_spin_lock+0x131/0x280 [ 32.082180][ T683] ? __rwlock_init+0x150/0x150 [ 32.082184][ T683] ? do_raw_spin_lock+0x131/0x280 [ 32.082186][ T683] do_exit.cold+0x82/0x9c [ 32.082190][ T683] ? exit_notify+0x890/0x890 [ 32.082196][ T683] __x64_sys_exit+0x42/0x50 [ 32.082198][ T683] x64_sys_call+0x156c/0x1570 [ 32.082201][ T683] do_syscall_64+0xff/0x530 [ 32.082205][ T683] ? exc_page_fault+0xee/0x100 [ 32.082208][ T683] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 32.082211][ T683] RIP: 0033:0x7fc5ae507c49 [ 32.082213][ T683] Code: Unable to access opcode bytes at 0x7fc5ae507c1f. [ 32.082214][ T683] RSP: 002b:00007fc5adcc6e60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 32.082217][ T683] RAX: ffffffffffffffda RBX: 00007fc5adcc76c0 RCX: 00007fc5ae507c49 [ 32.082218][ T683] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 32.082219][ T683] RBP: 00007fc5adcc6f70 R08: 0000000000000001 R09: 00007fc5adcc76c0 [ 32.082220][ T683] R10: 0000000000000008 R11: 0000000000000246 R12: 00007fc5ad4c7000 [ 32.082221][ T683] R13: 00007ffe01882810 R14: 0000000000000002 R15: 00007ffe01882917 [ 32.082228][ T683] [ 34.516495][ T777] tun0: deleting peer with id 1, reason 1 [ 34.516660][ T777] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 34.516662][ T777] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 777, name: ovpn-cli [ 34.516664][ T777] preempt_count: 202, expected: 0 [ 34.516665][ T777] RCU nest depth: 0, expected: 0 [ 34.516666][ T777] locks held by ovpn-cli/777: 6, last CPU#3: [ 34.516668][ T777] #0: ffffffff88744ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 34.516681][ T777] #1: ff1100000a484e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 34.516689][ T777] #2: ffffffff87f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 34.516696][ T777] #3: ffffffff87f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 34.516700][ T777] #4: ffffffff87e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 34.516703][ T777] #5: ffffffff87e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 34.516708][ T777] irq event stamp: 30019 [ 34.516708][ T777] hardirqs last enabled at (30018): [] __down_trylock_console_sem+0x86/0xa0 [ 34.516711][ T777] hardirqs last disabled at (30019): [] console_emit_next_record+0x3d4/0x4c0 [ 34.516713][ T777] softirqs last enabled at (29986): [] __alloc_skb+0x4c2/0x5f0 [ 34.516717][ T777] softirqs last disabled at (30014): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 34.516721][ T777] Preemption disabled at: [ 34.516721][ T777] [<0000000000000000>] 0x0 [ 34.516728][ T777] CPU: 3 UID: 0 PID: 777 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 34.516732][ T777] Tainted: [W]=WARN [ 34.516733][ T777] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 34.516735][ T777] Call Trace: [ 34.516737][ T777] [ 34.516738][ T777] dump_stack_lvl+0x6f/0xa0 [ 34.516745][ T777] __might_resched.cold+0x1fe/0x2c1 [ 34.516750][ T777] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 34.516754][ T777] ? __kmalloc_noprof+0xdb/0x760 [ 34.516760][ T777] __kmalloc_noprof+0x443/0x760 [ 34.516762][ T777] ? alloc_buf.isra.0+0x4b/0x260 [ 34.516768][ T777] ? do_raw_spin_unlock+0x59/0x250 [ 34.516771][ T777] alloc_buf.isra.0+0x4b/0x260 [ 34.516775][ T777] put_chars+0x1e1/0x2f0 [ 34.516778][ T777] ? __send_to_port+0x420/0x420 [ 34.516780][ T777] ? check_prev_add+0x316/0xe90 [ 34.516784][ T777] ? validate_chain+0x34a/0xc20 [ 34.516788][ T777] hvc_console_print+0x292/0x780 [ 34.516792][ T777] ? mark_usage+0x61/0x170 [ 34.516794][ T777] ? __lock_acquire+0x518/0xc20 [ 34.516795][ T777] ? __lock_acquire+0x518/0xc20 [ 34.516800][ T777] ? hvc_write+0x3a0/0x3a0 [ 34.516801][ T777] ? lock_acquire.part.0+0xd4/0x280 [ 34.516806][ T777] ? lock_acquire+0x13c/0x160 [ 34.516810][ T777] console_emit_next_record+0x22f/0x4c0 [ 34.516814][ T777] ? devkmsg_read+0x4b0/0x4b0 [ 34.516816][ T777] ? console_flush_one_record+0x106/0x710 [ 34.516820][ T777] ? rcu_is_watching+0x16/0xd0 [ 34.516824][ T777] ? lock_acquire+0x13c/0x160 [ 34.516828][ T777] console_flush_one_record+0x46f/0x710 [ 34.516833][ T777] ? console_emit_next_record+0x4c0/0x4c0 [ 34.516835][ T777] ? __lock_acquire+0x518/0xc20 [ 34.516846][ T777] console_unlock+0xee/0x1f0 [ 34.516849][ T777] ? console_flush_one_record+0x710/0x710 [ 34.516851][ T777] ? rcu_is_watching+0x16/0xd0 [ 34.516854][ T777] ? lock_acquire+0x60/0x160 [ 34.516858][ T777] ? __down_trylock_console_sem+0x5e/0xa0 [ 34.516860][ T777] ? vprintk_emit+0x320/0x3e0 [ 34.516863][ T777] vprintk_emit+0x37c/0x3e0 [ 34.516867][ T777] ? wake_up_klogd_work_func+0x90/0x90 [ 34.516869][ T777] ? kernel_text_address+0x149/0x170 [ 34.516873][ T777] ? __kernel_text_address+0x12/0x30 [ 34.516874][ T777] ? write_profile+0xf0/0xf0 [ 34.516877][ T777] ? unwind_get_return_address+0x67/0xd0 [ 34.516882][ T777] _printk+0xc7/0x100 [ 34.516886][ T777] ? snapshot_read.cold+0x21/0x21 [ 34.516890][ T777] ? mark_usage+0x61/0x170 [ 34.516892][ T777] ? netdev_name+0x43/0x60 [ 34.516895][ T777] ? __netdev_printk+0x17f/0x1d0 [ 34.516899][ T777] netdev_info+0xe2/0x116 [ 34.516901][ T777] ? netdev_notice+0x120/0x120 [ 34.516903][ T777] ? find_held_lock+0x2b/0x80 [ 34.516906][ T777] ? mark_usage+0x61/0x170 [ 34.516909][ T777] ? __lock_acquire+0x518/0xc20 [ 34.516915][ T777] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 34.516920][ T777] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 34.516925][ T777] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 34.516931][ T777] ovpn_peer_remove+0x394/0x640 [ovpn] [ 34.516934][ T777] ? do_raw_spin_lock+0x131/0x280 [ 34.516937][ T777] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 34.516944][ T777] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 34.516948][ T777] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 34.516955][ T777] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 34.516959][ T777] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 34.516963][ T777] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 34.516966][ T777] ? ref_tracker_alloc+0x28d/0x430 [ 34.516977][ T777] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 34.516982][ T777] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 34.516988][ T777] genl_family_rcv_msg_doit+0x206/0x300 [ 34.516992][ T777] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 34.516994][ T777] ? __lock_release.isra.0+0x69/0x1a0 [ 34.517000][ T777] ? rcu_is_watching+0x16/0xd0 [ 34.517003][ T777] ? cap_capable+0x1d7/0x3d0 [ 34.517007][ T777] ? write_profile+0xf0/0xf0 [ 34.517008][ T777] ? unwind_get_return_address+0x67/0xd0 [ 34.517012][ T777] genl_family_rcv_msg+0x3a4/0x640 [ 34.517016][ T777] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 34.517019][ T777] ? rcu_read_lock_any_held+0x3c/0x90 [ 34.517021][ T777] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 34.517025][ T777] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 34.517027][ T777] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 34.517031][ T777] ? __lock_acquire+0x518/0xc20 [ 34.517037][ T777] genl_rcv_msg+0xbb/0x160 [ 34.517040][ T777] netlink_rcv_skb+0x14e/0x3a0 [ 34.517043][ T777] ? genl_family_rcv_msg+0x640/0x640 [ 34.517047][ T777] ? netlink_ack+0xcf0/0xcf0 [ 34.517054][ T777] ? netlink_deliver_tap+0xc5/0x330 [ 34.517056][ T777] ? netlink_deliver_tap+0x13c/0x330 [ 34.517061][ T777] genl_rcv+0x28/0x40 [ 34.517063][ T777] netlink_unicast+0x486/0x750 [ 34.517068][ T777] ? netlink_attachskb+0x810/0x810 [ 34.517071][ T777] ? __lock_acquire+0x518/0xc20 [ 34.517075][ T777] netlink_sendmsg+0x735/0xc60 [ 34.517080][ T777] ? netlink_unicast+0x750/0x750 [ 34.517084][ T777] ? __might_fault+0x97/0x140 [ 34.517090][ T777] ____sys_sendmsg+0x415/0x880 [ 34.517094][ T777] ? copy_msghdr_from_user+0x279/0x420 [ 34.517097][ T777] ? get_timestamp.constprop.0+0x390/0x390 [ 34.517099][ T777] ? move_addr_to_kernel+0x40/0x40 [ 34.517107][ T777] ___sys_sendmsg+0x14e/0x1d0 [ 34.517110][ T777] ? copy_msghdr_from_user+0x420/0x420 [ 34.517112][ T777] ? kfree+0x22/0x590 [ 34.517128][ T777] __sys_sendmsg+0x12c/0x1d0 [ 34.517132][ T777] ? __sys_sendmsg_sock+0x20/0x20 [ 34.517138][ T777] ? rcu_is_watching+0x16/0xd0 [ 34.517140][ T777] ? rcu_is_watching+0x16/0xd0 [ 34.517144][ T777] do_syscall_64+0xff/0x530 [ 34.517147][ T777] ? exc_page_fault+0xee/0x100 [ 34.517150][ T777] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 34.517153][ T777] RIP: 0033:0x7f3d5be7b54e [ 34.517156][ 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 [ 34.517157][ T777] RSP: 002b:00007ffd80bb9cd0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 34.517160][ T777] RAX: ffffffffffffffda RBX: 0000000026e03130 RCX: 00007f3d5be7b54e [ 34.517162][ T777] RDX: 0000000000000000 RSI: 00007ffd80bb9d70 RDI: 0000000000000005 [ 34.517163][ T777] RBP: 00007ffd80bb9ce0 R08: 0000000000000000 R09: 0000000000000000 [ 34.517164][ T777] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000026e03200 [ 34.517165][ T777] R13: 00007ffd80bb9d70 R14: 0000000026e04260 R15: 000000000040bda8 [ 34.517172][ T777] [ 34.667814][ T781] tun1: deleting peer with id 10, reason 1 [ 37.802177][ T830] tun0: deleting peer with id 2, reason 1 [ 37.802198][ T830] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 37.802200][ T830] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 830, name: ovpn-cli [ 37.802202][ T830] preempt_count: 202, expected: 0 [ 37.802203][ T830] RCU nest depth: 0, expected: 0 [ 37.802204][ T830] locks held by ovpn-cli/830: 6, last CPU#0: [ 37.802206][ T830] #0: ffffffff88744ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 37.802218][ T830] #1: ff1100000a484e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 37.802226][ T830] #2: ffffffff87f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 37.802233][ T830] #3: ffffffff87f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 37.802237][ T830] #4: ffffffff87e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 37.802241][ T830] #5: ffffffff87e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 37.802245][ T830] irq event stamp: 31621 [ 37.802246][ T830] hardirqs last enabled at (31620): [] __down_trylock_console_sem+0x86/0xa0 [ 37.802249][ T830] hardirqs last disabled at (31621): [] console_emit_next_record+0x3d4/0x4c0 [ 37.802251][ T830] softirqs last enabled at (31588): [] __alloc_skb+0x4c2/0x5f0 [ 37.802255][ T830] softirqs last disabled at (31616): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 37.802259][ T830] Preemption disabled at: [ 37.802260][ T830] [<0000000000000000>] 0x0 [ 37.802267][ T830] CPU: 0 UID: 0 PID: 830 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 37.802271][ T830] Tainted: [W]=WARN [ 37.802272][ T830] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 37.802273][ T830] Call Trace: [ 37.802275][ T830] [ 37.802276][ T830] dump_stack_lvl+0x6f/0xa0 [ 37.802283][ T830] __might_resched.cold+0x1fe/0x2c1 [ 37.802288][ T830] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 37.802293][ T830] ? __kmalloc_noprof+0xdb/0x760 [ 37.802298][ T830] __kmalloc_noprof+0x443/0x760 [ 37.802301][ T830] ? alloc_buf.isra.0+0x4b/0x260 [ 37.802308][ T830] ? do_raw_spin_unlock+0x59/0x250 [ 37.802311][ T830] alloc_buf.isra.0+0x4b/0x260 [ 37.802314][ T830] put_chars+0x1e1/0x2f0 [ 37.802317][ T830] ? __send_to_port+0x420/0x420 [ 37.802321][ T830] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 37.802325][ T830] ? rcu_read_lock_any_held+0x3c/0x90 [ 37.802328][ T830] ? validate_chain+0x38b/0xc20 [ 37.802332][ T830] hvc_console_print+0x292/0x780 [ 37.802336][ T830] ? mark_usage+0x61/0x170 [ 37.802338][ T830] ? __lock_acquire+0x518/0xc20 [ 37.802339][ T830] ? __lock_acquire+0x518/0xc20 [ 37.802344][ T830] ? hvc_write+0x3a0/0x3a0 [ 37.802346][ T830] ? lock_acquire.part.0+0xd4/0x280 [ 37.802350][ T830] ? lock_acquire+0x13c/0x160 [ 37.802354][ T830] console_emit_next_record+0x22f/0x4c0 [ 37.802359][ T830] ? devkmsg_read+0x4b0/0x4b0 [ 37.802361][ T830] ? console_flush_one_record+0x106/0x710 [ 37.802364][ T830] ? rcu_is_watching+0x16/0xd0 [ 37.802367][ T830] ? lock_acquire+0x13c/0x160 [ 37.802371][ T830] console_flush_one_record+0x46f/0x710 [ 37.802376][ T830] ? console_emit_next_record+0x4c0/0x4c0 [ 37.802378][ T830] ? __lock_acquire+0x518/0xc20 [ 37.802384][ T830] console_unlock+0xee/0x1f0 [ 37.802387][ T830] ? console_flush_one_record+0x710/0x710 [ 37.802389][ T830] ? rcu_is_watching+0x16/0xd0 [ 37.802391][ T830] ? lock_acquire+0x60/0x160 [ 37.802395][ T830] ? __down_trylock_console_sem+0x5e/0xa0 [ 37.802397][ T830] ? vprintk_emit+0x320/0x3e0 [ 37.802403][ T830] vprintk_emit+0x37c/0x3e0 [ 37.802408][ T830] ? wake_up_klogd_work_func+0x90/0x90 [ 37.802410][ T830] ? kernel_text_address+0x149/0x170 [ 37.802413][ T830] ? __kernel_text_address+0x12/0x30 [ 37.802415][ T830] ? write_profile+0xf0/0xf0 [ 37.802417][ T830] ? unwind_get_return_address+0x67/0xd0 [ 37.802423][ T830] _printk+0xc7/0x100 [ 37.802427][ T830] ? snapshot_read.cold+0x21/0x21 [ 37.802431][ T830] ? mark_usage+0x61/0x170 [ 37.802433][ T830] ? netdev_name+0x43/0x60 [ 37.802437][ T830] ? __netdev_printk+0x17f/0x1d0 [ 37.802440][ T830] netdev_info+0xe2/0x116 [ 37.802443][ T830] ? netdev_notice+0x120/0x120 [ 37.802445][ T830] ? find_held_lock+0x2b/0x80 [ 37.802448][ T830] ? mark_usage+0x61/0x170 [ 37.802451][ T830] ? __lock_acquire+0x518/0xc20 [ 37.802457][ T830] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 37.802462][ T830] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 37.802467][ T830] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 37.802473][ T830] ovpn_peer_remove+0x394/0x640 [ovpn] [ 37.802477][ T830] ? do_raw_spin_lock+0x131/0x280 [ 37.802480][ T830] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 37.802487][ T830] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 37.802491][ T830] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 37.802498][ T830] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 37.802501][ T830] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 37.802506][ T830] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 37.802509][ T830] ? ref_tracker_alloc+0x28d/0x430 [ 37.802520][ T830] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 37.802525][ T830] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 37.802531][ T830] genl_family_rcv_msg_doit+0x206/0x300 [ 37.802535][ T830] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 37.802537][ T830] ? __lock_release.isra.0+0x69/0x1a0 [ 37.802543][ T830] ? rcu_is_watching+0x16/0xd0 [ 37.802546][ T830] ? cap_capable+0x1d7/0x3d0 [ 37.802550][ T830] ? write_profile+0xf0/0xf0 [ 37.802552][ T830] ? unwind_get_return_address+0x67/0xd0 [ 37.802555][ T830] genl_family_rcv_msg+0x3a4/0x640 [ 37.802559][ T830] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 37.802562][ T830] ? rcu_read_lock_any_held+0x3c/0x90 [ 37.802564][ T830] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 37.802567][ T830] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 37.802570][ T830] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 37.802574][ T830] ? __lock_acquire+0x518/0xc20 [ 37.802580][ T830] genl_rcv_msg+0xbb/0x160 [ 37.802583][ T830] netlink_rcv_skb+0x14e/0x3a0 [ 37.802586][ T830] ? genl_family_rcv_msg+0x640/0x640 [ 37.802589][ T830] ? netlink_ack+0xcf0/0xcf0 [ 37.802597][ T830] ? netlink_deliver_tap+0xc5/0x330 [ 37.802599][ T830] ? netlink_deliver_tap+0x13c/0x330 [ 37.802603][ T830] genl_rcv+0x28/0x40 [ 37.802606][ T830] netlink_unicast+0x486/0x750 [ 37.802610][ T830] ? netlink_attachskb+0x810/0x810 [ 37.802614][ T830] ? __lock_acquire+0x518/0xc20 [ 37.802618][ T830] netlink_sendmsg+0x735/0xc60 [ 37.802623][ T830] ? netlink_unicast+0x750/0x750 [ 37.802627][ T830] ? __might_fault+0x97/0x140 [ 37.802633][ T830] ____sys_sendmsg+0x415/0x880 [ 37.802637][ T830] ? copy_msghdr_from_user+0x279/0x420 [ 37.802640][ T830] ? get_timestamp.constprop.0+0x390/0x390 [ 37.802642][ T830] ? move_addr_to_kernel+0x40/0x40 [ 37.802650][ T830] ___sys_sendmsg+0x14e/0x1d0 [ 37.802653][ T830] ? copy_msghdr_from_user+0x420/0x420 [ 37.802655][ T830] ? kfree+0x22/0x590 [ 37.802671][ T830] __sys_sendmsg+0x12c/0x1d0 [ 37.802675][ T830] ? __sys_sendmsg_sock+0x20/0x20 [ 37.802681][ T830] ? rcu_is_watching+0x16/0xd0 [ 37.802684][ T830] ? rcu_is_watching+0x16/0xd0 [ 37.802688][ T830] do_syscall_64+0xff/0x530 [ 37.802691][ T830] ? exc_page_fault+0xee/0x100 [ 37.802694][ T830] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 37.802696][ T830] RIP: 0033:0x7f5de1c7954e [ 37.802698][ T830] 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 [ 37.802700][ T830] RSP: 002b:00007ffc16038900 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 37.802703][ T830] RAX: ffffffffffffffda RBX: 000000000b793130 RCX: 00007f5de1c7954e [ 37.802705][ T830] RDX: 0000000000000000 RSI: 00007ffc160389a0 RDI: 0000000000000005 [ 37.802706][ T830] RBP: 00007ffc16038910 R08: 0000000000000000 R09: 0000000000000000 [ 37.802707][ T830] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000b793200 [ 37.802708][ T830] R13: 00007ffc160389a0 R14: 000000000b794260 R15: 000000000040bda8 [ 37.802715][ T830] [ 37.944135][ T834] tun2: deleting peer with id 11, reason 1 [ 43.082752][ T59] tun0: deleting peer with id 4, reason 2 [ 43.082837][ T59] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 43.082840][ T59] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 59, name: kworker/3:1 [ 43.082843][ T59] preempt_count: 202, expected: 0 [ 43.082845][ T59] RCU nest depth: 0, expected: 0 [ 43.082847][ T59] locks held by kworker/3:1/59: 7, last CPU#3: [ 43.082850][ T59] #0: ff1100000a4cfb40 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 43.082867][ T59] #1: ffa00000003ffd10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 43.082874][ T59] #2: ff1100000a484e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 43.082888][ T59] #3: ffffffff87f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 43.082896][ T59] #4: ffffffff87f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 43.082903][ T59] #5: ffffffff87e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 43.082910][ T59] #6: ffffffff87e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 43.082924][ T59] irq event stamp: 35843 [ 43.082926][ T59] hardirqs last enabled at (35842): [] __down_trylock_console_sem+0x86/0xa0 [ 43.082930][ T59] hardirqs last disabled at (35843): [] console_emit_next_record+0x3d4/0x4c0 [ 43.082933][ T59] softirqs last enabled at (35826): [] process_one_work+0xe3e/0x1560 [ 43.082937][ T59] softirqs last disabled at (35836): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 43.082943][ T59] Preemption disabled at: [ 43.082944][ T59] [<0000000000000000>] 0x0 [ 43.082954][ T59] CPU: 3 UID: 0 PID: 59 Comm: kworker/3:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 43.082960][ T59] Tainted: [W]=WARN [ 43.082961][ T59] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 43.082964][ T59] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 43.082972][ T59] Call Trace: [ 43.082975][ T59] [ 43.082980][ T59] dump_stack_lvl+0x6f/0xa0 [ 43.082989][ T59] __might_resched.cold+0x1fe/0x2c1 [ 43.082996][ T59] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 43.083002][ T59] ? __kmalloc_noprof+0xdb/0x760 [ 43.083010][ T59] __kmalloc_noprof+0x443/0x760 [ 43.083015][ T59] ? alloc_buf.isra.0+0x4b/0x260 [ 43.083025][ T59] ? do_raw_spin_unlock+0x59/0x250 [ 43.083029][ T59] alloc_buf.isra.0+0x4b/0x260 [ 43.083036][ T59] put_chars+0x1e1/0x2f0 [ 43.083041][ T59] ? __send_to_port+0x420/0x420 [ 43.083050][ T59] ? validate_chain+0x34a/0xc20 [ 43.083057][ T59] hvc_console_print+0x292/0x780 [ 43.083062][ T59] ? mark_usage+0x61/0x170 [ 43.083065][ T59] ? __lock_acquire+0x518/0xc20 [ 43.083068][ T59] ? __lock_acquire+0x518/0xc20 [ 43.083076][ T59] ? hvc_write+0x3a0/0x3a0 [ 43.083080][ T59] ? console_emit_next_record+0x1df/0x4c0 [ 43.083087][ T59] ? rcu_is_watching+0x16/0xd0 [ 43.083093][ T59] ? lock_acquire+0x13c/0x160 [ 43.083100][ T59] console_emit_next_record+0x22f/0x4c0 [ 43.083107][ T59] ? devkmsg_read+0x4b0/0x4b0 [ 43.083111][ T59] ? console_flush_one_record+0x106/0x710 [ 43.083116][ T59] ? rcu_is_watching+0x16/0xd0 [ 43.083121][ T59] ? lock_acquire+0x13c/0x160 [ 43.083129][ T59] console_flush_one_record+0x46f/0x710 [ 43.083137][ T59] ? console_emit_next_record+0x4c0/0x4c0 [ 43.083140][ T59] ? __lock_acquire+0x518/0xc20 [ 43.083150][ T59] console_unlock+0xee/0x1f0 [ 43.083155][ T59] ? console_flush_one_record+0x710/0x710 [ 43.083158][ T59] ? rcu_is_watching+0x16/0xd0 [ 43.083163][ T59] ? lock_acquire+0x60/0x160 [ 43.083170][ T59] ? __down_trylock_console_sem+0x5e/0xa0 [ 43.083173][ T59] ? vprintk_emit+0x320/0x3e0 [ 43.083180][ T59] vprintk_emit+0x37c/0x3e0 [ 43.083186][ T59] ? wake_up_klogd_work_func+0x90/0x90 [ 43.083192][ T59] ? __lock_release.isra.0+0x69/0x1a0 [ 43.083195][ T59] ? rcu_is_watching+0x16/0xd0 [ 43.083203][ T59] _printk+0xc7/0x100 [ 43.083208][ T59] ? snapshot_read.cold+0x21/0x21 [ 43.083214][ T59] ? __add_to_free_list+0x81/0x5c0 [ 43.083218][ T59] ? __mod_zone_page_state+0xe1/0x190 [ 43.083222][ T59] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 43.083226][ T59] ? netdev_name+0x43/0x60 [ 43.083231][ T59] ? __netdev_printk+0x17f/0x1d0 [ 43.083238][ T59] netdev_info+0xe2/0x116 [ 43.083242][ T59] ? netdev_notice+0x120/0x120 [ 43.083245][ T59] ? __lock_acquire+0x518/0xc20 [ 43.083255][ T59] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 43.083260][ T59] ? rcu_read_lock_any_held+0x3c/0x90 [ 43.083268][ T59] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 43.083278][ T59] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 43.083292][ T59] ovpn_peer_remove+0x394/0x640 [ovpn] [ 43.083301][ T59] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 43.083307][ T59] ? __rwlock_init+0x150/0x150 [ 43.083311][ T59] ? mark_held_locks+0x40/0x70 [ 43.083320][ T59] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 43.083328][ T59] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 43.083334][ T59] ? __rwlock_init+0x150/0x150 [ 43.083344][ T59] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 43.083353][ T59] ? process_one_work+0xdfc/0x1560 [ 43.083358][ T59] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 43.083365][ T59] ? rcu_is_watching+0x16/0xd0 [ 43.083368][ T59] ? lock_acquire+0x13c/0x160 [ 43.083372][ T59] ? rcu_is_watching+0x16/0xd0 [ 43.083379][ T59] process_one_work+0xe3e/0x1560 [ 43.083392][ T59] ? __queue_delayed_work+0x470/0x470 [ 43.083403][ T59] ? lock_acquire.part.0+0xd4/0x280 [ 43.083418][ T59] worker_thread+0x4f1/0xd60 [ 43.083426][ T59] ? rescuer_thread+0x1340/0x1340 [ 43.083430][ T59] ? __kthread_parkme+0xbd/0x210 [ 43.083435][ T59] ? rescuer_thread+0x1340/0x1340 [ 43.083441][ T59] ? rescuer_thread+0x1340/0x1340 [ 43.083444][ T59] kthread+0x367/0x460 [ 43.083448][ T59] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 43.083452][ T59] ? kthread_affine_preferred+0x4c0/0x4c0 [ 43.083458][ T59] ret_from_fork+0x474/0x6b0 [ 43.083465][ T59] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 43.083471][ T59] ? __switch_to+0x5a3/0xe00 [ 43.083476][ T59] ? kthread_affine_preferred+0x4c0/0x4c0 [ 43.083481][ T59] ret_from_fork_asm+0x11/0x20 [ 43.083499][ T59] [ 43.129776][ T59] tun0: deleting peer with id 3, reason 2 [ 43.130476][ T59] tun0: deleting peer with id 5, reason 2 [ 44.171493][ T59] tun0: deleting peer with id 6, reason 2 [ 44.171517][ T59] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 44.171520][ T59] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 59, name: kworker/3:1 [ 44.171522][ T59] preempt_count: 202, expected: 0 [ 44.171523][ T59] RCU nest depth: 0, expected: 0 [ 44.171524][ T59] locks held by kworker/3:1/59: 7, last CPU#3: [ 44.171526][ T59] #0: ff1100000a4cfb40 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 44.171539][ T59] #1: ffa00000003ffd10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 44.171543][ T59] #2: ff1100000a484e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 44.171554][ T59] #3: ffffffff87f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 44.171560][ T59] #4: ffffffff87f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 44.171563][ T59] #5: ffffffff87e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 44.171568][ T59] #6: ffffffff87e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 44.171572][ T59] irq event stamp: 36735 [ 44.171573][ T59] hardirqs last enabled at (36734): [] __down_trylock_console_sem+0x86/0xa0 [ 44.171575][ T59] hardirqs last disabled at (36735): [] console_emit_next_record+0x3d4/0x4c0 [ 44.171577][ T59] softirqs last enabled at (36510): [] ovpn_peer_release+0x37/0xe0 [ovpn] [ 44.171581][ T59] softirqs last disabled at (36728): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 44.171584][ T59] Preemption disabled at: [ 44.171585][ T59] [<0000000000000000>] 0x0 [ 44.171593][ T59] CPU: 3 UID: 0 PID: 59 Comm: kworker/3:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 44.171596][ T59] Tainted: [W]=WARN [ 44.171597][ T59] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 44.171600][ T59] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 44.171605][ T59] Call Trace: [ 44.171607][ T59] [ 44.171610][ T59] dump_stack_lvl+0x6f/0xa0 [ 44.171617][ T59] __might_resched.cold+0x1fe/0x2c1 [ 44.171622][ T59] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 44.171626][ T59] ? __kmalloc_noprof+0xdb/0x760 [ 44.171631][ T59] __kmalloc_noprof+0x443/0x760 [ 44.171635][ T59] ? alloc_buf.isra.0+0x4b/0x260 [ 44.171641][ T59] ? do_raw_spin_unlock+0x59/0x250 [ 44.171644][ T59] alloc_buf.isra.0+0x4b/0x260 [ 44.171648][ T59] put_chars+0x1e1/0x2f0 [ 44.171650][ T59] ? prb_final_commit+0x50/0x50 [ 44.171653][ T59] ? __send_to_port+0x420/0x420 [ 44.171656][ T59] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 44.171661][ T59] ? rcu_read_lock_any_held+0x3c/0x90 [ 44.171664][ T59] ? validate_chain+0x38b/0xc20 [ 44.171668][ T59] hvc_console_print+0x292/0x780 [ 44.171672][ T59] ? mark_usage+0x61/0x170 [ 44.171674][ T59] ? __lock_acquire+0x518/0xc20 [ 44.171675][ T59] ? __lock_acquire+0x518/0xc20 [ 44.171680][ T59] ? hvc_write+0x3a0/0x3a0 [ 44.171682][ T59] ? console_emit_next_record+0x1df/0x4c0 [ 44.171686][ T59] ? rcu_is_watching+0x16/0xd0 [ 44.171688][ T59] ? lock_acquire+0x13c/0x160 [ 44.171693][ T59] console_emit_next_record+0x22f/0x4c0 [ 44.171697][ T59] ? devkmsg_read+0x4b0/0x4b0 [ 44.171699][ T59] ? console_flush_one_record+0x106/0x710 [ 44.171703][ T59] ? rcu_is_watching+0x16/0xd0 [ 44.171705][ T59] ? lock_acquire+0x13c/0x160 [ 44.171710][ T59] console_flush_one_record+0x46f/0x710 [ 44.171714][ T59] ? console_emit_next_record+0x4c0/0x4c0 [ 44.171716][ T59] ? __lock_acquire+0x518/0xc20 [ 44.171722][ T59] console_unlock+0xee/0x1f0 [ 44.171725][ T59] ? console_flush_one_record+0x710/0x710 [ 44.171727][ T59] ? rcu_is_watching+0x16/0xd0 [ 44.171730][ T59] ? lock_acquire+0x60/0x160 [ 44.171734][ T59] ? __down_trylock_console_sem+0x5e/0xa0 [ 44.171736][ T59] ? vprintk_emit+0x320/0x3e0 [ 44.171739][ T59] vprintk_emit+0x37c/0x3e0 [ 44.171743][ T59] ? wake_up_klogd_work_func+0x90/0x90 [ 44.171747][ T59] ? __lock_release.isra.0+0x69/0x1a0 [ 44.171749][ T59] ? rcu_is_watching+0x16/0xd0 [ 44.171753][ T59] _printk+0xc7/0x100 [ 44.171757][ T59] ? snapshot_read.cold+0x21/0x21 [ 44.171760][ T59] ? __add_to_free_list+0x81/0x5c0 [ 44.171763][ T59] ? __mod_zone_page_state+0xe1/0x190 [ 44.171767][ T59] ? netdev_name+0x43/0x60 [ 44.171771][ T59] ? __netdev_printk+0x17f/0x1d0 [ 44.171774][ T59] netdev_info+0xe2/0x116 [ 44.171777][ T59] ? netdev_notice+0x120/0x120 [ 44.171778][ T59] ? rcu_read_lock_any_held+0x3c/0x90 [ 44.171784][ T59] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 44.171787][ T59] ? rcu_read_lock_any_held+0x3c/0x90 [ 44.171791][ T59] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 44.171798][ T59] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 44.171805][ T59] ovpn_peer_remove+0x394/0x640 [ovpn] [ 44.171809][ T59] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 44.171812][ T59] ? __rwlock_init+0x150/0x150 [ 44.171815][ T59] ? mark_held_locks+0x40/0x70 [ 44.171820][ T59] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 44.171824][ T59] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 44.171827][ T59] ? __rwlock_init+0x150/0x150 [ 44.171833][ T59] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 44.171838][ T59] ? process_one_work+0xdfc/0x1560 [ 44.171841][ T59] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 44.171844][ T59] ? rcu_is_watching+0x16/0xd0 [ 44.171847][ T59] ? lock_acquire+0x13c/0x160 [ 44.171849][ T59] ? rcu_is_watching+0x16/0xd0 [ 44.171853][ T59] process_one_work+0xe3e/0x1560 [ 44.171860][ T59] ? __queue_delayed_work+0x470/0x470 [ 44.171864][ T59] ? lock_acquire.part.0+0xd4/0x280 [ 44.171872][ T59] worker_thread+0x4f1/0xd60 [ 44.171876][ T59] ? rescuer_thread+0x1340/0x1340 [ 44.171879][ T59] ? __kthread_parkme+0xbd/0x210 [ 44.171882][ T59] ? rescuer_thread+0x1340/0x1340 [ 44.171886][ T59] ? rescuer_thread+0x1340/0x1340 [ 44.171888][ T59] kthread+0x367/0x460 [ 44.171890][ T59] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 44.171893][ T59] ? kthread_affine_preferred+0x4c0/0x4c0 [ 44.171896][ T59] ret_from_fork+0x474/0x6b0 [ 44.171901][ T59] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 44.171905][ T59] ? __switch_to+0x5a3/0xe00 [ 44.171908][ T59] ? kthread_affine_preferred+0x4c0/0x4c0 [ 44.171911][ T59] ret_from_fork_asm+0x11/0x20 [ 44.171921][ T59] [ 49.355988][ T64] tun3: deleting peer with id 12, reason 2 [ 49.356011][ T64] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 49.356013][ T64] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 64, name: kworker/2:2 [ 49.356015][ T64] preempt_count: 202, expected: 0 [ 49.356016][ T64] RCU nest depth: 0, expected: 0 [ 49.356017][ T64] locks held by kworker/2:2/64: 7, last CPU#2: [ 49.356019][ T64] #0: ff1100000a4cfb40 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 49.356032][ T64] #1: ffa0000000457d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 49.356036][ T64] #2: ff11000007eb1e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 49.356044][ T64] #3: ffffffff87f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 49.356050][ T64] #4: ffffffff87f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 49.356053][ T64] #5: ffffffff87e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 49.356057][ T64] #6: ffffffff87e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 49.356062][ T64] irq event stamp: 30643 [ 49.356063][ T64] hardirqs last enabled at (30642): [] __down_trylock_console_sem+0x86/0xa0 [ 49.356065][ T64] hardirqs last disabled at (30643): [] console_emit_next_record+0x3d4/0x4c0 [ 49.356067][ T64] softirqs last enabled at (30508): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 49.356071][ T64] softirqs last disabled at (30632): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 49.356075][ T64] Preemption disabled at: [ 49.356076][ T64] [<0000000000000000>] 0x0 [ 49.356083][ T64] CPU: 2 UID: 0 PID: 64 Comm: kworker/2:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 49.356087][ T64] Tainted: [W]=WARN [ 49.356088][ T64] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 49.356090][ T64] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 49.356095][ T64] Call Trace: [ 49.356097][ T64] [ 49.356100][ T64] dump_stack_lvl+0x6f/0xa0 [ 49.356106][ T64] __might_resched.cold+0x1fe/0x2c1 [ 49.356111][ T64] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 49.356116][ T64] ? __kmalloc_noprof+0xdb/0x760 [ 49.356121][ T64] __kmalloc_noprof+0x443/0x760 [ 49.356124][ T64] ? alloc_buf.isra.0+0x4b/0x260 [ 49.356130][ T64] ? do_raw_spin_unlock+0x59/0x250 [ 49.356133][ T64] alloc_buf.isra.0+0x4b/0x260 [ 49.356137][ T64] put_chars+0x1e1/0x2f0 [ 49.356139][ T64] ? prb_final_commit+0x50/0x50 [ 49.356141][ T64] ? __send_to_port+0x420/0x420 [ 49.356145][ T64] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 49.356150][ T64] ? rcu_read_lock_any_held+0x3c/0x90 [ 49.356152][ T64] ? validate_chain+0x38b/0xc20 [ 49.356156][ T64] hvc_console_print+0x292/0x780 [ 49.356160][ T64] ? mark_usage+0x61/0x170 [ 49.356162][ T64] ? __lock_acquire+0x518/0xc20 [ 49.356164][ T64] ? __lock_acquire+0x518/0xc20 [ 49.356168][ T64] ? hvc_write+0x3a0/0x3a0 [ 49.356170][ T64] ? console_emit_next_record+0x1df/0x4c0 [ 49.356174][ T64] ? rcu_is_watching+0x16/0xd0 [ 49.356176][ T64] ? lock_acquire+0x13c/0x160 [ 49.356181][ T64] console_emit_next_record+0x22f/0x4c0 [ 49.356185][ T64] ? devkmsg_read+0x4b0/0x4b0 [ 49.356187][ T64] ? console_flush_one_record+0x106/0x710 [ 49.356190][ T64] ? rcu_is_watching+0x16/0xd0 [ 49.356193][ T64] ? lock_acquire+0x13c/0x160 [ 49.356197][ T64] console_flush_one_record+0x46f/0x710 [ 49.356201][ T64] ? console_emit_next_record+0x4c0/0x4c0 [ 49.356203][ T64] ? __lock_acquire+0x518/0xc20 [ 49.356209][ T64] console_unlock+0xee/0x1f0 [ 49.356212][ T64] ? console_flush_one_record+0x710/0x710 [ 49.356214][ T64] ? rcu_is_watching+0x16/0xd0 [ 49.356216][ T64] ? lock_acquire+0x60/0x160 [ 49.356220][ T64] ? __down_trylock_console_sem+0x5e/0xa0 [ 49.356222][ T64] ? vprintk_emit+0x320/0x3e0 [ 49.356226][ T64] vprintk_emit+0x37c/0x3e0 [ 49.356230][ T64] ? wake_up_klogd_work_func+0x90/0x90 [ 49.356233][ T64] ? __lock_release.isra.0+0x69/0x1a0 [ 49.356238][ T64] _printk+0xc7/0x100 [ 49.356241][ T64] ? snapshot_read.cold+0x21/0x21 [ 49.356243][ T64] ? try_to_wake_up+0x153/0x1130 [ 49.356247][ T64] ? select_fallback_rq+0x510/0x510 [ 49.356249][ T64] ? netdev_name+0x43/0x60 [ 49.356253][ T64] ? __netdev_printk+0x17f/0x1d0 [ 49.356256][ T64] netdev_info+0xe2/0x116 [ 49.356259][ T64] ? netdev_notice+0x120/0x120 [ 49.356264][ T64] ? __queue_work+0x3ab/0xd30 [ 49.356270][ T64] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 49.356276][ T64] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 49.356279][ T64] ? mark_held_locks+0x40/0x70 [ 49.356282][ T64] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 49.356284][ T64] ? lockdep_hardirqs_on+0x91/0x130 [ 49.356289][ T64] ovpn_peer_remove+0x394/0x640 [ovpn] [ 49.356294][ T64] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 49.356297][ T64] ? __rwlock_init+0x150/0x150 [ 49.356299][ T64] ? mark_held_locks+0x40/0x70 [ 49.356303][ T64] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 49.356308][ T64] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 49.356311][ T64] ? __rwlock_init+0x150/0x150 [ 49.356317][ T64] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 49.356321][ T64] ? process_one_work+0xdfc/0x1560 [ 49.356324][ T64] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 49.356327][ T64] ? rcu_is_watching+0x16/0xd0 [ 49.356330][ T64] ? lock_acquire+0x13c/0x160 [ 49.356332][ T64] ? rcu_is_watching+0x16/0xd0 [ 49.356336][ T64] ? process_one_work+0xdfc/0x1560 [ 49.356338][ T64] process_one_work+0xe3e/0x1560 [ 49.356344][ T64] ? __queue_delayed_work+0x470/0x470 [ 49.356347][ T64] ? lock_acquire.part.0+0xd4/0x280 [ 49.356355][ T64] worker_thread+0x4f1/0xd60 [ 49.356360][ T64] ? rescuer_thread+0x1340/0x1340 [ 49.356362][ T64] ? __kthread_parkme+0xbd/0x210 [ 49.356365][ T64] ? rescuer_thread+0x1340/0x1340 [ 49.356368][ T64] ? rescuer_thread+0x1340/0x1340 [ 49.356371][ T64] kthread+0x367/0x460 [ 49.356373][ T64] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 49.356376][ T64] ? kthread_affine_preferred+0x4c0/0x4c0 [ 49.356379][ T64] ret_from_fork+0x474/0x6b0 [ 49.356383][ T64] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 49.356386][ T64] ? __switch_to+0x5a3/0xe00 [ 49.356390][ T64] ? kthread_affine_preferred+0x4c0/0x4c0 [ 49.356393][ T64] ret_from_fork_asm+0x11/0x20 [ 49.356405][ T64] [ 49.418452][ T9] tun4: deleting peer with id 13, reason 2 [ 49.546437][ T9] tun5: deleting peer with id 14, reason 2 [ 49.611451][ T64] tun6: deleting peer with id 15, reason 2