[ 32.500281][ T663] iperf3 (663) used greatest stack depth: 23712 bytes left [ 32.500305][ T663] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 32.500308][ T663] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 663, name: iperf3 [ 32.500310][ T663] preempt_count: 2, expected: 0 [ 32.500311][ T663] RCU nest depth: 0, expected: 0 [ 32.500313][ T663] locks held by iperf3/663: 5, last CPU#2: [ 32.500315][ T663] #0: ffffffffa70127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 32.500330][ T663] #1: ffffffffa7179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 32.500337][ T663] #2: ffffffffa7179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 32.500343][ T663] #3: ffffffffa7099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 32.500349][ T663] #4: ffffffffa7099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 32.500356][ T663] irq event stamp: 6605132 [ 32.500357][ T663] hardirqs last enabled at (6605131): [] __down_trylock_console_sem+0x86/0xa0 [ 32.500361][ T663] hardirqs last disabled at (6605132): [] console_emit_next_record+0x3d4/0x4c0 [ 32.500364][ T663] softirqs last enabled at (6604720): [] fpu__clear_user_states+0x104/0x290 [ 32.500368][ T663] softirqs last disabled at (6604718): [] fpu__clear_user_states+0x6d/0x290 [ 32.500371][ T663] Preemption disabled at: [ 32.500372][ T663] [<0000000000000000>] 0x0 [ 32.500381][ T663] CPU: 2 UID: 0 PID: 663 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 32.500386][ T663] Tainted: [W]=WARN [ 32.500388][ T663] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 32.500390][ T663] Call Trace: [ 32.500392][ T663] [ 32.500394][ T663] dump_stack_lvl+0x6f/0xa0 [ 32.500402][ T663] __might_resched.cold+0x1fe/0x2c1 [ 32.500408][ T663] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 32.500414][ T663] ? __kmalloc_noprof+0xdb/0x760 [ 32.500421][ T663] __kmalloc_noprof+0x443/0x760 [ 32.500424][ T663] ? alloc_buf.isra.0+0x4b/0x260 [ 32.500433][ T663] ? do_raw_spin_unlock+0x59/0x250 [ 32.500437][ T663] alloc_buf.isra.0+0x4b/0x260 [ 32.500442][ T663] put_chars+0x1e1/0x2f0 [ 32.500445][ T663] ? prb_final_commit+0x50/0x50 [ 32.500456][ T663] ? __send_to_port+0x420/0x420 [ 32.500461][ T663] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 32.500466][ T663] ? rcu_read_lock_any_held+0x3c/0x90 [ 32.500470][ T663] ? validate_chain+0x38b/0xc20 [ 32.500476][ T663] hvc_console_print+0x292/0x780 [ 32.500480][ T663] ? mark_usage+0x61/0x170 [ 32.500483][ T663] ? __lock_acquire+0x518/0xc20 [ 32.500485][ T663] ? __lock_acquire+0x518/0xc20 [ 32.500492][ T663] ? hvc_write+0x3a0/0x3a0 [ 32.500496][ T663] ? console_emit_next_record+0x1df/0x4c0 [ 32.500501][ T663] ? rcu_is_watching+0x16/0xd0 [ 32.500504][ T663] ? lock_acquire+0x13c/0x160 [ 32.500511][ T663] console_emit_next_record+0x22f/0x4c0 [ 32.500517][ T663] ? devkmsg_read+0x4b0/0x4b0 [ 32.500519][ T663] ? console_flush_one_record+0x106/0x710 [ 32.500524][ T663] ? rcu_is_watching+0x16/0xd0 [ 32.500528][ T663] ? lock_acquire+0x13c/0x160 [ 32.500534][ T663] console_flush_one_record+0x46f/0x710 [ 32.500541][ T663] ? console_emit_next_record+0x4c0/0x4c0 [ 32.500544][ T663] ? __lock_acquire+0x518/0xc20 [ 32.500557][ T663] console_unlock+0xee/0x1f0 [ 32.500561][ T663] ? console_flush_one_record+0x710/0x710 [ 32.500564][ T663] ? rcu_is_watching+0x16/0xd0 [ 32.500568][ T663] ? lock_acquire+0x60/0x160 [ 32.500575][ T663] ? __down_trylock_console_sem+0x5e/0xa0 [ 32.500577][ T663] ? vprintk_emit+0x320/0x3e0 [ 32.500584][ T663] vprintk_emit+0x37c/0x3e0 [ 32.500590][ T663] ? wake_up_klogd_work_func+0x90/0x90 [ 32.500596][ T663] ? __lock_acquire+0x518/0xc20 [ 32.500602][ T663] _printk+0xc7/0x100 [ 32.500607][ T663] ? snapshot_read.cold+0x21/0x21 [ 32.500612][ T663] ? do_raw_spin_lock+0x131/0x280 [ 32.500616][ T663] ? __rwlock_init+0x150/0x150 [ 32.500622][ T663] ? do_raw_spin_lock+0x131/0x280 [ 32.500627][ T663] do_exit.cold+0x82/0x9c [ 32.500632][ T663] ? exit_notify+0x890/0x890 [ 32.500641][ T663] __x64_sys_exit+0x42/0x50 [ 32.500644][ T663] x64_sys_call+0x156c/0x1570 [ 32.500648][ T663] do_syscall_64+0xff/0x530 [ 32.500652][ T663] ? exc_page_fault+0xee/0x100 [ 32.500657][ T663] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 32.500660][ T663] RIP: 0033:0x7fee4e703c49 [ 32.500663][ T663] Code: Unable to access opcode bytes at 0x7fee4e703c1f. [ 32.500665][ T663] RSP: 002b:00007fee4dec2e60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 32.500668][ T663] RAX: ffffffffffffffda RBX: 00007fee4dec36c0 RCX: 00007fee4e703c49 [ 32.500670][ T663] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 32.500671][ T663] RBP: 00007fee4dec2f70 R08: 0000000000000001 R09: 00007fee4dec36c0 [ 32.500672][ T663] R10: 0000000000000008 R11: 0000000000000246 R12: 00007fee4d6c3000 [ 32.500674][ T663] R13: 00007ffd9bc2da90 R14: 0000000000000002 R15: 00007ffd9bc2db97 [ 32.500686][ T663] [ 34.770880][ T757] tun0: deleting peer with id 1, reason 1 [ 34.770983][ T757] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 34.770986][ T757] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 757, name: ovpn-cli [ 34.770988][ T757] preempt_count: 202, expected: 0 [ 34.770990][ T757] RCU nest depth: 0, expected: 0 [ 34.770991][ T757] locks held by ovpn-cli/757: 6, last CPU#1: [ 34.770994][ T757] #0: ffffffffa7944ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 34.771010][ T757] #1: ff1100000b1c9e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 34.771022][ T757] #2: ffffffffa7179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 34.771031][ T757] #3: ffffffffa7179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 34.771037][ T757] #4: ffffffffa7099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 34.771043][ T757] #5: ffffffffa7099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 34.771049][ T757] irq event stamp: 46337 [ 34.771051][ T757] hardirqs last enabled at (46336): [] __down_trylock_console_sem+0x86/0xa0 [ 34.771054][ T757] hardirqs last disabled at (46337): [] console_emit_next_record+0x3d4/0x4c0 [ 34.771057][ T757] softirqs last enabled at (46298): [] __alloc_skb+0x4c2/0x5f0 [ 34.771062][ T757] softirqs last disabled at (46332): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 34.771068][ T757] Preemption disabled at: [ 34.771069][ T757] [<0000000000000000>] 0x0 [ 34.771078][ T757] CPU: 1 UID: 0 PID: 757 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 34.771084][ T757] Tainted: [W]=WARN [ 34.771085][ T757] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 34.771088][ T757] Call Trace: [ 34.771090][ T757] [ 34.771093][ T757] dump_stack_lvl+0x6f/0xa0 [ 34.771101][ T757] __might_resched.cold+0x1fe/0x2c1 [ 34.771107][ T757] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 34.771113][ T757] ? __kmalloc_noprof+0xdb/0x760 [ 34.771121][ T757] __kmalloc_noprof+0x443/0x760 [ 34.771124][ T757] ? alloc_buf.isra.0+0x4b/0x260 [ 34.771134][ T757] ? do_raw_spin_unlock+0x59/0x250 [ 34.771137][ T757] alloc_buf.isra.0+0x4b/0x260 [ 34.771143][ T757] put_chars+0x1e1/0x2f0 [ 34.771148][ T757] ? __send_to_port+0x420/0x420 [ 34.771150][ T757] ? check_prev_add+0x316/0xe90 [ 34.771158][ T757] ? validate_chain+0x34a/0xc20 [ 34.771164][ T757] hvc_console_print+0x292/0x780 [ 34.771168][ T757] ? mark_usage+0x61/0x170 [ 34.771171][ T757] ? __lock_acquire+0x518/0xc20 [ 34.771174][ T757] ? __lock_acquire+0x518/0xc20 [ 34.771181][ T757] ? hvc_write+0x3a0/0x3a0 [ 34.771183][ T757] ? lock_acquire.part.0+0xd4/0x280 [ 34.771191][ T757] ? lock_acquire+0x13c/0x160 [ 34.771198][ T757] console_emit_next_record+0x22f/0x4c0 [ 34.771205][ T757] ? devkmsg_read+0x4b0/0x4b0 [ 34.771207][ T757] ? console_flush_one_record+0x106/0x710 [ 34.771213][ T757] ? rcu_is_watching+0x16/0xd0 [ 34.771218][ T757] ? lock_acquire+0x13c/0x160 [ 34.771225][ T757] console_flush_one_record+0x46f/0x710 [ 34.771232][ T757] ? console_emit_next_record+0x4c0/0x4c0 [ 34.771235][ T757] ? __lock_acquire+0x518/0xc20 [ 34.771245][ T757] console_unlock+0xee/0x1f0 [ 34.771249][ T757] ? console_flush_one_record+0x710/0x710 [ 34.771252][ T757] ? rcu_is_watching+0x16/0xd0 [ 34.771256][ T757] ? lock_acquire+0x60/0x160 [ 34.771263][ T757] ? __down_trylock_console_sem+0x5e/0xa0 [ 34.771265][ T757] ? vprintk_emit+0x320/0x3e0 [ 34.771271][ T757] vprintk_emit+0x37c/0x3e0 [ 34.771277][ T757] ? wake_up_klogd_work_func+0x90/0x90 [ 34.771280][ T757] ? kernel_text_address+0x149/0x170 [ 34.771284][ T757] ? __kernel_text_address+0x12/0x30 [ 34.771287][ T757] ? write_profile+0xf0/0xf0 [ 34.771290][ T757] ? unwind_get_return_address+0x67/0xd0 [ 34.771298][ T757] _printk+0xc7/0x100 [ 34.771303][ T757] ? snapshot_read.cold+0x21/0x21 [ 34.771311][ T757] ? mark_usage+0x61/0x170 [ 34.771313][ T757] ? netdev_name+0x43/0x60 [ 34.771318][ T757] ? __netdev_printk+0x17f/0x1d0 [ 34.771324][ T757] netdev_info+0xe2/0x116 [ 34.771328][ T757] ? netdev_notice+0x120/0x120 [ 34.771330][ T757] ? find_held_lock+0x2b/0x80 [ 34.771334][ T757] ? mark_usage+0x61/0x170 [ 34.771339][ T757] ? __lock_acquire+0x518/0xc20 [ 34.771350][ T757] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 34.771359][ T757] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 34.771367][ T757] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 34.771377][ T757] ovpn_peer_remove+0x394/0x640 [ovpn] [ 34.771383][ T757] ? do_raw_spin_lock+0x131/0x280 [ 34.771387][ T757] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 34.771400][ T757] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 34.771407][ T757] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 34.771419][ T757] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 34.771424][ T757] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 34.771430][ T757] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 34.771434][ T757] ? ref_tracker_alloc+0x28d/0x430 [ 34.771453][ T757] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 34.771461][ T757] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 34.771479][ T757] genl_family_rcv_msg_doit+0x206/0x300 [ 34.771486][ T757] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 34.771490][ T757] ? lockdep_hardirqs_off+0x97/0xf0 [ 34.771501][ T757] ? rcu_is_watching+0x16/0xd0 [ 34.771505][ T757] ? cap_capable+0x1d7/0x3d0 [ 34.771514][ T757] genl_family_rcv_msg+0x3a4/0x640 [ 34.771521][ T757] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 34.771525][ T757] ? rcu_read_lock_any_held+0x3c/0x90 [ 34.771528][ T757] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 34.771533][ T757] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 34.771537][ T757] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 34.771543][ T757] ? __lock_acquire+0x518/0xc20 [ 34.771556][ T757] genl_rcv_msg+0xbb/0x160 [ 34.771562][ T757] netlink_rcv_skb+0x14e/0x3a0 [ 34.771565][ T757] ? genl_family_rcv_msg+0x640/0x640 [ 34.771571][ T757] ? netlink_ack+0xcf0/0xcf0 [ 34.771584][ T757] ? netlink_deliver_tap+0xc5/0x330 [ 34.771587][ T757] ? netlink_deliver_tap+0x13c/0x330 [ 34.771594][ T757] genl_rcv+0x28/0x40 [ 34.771597][ T757] netlink_unicast+0x486/0x750 [ 34.771604][ T757] ? netlink_attachskb+0x810/0x810 [ 34.771609][ T757] ? __lock_acquire+0x518/0xc20 [ 34.771617][ T757] netlink_sendmsg+0x735/0xc60 [ 34.771624][ T757] ? netlink_unicast+0x750/0x750 [ 34.771631][ T757] ? __might_fault+0x97/0x140 [ 34.771640][ T757] ____sys_sendmsg+0x415/0x880 [ 34.771645][ T757] ? copy_msghdr_from_user+0x279/0x420 [ 34.771649][ T757] ? get_timestamp.constprop.0+0x390/0x390 [ 34.771652][ T757] ? move_addr_to_kernel+0x40/0x40 [ 34.771666][ T757] ___sys_sendmsg+0x14e/0x1d0 [ 34.771671][ T757] ? copy_msghdr_from_user+0x420/0x420 [ 34.771674][ T757] ? kfree+0x22/0x590 [ 34.771704][ T757] __sys_sendmsg+0x12c/0x1d0 [ 34.771709][ T757] ? __sys_sendmsg_sock+0x20/0x20 [ 34.771719][ T757] ? rcu_is_watching+0x16/0xd0 [ 34.771723][ T757] ? rcu_is_watching+0x16/0xd0 [ 34.771730][ T757] do_syscall_64+0xff/0x530 [ 34.771734][ T757] ? exc_page_fault+0xee/0x100 [ 34.771738][ T757] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 34.771742][ T757] RIP: 0033:0x7fc4234ed54e [ 34.771747][ T757] 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.771749][ T757] RSP: 002b:00007ffe64246610 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 34.771754][ T757] RAX: ffffffffffffffda RBX: 000000000d554130 RCX: 00007fc4234ed54e [ 34.771756][ T757] RDX: 0000000000000000 RSI: 00007ffe642466b0 RDI: 0000000000000005 [ 34.771758][ T757] RBP: 00007ffe64246620 R08: 0000000000000000 R09: 0000000000000000 [ 34.771759][ T757] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000d554200 [ 34.771761][ T757] R13: 00007ffe642466b0 R14: 000000000d555260 R15: 000000000040bda8 [ 34.771774][ T757] [ 34.854973][ T757] ovpn-cli (757) used greatest stack depth: 23528 bytes left [ 34.953067][ T761] tun1: deleting peer with id 1, reason 1 [ 38.141139][ T809] tun0: deleting peer with id 2, reason 1 [ 38.141158][ T809] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 38.141161][ T809] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 809, name: ovpn-cli [ 38.141162][ T809] preempt_count: 202, expected: 0 [ 38.141163][ T809] RCU nest depth: 0, expected: 0 [ 38.141164][ T809] locks held by ovpn-cli/809: 6, last CPU#3: [ 38.141166][ T809] #0: ffffffffa7944ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 38.141178][ T809] #1: ff1100000b1c9e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 38.141187][ T809] #2: ffffffffa7179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 38.141193][ T809] #3: ffffffffa7179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 38.141197][ T809] #4: ffffffffa7099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 38.141201][ T809] #5: ffffffffa7099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 38.141205][ T809] irq event stamp: 24179 [ 38.141206][ T809] hardirqs last enabled at (24178): [] __down_trylock_console_sem+0x86/0xa0 [ 38.141208][ T809] hardirqs last disabled at (24179): [] console_emit_next_record+0x3d4/0x4c0 [ 38.141210][ T809] softirqs last enabled at (24146): [] __alloc_skb+0x4c2/0x5f0 [ 38.141214][ T809] softirqs last disabled at (24174): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 38.141217][ T809] Preemption disabled at: [ 38.141218][ T809] [<0000000000000000>] 0x0 [ 38.141225][ T809] CPU: 3 UID: 0 PID: 809 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 38.141229][ T809] Tainted: [W]=WARN [ 38.141230][ T809] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 38.141232][ T809] Call Trace: [ 38.141234][ T809] [ 38.141235][ T809] dump_stack_lvl+0x6f/0xa0 [ 38.141242][ T809] __might_resched.cold+0x1fe/0x2c1 [ 38.141246][ T809] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 38.141250][ T809] ? __kmalloc_noprof+0xdb/0x760 [ 38.141255][ T809] __kmalloc_noprof+0x443/0x760 [ 38.141258][ T809] ? alloc_buf.isra.0+0x4b/0x260 [ 38.141264][ T809] ? do_raw_spin_unlock+0x59/0x250 [ 38.141267][ T809] alloc_buf.isra.0+0x4b/0x260 [ 38.141270][ T809] put_chars+0x1e1/0x2f0 [ 38.141273][ T809] ? __send_to_port+0x420/0x420 [ 38.141276][ T809] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 38.141281][ T809] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.141284][ T809] ? validate_chain+0x38b/0xc20 [ 38.141288][ T809] hvc_console_print+0x292/0x780 [ 38.141291][ T809] ? mark_usage+0x61/0x170 [ 38.141293][ T809] ? __lock_acquire+0x518/0xc20 [ 38.141294][ T809] ? __lock_acquire+0x518/0xc20 [ 38.141298][ T809] ? hvc_write+0x3a0/0x3a0 [ 38.141300][ T809] ? lock_acquire.part.0+0xd4/0x280 [ 38.141304][ T809] ? lock_acquire+0x13c/0x160 [ 38.141308][ T809] console_emit_next_record+0x22f/0x4c0 [ 38.141312][ T809] ? devkmsg_read+0x4b0/0x4b0 [ 38.141314][ T809] ? console_flush_one_record+0x106/0x710 [ 38.141317][ T809] ? rcu_is_watching+0x16/0xd0 [ 38.141320][ T809] ? lock_acquire+0x13c/0x160 [ 38.141324][ T809] console_flush_one_record+0x46f/0x710 [ 38.141328][ T809] ? console_emit_next_record+0x4c0/0x4c0 [ 38.141330][ T809] ? __lock_acquire+0x518/0xc20 [ 38.141335][ T809] console_unlock+0xee/0x1f0 [ 38.141338][ T809] ? console_flush_one_record+0x710/0x710 [ 38.141340][ T809] ? rcu_is_watching+0x16/0xd0 [ 38.141342][ T809] ? lock_acquire+0x60/0x160 [ 38.141346][ T809] ? __down_trylock_console_sem+0x5e/0xa0 [ 38.141348][ T809] ? vprintk_emit+0x320/0x3e0 [ 38.141351][ T809] vprintk_emit+0x37c/0x3e0 [ 38.141355][ T809] ? wake_up_klogd_work_func+0x90/0x90 [ 38.141357][ T809] ? kernel_text_address+0x149/0x170 [ 38.141360][ T809] ? __kernel_text_address+0x12/0x30 [ 38.141362][ T809] ? write_profile+0xf0/0xf0 [ 38.141364][ T809] ? unwind_get_return_address+0x67/0xd0 [ 38.141369][ T809] _printk+0xc7/0x100 [ 38.141373][ T809] ? snapshot_read.cold+0x21/0x21 [ 38.141377][ T809] ? mark_usage+0x61/0x170 [ 38.141379][ T809] ? netdev_name+0x43/0x60 [ 38.141382][ T809] ? __netdev_printk+0x17f/0x1d0 [ 38.141386][ T809] netdev_info+0xe2/0x116 [ 38.141388][ T809] ? netdev_notice+0x120/0x120 [ 38.141390][ T809] ? find_held_lock+0x2b/0x80 [ 38.141392][ T809] ? mark_usage+0x61/0x170 [ 38.141395][ T809] ? __lock_acquire+0x518/0xc20 [ 38.141401][ T809] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 38.141406][ T809] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 38.141410][ T809] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 38.141416][ T809] ovpn_peer_remove+0x394/0x640 [ovpn] [ 38.141419][ T809] ? do_raw_spin_lock+0x131/0x280 [ 38.141422][ T809] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 38.141428][ T809] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 38.141433][ T809] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 38.141439][ T809] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 38.141442][ T809] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 38.141446][ T809] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 38.141449][ T809] ? ref_tracker_alloc+0x28d/0x430 [ 38.141460][ T809] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 38.141465][ T809] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 38.141470][ T809] genl_family_rcv_msg_doit+0x206/0x300 [ 38.141474][ T809] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 38.141476][ T809] ? __lock_release.isra.0+0x69/0x1a0 [ 38.141482][ T809] ? rcu_is_watching+0x16/0xd0 [ 38.141484][ T809] ? cap_capable+0x1d7/0x3d0 [ 38.141488][ T809] ? write_profile+0xf0/0xf0 [ 38.141490][ T809] ? unwind_get_return_address+0x67/0xd0 [ 38.141502][ T809] genl_family_rcv_msg+0x3a4/0x640 [ 38.141506][ T809] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 38.141508][ T809] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.141510][ T809] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 38.141513][ T809] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 38.141516][ T809] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 38.141519][ T809] ? __lock_acquire+0x518/0xc20 [ 38.141524][ T809] genl_rcv_msg+0xbb/0x160 [ 38.141528][ T809] netlink_rcv_skb+0x14e/0x3a0 [ 38.141530][ T809] ? genl_family_rcv_msg+0x640/0x640 [ 38.141534][ T809] ? netlink_ack+0xcf0/0xcf0 [ 38.141541][ T809] ? netlink_deliver_tap+0xc5/0x330 [ 38.141543][ T809] ? netlink_deliver_tap+0x13c/0x330 [ 38.141547][ T809] genl_rcv+0x28/0x40 [ 38.141549][ T809] netlink_unicast+0x486/0x750 [ 38.141556][ T809] ? netlink_attachskb+0x810/0x810 [ 38.141559][ T809] ? __lock_acquire+0x518/0xc20 [ 38.141563][ T809] netlink_sendmsg+0x735/0xc60 [ 38.141568][ T809] ? netlink_unicast+0x750/0x750 [ 38.141572][ T809] ? __might_fault+0x97/0x140 [ 38.141578][ T809] ____sys_sendmsg+0x415/0x880 [ 38.141582][ T809] ? copy_msghdr_from_user+0x279/0x420 [ 38.141584][ T809] ? get_timestamp.constprop.0+0x390/0x390 [ 38.141586][ T809] ? move_addr_to_kernel+0x40/0x40 [ 38.141594][ T809] ___sys_sendmsg+0x14e/0x1d0 [ 38.141597][ T809] ? copy_msghdr_from_user+0x420/0x420 [ 38.141598][ T809] ? kfree+0x22/0x590 [ 38.141614][ T809] __sys_sendmsg+0x12c/0x1d0 [ 38.141617][ T809] ? __sys_sendmsg_sock+0x20/0x20 [ 38.141623][ T809] ? rcu_is_watching+0x16/0xd0 [ 38.141626][ T809] ? rcu_is_watching+0x16/0xd0 [ 38.141630][ T809] do_syscall_64+0xff/0x530 [ 38.141633][ T809] ? exc_page_fault+0xee/0x100 [ 38.141635][ T809] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 38.141638][ T809] RIP: 0033:0x7f484f7f954e [ 38.141640][ T809] 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.141642][ T809] RSP: 002b:00007ffee307bcb0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 38.141645][ T809] RAX: ffffffffffffffda RBX: 000000003abb4130 RCX: 00007f484f7f954e [ 38.141646][ T809] RDX: 0000000000000000 RSI: 00007ffee307bd50 RDI: 0000000000000005 [ 38.141647][ T809] RBP: 00007ffee307bcc0 R08: 0000000000000000 R09: 0000000000000000 [ 38.141648][ T809] R10: 0000000000000000 R11: 0000000000000202 R12: 000000003abb4200 [ 38.141649][ T809] R13: 00007ffee307bd50 R14: 000000003abb5260 R15: 000000000040bda8 [ 38.141656][ T809] [ 38.294088][ T813] tun2: deleting peer with id 2, reason 1 [ 43.586897][ T10] tun0: deleting peer with id 3, reason 2 [ 43.586977][ T10] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 43.586980][ T10] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 [ 43.586982][ T10] preempt_count: 202, expected: 0 [ 43.586983][ T10] RCU nest depth: 0, expected: 0 [ 43.586985][ T10] locks held by kworker/0:1/10: 7, last CPU#0: [ 43.586988][ T10] #0: ff1100000a740f40 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 43.587003][ T10] #1: ffa00000000a7d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 43.587009][ T10] #2: ff1100000b1c9e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 43.587020][ T10] #3: ffffffffa7179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 43.587028][ T10] #4: ffffffffa7179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 43.587033][ T10] #5: ffffffffa7099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 43.587039][ T10] #6: ffffffffa7099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 43.587045][ T10] irq event stamp: 28361 [ 43.587046][ T10] hardirqs last enabled at (28360): [] __down_trylock_console_sem+0x86/0xa0 [ 43.587049][ T10] hardirqs last disabled at (28361): [] console_emit_next_record+0x3d4/0x4c0 [ 43.587052][ T10] softirqs last enabled at (28142): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 43.587058][ T10] softirqs last disabled at (28352): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 43.587064][ T10] Preemption disabled at: [ 43.587064][ T10] [<0000000000000000>] 0x0 [ 43.587073][ T10] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 43.587079][ T10] Tainted: [W]=WARN [ 43.587080][ T10] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 43.587083][ T10] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 43.587089][ T10] Call Trace: [ 43.587092][ T10] [ 43.587094][ T10] dump_stack_lvl+0x6f/0xa0 [ 43.587102][ T10] __might_resched.cold+0x1fe/0x2c1 [ 43.587108][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 43.587114][ T10] ? __kmalloc_noprof+0xdb/0x760 [ 43.587121][ T10] __kmalloc_noprof+0x443/0x760 [ 43.587126][ T10] ? alloc_buf.isra.0+0x4b/0x260 [ 43.587135][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 43.587138][ T10] alloc_buf.isra.0+0x4b/0x260 [ 43.587144][ T10] put_chars+0x1e1/0x2f0 [ 43.587148][ T10] ? __send_to_port+0x420/0x420 [ 43.587155][ T10] ? validate_chain+0x34a/0xc20 [ 43.587161][ T10] hvc_console_print+0x292/0x780 [ 43.587165][ T10] ? mark_usage+0x61/0x170 [ 43.587168][ T10] ? __lock_acquire+0x518/0xc20 [ 43.587170][ T10] ? __lock_acquire+0x518/0xc20 [ 43.587177][ T10] ? hvc_write+0x3a0/0x3a0 [ 43.587180][ T10] ? console_emit_next_record+0x1df/0x4c0 [ 43.587185][ T10] ? rcu_is_watching+0x16/0xd0 [ 43.587191][ T10] ? lock_acquire+0x13c/0x160 [ 43.587197][ T10] console_emit_next_record+0x22f/0x4c0 [ 43.587203][ T10] ? devkmsg_read+0x4b0/0x4b0 [ 43.587205][ T10] ? console_flush_one_record+0x106/0x710 [ 43.587210][ T10] ? rcu_is_watching+0x16/0xd0 [ 43.587213][ T10] ? lock_acquire+0x13c/0x160 [ 43.587220][ T10] console_flush_one_record+0x46f/0x710 [ 43.587227][ T10] ? console_emit_next_record+0x4c0/0x4c0 [ 43.587229][ T10] ? __lock_acquire+0x518/0xc20 [ 43.587238][ T10] console_unlock+0xee/0x1f0 [ 43.587242][ T10] ? console_flush_one_record+0x710/0x710 [ 43.587245][ T10] ? rcu_is_watching+0x16/0xd0 [ 43.587248][ T10] ? lock_acquire+0x60/0x160 [ 43.587254][ T10] ? __down_trylock_console_sem+0x5e/0xa0 [ 43.587257][ T10] ? vprintk_emit+0x320/0x3e0 [ 43.587263][ T10] vprintk_emit+0x37c/0x3e0 [ 43.587269][ T10] ? wake_up_klogd_work_func+0x90/0x90 [ 43.587274][ T10] ? __lock_release.isra.0+0x69/0x1a0 [ 43.587277][ T10] ? rcu_is_watching+0x16/0xd0 [ 43.587283][ T10] _printk+0xc7/0x100 [ 43.587288][ T10] ? snapshot_read.cold+0x21/0x21 [ 43.587293][ T10] ? __add_to_free_list+0x81/0x5c0 [ 43.587297][ T10] ? __mod_zone_page_state+0xe1/0x190 [ 43.587302][ T10] ? netdev_name+0x43/0x60 [ 43.587306][ T10] ? __netdev_printk+0x17f/0x1d0 [ 43.587312][ T10] netdev_info+0xe2/0x116 [ 43.587316][ T10] ? netdev_notice+0x120/0x120 [ 43.587318][ T10] ? rcu_read_lock_any_held+0x3c/0x90 [ 43.587324][ T10] ? __lock_acquire+0x518/0xc20 [ 43.587329][ T10] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 43.587334][ T10] ? rcu_read_lock_any_held+0x3c/0x90 [ 43.587340][ T10] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 43.587349][ T10] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 43.587362][ T10] ovpn_peer_remove+0x394/0x640 [ovpn] [ 43.587369][ T10] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 43.587374][ T10] ? __rwlock_init+0x150/0x150 [ 43.587377][ T10] ? mark_held_locks+0x40/0x70 [ 43.587385][ T10] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 43.587392][ T10] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 43.587397][ T10] ? __rwlock_init+0x150/0x150 [ 43.587407][ T10] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 43.587415][ T10] ? process_one_work+0xdfc/0x1560 [ 43.587419][ T10] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 43.587425][ T10] ? rcu_is_watching+0x16/0xd0 [ 43.587428][ T10] ? lock_acquire+0x13c/0x160 [ 43.587431][ T10] ? rcu_is_watching+0x16/0xd0 [ 43.587438][ T10] process_one_work+0xe3e/0x1560 [ 43.587449][ T10] ? __queue_delayed_work+0x470/0x470 [ 43.587453][ T10] ? lock_acquire.part.0+0xd4/0x280 [ 43.587466][ T10] worker_thread+0x4f1/0xd60 [ 43.587473][ T10] ? rescuer_thread+0x1340/0x1340 [ 43.587476][ T10] ? __kthread_parkme+0xbd/0x210 [ 43.587481][ T10] ? rescuer_thread+0x1340/0x1340 [ 43.587485][ T10] ? rescuer_thread+0x1340/0x1340 [ 43.587488][ T10] kthread+0x367/0x460 [ 43.587491][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 43.587495][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 43.587499][ T10] ret_from_fork+0x474/0x6b0 [ 43.587505][ T10] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 43.587510][ T10] ? __switch_to+0x5a3/0xe00 [ 43.587514][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 43.587518][ T10] ret_from_fork_asm+0x11/0x20 [ 43.587532][ T10] [ 44.674618][ T10] tun0: deleting peer with id 4, reason 2 [ 44.674644][ T10] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 44.674647][ T10] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 [ 44.674648][ T10] preempt_count: 202, expected: 0 [ 44.674649][ T10] RCU nest depth: 0, expected: 0 [ 44.674650][ T10] locks held by kworker/0:1/10: 7, last CPU#0: [ 44.674653][ T10] #0: ff1100000a740f40 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 44.674665][ T10] #1: ffa00000000a7d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 44.674669][ T10] #2: ff1100000b1c9e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 44.674678][ T10] #3: ffffffffa7179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 44.674683][ T10] #4: ffffffffa7179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 44.674687][ T10] #5: ffffffffa7099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 44.674690][ T10] #6: ffffffffa7099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 44.674694][ T10] irq event stamp: 29099 [ 44.674695][ T10] hardirqs last enabled at (29098): [] __down_trylock_console_sem+0x86/0xa0 [ 44.674698][ T10] hardirqs last disabled at (29099): [] console_emit_next_record+0x3d4/0x4c0 [ 44.674700][ T10] softirqs last enabled at (28778): [] ovpn_peer_release+0x37/0xe0 [ovpn] [ 44.674704][ T10] softirqs last disabled at (29092): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 44.674708][ T10] Preemption disabled at: [ 44.674708][ T10] [<0000000000000000>] 0x0 [ 44.674715][ T10] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 44.674719][ T10] Tainted: [W]=WARN [ 44.674720][ T10] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 44.674722][ T10] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 44.674726][ T10] Call Trace: [ 44.674728][ T10] [ 44.674730][ T10] dump_stack_lvl+0x6f/0xa0 [ 44.674736][ T10] __might_resched.cold+0x1fe/0x2c1 [ 44.674741][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 44.674745][ T10] ? __kmalloc_noprof+0xdb/0x760 [ 44.674750][ T10] __kmalloc_noprof+0x443/0x760 [ 44.674753][ T10] ? alloc_buf.isra.0+0x4b/0x260 [ 44.674759][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 44.674762][ T10] alloc_buf.isra.0+0x4b/0x260 [ 44.674768][ T10] put_chars+0x1e1/0x2f0 [ 44.674771][ T10] ? prb_final_commit+0x50/0x50 [ 44.674775][ T10] ? __send_to_port+0x420/0x420 [ 44.674778][ T10] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 44.674783][ T10] ? rcu_read_lock_any_held+0x3c/0x90 [ 44.674785][ T10] ? validate_chain+0x38b/0xc20 [ 44.674789][ T10] hvc_console_print+0x292/0x780 [ 44.674792][ T10] ? mark_usage+0x61/0x170 [ 44.674795][ T10] ? __lock_acquire+0x518/0xc20 [ 44.674796][ T10] ? __lock_acquire+0x518/0xc20 [ 44.674800][ T10] ? hvc_write+0x3a0/0x3a0 [ 44.674802][ T10] ? console_emit_next_record+0x1df/0x4c0 [ 44.674806][ T10] ? rcu_is_watching+0x16/0xd0 [ 44.674808][ T10] ? lock_acquire+0x13c/0x160 [ 44.674812][ T10] console_emit_next_record+0x22f/0x4c0 [ 44.674817][ T10] ? devkmsg_read+0x4b0/0x4b0 [ 44.674819][ T10] ? console_flush_one_record+0x106/0x710 [ 44.674825][ T10] ? rcu_is_watching+0x16/0xd0 [ 44.674830][ T10] ? lock_acquire+0x13c/0x160 [ 44.674834][ T10] console_flush_one_record+0x46f/0x710 [ 44.674839][ T10] ? console_emit_next_record+0x4c0/0x4c0 [ 44.674841][ T10] ? __lock_acquire+0x518/0xc20 [ 44.674846][ T10] console_unlock+0xee/0x1f0 [ 44.674849][ T10] ? console_flush_one_record+0x710/0x710 [ 44.674851][ T10] ? rcu_is_watching+0x16/0xd0 [ 44.674853][ T10] ? lock_acquire+0x60/0x160 [ 44.674857][ T10] ? __down_trylock_console_sem+0x5e/0xa0 [ 44.674859][ T10] ? vprintk_emit+0x320/0x3e0 [ 44.674862][ T10] vprintk_emit+0x37c/0x3e0 [ 44.674866][ T10] ? wake_up_klogd_work_func+0x90/0x90 [ 44.674869][ T10] ? __lock_release.isra.0+0x69/0x1a0 [ 44.674871][ T10] ? rcu_is_watching+0x16/0xd0 [ 44.674876][ T10] _printk+0xc7/0x100 [ 44.674882][ T10] ? snapshot_read.cold+0x21/0x21 [ 44.674886][ T10] ? __add_to_free_list+0x81/0x5c0 [ 44.674889][ T10] ? __mod_zone_page_state+0xe1/0x190 [ 44.674892][ T10] ? netdev_name+0x43/0x60 [ 44.674895][ T10] ? __netdev_printk+0x17f/0x1d0 [ 44.674899][ T10] netdev_info+0xe2/0x116 [ 44.674901][ T10] ? netdev_notice+0x120/0x120 [ 44.674902][ T10] ? rcu_read_lock_any_held+0x3c/0x90 [ 44.674908][ T10] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 44.674911][ T10] ? rcu_read_lock_any_held+0x3c/0x90 [ 44.674915][ T10] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 44.674920][ T10] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 44.674927][ T10] ovpn_peer_remove+0x394/0x640 [ovpn] [ 44.674931][ T10] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 44.674935][ T10] ? __rwlock_init+0x150/0x150 [ 44.674939][ T10] ? mark_held_locks+0x40/0x70 [ 44.674946][ T10] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 44.674950][ T10] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 44.674953][ T10] ? __rwlock_init+0x150/0x150 [ 44.674958][ T10] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 44.674963][ T10] ? process_one_work+0xdfc/0x1560 [ 44.674966][ T10] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 44.674969][ T10] ? rcu_is_watching+0x16/0xd0 [ 44.674971][ T10] ? lock_acquire+0x13c/0x160 [ 44.674973][ T10] ? rcu_is_watching+0x16/0xd0 [ 44.674977][ T10] process_one_work+0xe3e/0x1560 [ 44.674985][ T10] ? __queue_delayed_work+0x470/0x470 [ 44.674988][ T10] ? lock_acquire.part.0+0xd4/0x280 [ 44.675001][ T10] worker_thread+0x4f1/0xd60 [ 44.675005][ T10] ? rescuer_thread+0x1340/0x1340 [ 44.675008][ T10] ? __kthread_parkme+0xbd/0x210 [ 44.675011][ T10] ? rescuer_thread+0x1340/0x1340 [ 44.675014][ T10] ? rescuer_thread+0x1340/0x1340 [ 44.675016][ T10] kthread+0x367/0x460 [ 44.675019][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 44.675022][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 44.675025][ T10] ret_from_fork+0x474/0x6b0 [ 44.675029][ T10] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 44.675032][ T10] ? __switch_to+0x5a3/0xe00 [ 44.675035][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 44.675038][ T10] ret_from_fork_asm+0x11/0x20 [ 44.675052][ T10] [ 44.703886][ T10] tun0: deleting peer with id 5, reason 2 [ 44.704261][ T10] tun0: deleting peer with id 6, reason 2 [ 49.860114][ T76] tun3: deleting peer with id 3, reason 2 [ 49.860138][ T76] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 49.860141][ T76] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 76, name: kworker/3:1 [ 49.860142][ T76] preempt_count: 202, expected: 0 [ 49.860143][ T76] RCU nest depth: 0, expected: 0 [ 49.860144][ T76] locks held by kworker/3:1/76: 7, last CPU#3: [ 49.860147][ T76] #0: ff1100000a740f40 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 49.860159][ T76] #1: ffa0000000517d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 49.860163][ T76] #2: ff1100001be84e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 49.860171][ T76] #3: ffffffffa7179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 49.860177][ T76] #4: ffffffffa7179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 49.860180][ T76] #5: ffffffffa7099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 49.860184][ T76] #6: ffffffffa7099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 49.860188][ T76] irq event stamp: 23395 [ 49.860189][ T76] hardirqs last enabled at (23394): [] __down_trylock_console_sem+0x86/0xa0 [ 49.860191][ T76] hardirqs last disabled at (23395): [] console_emit_next_record+0x3d4/0x4c0 [ 49.860194][ T76] softirqs last enabled at (23258): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 49.860197][ T76] softirqs last disabled at (23384): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 49.860201][ T76] Preemption disabled at: [ 49.860202][ T76] [<0000000000000000>] 0x0 [ 49.860209][ T76] CPU: 3 UID: 0 PID: 76 Comm: kworker/3:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 49.860213][ T76] Tainted: [W]=WARN [ 49.860214][ T76] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 49.860216][ T76] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 49.860221][ T76] Call Trace: [ 49.860222][ T76] [ 49.860225][ T76] dump_stack_lvl+0x6f/0xa0 [ 49.860231][ T76] __might_resched.cold+0x1fe/0x2c1 [ 49.860236][ T76] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 49.860240][ T76] ? __kmalloc_noprof+0xdb/0x760 [ 49.860244][ T76] __kmalloc_noprof+0x443/0x760 [ 49.860247][ T76] ? alloc_buf.isra.0+0x4b/0x260 [ 49.860253][ T76] ? do_raw_spin_unlock+0x59/0x250 [ 49.860255][ T76] alloc_buf.isra.0+0x4b/0x260 [ 49.860259][ T76] put_chars+0x1e1/0x2f0 [ 49.860261][ T76] ? prb_final_commit+0x50/0x50 [ 49.860263][ T76] ? __send_to_port+0x420/0x420 [ 49.860267][ T76] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 49.860271][ T76] ? rcu_read_lock_any_held+0x3c/0x90 [ 49.860273][ T76] ? validate_chain+0x38b/0xc20 [ 49.860277][ T76] hvc_console_print+0x292/0x780 [ 49.860280][ T76] ? mark_usage+0x61/0x170 [ 49.860282][ T76] ? __lock_acquire+0x518/0xc20 [ 49.860284][ T76] ? __lock_acquire+0x518/0xc20 [ 49.860288][ T76] ? hvc_write+0x3a0/0x3a0 [ 49.860290][ T76] ? console_emit_next_record+0x1df/0x4c0 [ 49.860293][ T76] ? rcu_is_watching+0x16/0xd0 [ 49.860296][ T76] ? lock_acquire+0x13c/0x160 [ 49.860300][ T76] console_emit_next_record+0x22f/0x4c0 [ 49.860304][ T76] ? devkmsg_read+0x4b0/0x4b0 [ 49.860306][ T76] ? console_flush_one_record+0x106/0x710 [ 49.860309][ T76] ? rcu_is_watching+0x16/0xd0 [ 49.860311][ T76] ? lock_acquire+0x13c/0x160 [ 49.860315][ T76] console_flush_one_record+0x46f/0x710 [ 49.860319][ T76] ? console_emit_next_record+0x4c0/0x4c0 [ 49.860321][ T76] ? __lock_acquire+0x518/0xc20 [ 49.860326][ T76] console_unlock+0xee/0x1f0 [ 49.860329][ T76] ? console_flush_one_record+0x710/0x710 [ 49.860331][ T76] ? rcu_is_watching+0x16/0xd0 [ 49.860333][ T76] ? lock_acquire+0x60/0x160 [ 49.860337][ T76] ? __down_trylock_console_sem+0x5e/0xa0 [ 49.860338][ T76] ? vprintk_emit+0x320/0x3e0 [ 49.860342][ T76] vprintk_emit+0x37c/0x3e0 [ 49.860346][ T76] ? wake_up_klogd_work_func+0x90/0x90 [ 49.860349][ T76] ? __lock_release.isra.0+0x69/0x1a0 [ 49.860353][ T76] _printk+0xc7/0x100 [ 49.860356][ T76] ? snapshot_read.cold+0x21/0x21 [ 49.860358][ T76] ? try_to_wake_up+0x153/0x1130 [ 49.860361][ T76] ? select_fallback_rq+0x510/0x510 [ 49.860364][ T76] ? netdev_name+0x43/0x60 [ 49.860367][ T76] ? __netdev_printk+0x17f/0x1d0 [ 49.860370][ T76] netdev_info+0xe2/0x116 [ 49.860373][ T76] ? netdev_notice+0x120/0x120 [ 49.860377][ T76] ? __queue_work+0x3ab/0xd30 [ 49.860383][ T76] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 49.860389][ T76] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 49.860392][ T76] ? mark_held_locks+0x40/0x70 [ 49.860394][ T76] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 49.860396][ T76] ? lockdep_hardirqs_on+0x91/0x130 [ 49.860401][ T76] ovpn_peer_remove+0x394/0x640 [ovpn] [ 49.860405][ T76] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 49.860408][ T76] ? __rwlock_init+0x150/0x150 [ 49.860410][ T76] ? mark_held_locks+0x40/0x70 [ 49.860414][ T76] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 49.860419][ T76] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 49.860422][ T76] ? __rwlock_init+0x150/0x150 [ 49.860427][ T76] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 49.860431][ T76] ? process_one_work+0xdfc/0x1560 [ 49.860434][ T76] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 49.860437][ T76] ? rcu_is_watching+0x16/0xd0 [ 49.860439][ T76] ? lock_acquire+0x13c/0x160 [ 49.860441][ T76] ? rcu_is_watching+0x16/0xd0 [ 49.860445][ T76] ? process_one_work+0xdfc/0x1560 [ 49.860446][ T76] process_one_work+0xe3e/0x1560 [ 49.860453][ T76] ? __queue_delayed_work+0x470/0x470 [ 49.860456][ T76] ? lock_acquire.part.0+0xd4/0x280 [ 49.860464][ T76] worker_thread+0x4f1/0xd60 [ 49.860468][ T76] ? rescuer_thread+0x1340/0x1340 [ 49.860470][ T76] ? __kthread_parkme+0xbd/0x210 [ 49.860473][ T76] ? rescuer_thread+0x1340/0x1340 [ 49.860476][ T76] ? rescuer_thread+0x1340/0x1340 [ 49.860478][ T76] kthread+0x367/0x460 [ 49.860480][ T76] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 49.860483][ T76] ? kthread_affine_preferred+0x4c0/0x4c0 [ 49.860486][ T76] ret_from_fork+0x474/0x6b0 [ 49.860490][ T76] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 49.860493][ T76] ? __switch_to+0x5a3/0xe00 [ 49.860496][ T76] ? kthread_affine_preferred+0x4c0/0x4c0 [ 49.860498][ T76] ret_from_fork_asm+0x11/0x20 [ 49.860507][ T76] [ 49.922638][ T884] tun4: deleting peer with id 4, reason 2 [ 50.051617][ T76] tun5: deleting peer with id 5, reason 2 [ 50.114602][ T76] tun6: deleting peer with id 6, reason 2