[ 29.043064][ T677] iperf3 (677) used greatest stack depth: 23880 bytes left [ 29.043084][ T677] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 29.043086][ T677] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 677, name: iperf3 [ 29.043088][ T677] preempt_count: 2, expected: 0 [ 29.043089][ T677] RCU nest depth: 0, expected: 0 [ 29.043090][ T677] locks held by iperf3/677: 5, last CPU#3: [ 29.043092][ T677] #0: ffffffffb34127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 29.043103][ T677] #1: ffffffffb3579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 29.043109][ T677] #2: ffffffffb3579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 29.043113][ T677] #3: ffffffffb3499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 29.043117][ T677] #4: ffffffffb3499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 29.043122][ T677] irq event stamp: 2551796 [ 29.043123][ T677] hardirqs last enabled at (2551795): [] __down_trylock_console_sem+0x86/0xa0 [ 29.043125][ T677] hardirqs last disabled at (2551796): [] console_emit_next_record+0x3d4/0x4c0 [ 29.043127][ T677] softirqs last enabled at (2551238): [] handle_softirqs+0x67c/0x900 [ 29.043130][ T677] softirqs last disabled at (2550337): [] __irq_exit_rcu+0x145/0x1c0 [ 29.043132][ T677] Preemption disabled at: [ 29.043133][ T677] [<0000000000000000>] 0x0 [ 29.043140][ T677] CPU: 3 UID: 0 PID: 677 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 29.043144][ T677] Tainted: [W]=WARN [ 29.043145][ T677] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.043146][ T677] Call Trace: [ 29.043148][ T677] [ 29.043150][ T677] dump_stack_lvl+0x6f/0xa0 [ 29.043156][ T677] __might_resched.cold+0x1fe/0x2c1 [ 29.043161][ T677] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 29.043165][ T677] ? __kmalloc_noprof+0xdb/0x760 [ 29.043170][ T677] __kmalloc_noprof+0x443/0x760 [ 29.043173][ T677] ? alloc_buf.isra.0+0x4b/0x260 [ 29.043179][ T677] ? do_raw_spin_unlock+0x59/0x250 [ 29.043181][ T677] alloc_buf.isra.0+0x4b/0x260 [ 29.043185][ T677] put_chars+0x1e1/0x2f0 [ 29.043187][ T677] ? prb_final_commit+0x50/0x50 [ 29.043190][ T677] ? __send_to_port+0x420/0x420 [ 29.043193][ T677] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 29.043197][ T677] ? rcu_read_lock_any_held+0x3c/0x90 [ 29.043200][ T677] ? validate_chain+0x38b/0xc20 [ 29.043204][ T677] hvc_console_print+0x292/0x780 [ 29.043207][ T677] ? mark_usage+0x61/0x170 [ 29.043209][ T677] ? __lock_acquire+0x518/0xc20 [ 29.043211][ T677] ? __lock_acquire+0x518/0xc20 [ 29.043215][ T677] ? hvc_write+0x3a0/0x3a0 [ 29.043217][ T677] ? console_emit_next_record+0x1df/0x4c0 [ 29.043221][ T677] ? rcu_is_watching+0x16/0xd0 [ 29.043223][ T677] ? lock_acquire+0x13c/0x160 [ 29.043227][ T677] console_emit_next_record+0x22f/0x4c0 [ 29.043231][ T677] ? devkmsg_read+0x4b0/0x4b0 [ 29.043233][ T677] ? console_flush_one_record+0x106/0x710 [ 29.043236][ T677] ? rcu_is_watching+0x16/0xd0 [ 29.043239][ T677] ? lock_acquire+0x13c/0x160 [ 29.043243][ T677] console_flush_one_record+0x46f/0x710 [ 29.043247][ T677] ? console_emit_next_record+0x4c0/0x4c0 [ 29.043249][ T677] ? __lock_acquire+0x518/0xc20 [ 29.043255][ T677] console_unlock+0xee/0x1f0 [ 29.043257][ T677] ? console_flush_one_record+0x710/0x710 [ 29.043259][ T677] ? rcu_is_watching+0x16/0xd0 [ 29.043262][ T677] ? lock_acquire+0x60/0x160 [ 29.043266][ T677] ? __down_trylock_console_sem+0x5e/0xa0 [ 29.043267][ T677] ? vprintk_emit+0x320/0x3e0 [ 29.043271][ T677] vprintk_emit+0x37c/0x3e0 [ 29.043275][ T677] ? wake_up_klogd_work_func+0x90/0x90 [ 29.043278][ T677] ? __lock_acquire+0x518/0xc20 [ 29.043282][ T677] _printk+0xc7/0x100 [ 29.043286][ T677] ? snapshot_read.cold+0x21/0x21 [ 29.043289][ T677] ? do_raw_spin_lock+0x131/0x280 [ 29.043291][ T677] ? __rwlock_init+0x150/0x150 [ 29.043295][ T677] ? do_raw_spin_lock+0x131/0x280 [ 29.043298][ T677] do_exit.cold+0x82/0x9c [ 29.043302][ T677] ? exit_notify+0x890/0x890 [ 29.043307][ T677] __x64_sys_exit+0x42/0x50 [ 29.043309][ T677] x64_sys_call+0x156c/0x1570 [ 29.043312][ T677] do_syscall_64+0xff/0x530 [ 29.043316][ T677] ? exc_page_fault+0xee/0x100 [ 29.043319][ T677] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 29.043321][ T677] RIP: 0033:0x7fc2d3f10c49 [ 29.043324][ T677] Code: Unable to access opcode bytes at 0x7fc2d3f10c1f. [ 29.043325][ T677] RSP: 002b:00007fc2d36cfe60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 29.043327][ T677] RAX: ffffffffffffffda RBX: 00007fc2d36d06c0 RCX: 00007fc2d3f10c49 [ 29.043329][ T677] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 29.043330][ T677] RBP: 00007fc2d36cff70 R08: 0000000000000001 R09: 00007fc2d36d06c0 [ 29.043331][ T677] R10: 0000000000000008 R11: 0000000000000246 R12: 00007fc2d2ed0000 [ 29.043331][ T677] R13: 00007fff088d8000 R14: 0000000000000002 R15: 00007fff088d8107 [ 29.043338][ T677] [ 30.898303][ T772] tun0: deleting peer with id 1, reason 1 [ 30.898387][ T772] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 30.898390][ T772] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 772, name: ovpn-cli [ 30.898391][ T772] preempt_count: 202, expected: 0 [ 30.898392][ T772] RCU nest depth: 0, expected: 0 [ 30.898393][ T772] locks held by ovpn-cli/772: 6, last CPU#0: [ 30.898395][ T772] #0: ffffffffb3d44ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 30.898408][ T772] #1: ff1100000d67ce68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 30.898416][ T772] #2: ffffffffb3579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 30.898423][ T772] #3: ffffffffb3579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 30.898426][ T772] #4: ffffffffb3499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 30.898430][ T772] #5: ffffffffb3499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 30.898434][ T772] irq event stamp: 42759 [ 30.898435][ T772] hardirqs last enabled at (42758): [] __down_trylock_console_sem+0x86/0xa0 [ 30.898437][ T772] hardirqs last disabled at (42759): [] console_emit_next_record+0x3d4/0x4c0 [ 30.898440][ T772] softirqs last enabled at (42726): [] __alloc_skb+0x4c2/0x5f0 [ 30.898443][ T772] softirqs last disabled at (42754): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 30.898447][ T772] Preemption disabled at: [ 30.898447][ T772] [<0000000000000000>] 0x0 [ 30.898454][ T772] CPU: 0 UID: 0 PID: 772 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.898458][ T772] Tainted: [W]=WARN [ 30.898459][ T772] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.898460][ T772] Call Trace: [ 30.898462][ T772] [ 30.898464][ T772] dump_stack_lvl+0x6f/0xa0 [ 30.898470][ T772] __might_resched.cold+0x1fe/0x2c1 [ 30.898475][ T772] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 30.898479][ T772] ? __kmalloc_noprof+0xdb/0x760 [ 30.898484][ T772] __kmalloc_noprof+0x443/0x760 [ 30.898487][ T772] ? alloc_buf.isra.0+0x4b/0x260 [ 30.898493][ T772] ? do_raw_spin_unlock+0x59/0x250 [ 30.898496][ T772] alloc_buf.isra.0+0x4b/0x260 [ 30.898499][ T772] put_chars+0x1e1/0x2f0 [ 30.898502][ T772] ? __send_to_port+0x420/0x420 [ 30.898504][ T772] ? check_prev_add+0x316/0xe90 [ 30.898508][ T772] ? validate_chain+0x34a/0xc20 [ 30.898512][ T772] hvc_console_print+0x292/0x780 [ 30.898515][ T772] ? mark_usage+0x61/0x170 [ 30.898517][ T772] ? __lock_acquire+0x518/0xc20 [ 30.898519][ T772] ? __lock_acquire+0x518/0xc20 [ 30.898523][ T772] ? hvc_write+0x3a0/0x3a0 [ 30.898524][ T772] ? lock_acquire.part.0+0xd4/0x280 [ 30.898529][ T772] ? lock_acquire+0x13c/0x160 [ 30.898533][ T772] console_emit_next_record+0x22f/0x4c0 [ 30.898537][ T772] ? devkmsg_read+0x4b0/0x4b0 [ 30.898539][ T772] ? console_flush_one_record+0x106/0x710 [ 30.898542][ T772] ? rcu_is_watching+0x16/0xd0 [ 30.898546][ T772] ? lock_acquire+0x13c/0x160 [ 30.898550][ T772] console_flush_one_record+0x46f/0x710 [ 30.898555][ T772] ? console_emit_next_record+0x4c0/0x4c0 [ 30.898556][ T772] ? __lock_acquire+0x518/0xc20 [ 30.898562][ T772] console_unlock+0xee/0x1f0 [ 30.898565][ T772] ? console_flush_one_record+0x710/0x710 [ 30.898567][ T772] ? rcu_is_watching+0x16/0xd0 [ 30.898569][ T772] ? lock_acquire+0x60/0x160 [ 30.898573][ T772] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.898575][ T772] ? vprintk_emit+0x320/0x3e0 [ 30.898578][ T772] vprintk_emit+0x37c/0x3e0 [ 30.898582][ T772] ? wake_up_klogd_work_func+0x90/0x90 [ 30.898584][ T772] ? kernel_text_address+0x149/0x170 [ 30.898587][ T772] ? __kernel_text_address+0x12/0x30 [ 30.898588][ T772] ? write_profile+0xf0/0xf0 [ 30.898591][ T772] ? unwind_get_return_address+0x67/0xd0 [ 30.898597][ T772] _printk+0xc7/0x100 [ 30.898600][ T772] ? snapshot_read.cold+0x21/0x21 [ 30.898604][ T772] ? mark_usage+0x61/0x170 [ 30.898606][ T772] ? netdev_name+0x43/0x60 [ 30.898609][ T772] ? __netdev_printk+0x17f/0x1d0 [ 30.898613][ T772] netdev_info+0xe2/0x116 [ 30.898615][ T772] ? netdev_notice+0x120/0x120 [ 30.898616][ T772] ? find_held_lock+0x2b/0x80 [ 30.898619][ T772] ? mark_usage+0x61/0x170 [ 30.898622][ T772] ? __lock_acquire+0x518/0xc20 [ 30.898628][ T772] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 30.898633][ T772] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 30.898637][ T772] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 30.898643][ T772] ovpn_peer_remove+0x394/0x640 [ovpn] [ 30.898646][ T772] ? do_raw_spin_lock+0x131/0x280 [ 30.898649][ T772] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 30.898656][ T772] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 30.898660][ T772] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 30.898666][ T772] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 30.898670][ T772] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 30.898674][ T772] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 30.898677][ T772] ? ref_tracker_alloc+0x28d/0x430 [ 30.898688][ T772] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 30.898692][ T772] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 30.898698][ T772] genl_family_rcv_msg_doit+0x206/0x300 [ 30.898702][ T772] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 30.898704][ T772] ? __lock_release.isra.0+0x69/0x1a0 [ 30.898710][ T772] ? rcu_is_watching+0x16/0xd0 [ 30.898712][ T772] ? cap_capable+0x1d7/0x3d0 [ 30.898716][ T772] ? write_profile+0xf0/0xf0 [ 30.898718][ T772] ? unwind_get_return_address+0x67/0xd0 [ 30.898721][ T772] genl_family_rcv_msg+0x3a4/0x640 [ 30.898725][ T772] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 30.898728][ T772] ? rcu_read_lock_any_held+0x3c/0x90 [ 30.898730][ T772] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 30.898733][ T772] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 30.898744][ T772] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 30.898750][ T772] ? __lock_acquire+0x518/0xc20 [ 30.898758][ T772] genl_rcv_msg+0xbb/0x160 [ 30.898762][ T772] netlink_rcv_skb+0x14e/0x3a0 [ 30.898764][ T772] ? genl_family_rcv_msg+0x640/0x640 [ 30.898768][ T772] ? netlink_ack+0xcf0/0xcf0 [ 30.898775][ T772] ? netlink_deliver_tap+0xc5/0x330 [ 30.898777][ T772] ? netlink_deliver_tap+0x13c/0x330 [ 30.898781][ T772] genl_rcv+0x28/0x40 [ 30.898784][ T772] netlink_unicast+0x486/0x750 [ 30.898788][ T772] ? netlink_attachskb+0x810/0x810 [ 30.898791][ T772] ? __lock_acquire+0x518/0xc20 [ 30.898795][ T772] netlink_sendmsg+0x735/0xc60 [ 30.898799][ T772] ? netlink_unicast+0x750/0x750 [ 30.898804][ T772] ? __might_fault+0x97/0x140 [ 30.898809][ T772] ____sys_sendmsg+0x415/0x880 [ 30.898813][ T772] ? copy_msghdr_from_user+0x279/0x420 [ 30.898816][ T772] ? get_timestamp.constprop.0+0x390/0x390 [ 30.898818][ T772] ? move_addr_to_kernel+0x40/0x40 [ 30.898825][ T772] ___sys_sendmsg+0x14e/0x1d0 [ 30.898828][ T772] ? copy_msghdr_from_user+0x420/0x420 [ 30.898830][ T772] ? kfree+0x22/0x590 [ 30.898846][ T772] __sys_sendmsg+0x12c/0x1d0 [ 30.898849][ T772] ? __sys_sendmsg_sock+0x20/0x20 [ 30.898857][ T772] ? rcu_is_watching+0x16/0xd0 [ 30.898860][ T772] ? rcu_is_watching+0x16/0xd0 [ 30.898864][ T772] do_syscall_64+0xff/0x530 [ 30.898867][ T772] ? exc_page_fault+0xee/0x100 [ 30.898870][ T772] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.898872][ T772] RIP: 0033:0x7fa7324d454e [ 30.898875][ T772] 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 [ 30.898876][ T772] RSP: 002b:00007ffcc9017c90 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 30.898879][ T772] RAX: ffffffffffffffda RBX: 000000001dec6130 RCX: 00007fa7324d454e [ 30.898881][ T772] RDX: 0000000000000000 RSI: 00007ffcc9017d30 RDI: 0000000000000005 [ 30.898882][ T772] RBP: 00007ffcc9017ca0 R08: 0000000000000000 R09: 0000000000000000 [ 30.898882][ T772] R10: 0000000000000000 R11: 0000000000000202 R12: 000000001dec6200 [ 30.898883][ T772] R13: 00007ffcc9017d30 R14: 000000001dec7260 R15: 000000000040bda8 [ 30.898890][ T772] [ 30.954852][ T772] ovpn-cli (772) used greatest stack depth: 23528 bytes left [ 31.023131][ T776] tun1: deleting peer with id 10, reason 1 [ 33.975443][ T824] tun0: deleting peer with id 2, reason 1 [ 33.975464][ T824] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 33.975466][ T824] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 824, name: ovpn-cli [ 33.975468][ T824] preempt_count: 202, expected: 0 [ 33.975469][ T824] RCU nest depth: 0, expected: 0 [ 33.975470][ T824] locks held by ovpn-cli/824: 6, last CPU#2: [ 33.975472][ T824] #0: ffffffffb3d44ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 33.975485][ T824] #1: ff1100000d67ce68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 33.975493][ T824] #2: ffffffffb3579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 33.975499][ T824] #3: ffffffffb3579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 33.975503][ T824] #4: ffffffffb3499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 33.975507][ T824] #5: ffffffffb3499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 33.975511][ T824] irq event stamp: 32071 [ 33.975512][ T824] hardirqs last enabled at (32070): [] __down_trylock_console_sem+0x86/0xa0 [ 33.975515][ T824] hardirqs last disabled at (32071): [] console_emit_next_record+0x3d4/0x4c0 [ 33.975517][ T824] softirqs last enabled at (32038): [] __alloc_skb+0x4c2/0x5f0 [ 33.975521][ T824] softirqs last disabled at (32066): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 33.975525][ T824] Preemption disabled at: [ 33.975525][ T824] [<0000000000000000>] 0x0 [ 33.975532][ T824] CPU: 2 UID: 0 PID: 824 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 33.975535][ T824] Tainted: [W]=WARN [ 33.975537][ T824] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 33.975538][ T824] Call Trace: [ 33.975540][ T824] [ 33.975541][ T824] dump_stack_lvl+0x6f/0xa0 [ 33.975548][ T824] __might_resched.cold+0x1fe/0x2c1 [ 33.975553][ T824] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 33.975557][ T824] ? __kmalloc_noprof+0xdb/0x760 [ 33.975562][ T824] __kmalloc_noprof+0x443/0x760 [ 33.975565][ T824] ? alloc_buf.isra.0+0x4b/0x260 [ 33.975571][ T824] ? do_raw_spin_unlock+0x59/0x250 [ 33.975573][ T824] alloc_buf.isra.0+0x4b/0x260 [ 33.975577][ T824] put_chars+0x1e1/0x2f0 [ 33.975580][ T824] ? __send_to_port+0x420/0x420 [ 33.975583][ T824] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 33.975588][ T824] ? rcu_read_lock_any_held+0x3c/0x90 [ 33.975590][ T824] ? validate_chain+0x38b/0xc20 [ 33.975594][ T824] hvc_console_print+0x292/0x780 [ 33.975597][ T824] ? mark_usage+0x61/0x170 [ 33.975599][ T824] ? __lock_acquire+0x518/0xc20 [ 33.975601][ T824] ? __lock_acquire+0x518/0xc20 [ 33.975605][ T824] ? hvc_write+0x3a0/0x3a0 [ 33.975606][ T824] ? lock_acquire.part.0+0xd4/0x280 [ 33.975611][ T824] ? lock_acquire+0x13c/0x160 [ 33.975615][ T824] console_emit_next_record+0x22f/0x4c0 [ 33.975619][ T824] ? devkmsg_read+0x4b0/0x4b0 [ 33.975621][ T824] ? console_flush_one_record+0x106/0x710 [ 33.975624][ T824] ? rcu_is_watching+0x16/0xd0 [ 33.975626][ T824] ? lock_acquire+0x13c/0x160 [ 33.975630][ T824] console_flush_one_record+0x46f/0x710 [ 33.975635][ T824] ? console_emit_next_record+0x4c0/0x4c0 [ 33.975637][ T824] ? __lock_acquire+0x518/0xc20 [ 33.975642][ T824] console_unlock+0xee/0x1f0 [ 33.975645][ T824] ? console_flush_one_record+0x710/0x710 [ 33.975647][ T824] ? rcu_is_watching+0x16/0xd0 [ 33.975649][ T824] ? lock_acquire+0x60/0x160 [ 33.975653][ T824] ? __down_trylock_console_sem+0x5e/0xa0 [ 33.975655][ T824] ? vprintk_emit+0x320/0x3e0 [ 33.975658][ T824] vprintk_emit+0x37c/0x3e0 [ 33.975662][ T824] ? wake_up_klogd_work_func+0x90/0x90 [ 33.975664][ T824] ? kernel_text_address+0x149/0x170 [ 33.975667][ T824] ? __kernel_text_address+0x12/0x30 [ 33.975669][ T824] ? write_profile+0xf0/0xf0 [ 33.975671][ T824] ? unwind_get_return_address+0x67/0xd0 [ 33.975676][ T824] _printk+0xc7/0x100 [ 33.975680][ T824] ? snapshot_read.cold+0x21/0x21 [ 33.975684][ T824] ? mark_usage+0x61/0x170 [ 33.975685][ T824] ? netdev_name+0x43/0x60 [ 33.975689][ T824] ? __netdev_printk+0x17f/0x1d0 [ 33.975692][ T824] netdev_info+0xe2/0x116 [ 33.975695][ T824] ? netdev_notice+0x120/0x120 [ 33.975696][ T824] ? find_held_lock+0x2b/0x80 [ 33.975699][ T824] ? mark_usage+0x61/0x170 [ 33.975701][ T824] ? __lock_acquire+0x518/0xc20 [ 33.975707][ T824] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 33.975712][ T824] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 33.975716][ T824] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 33.975722][ T824] ovpn_peer_remove+0x394/0x640 [ovpn] [ 33.975726][ T824] ? do_raw_spin_lock+0x131/0x280 [ 33.975729][ T824] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 33.975736][ T824] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 33.975743][ T824] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 33.975759][ T824] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 33.975763][ T824] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 33.975768][ T824] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 33.975772][ T824] ? ref_tracker_alloc+0x28d/0x430 [ 33.975788][ T824] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 33.975794][ T824] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 33.975803][ T824] genl_family_rcv_msg_doit+0x206/0x300 [ 33.975808][ T824] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 33.975810][ T824] ? __lock_release.isra.0+0x69/0x1a0 [ 33.975819][ T824] ? rcu_is_watching+0x16/0xd0 [ 33.975822][ T824] ? cap_capable+0x1d7/0x3d0 [ 33.975826][ T824] ? write_profile+0xf0/0xf0 [ 33.975827][ T824] ? unwind_get_return_address+0x67/0xd0 [ 33.975831][ T824] genl_family_rcv_msg+0x3a4/0x640 [ 33.975835][ T824] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 33.975837][ T824] ? rcu_read_lock_any_held+0x3c/0x90 [ 33.975839][ T824] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 33.975842][ T824] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 33.975846][ T824] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 33.975849][ T824] ? __lock_acquire+0x518/0xc20 [ 33.975857][ T824] genl_rcv_msg+0xbb/0x160 [ 33.975861][ T824] netlink_rcv_skb+0x14e/0x3a0 [ 33.975863][ T824] ? genl_family_rcv_msg+0x640/0x640 [ 33.975866][ T824] ? netlink_ack+0xcf0/0xcf0 [ 33.975874][ T824] ? netlink_deliver_tap+0xc5/0x330 [ 33.975876][ T824] ? netlink_deliver_tap+0x13c/0x330 [ 33.975880][ T824] genl_rcv+0x28/0x40 [ 33.975882][ T824] netlink_unicast+0x486/0x750 [ 33.975886][ T824] ? netlink_attachskb+0x810/0x810 [ 33.975889][ T824] ? __lock_acquire+0x518/0xc20 [ 33.975894][ T824] netlink_sendmsg+0x735/0xc60 [ 33.975898][ T824] ? netlink_unicast+0x750/0x750 [ 33.975902][ T824] ? __might_fault+0x97/0x140 [ 33.975908][ T824] ____sys_sendmsg+0x415/0x880 [ 33.975911][ T824] ? copy_msghdr_from_user+0x279/0x420 [ 33.975914][ T824] ? get_timestamp.constprop.0+0x390/0x390 [ 33.975915][ T824] ? move_addr_to_kernel+0x40/0x40 [ 33.975923][ T824] ___sys_sendmsg+0x14e/0x1d0 [ 33.975926][ T824] ? copy_msghdr_from_user+0x420/0x420 [ 33.975928][ T824] ? kfree+0x22/0x590 [ 33.975944][ T824] __sys_sendmsg+0x12c/0x1d0 [ 33.975947][ T824] ? __sys_sendmsg_sock+0x20/0x20 [ 33.975953][ T824] ? rcu_is_watching+0x16/0xd0 [ 33.975955][ T824] ? rcu_is_watching+0x16/0xd0 [ 33.975959][ T824] do_syscall_64+0xff/0x530 [ 33.975962][ T824] ? exc_page_fault+0xee/0x100 [ 33.975965][ T824] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 33.975967][ T824] RIP: 0033:0x7f6ca0d7054e [ 33.975969][ T824] 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 [ 33.975971][ T824] RSP: 002b:00007ffcc3be4b00 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 33.975974][ T824] RAX: ffffffffffffffda RBX: 0000000021114130 RCX: 00007f6ca0d7054e [ 33.975975][ T824] RDX: 0000000000000000 RSI: 00007ffcc3be4ba0 RDI: 0000000000000005 [ 33.975976][ T824] RBP: 00007ffcc3be4b10 R08: 0000000000000000 R09: 0000000000000000 [ 33.975977][ T824] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000021114200 [ 33.975978][ T824] R13: 00007ffcc3be4ba0 R14: 0000000021115260 R15: 000000000040bda8 [ 33.975985][ T824] [ 34.112371][ T828] tun2: deleting peer with id 11, reason 1 [ 39.180022][ T75] tun0: deleting peer with id 4, reason 2 [ 39.180133][ T75] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 39.180136][ T75] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 75, name: kworker/3:1 [ 39.180137][ T75] preempt_count: 202, expected: 0 [ 39.180139][ T75] RCU nest depth: 0, expected: 0 [ 39.180140][ T75] locks held by kworker/3:1/75: 7, last CPU#3: [ 39.180142][ T75] #0: ff1100000af6ad40 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 39.180154][ T75] #1: ffa0000000507d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 39.180158][ T75] #2: ff1100000d67ce68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 39.180166][ T75] #3: ffffffffb3579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 39.180171][ T75] #4: ffffffffb3579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 39.180175][ T75] #5: ffffffffb3499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 39.180179][ T75] #6: ffffffffb3499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 39.180183][ T75] irq event stamp: 24043 [ 39.180184][ T75] hardirqs last enabled at (24042): [] __down_trylock_console_sem+0x86/0xa0 [ 39.180187][ T75] hardirqs last disabled at (24043): [] console_emit_next_record+0x3d4/0x4c0 [ 39.180189][ T75] softirqs last enabled at (23910): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 39.180192][ T75] softirqs last disabled at (24036): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 39.180196][ T75] Preemption disabled at: [ 39.180197][ T75] [<0000000000000000>] 0x0 [ 39.180204][ T75] CPU: 3 UID: 0 PID: 75 Comm: kworker/3:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 39.180208][ T75] Tainted: [W]=WARN [ 39.180209][ T75] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 39.180211][ T75] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 39.180216][ T75] Call Trace: [ 39.180218][ T75] [ 39.180221][ T75] dump_stack_lvl+0x6f/0xa0 [ 39.180227][ T75] __might_resched.cold+0x1fe/0x2c1 [ 39.180232][ T75] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 39.180236][ T75] ? __kmalloc_noprof+0xdb/0x760 [ 39.180242][ T75] __kmalloc_noprof+0x443/0x760 [ 39.180245][ T75] ? alloc_buf.isra.0+0x4b/0x260 [ 39.180251][ T75] ? do_raw_spin_unlock+0x59/0x250 [ 39.180254][ T75] alloc_buf.isra.0+0x4b/0x260 [ 39.180258][ T75] put_chars+0x1e1/0x2f0 [ 39.180261][ T75] ? __send_to_port+0x420/0x420 [ 39.180266][ T75] ? validate_chain+0x34a/0xc20 [ 39.180270][ T75] hvc_console_print+0x292/0x780 [ 39.180273][ T75] ? mark_usage+0x61/0x170 [ 39.180275][ T75] ? __lock_acquire+0x518/0xc20 [ 39.180277][ T75] ? __lock_acquire+0x518/0xc20 [ 39.180281][ T75] ? hvc_write+0x3a0/0x3a0 [ 39.180284][ T75] ? console_emit_next_record+0x1df/0x4c0 [ 39.180287][ T75] ? rcu_is_watching+0x16/0xd0 [ 39.180291][ T75] ? lock_acquire+0x13c/0x160 [ 39.180295][ T75] console_emit_next_record+0x22f/0x4c0 [ 39.180299][ T75] ? devkmsg_read+0x4b0/0x4b0 [ 39.180301][ T75] ? console_flush_one_record+0x106/0x710 [ 39.180305][ T75] ? rcu_is_watching+0x16/0xd0 [ 39.180307][ T75] ? lock_acquire+0x13c/0x160 [ 39.180311][ T75] console_flush_one_record+0x46f/0x710 [ 39.180316][ T75] ? console_emit_next_record+0x4c0/0x4c0 [ 39.180318][ T75] ? __lock_acquire+0x518/0xc20 [ 39.180323][ T75] console_unlock+0xee/0x1f0 [ 39.180326][ T75] ? console_flush_one_record+0x710/0x710 [ 39.180329][ T75] ? rcu_is_watching+0x16/0xd0 [ 39.180331][ T75] ? lock_acquire+0x60/0x160 [ 39.180335][ T75] ? __down_trylock_console_sem+0x5e/0xa0 [ 39.180337][ T75] ? vprintk_emit+0x320/0x3e0 [ 39.180340][ T75] vprintk_emit+0x37c/0x3e0 [ 39.180344][ T75] ? wake_up_klogd_work_func+0x90/0x90 [ 39.180348][ T75] ? __lock_release.isra.0+0x69/0x1a0 [ 39.180350][ T75] ? rcu_is_watching+0x16/0xd0 [ 39.180354][ T75] _printk+0xc7/0x100 [ 39.180357][ T75] ? snapshot_read.cold+0x21/0x21 [ 39.180361][ T75] ? __add_to_free_list+0x81/0x5c0 [ 39.180363][ T75] ? __mod_zone_page_state+0xe1/0x190 [ 39.180367][ T75] ? netdev_name+0x43/0x60 [ 39.180370][ T75] ? __netdev_printk+0x17f/0x1d0 [ 39.180374][ T75] netdev_info+0xe2/0x116 [ 39.180376][ T75] ? netdev_notice+0x120/0x120 [ 39.180377][ T75] ? rcu_read_lock_any_held+0x3c/0x90 [ 39.180383][ T75] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 39.180386][ T75] ? rcu_read_lock_any_held+0x3c/0x90 [ 39.180390][ T75] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 39.180396][ T75] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 39.180403][ T75] ovpn_peer_remove+0x394/0x640 [ovpn] [ 39.180407][ T75] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 39.180410][ T75] ? __rwlock_init+0x150/0x150 [ 39.180413][ T75] ? mark_held_locks+0x40/0x70 [ 39.180417][ T75] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 39.180422][ T75] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 39.180425][ T75] ? __rwlock_init+0x150/0x150 [ 39.180430][ T75] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 39.180435][ T75] ? process_one_work+0xdfc/0x1560 [ 39.180438][ T75] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 39.180441][ T75] ? rcu_is_watching+0x16/0xd0 [ 39.180443][ T75] ? lock_acquire+0x13c/0x160 [ 39.180445][ T75] ? rcu_is_watching+0x16/0xd0 [ 39.180450][ T75] process_one_work+0xe3e/0x1560 [ 39.180457][ T75] ? __queue_delayed_work+0x470/0x470 [ 39.180460][ T75] ? lock_acquire.part.0+0xd4/0x280 [ 39.180468][ T75] worker_thread+0x4f1/0xd60 [ 39.180472][ T75] ? rescuer_thread+0x1340/0x1340 [ 39.180475][ T75] ? __kthread_parkme+0xbd/0x210 [ 39.180478][ T75] ? rescuer_thread+0x1340/0x1340 [ 39.180481][ T75] ? rescuer_thread+0x1340/0x1340 [ 39.180483][ T75] kthread+0x367/0x460 [ 39.180485][ T75] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 39.180488][ T75] ? kthread_affine_preferred+0x4c0/0x4c0 [ 39.180491][ T75] ret_from_fork+0x474/0x6b0 [ 39.180496][ T75] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 39.180499][ T75] ? __switch_to+0x5a3/0xe00 [ 39.180502][ T75] ? kthread_affine_preferred+0x4c0/0x4c0 [ 39.180505][ T75] ret_from_fork_asm+0x11/0x20 [ 39.180514][ T75] [ 39.213609][ T75] tun0: deleting peer with id 3, reason 2 [ 39.213972][ T75] tun0: deleting peer with id 5, reason 2 [ 40.268108][ T75] tun0: deleting peer with id 6, reason 2 [ 40.268129][ T75] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 40.268131][ T75] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 75, name: kworker/3:1 [ 40.268133][ T75] preempt_count: 202, expected: 0 [ 40.268134][ T75] RCU nest depth: 0, expected: 0 [ 40.268135][ T75] locks held by kworker/3:1/75: 7, last CPU#3: [ 40.268137][ T75] #0: ff1100000af6ad40 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 40.268149][ T75] #1: ffa0000000507d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 40.268153][ T75] #2: ff1100000d67ce68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 40.268161][ T75] #3: ffffffffb3579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 40.268166][ T75] #4: ffffffffb3579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 40.268170][ T75] #5: ffffffffb3499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 40.268174][ T75] #6: ffffffffb3499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 40.268178][ T75] irq event stamp: 25037 [ 40.268179][ T75] hardirqs last enabled at (25036): [] __down_trylock_console_sem+0x86/0xa0 [ 40.268182][ T75] hardirqs last disabled at (25037): [] console_emit_next_record+0x3d4/0x4c0 [ 40.268184][ T75] softirqs last enabled at (24698): [] ovpn_peer_release+0x37/0xe0 [ovpn] [ 40.268187][ T75] softirqs last disabled at (25030): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 40.268191][ T75] Preemption disabled at: [ 40.268191][ T75] [<0000000000000000>] 0x0 [ 40.268198][ T75] CPU: 3 UID: 0 PID: 75 Comm: kworker/3:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 40.268201][ T75] Tainted: [W]=WARN [ 40.268202][ T75] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 40.268204][ T75] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 40.268209][ T75] Call Trace: [ 40.268211][ T75] [ 40.268214][ T75] dump_stack_lvl+0x6f/0xa0 [ 40.268220][ T75] __might_resched.cold+0x1fe/0x2c1 [ 40.268225][ T75] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 40.268229][ T75] ? __kmalloc_noprof+0xdb/0x760 [ 40.268235][ T75] __kmalloc_noprof+0x443/0x760 [ 40.268238][ T75] ? alloc_buf.isra.0+0x4b/0x260 [ 40.268244][ T75] ? do_raw_spin_unlock+0x59/0x250 [ 40.268247][ T75] alloc_buf.isra.0+0x4b/0x260 [ 40.268250][ T75] put_chars+0x1e1/0x2f0 [ 40.268253][ T75] ? prb_final_commit+0x50/0x50 [ 40.268256][ T75] ? __send_to_port+0x420/0x420 [ 40.268259][ T75] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 40.268264][ T75] ? rcu_read_lock_any_held+0x3c/0x90 [ 40.268266][ T75] ? validate_chain+0x38b/0xc20 [ 40.268270][ T75] hvc_console_print+0x292/0x780 [ 40.268274][ T75] ? mark_usage+0x61/0x170 [ 40.268276][ T75] ? __lock_acquire+0x518/0xc20 [ 40.268277][ T75] ? __lock_acquire+0x518/0xc20 [ 40.268282][ T75] ? hvc_write+0x3a0/0x3a0 [ 40.268284][ T75] ? console_emit_next_record+0x1df/0x4c0 [ 40.268288][ T75] ? rcu_is_watching+0x16/0xd0 [ 40.268290][ T75] ? lock_acquire+0x13c/0x160 [ 40.268295][ T75] console_emit_next_record+0x22f/0x4c0 [ 40.268299][ T75] ? devkmsg_read+0x4b0/0x4b0 [ 40.268301][ T75] ? console_flush_one_record+0x106/0x710 [ 40.268305][ T75] ? rcu_is_watching+0x16/0xd0 [ 40.268307][ T75] ? lock_acquire+0x13c/0x160 [ 40.268312][ T75] console_flush_one_record+0x46f/0x710 [ 40.268316][ T75] ? console_emit_next_record+0x4c0/0x4c0 [ 40.268318][ T75] ? __lock_acquire+0x518/0xc20 [ 40.268324][ T75] console_unlock+0xee/0x1f0 [ 40.268327][ T75] ? console_flush_one_record+0x710/0x710 [ 40.268329][ T75] ? rcu_is_watching+0x16/0xd0 [ 40.268332][ T75] ? lock_acquire+0x60/0x160 [ 40.268336][ T75] ? __down_trylock_console_sem+0x5e/0xa0 [ 40.268338][ T75] ? vprintk_emit+0x320/0x3e0 [ 40.268341][ T75] vprintk_emit+0x37c/0x3e0 [ 40.268345][ T75] ? wake_up_klogd_work_func+0x90/0x90 [ 40.268349][ T75] ? __lock_release.isra.0+0x69/0x1a0 [ 40.268351][ T75] ? rcu_is_watching+0x16/0xd0 [ 40.268355][ T75] _printk+0xc7/0x100 [ 40.268359][ T75] ? snapshot_read.cold+0x21/0x21 [ 40.268362][ T75] ? __add_to_free_list+0x81/0x5c0 [ 40.268365][ T75] ? __mod_zone_page_state+0xe1/0x190 [ 40.268369][ T75] ? netdev_name+0x43/0x60 [ 40.268372][ T75] ? __netdev_printk+0x17f/0x1d0 [ 40.268376][ T75] netdev_info+0xe2/0x116 [ 40.268379][ T75] ? netdev_notice+0x120/0x120 [ 40.268380][ T75] ? rcu_read_lock_any_held+0x3c/0x90 [ 40.268386][ T75] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 40.268389][ T75] ? rcu_read_lock_any_held+0x3c/0x90 [ 40.268393][ T75] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 40.268399][ T75] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 40.268406][ T75] ovpn_peer_remove+0x394/0x640 [ovpn] [ 40.268410][ T75] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 40.268413][ T75] ? __rwlock_init+0x150/0x150 [ 40.268416][ T75] ? mark_held_locks+0x40/0x70 [ 40.268420][ T75] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 40.268425][ T75] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 40.268428][ T75] ? __rwlock_init+0x150/0x150 [ 40.268434][ T75] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 40.268438][ T75] ? process_one_work+0xdfc/0x1560 [ 40.268441][ T75] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 40.268445][ T75] ? rcu_is_watching+0x16/0xd0 [ 40.268447][ T75] ? lock_acquire+0x13c/0x160 [ 40.268449][ T75] ? rcu_is_watching+0x16/0xd0 [ 40.268454][ T75] process_one_work+0xe3e/0x1560 [ 40.268461][ T75] ? __queue_delayed_work+0x470/0x470 [ 40.268464][ T75] ? lock_acquire.part.0+0xd4/0x280 [ 40.268472][ T75] worker_thread+0x4f1/0xd60 [ 40.268477][ T75] ? rescuer_thread+0x1340/0x1340 [ 40.268479][ T75] ? __kthread_parkme+0xbd/0x210 [ 40.268483][ T75] ? rescuer_thread+0x1340/0x1340 [ 40.268486][ T75] ? rescuer_thread+0x1340/0x1340 [ 40.268488][ T75] kthread+0x367/0x460 [ 40.268490][ T75] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 40.268493][ T75] ? kthread_affine_preferred+0x4c0/0x4c0 [ 40.268496][ T75] ret_from_fork+0x474/0x6b0 [ 40.268500][ T75] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 40.268504][ T75] ? __switch_to+0x5a3/0xe00 [ 40.268507][ T75] ? kthread_affine_preferred+0x4c0/0x4c0 [ 40.268510][ T75] ret_from_fork_asm+0x11/0x20 [ 40.268519][ T75] [ 45.324421][ T75] tun3: deleting peer with id 12, reason 2 [ 45.324445][ T75] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 45.324447][ T75] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 75, name: kworker/3:1 [ 45.324449][ T75] preempt_count: 202, expected: 0 [ 45.324450][ T75] RCU nest depth: 0, expected: 0 [ 45.324451][ T75] locks held by kworker/3:1/75: 7, last CPU#3: [ 45.324454][ T75] #0: ff1100000af6ad40 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 45.324466][ T75] #1: ffa0000000507d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 45.324470][ T75] #2: ff110000058dce68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 45.324478][ T75] #3: ffffffffb3579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 45.324483][ T75] #4: ffffffffb3579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 45.324487][ T75] #5: ffffffffb3499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 45.324491][ T75] #6: ffffffffb3499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 45.324495][ T75] irq event stamp: 26085 [ 45.324496][ T75] hardirqs last enabled at (26084): [] __down_trylock_console_sem+0x86/0xa0 [ 45.324498][ T75] hardirqs last disabled at (26085): [] console_emit_next_record+0x3d4/0x4c0 [ 45.324500][ T75] softirqs last enabled at (25702): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 45.324504][ T75] softirqs last disabled at (26074): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 45.324507][ T75] Preemption disabled at: [ 45.324508][ T75] [<0000000000000000>] 0x0 [ 45.324516][ T75] CPU: 3 UID: 0 PID: 75 Comm: kworker/3:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 45.324519][ T75] Tainted: [W]=WARN [ 45.324520][ T75] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 45.324522][ T75] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 45.324527][ T75] Call Trace: [ 45.324529][ T75] [ 45.324531][ T75] dump_stack_lvl+0x6f/0xa0 [ 45.324538][ T75] __might_resched.cold+0x1fe/0x2c1 [ 45.324543][ T75] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 45.324547][ T75] ? __kmalloc_noprof+0xdb/0x760 [ 45.324552][ T75] __kmalloc_noprof+0x443/0x760 [ 45.324555][ T75] ? alloc_buf.isra.0+0x4b/0x260 [ 45.324561][ T75] ? do_raw_spin_unlock+0x59/0x250 [ 45.324564][ T75] alloc_buf.isra.0+0x4b/0x260 [ 45.324567][ T75] put_chars+0x1e1/0x2f0 [ 45.324569][ T75] ? prb_final_commit+0x50/0x50 [ 45.324572][ T75] ? __send_to_port+0x420/0x420 [ 45.324575][ T75] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 45.324580][ T75] ? rcu_read_lock_any_held+0x3c/0x90 [ 45.324582][ T75] ? validate_chain+0x38b/0xc20 [ 45.324586][ T75] hvc_console_print+0x292/0x780 [ 45.324589][ T75] ? mark_usage+0x61/0x170 [ 45.324591][ T75] ? __lock_acquire+0x518/0xc20 [ 45.324593][ T75] ? __lock_acquire+0x518/0xc20 [ 45.324597][ T75] ? hvc_write+0x3a0/0x3a0 [ 45.324599][ T75] ? console_emit_next_record+0x1df/0x4c0 [ 45.324602][ T75] ? rcu_is_watching+0x16/0xd0 [ 45.324605][ T75] ? lock_acquire+0x13c/0x160 [ 45.324609][ T75] console_emit_next_record+0x22f/0x4c0 [ 45.324613][ T75] ? devkmsg_read+0x4b0/0x4b0 [ 45.324615][ T75] ? console_flush_one_record+0x106/0x710 [ 45.324619][ T75] ? rcu_is_watching+0x16/0xd0 [ 45.324621][ T75] ? lock_acquire+0x13c/0x160 [ 45.324625][ T75] console_flush_one_record+0x46f/0x710 [ 45.324630][ T75] ? console_emit_next_record+0x4c0/0x4c0 [ 45.324632][ T75] ? __lock_acquire+0x518/0xc20 [ 45.324637][ T75] console_unlock+0xee/0x1f0 [ 45.324640][ T75] ? console_flush_one_record+0x710/0x710 [ 45.324642][ T75] ? rcu_is_watching+0x16/0xd0 [ 45.324644][ T75] ? lock_acquire+0x60/0x160 [ 45.324648][ T75] ? __down_trylock_console_sem+0x5e/0xa0 [ 45.324650][ T75] ? vprintk_emit+0x320/0x3e0 [ 45.324654][ T75] vprintk_emit+0x37c/0x3e0 [ 45.324658][ T75] ? wake_up_klogd_work_func+0x90/0x90 [ 45.324661][ T75] ? __lock_release.isra.0+0x69/0x1a0 [ 45.324665][ T75] _printk+0xc7/0x100 [ 45.324669][ T75] ? snapshot_read.cold+0x21/0x21 [ 45.324671][ T75] ? try_to_wake_up+0x153/0x1130 [ 45.324674][ T75] ? select_fallback_rq+0x510/0x510 [ 45.324676][ T75] ? netdev_name+0x43/0x60 [ 45.324680][ T75] ? __netdev_printk+0x17f/0x1d0 [ 45.324683][ T75] netdev_info+0xe2/0x116 [ 45.324686][ T75] ? netdev_notice+0x120/0x120 [ 45.324691][ T75] ? __queue_work+0x3ab/0xd30 [ 45.324695][ T75] ? kthread+0x367/0x460 [ 45.324699][ T75] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 45.324705][ T75] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 45.324708][ T75] ? mark_held_locks+0x40/0x70 [ 45.324711][ T75] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 45.324712][ T75] ? lockdep_hardirqs_on+0x91/0x130 [ 45.324717][ T75] ovpn_peer_remove+0x394/0x640 [ovpn] [ 45.324722][ T75] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 45.324725][ T75] ? __rwlock_init+0x150/0x150 [ 45.324727][ T75] ? mark_held_locks+0x40/0x70 [ 45.324731][ T75] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 45.324736][ T75] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 45.324741][ T75] ? __rwlock_init+0x150/0x150 [ 45.324749][ T75] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 45.324754][ T75] ? process_one_work+0xdfc/0x1560 [ 45.324757][ T75] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 45.324760][ T75] ? rcu_is_watching+0x16/0xd0 [ 45.324762][ T75] ? lock_acquire+0x13c/0x160 [ 45.324764][ T75] ? rcu_is_watching+0x16/0xd0 [ 45.324768][ T75] ? process_one_work+0xdfc/0x1560 [ 45.324770][ T75] process_one_work+0xe3e/0x1560 [ 45.324777][ T75] ? __queue_delayed_work+0x470/0x470 [ 45.324779][ T75] ? lock_acquire.part.0+0xd4/0x280 [ 45.324787][ T75] worker_thread+0x4f1/0xd60 [ 45.324792][ T75] ? rescuer_thread+0x1340/0x1340 [ 45.324794][ T75] ? __kthread_parkme+0xbd/0x210 [ 45.324796][ T75] ? rescuer_thread+0x1340/0x1340 [ 45.324799][ T75] ? rescuer_thread+0x1340/0x1340 [ 45.324801][ T75] kthread+0x367/0x460 [ 45.324803][ T75] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 45.324806][ T75] ? kthread_affine_preferred+0x4c0/0x4c0 [ 45.324809][ T75] ret_from_fork+0x474/0x6b0 [ 45.324813][ T75] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 45.324816][ T75] ? __switch_to+0x5a3/0xe00 [ 45.324820][ T75] ? kthread_affine_preferred+0x4c0/0x4c0 [ 45.324823][ T75] ret_from_fork_asm+0x11/0x20 [ 45.324839][ T75] [ 45.452089][ T67] tun4: deleting peer with id 13, reason 2 [ 45.515894][ T67] tun5: deleting peer with id 14, reason 2 [ 45.579892][ T67] tun6: deleting peer with id 15, reason 2