[ 16.054257][ T314] ip (314) used greatest stack depth: 24264 bytes left [ 16.054277][ T314] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.054279][ T314] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 314, name: ip [ 16.054281][ T314] preempt_count: 2, expected: 0 [ 16.054282][ T314] RCU nest depth: 0, expected: 0 [ 16.054283][ T314] locks held by ip/314: 5, last CPU#3: [ 16.054285][ T314] #0: ffffffff950127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 16.054296][ T314] #1: ffffffff95179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.054302][ T314] #2: ffffffff95179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.054306][ T314] #3: ffffffff95099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.054310][ T314] #4: ffffffff95099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.054314][ T314] irq event stamp: 23196 [ 16.054315][ T314] hardirqs last enabled at (23195): [] __down_trylock_console_sem+0x86/0xa0 [ 16.054318][ T314] hardirqs last disabled at (23196): [] console_emit_next_record+0x3d4/0x4c0 [ 16.054320][ T314] softirqs last enabled at (22710): [] handle_softirqs+0x67c/0x900 [ 16.054322][ T314] softirqs last disabled at (22705): [] __irq_exit_rcu+0x145/0x1c0 [ 16.054325][ T314] Preemption disabled at: [ 16.054325][ T314] [<0000000000000000>] 0x0 [ 16.054332][ T314] CPU: 3 UID: 0 PID: 314 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.054336][ T314] Tainted: [W]=WARN [ 16.054337][ T314] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.054338][ T314] Call Trace: [ 16.054340][ T314] [ 16.054341][ T314] dump_stack_lvl+0x6f/0xa0 [ 16.054348][ T314] __might_resched.cold+0x1fe/0x2c1 [ 16.054352][ T314] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.054357][ T314] ? __kmalloc_noprof+0xdb/0x760 [ 16.054362][ T314] __kmalloc_noprof+0x443/0x760 [ 16.054364][ T314] ? alloc_buf.isra.0+0x4b/0x260 [ 16.054370][ T314] ? do_raw_spin_unlock+0x59/0x250 [ 16.054373][ T314] alloc_buf.isra.0+0x4b/0x260 [ 16.054377][ T314] put_chars+0x1e1/0x2f0 [ 16.054380][ T314] ? __send_to_port+0x420/0x420 [ 16.054381][ T314] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.054387][ T314] ? validate_chain+0x38b/0xc20 [ 16.054392][ T314] hvc_console_print+0x292/0x780 [ 16.054398][ T314] ? hvc_write+0x3a0/0x3a0 [ 16.054401][ T314] ? rcu_is_watching+0x16/0xd0 [ 16.054403][ T314] ? lock_acquire+0x13c/0x160 [ 16.054407][ T314] console_emit_next_record+0x22f/0x4c0 [ 16.054411][ T314] ? devkmsg_read+0x4b0/0x4b0 [ 16.054413][ T314] ? console_flush_one_record+0x106/0x710 [ 16.054416][ T314] ? rcu_is_watching+0x16/0xd0 [ 16.054419][ T314] ? lock_acquire+0x13c/0x160 [ 16.054423][ T314] console_flush_one_record+0x46f/0x710 [ 16.054427][ T314] ? console_emit_next_record+0x4c0/0x4c0 [ 16.054429][ T314] ? __lock_acquire+0x518/0xc20 [ 16.054434][ T314] console_unlock+0xee/0x1f0 [ 16.054437][ T314] ? console_flush_one_record+0x710/0x710 [ 16.054439][ T314] ? rcu_is_watching+0x16/0xd0 [ 16.054441][ T314] ? lock_acquire+0x60/0x160 [ 16.054445][ T314] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.054447][ T314] ? vprintk_emit+0x320/0x3e0 [ 16.054450][ T314] vprintk_emit+0x37c/0x3e0 [ 16.054454][ T314] ? wake_up_klogd_work_func+0x90/0x90 [ 16.054458][ T314] ? __lock_acquire+0x518/0xc20 [ 16.054461][ T314] _printk+0xc7/0x100 [ 16.054465][ T314] ? snapshot_read.cold+0x21/0x21 [ 16.054468][ T314] ? do_raw_spin_lock+0x131/0x280 [ 16.054470][ T314] ? __rwlock_init+0x150/0x150 [ 16.054474][ T314] ? do_raw_spin_lock+0x131/0x280 [ 16.054477][ T314] do_exit.cold+0x82/0x9c [ 16.054481][ T314] ? exit_notify+0x890/0x890 [ 16.054482][ T314] ? __lock_release.isra.0+0x69/0x1a0 [ 16.054485][ T314] ? rcu_is_watching+0x16/0xd0 [ 16.054489][ T314] do_group_exit+0xb8/0x370 [ 16.054492][ T314] __x64_sys_exit_group+0x3c/0x50 [ 16.054494][ T314] x64_sys_call+0x1567/0x1570 [ 16.054497][ T314] do_syscall_64+0xff/0x530 [ 16.054500][ T314] ? exc_page_fault+0xee/0x100 [ 16.054503][ T314] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.054505][ T314] RIP: 0033:0x7f50827bb1b8 [ 16.054508][ T314] Code: Unable to access opcode bytes at 0x7f50827bb18e. [ 16.054509][ T314] RSP: 002b:00007fff28f62828 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 16.054511][ T314] RAX: ffffffffffffffda RBX: 00007f50828ebf88 RCX: 00007f50827bb1b8 [ 16.054513][ T314] RDX: 00007f5082505fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 16.054514][ T314] RBP: 00007fff28f62880 R08: 0000000000000000 R09: 0000000000000050 [ 16.054515][ T314] R10: 00007fff28f62640 R11: 0000000000000246 R12: 0000000000000001 [ 16.054515][ T314] R13: 0000000000000000 R14: 00007f50828ea680 R15: 00007f50828ebfa0 [ 16.054522][ T314] [ 17.022432][ T342] ip (342) used greatest stack depth: 24240 bytes left [ 29.926899][ T678] iperf3 (678) used greatest stack depth: 23488 bytes left [ 29.926919][ T678] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 29.926922][ T678] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 678, name: iperf3 [ 29.926924][ T678] preempt_count: 2, expected: 0 [ 29.926924][ T678] RCU nest depth: 0, expected: 0 [ 29.926926][ T678] locks held by iperf3/678: 5, last CPU#0: [ 29.926928][ T678] #0: ffffffff950127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 29.926940][ T678] #1: ffffffff95179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 29.926946][ T678] #2: ffffffff95179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 29.926950][ T678] #3: ffffffff95099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 29.926954][ T678] #4: ffffffff95099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 29.926958][ T678] irq event stamp: 2318438 [ 29.926959][ T678] hardirqs last enabled at (2318437): [] __down_trylock_console_sem+0x86/0xa0 [ 29.926962][ T678] hardirqs last disabled at (2318438): [] console_emit_next_record+0x3d4/0x4c0 [ 29.926964][ T678] softirqs last enabled at (2318162): [] handle_softirqs+0x67c/0x900 [ 29.926966][ T678] softirqs last disabled at (2318157): [] __irq_exit_rcu+0x145/0x1c0 [ 29.926969][ T678] Preemption disabled at: [ 29.926969][ T678] [<0000000000000000>] 0x0 [ 29.926977][ T678] CPU: 0 UID: 0 PID: 678 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 29.926980][ T678] Tainted: [W]=WARN [ 29.926981][ T678] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.926982][ T678] Call Trace: [ 29.926984][ T678] [ 29.926985][ T678] dump_stack_lvl+0x6f/0xa0 [ 29.926992][ T678] __might_resched.cold+0x1fe/0x2c1 [ 29.926997][ T678] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 29.927001][ T678] ? __kmalloc_noprof+0xdb/0x760 [ 29.927006][ T678] __kmalloc_noprof+0x443/0x760 [ 29.927008][ T678] ? alloc_buf.isra.0+0x4b/0x260 [ 29.927015][ T678] ? do_raw_spin_unlock+0x59/0x250 [ 29.927017][ T678] alloc_buf.isra.0+0x4b/0x260 [ 29.927021][ T678] put_chars+0x1e1/0x2f0 [ 29.927023][ T678] ? prb_final_commit+0x50/0x50 [ 29.927026][ T678] ? __send_to_port+0x420/0x420 [ 29.927029][ T678] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 29.927033][ T678] ? rcu_read_lock_any_held+0x3c/0x90 [ 29.927036][ T678] ? validate_chain+0x38b/0xc20 [ 29.927039][ T678] hvc_console_print+0x292/0x780 [ 29.927043][ T678] ? mark_usage+0x61/0x170 [ 29.927045][ T678] ? __lock_acquire+0x518/0xc20 [ 29.927047][ T678] ? __lock_acquire+0x518/0xc20 [ 29.927051][ T678] ? hvc_write+0x3a0/0x3a0 [ 29.927053][ T678] ? console_emit_next_record+0x1df/0x4c0 [ 29.927056][ T678] ? rcu_is_watching+0x16/0xd0 [ 29.927059][ T678] ? lock_acquire+0x13c/0x160 [ 29.927063][ T678] console_emit_next_record+0x22f/0x4c0 [ 29.927067][ T678] ? devkmsg_read+0x4b0/0x4b0 [ 29.927069][ T678] ? console_flush_one_record+0x106/0x710 [ 29.927072][ T678] ? rcu_is_watching+0x16/0xd0 [ 29.927075][ T678] ? lock_acquire+0x13c/0x160 [ 29.927079][ T678] console_flush_one_record+0x46f/0x710 [ 29.927083][ T678] ? console_emit_next_record+0x4c0/0x4c0 [ 29.927085][ T678] ? __lock_acquire+0x518/0xc20 [ 29.927090][ T678] console_unlock+0xee/0x1f0 [ 29.927093][ T678] ? console_flush_one_record+0x710/0x710 [ 29.927095][ T678] ? rcu_is_watching+0x16/0xd0 [ 29.927097][ T678] ? lock_acquire+0x60/0x160 [ 29.927101][ T678] ? __down_trylock_console_sem+0x5e/0xa0 [ 29.927103][ T678] ? vprintk_emit+0x320/0x3e0 [ 29.927106][ T678] vprintk_emit+0x37c/0x3e0 [ 29.927110][ T678] ? wake_up_klogd_work_func+0x90/0x90 [ 29.927114][ T678] ? __lock_acquire+0x518/0xc20 [ 29.927117][ T678] _printk+0xc7/0x100 [ 29.927121][ T678] ? snapshot_read.cold+0x21/0x21 [ 29.927124][ T678] ? do_raw_spin_lock+0x131/0x280 [ 29.927127][ T678] ? __rwlock_init+0x150/0x150 [ 29.927131][ T678] ? do_raw_spin_lock+0x131/0x280 [ 29.927133][ T678] do_exit.cold+0x82/0x9c [ 29.927137][ T678] ? exit_notify+0x890/0x890 [ 29.927142][ T678] __x64_sys_exit+0x42/0x50 [ 29.927144][ T678] x64_sys_call+0x156c/0x1570 [ 29.927147][ T678] do_syscall_64+0xff/0x530 [ 29.927151][ T678] ? exc_page_fault+0xee/0x100 [ 29.927154][ T678] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 29.927156][ T678] RIP: 0033:0x7f1a8e76fc49 [ 29.927158][ T678] Code: Unable to access opcode bytes at 0x7f1a8e76fc1f. [ 29.927160][ T678] RSP: 002b:00007f1a8df2ee60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 29.927162][ T678] RAX: ffffffffffffffda RBX: 00007f1a8df2f6c0 RCX: 00007f1a8e76fc49 [ 29.927164][ T678] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 29.927165][ T678] RBP: 00007f1a8df2ef70 R08: 0000000000000001 R09: 00007f1a8df2f6c0 [ 29.927166][ T678] R10: 0000000000000008 R11: 0000000000000246 R12: 00007f1a8d72f000 [ 29.927166][ T678] R13: 00007ffc662811e0 R14: 0000000000000002 R15: 00007ffc662812e7 [ 29.927181][ T678] [ 32.199398][ T772] tun0: deleting peer with id 1, reason 1 [ 32.199534][ T772] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 32.199537][ T772] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 772, name: ovpn-cli [ 32.199538][ T772] preempt_count: 202, expected: 0 [ 32.199539][ T772] RCU nest depth: 0, expected: 0 [ 32.199540][ T772] locks held by ovpn-cli/772: 6, last CPU#1: [ 32.199542][ T772] #0: ffffffff95944b68 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 32.199555][ T772] #1: ff110000183a9e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 32.199563][ T772] #2: ffffffff95179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 32.199570][ T772] #3: ffffffff95179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 32.199574][ T772] #4: ffffffff95099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 32.199578][ T772] #5: ffffffff95099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 32.199582][ T772] irq event stamp: 37151 [ 32.199582][ T772] hardirqs last enabled at (37150): [] __down_trylock_console_sem+0x86/0xa0 [ 32.199585][ T772] hardirqs last disabled at (37151): [] console_emit_next_record+0x3d4/0x4c0 [ 32.199587][ T772] softirqs last enabled at (37118): [] __alloc_skb+0x4c2/0x5f0 [ 32.199591][ T772] softirqs last disabled at (37146): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 32.199595][ T772] Preemption disabled at: [ 32.199595][ T772] [<0000000000000000>] 0x0 [ 32.199602][ T772] CPU: 1 UID: 0 PID: 772 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 32.199605][ T772] Tainted: [W]=WARN [ 32.199610][ T772] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 32.199612][ T772] Call Trace: [ 32.199613][ T772] [ 32.199615][ T772] dump_stack_lvl+0x6f/0xa0 [ 32.199621][ T772] __might_resched.cold+0x1fe/0x2c1 [ 32.199626][ T772] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 32.199630][ T772] ? __kmalloc_noprof+0xdb/0x760 [ 32.199635][ T772] __kmalloc_noprof+0x443/0x760 [ 32.199638][ T772] ? alloc_buf.isra.0+0x4b/0x260 [ 32.199644][ T772] ? do_raw_spin_unlock+0x59/0x250 [ 32.199647][ T772] alloc_buf.isra.0+0x4b/0x260 [ 32.199650][ T772] put_chars+0x1e1/0x2f0 [ 32.199653][ T772] ? __send_to_port+0x420/0x420 [ 32.199655][ T772] ? check_prev_add+0x316/0xe90 [ 32.199659][ T772] ? validate_chain+0x34a/0xc20 [ 32.199663][ T772] hvc_console_print+0x292/0x780 [ 32.199666][ T772] ? mark_usage+0x61/0x170 [ 32.199668][ T772] ? __lock_acquire+0x518/0xc20 [ 32.199670][ T772] ? __lock_acquire+0x518/0xc20 [ 32.199674][ T772] ? hvc_write+0x3a0/0x3a0 [ 32.199675][ T772] ? lock_acquire.part.0+0xd4/0x280 [ 32.199680][ T772] ? lock_acquire+0x13c/0x160 [ 32.199684][ T772] console_emit_next_record+0x22f/0x4c0 [ 32.199687][ T772] ? devkmsg_read+0x4b0/0x4b0 [ 32.199689][ T772] ? console_flush_one_record+0x106/0x710 [ 32.199693][ T772] ? rcu_is_watching+0x16/0xd0 [ 32.199697][ T772] ? lock_acquire+0x13c/0x160 [ 32.199701][ T772] console_flush_one_record+0x46f/0x710 [ 32.199705][ T772] ? console_emit_next_record+0x4c0/0x4c0 [ 32.199707][ T772] ? __lock_acquire+0x518/0xc20 [ 32.199712][ T772] console_unlock+0xee/0x1f0 [ 32.199715][ T772] ? console_flush_one_record+0x710/0x710 [ 32.199717][ T772] ? rcu_is_watching+0x16/0xd0 [ 32.199719][ T772] ? lock_acquire+0x60/0x160 [ 32.199723][ T772] ? __down_trylock_console_sem+0x5e/0xa0 [ 32.199725][ T772] ? vprintk_emit+0x320/0x3e0 [ 32.199728][ T772] vprintk_emit+0x37c/0x3e0 [ 32.199732][ T772] ? wake_up_klogd_work_func+0x90/0x90 [ 32.199734][ T772] ? kernel_text_address+0x149/0x170 [ 32.199737][ T772] ? __kernel_text_address+0x12/0x30 [ 32.199738][ T772] ? write_profile+0xf0/0xf0 [ 32.199741][ T772] ? unwind_get_return_address+0x67/0xd0 [ 32.199746][ T772] _printk+0xc7/0x100 [ 32.199749][ T772] ? snapshot_read.cold+0x21/0x21 [ 32.199753][ T772] ? mark_usage+0x61/0x170 [ 32.199755][ T772] ? netdev_name+0x43/0x60 [ 32.199758][ T772] ? __netdev_printk+0x17f/0x1d0 [ 32.199762][ T772] netdev_info+0xe2/0x116 [ 32.199764][ T772] ? netdev_notice+0x120/0x120 [ 32.199765][ T772] ? find_held_lock+0x2b/0x80 [ 32.199768][ T772] ? mark_usage+0x61/0x170 [ 32.199771][ T772] ? __lock_acquire+0x518/0xc20 [ 32.199777][ T772] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 32.199782][ T772] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 32.199786][ T772] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 32.199791][ T772] ovpn_peer_remove+0x394/0x640 [ovpn] [ 32.199795][ T772] ? do_raw_spin_lock+0x131/0x280 [ 32.199798][ T772] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 32.199804][ T772] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 32.199808][ T772] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 32.199815][ T772] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 32.199818][ T772] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 32.199822][ T772] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 32.199825][ T772] ? ref_tracker_alloc+0x28d/0x430 [ 32.199835][ T772] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 32.199840][ T772] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 32.199846][ T772] genl_family_rcv_msg_doit+0x206/0x300 [ 32.199849][ T772] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 32.199852][ T772] ? __lock_release.isra.0+0x69/0x1a0 [ 32.199857][ T772] ? rcu_is_watching+0x16/0xd0 [ 32.199860][ T772] ? cap_capable+0x1d7/0x3d0 [ 32.199864][ T772] ? write_profile+0xf0/0xf0 [ 32.199865][ T772] ? unwind_get_return_address+0x67/0xd0 [ 32.199869][ T772] genl_family_rcv_msg+0x3a4/0x640 [ 32.199872][ T772] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 32.199875][ T772] ? rcu_read_lock_any_held+0x3c/0x90 [ 32.199877][ T772] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 32.199880][ T772] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 32.199883][ T772] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 32.199886][ T772] ? __lock_acquire+0x518/0xc20 [ 32.199891][ T772] genl_rcv_msg+0xbb/0x160 [ 32.199895][ T772] netlink_rcv_skb+0x14e/0x3a0 [ 32.199897][ T772] ? genl_family_rcv_msg+0x640/0x640 [ 32.199901][ T772] ? netlink_ack+0xcf0/0xcf0 [ 32.199908][ T772] ? netlink_deliver_tap+0xc5/0x330 [ 32.199910][ T772] ? netlink_deliver_tap+0x13c/0x330 [ 32.199914][ T772] genl_rcv+0x28/0x40 [ 32.199916][ T772] netlink_unicast+0x486/0x750 [ 32.199921][ T772] ? netlink_attachskb+0x810/0x810 [ 32.199924][ T772] ? __lock_acquire+0x518/0xc20 [ 32.199928][ T772] netlink_sendmsg+0x735/0xc60 [ 32.199932][ T772] ? netlink_unicast+0x750/0x750 [ 32.199936][ T772] ? __might_fault+0x97/0x140 [ 32.199942][ T772] ____sys_sendmsg+0x415/0x880 [ 32.199945][ T772] ? copy_msghdr_from_user+0x279/0x420 [ 32.199948][ T772] ? get_timestamp.constprop.0+0x390/0x390 [ 32.199950][ T772] ? move_addr_to_kernel+0x40/0x40 [ 32.199957][ T772] ___sys_sendmsg+0x14e/0x1d0 [ 32.199960][ T772] ? copy_msghdr_from_user+0x420/0x420 [ 32.199962][ T772] ? kfree+0x22/0x590 [ 32.199978][ T772] __sys_sendmsg+0x12c/0x1d0 [ 32.199981][ T772] ? __sys_sendmsg_sock+0x20/0x20 [ 32.199987][ T772] ? rcu_is_watching+0x16/0xd0 [ 32.199990][ T772] ? rcu_is_watching+0x16/0xd0 [ 32.199993][ T772] do_syscall_64+0xff/0x530 [ 32.199996][ T772] ? exc_page_fault+0xee/0x100 [ 32.199999][ T772] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 32.200002][ T772] RIP: 0033:0x7f281599254e [ 32.200004][ 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 [ 32.200006][ T772] RSP: 002b:00007ffff82783f0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 32.200008][ T772] RAX: ffffffffffffffda RBX: 000000002a2fb130 RCX: 00007f281599254e [ 32.200010][ T772] RDX: 0000000000000000 RSI: 00007ffff8278490 RDI: 0000000000000005 [ 32.200011][ T772] RBP: 00007ffff8278400 R08: 0000000000000000 R09: 0000000000000000 [ 32.200012][ T772] R10: 0000000000000000 R11: 0000000000000202 R12: 000000002a2fb200 [ 32.200013][ T772] R13: 00007ffff8278490 R14: 000000002a2fc260 R15: 000000000040bda8 [ 32.200020][ T772] [ 32.335411][ T776] tun1: deleting peer with id 10, reason 1 [ 35.264031][ T824] tun0: deleting peer with id 2, reason 1 [ 35.264050][ T824] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 35.264052][ T824] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 824, name: ovpn-cli [ 35.264054][ T824] preempt_count: 202, expected: 0 [ 35.264055][ T824] RCU nest depth: 0, expected: 0 [ 35.264056][ T824] locks held by ovpn-cli/824: 6, last CPU#3: [ 35.264057][ T824] #0: ffffffff95944b68 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 35.264070][ T824] #1: ff110000183a9e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 35.264078][ T824] #2: ffffffff95179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 35.264085][ T824] #3: ffffffff95179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 35.264089][ T824] #4: ffffffff95099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 35.264092][ T824] #5: ffffffff95099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 35.264096][ T824] irq event stamp: 33979 [ 35.264097][ T824] hardirqs last enabled at (33978): [] __down_trylock_console_sem+0x86/0xa0 [ 35.264100][ T824] hardirqs last disabled at (33979): [] console_emit_next_record+0x3d4/0x4c0 [ 35.264102][ T824] softirqs last enabled at (33946): [] __alloc_skb+0x4c2/0x5f0 [ 35.264105][ T824] softirqs last disabled at (33974): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 35.264109][ T824] Preemption disabled at: [ 35.264109][ T824] [<0000000000000000>] 0x0 [ 35.264116][ T824] CPU: 3 UID: 0 PID: 824 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 35.264120][ T824] Tainted: [W]=WARN [ 35.264121][ T824] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 35.264122][ T824] Call Trace: [ 35.264124][ T824] [ 35.264125][ T824] dump_stack_lvl+0x6f/0xa0 [ 35.264132][ T824] __might_resched.cold+0x1fe/0x2c1 [ 35.264136][ T824] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 35.264140][ T824] ? __kmalloc_noprof+0xdb/0x760 [ 35.264145][ T824] __kmalloc_noprof+0x443/0x760 [ 35.264147][ T824] ? alloc_buf.isra.0+0x4b/0x260 [ 35.264153][ T824] ? do_raw_spin_unlock+0x59/0x250 [ 35.264156][ T824] alloc_buf.isra.0+0x4b/0x260 [ 35.264159][ T824] put_chars+0x1e1/0x2f0 [ 35.264162][ T824] ? __send_to_port+0x420/0x420 [ 35.264165][ T824] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 35.264169][ T824] ? rcu_read_lock_any_held+0x3c/0x90 [ 35.264171][ T824] ? validate_chain+0x38b/0xc20 [ 35.264175][ T824] hvc_console_print+0x292/0x780 [ 35.264178][ T824] ? mark_usage+0x61/0x170 [ 35.264180][ T824] ? __lock_acquire+0x518/0xc20 [ 35.264181][ T824] ? __lock_acquire+0x518/0xc20 [ 35.264186][ T824] ? hvc_write+0x3a0/0x3a0 [ 35.264187][ T824] ? lock_acquire.part.0+0xd4/0x280 [ 35.264191][ T824] ? lock_acquire+0x13c/0x160 [ 35.264195][ T824] console_emit_next_record+0x22f/0x4c0 [ 35.264199][ T824] ? devkmsg_read+0x4b0/0x4b0 [ 35.264201][ T824] ? console_flush_one_record+0x106/0x710 [ 35.264204][ T824] ? rcu_is_watching+0x16/0xd0 [ 35.264207][ T824] ? lock_acquire+0x13c/0x160 [ 35.264216][ T824] console_flush_one_record+0x46f/0x710 [ 35.264221][ T824] ? console_emit_next_record+0x4c0/0x4c0 [ 35.264223][ T824] ? __lock_acquire+0x518/0xc20 [ 35.264228][ T824] console_unlock+0xee/0x1f0 [ 35.264231][ T824] ? console_flush_one_record+0x710/0x710 [ 35.264232][ T824] ? rcu_is_watching+0x16/0xd0 [ 35.264235][ T824] ? lock_acquire+0x60/0x160 [ 35.264239][ T824] ? __down_trylock_console_sem+0x5e/0xa0 [ 35.264240][ T824] ? vprintk_emit+0x320/0x3e0 [ 35.264244][ T824] vprintk_emit+0x37c/0x3e0 [ 35.264248][ T824] ? wake_up_klogd_work_func+0x90/0x90 [ 35.264250][ T824] ? kernel_text_address+0x149/0x170 [ 35.264253][ T824] ? __kernel_text_address+0x12/0x30 [ 35.264255][ T824] ? write_profile+0xf0/0xf0 [ 35.264258][ T824] ? unwind_get_return_address+0x67/0xd0 [ 35.264265][ T824] _printk+0xc7/0x100 [ 35.264270][ T824] ? snapshot_read.cold+0x21/0x21 [ 35.264274][ T824] ? mark_usage+0x61/0x170 [ 35.264276][ T824] ? netdev_name+0x43/0x60 [ 35.264279][ T824] ? __netdev_printk+0x17f/0x1d0 [ 35.264282][ T824] netdev_info+0xe2/0x116 [ 35.264285][ T824] ? netdev_notice+0x120/0x120 [ 35.264286][ T824] ? find_held_lock+0x2b/0x80 [ 35.264289][ T824] ? mark_usage+0x61/0x170 [ 35.264291][ T824] ? __lock_acquire+0x518/0xc20 [ 35.264297][ T824] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 35.264302][ T824] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 35.264306][ T824] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 35.264312][ T824] ovpn_peer_remove+0x394/0x640 [ovpn] [ 35.264316][ T824] ? do_raw_spin_lock+0x131/0x280 [ 35.264318][ T824] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 35.264325][ T824] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 35.264329][ T824] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 35.264335][ T824] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 35.264338][ T824] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 35.264342][ T824] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 35.264345][ T824] ? ref_tracker_alloc+0x28d/0x430 [ 35.264355][ T824] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 35.264360][ T824] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 35.264366][ T824] genl_family_rcv_msg_doit+0x206/0x300 [ 35.264369][ T824] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 35.264371][ T824] ? __lock_release.isra.0+0x69/0x1a0 [ 35.264377][ T824] ? rcu_is_watching+0x16/0xd0 [ 35.264379][ T824] ? cap_capable+0x1d7/0x3d0 [ 35.264383][ T824] ? write_profile+0xf0/0xf0 [ 35.264384][ T824] ? unwind_get_return_address+0x67/0xd0 [ 35.264388][ T824] genl_family_rcv_msg+0x3a4/0x640 [ 35.264392][ T824] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 35.264394][ T824] ? rcu_read_lock_any_held+0x3c/0x90 [ 35.264396][ T824] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 35.264399][ T824] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 35.264401][ T824] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 35.264404][ T824] ? __lock_acquire+0x518/0xc20 [ 35.264410][ T824] genl_rcv_msg+0xbb/0x160 [ 35.264413][ T824] netlink_rcv_skb+0x14e/0x3a0 [ 35.264415][ T824] ? genl_family_rcv_msg+0x640/0x640 [ 35.264419][ T824] ? netlink_ack+0xcf0/0xcf0 [ 35.264426][ T824] ? netlink_deliver_tap+0xc5/0x330 [ 35.264428][ T824] ? netlink_deliver_tap+0x13c/0x330 [ 35.264432][ T824] genl_rcv+0x28/0x40 [ 35.264434][ T824] netlink_unicast+0x486/0x750 [ 35.264439][ T824] ? netlink_attachskb+0x810/0x810 [ 35.264441][ T824] ? __lock_acquire+0x518/0xc20 [ 35.264446][ T824] netlink_sendmsg+0x735/0xc60 [ 35.264450][ T824] ? netlink_unicast+0x750/0x750 [ 35.264454][ T824] ? __might_fault+0x97/0x140 [ 35.264459][ T824] ____sys_sendmsg+0x415/0x880 [ 35.264463][ T824] ? copy_msghdr_from_user+0x279/0x420 [ 35.264465][ T824] ? get_timestamp.constprop.0+0x390/0x390 [ 35.264467][ T824] ? move_addr_to_kernel+0x40/0x40 [ 35.264475][ T824] ___sys_sendmsg+0x14e/0x1d0 [ 35.264478][ T824] ? copy_msghdr_from_user+0x420/0x420 [ 35.264479][ T824] ? kfree+0x22/0x590 [ 35.264495][ T824] __sys_sendmsg+0x12c/0x1d0 [ 35.264498][ T824] ? __sys_sendmsg_sock+0x20/0x20 [ 35.264504][ T824] ? rcu_is_watching+0x16/0xd0 [ 35.264506][ T824] ? rcu_is_watching+0x16/0xd0 [ 35.264510][ T824] do_syscall_64+0xff/0x530 [ 35.264513][ T824] ? exc_page_fault+0xee/0x100 [ 35.264515][ T824] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 35.264518][ T824] RIP: 0033:0x7fc4b240654e [ 35.264520][ 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 [ 35.264522][ T824] RSP: 002b:00007ffd842f0be0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 35.264524][ T824] RAX: ffffffffffffffda RBX: 0000000020b6e130 RCX: 00007fc4b240654e [ 35.264526][ T824] RDX: 0000000000000000 RSI: 00007ffd842f0c80 RDI: 0000000000000005 [ 35.264527][ T824] RBP: 00007ffd842f0bf0 R08: 0000000000000000 R09: 0000000000000000 [ 35.264528][ T824] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020b6e200 [ 35.264528][ T824] R13: 00007ffd842f0c80 R14: 0000000020b6f260 R15: 000000000040bda8 [ 35.264535][ T824] [ 35.392208][ T828] tun2: deleting peer with id 11, reason 1 [ 40.457897][ T10] tun0: deleting peer with id 3, reason 2 [ 40.457964][ T10] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 40.457966][ T10] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 [ 40.457968][ T10] preempt_count: 202, expected: 0 [ 40.457968][ T10] RCU nest depth: 0, expected: 0 [ 40.457970][ T10] locks held by kworker/0:1/10: 7, last CPU#0: [ 40.457971][ T10] #0: ff1100000a3c7540 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 40.457984][ T10] #1: ffa00000000a7d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 40.457987][ T10] #2: ff110000183a9e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 40.457996][ T10] #3: ffffffff95179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 40.458001][ T10] #4: ffffffff95179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 40.458005][ T10] #5: ffffffff95099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 40.458009][ T10] #6: ffffffff95099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 40.458013][ T10] irq event stamp: 27809 [ 40.458014][ T10] hardirqs last enabled at (27808): [] __down_trylock_console_sem+0x86/0xa0 [ 40.458017][ T10] hardirqs last disabled at (27809): [] console_emit_next_record+0x3d4/0x4c0 [ 40.458019][ T10] softirqs last enabled at (27658): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 40.458023][ T10] softirqs last disabled at (27800): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 40.458026][ T10] Preemption disabled at: [ 40.458027][ T10] [<0000000000000000>] 0x0 [ 40.458034][ T10] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 40.458038][ T10] Tainted: [W]=WARN [ 40.458038][ T10] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 40.458041][ T10] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 40.458045][ T10] Call Trace: [ 40.458047][ T10] [ 40.458048][ T10] dump_stack_lvl+0x6f/0xa0 [ 40.458055][ T10] __might_resched.cold+0x1fe/0x2c1 [ 40.458060][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 40.458064][ T10] ? __kmalloc_noprof+0xdb/0x760 [ 40.458069][ T10] __kmalloc_noprof+0x443/0x760 [ 40.458072][ T10] ? alloc_buf.isra.0+0x4b/0x260 [ 40.458078][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 40.458081][ T10] alloc_buf.isra.0+0x4b/0x260 [ 40.458085][ T10] put_chars+0x1e1/0x2f0 [ 40.458088][ T10] ? __send_to_port+0x420/0x420 [ 40.458092][ T10] ? validate_chain+0x34a/0xc20 [ 40.458096][ T10] hvc_console_print+0x292/0x780 [ 40.458100][ T10] ? mark_usage+0x61/0x170 [ 40.458102][ T10] ? __lock_acquire+0x518/0xc20 [ 40.458104][ T10] ? __lock_acquire+0x518/0xc20 [ 40.458108][ T10] ? hvc_write+0x3a0/0x3a0 [ 40.458110][ T10] ? console_emit_next_record+0x1df/0x4c0 [ 40.458113][ T10] ? rcu_is_watching+0x16/0xd0 [ 40.458117][ T10] ? lock_acquire+0x13c/0x160 [ 40.458121][ T10] console_emit_next_record+0x22f/0x4c0 [ 40.458125][ T10] ? devkmsg_read+0x4b0/0x4b0 [ 40.458127][ T10] ? console_flush_one_record+0x106/0x710 [ 40.458131][ T10] ? rcu_is_watching+0x16/0xd0 [ 40.458133][ T10] ? lock_acquire+0x13c/0x160 [ 40.458137][ T10] console_flush_one_record+0x46f/0x710 [ 40.458142][ T10] ? console_emit_next_record+0x4c0/0x4c0 [ 40.458144][ T10] ? __lock_acquire+0x518/0xc20 [ 40.458149][ T10] console_unlock+0xee/0x1f0 [ 40.458152][ T10] ? console_flush_one_record+0x710/0x710 [ 40.458154][ T10] ? rcu_is_watching+0x16/0xd0 [ 40.458156][ T10] ? lock_acquire+0x60/0x160 [ 40.458160][ T10] ? __down_trylock_console_sem+0x5e/0xa0 [ 40.458162][ T10] ? vprintk_emit+0x320/0x3e0 [ 40.458165][ T10] vprintk_emit+0x37c/0x3e0 [ 40.458169][ T10] ? wake_up_klogd_work_func+0x90/0x90 [ 40.458172][ T10] ? __lock_release.isra.0+0x69/0x1a0 [ 40.458174][ T10] ? rcu_is_watching+0x16/0xd0 [ 40.458178][ T10] _printk+0xc7/0x100 [ 40.458182][ T10] ? snapshot_read.cold+0x21/0x21 [ 40.458185][ T10] ? __add_to_free_list+0x81/0x5c0 [ 40.458188][ T10] ? __mod_zone_page_state+0xe1/0x190 [ 40.458191][ T10] ? netdev_name+0x43/0x60 [ 40.458194][ T10] ? __netdev_printk+0x17f/0x1d0 [ 40.458198][ T10] netdev_info+0xe2/0x116 [ 40.458201][ T10] ? netdev_notice+0x120/0x120 [ 40.458202][ T10] ? rcu_read_lock_any_held+0x3c/0x90 [ 40.458208][ T10] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 40.458211][ T10] ? rcu_read_lock_any_held+0x3c/0x90 [ 40.458214][ T10] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 40.458221][ T10] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 40.458228][ T10] ovpn_peer_remove+0x394/0x640 [ovpn] [ 40.458232][ T10] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 40.458235][ T10] ? __rwlock_init+0x150/0x150 [ 40.458237][ T10] ? mark_held_locks+0x40/0x70 [ 40.458242][ T10] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 40.458246][ T10] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 40.458258][ T10] ? __rwlock_init+0x150/0x150 [ 40.458267][ T10] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 40.458272][ T10] ? process_one_work+0xdfc/0x1560 [ 40.458275][ T10] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 40.458278][ T10] ? rcu_is_watching+0x16/0xd0 [ 40.458281][ T10] ? lock_acquire+0x13c/0x160 [ 40.458283][ T10] ? rcu_is_watching+0x16/0xd0 [ 40.458287][ T10] process_one_work+0xe3e/0x1560 [ 40.458294][ T10] ? __queue_delayed_work+0x470/0x470 [ 40.458296][ T10] ? lock_acquire.part.0+0xd4/0x280 [ 40.458304][ T10] worker_thread+0x4f1/0xd60 [ 40.458309][ T10] ? rescuer_thread+0x1340/0x1340 [ 40.458311][ T10] ? __kthread_parkme+0xbd/0x210 [ 40.458314][ T10] ? rescuer_thread+0x1340/0x1340 [ 40.458317][ T10] ? rescuer_thread+0x1340/0x1340 [ 40.458319][ T10] kthread+0x367/0x460 [ 40.458322][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 40.458325][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 40.458328][ T10] ret_from_fork+0x474/0x6b0 [ 40.458332][ T10] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 40.458335][ T10] ? __switch_to+0x5a3/0xe00 [ 40.458338][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 40.458341][ T10] ret_from_fork_asm+0x11/0x20 [ 40.458350][ T10] [ 41.545672][ T10] tun0: deleting peer with id 4, reason 2 [ 41.545699][ T10] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 41.545701][ T10] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 [ 41.545703][ T10] preempt_count: 202, expected: 0 [ 41.545704][ T10] RCU nest depth: 0, expected: 0 [ 41.545705][ T10] locks held by kworker/0:1/10: 7, last CPU#0: [ 41.545708][ T10] #0: ff1100000a3c7540 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 41.545720][ T10] #1: ffa00000000a7d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 41.545724][ T10] #2: ff110000183a9e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 41.545733][ T10] #3: ffffffff95179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 41.545739][ T10] #4: ffffffff95179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 41.545742][ T10] #5: ffffffff95099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 41.545746][ T10] #6: ffffffff95099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 41.545750][ T10] irq event stamp: 28431 [ 41.545751][ T10] hardirqs last enabled at (28430): [] __down_trylock_console_sem+0x86/0xa0 [ 41.545754][ T10] hardirqs last disabled at (28431): [] console_emit_next_record+0x3d4/0x4c0 [ 41.545756][ T10] softirqs last enabled at (28224): [] ovpn_peer_release+0x37/0xe0 [ovpn] [ 41.545759][ T10] softirqs last disabled at (28424): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 41.545763][ T10] Preemption disabled at: [ 41.545764][ T10] [<0000000000000000>] 0x0 [ 41.545771][ T10] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 41.545775][ T10] Tainted: [W]=WARN [ 41.545776][ T10] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 41.545778][ T10] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 41.545783][ T10] Call Trace: [ 41.545784][ T10] [ 41.545786][ T10] dump_stack_lvl+0x6f/0xa0 [ 41.545793][ T10] __might_resched.cold+0x1fe/0x2c1 [ 41.545797][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 41.545802][ T10] ? __kmalloc_noprof+0xdb/0x760 [ 41.545807][ T10] __kmalloc_noprof+0x443/0x760 [ 41.545809][ T10] ? alloc_buf.isra.0+0x4b/0x260 [ 41.545816][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 41.545818][ T10] alloc_buf.isra.0+0x4b/0x260 [ 41.545822][ T10] put_chars+0x1e1/0x2f0 [ 41.545824][ T10] ? prb_final_commit+0x50/0x50 [ 41.545827][ T10] ? __send_to_port+0x420/0x420 [ 41.545830][ T10] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 41.545834][ T10] ? rcu_read_lock_any_held+0x3c/0x90 [ 41.545837][ T10] ? validate_chain+0x38b/0xc20 [ 41.545840][ T10] hvc_console_print+0x292/0x780 [ 41.545844][ T10] ? mark_usage+0x61/0x170 [ 41.545846][ T10] ? __lock_acquire+0x518/0xc20 [ 41.545847][ T10] ? __lock_acquire+0x518/0xc20 [ 41.545851][ T10] ? hvc_write+0x3a0/0x3a0 [ 41.545854][ T10] ? console_emit_next_record+0x1df/0x4c0 [ 41.545857][ T10] ? rcu_is_watching+0x16/0xd0 [ 41.545860][ T10] ? lock_acquire+0x13c/0x160 [ 41.545864][ T10] console_emit_next_record+0x22f/0x4c0 [ 41.545868][ T10] ? devkmsg_read+0x4b0/0x4b0 [ 41.545870][ T10] ? console_flush_one_record+0x106/0x710 [ 41.545873][ T10] ? rcu_is_watching+0x16/0xd0 [ 41.545875][ T10] ? lock_acquire+0x13c/0x160 [ 41.545879][ T10] console_flush_one_record+0x46f/0x710 [ 41.545884][ T10] ? console_emit_next_record+0x4c0/0x4c0 [ 41.545886][ T10] ? __lock_acquire+0x518/0xc20 [ 41.545891][ T10] console_unlock+0xee/0x1f0 [ 41.545894][ T10] ? console_flush_one_record+0x710/0x710 [ 41.545896][ T10] ? rcu_is_watching+0x16/0xd0 [ 41.545898][ T10] ? lock_acquire+0x60/0x160 [ 41.545902][ T10] ? __down_trylock_console_sem+0x5e/0xa0 [ 41.545903][ T10] ? vprintk_emit+0x320/0x3e0 [ 41.545907][ T10] vprintk_emit+0x37c/0x3e0 [ 41.545910][ T10] ? wake_up_klogd_work_func+0x90/0x90 [ 41.545914][ T10] ? __lock_release.isra.0+0x69/0x1a0 [ 41.545915][ T10] ? rcu_is_watching+0x16/0xd0 [ 41.545919][ T10] _printk+0xc7/0x100 [ 41.545923][ T10] ? snapshot_read.cold+0x21/0x21 [ 41.545926][ T10] ? __add_to_free_list+0x81/0x5c0 [ 41.545929][ T10] ? __mod_zone_page_state+0xe1/0x190 [ 41.545932][ T10] ? netdev_name+0x43/0x60 [ 41.545936][ T10] ? __netdev_printk+0x17f/0x1d0 [ 41.545939][ T10] netdev_info+0xe2/0x116 [ 41.545942][ T10] ? netdev_notice+0x120/0x120 [ 41.545943][ T10] ? rcu_read_lock_any_held+0x3c/0x90 [ 41.545947][ T10] ? __lock_acquire+0x518/0xc20 [ 41.545950][ T10] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 41.545952][ T10] ? rcu_read_lock_any_held+0x3c/0x90 [ 41.545956][ T10] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 41.545962][ T10] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 41.545969][ T10] ovpn_peer_remove+0x394/0x640 [ovpn] [ 41.545973][ T10] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 41.545976][ T10] ? __rwlock_init+0x150/0x150 [ 41.545978][ T10] ? mark_held_locks+0x40/0x70 [ 41.545983][ T10] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 41.545987][ T10] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 41.545990][ T10] ? __rwlock_init+0x150/0x150 [ 41.545995][ T10] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 41.546000][ T10] ? process_one_work+0xdfc/0x1560 [ 41.546003][ T10] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 41.546006][ T10] ? rcu_is_watching+0x16/0xd0 [ 41.546008][ T10] ? lock_acquire+0x13c/0x160 [ 41.546010][ T10] ? rcu_is_watching+0x16/0xd0 [ 41.546014][ T10] process_one_work+0xe3e/0x1560 [ 41.546021][ T10] ? __queue_delayed_work+0x470/0x470 [ 41.546024][ T10] ? lock_acquire.part.0+0xd4/0x280 [ 41.546032][ T10] worker_thread+0x4f1/0xd60 [ 41.546036][ T10] ? rescuer_thread+0x1340/0x1340 [ 41.546038][ T10] ? __kthread_parkme+0xbd/0x210 [ 41.546042][ T10] ? rescuer_thread+0x1340/0x1340 [ 41.546045][ T10] ? rescuer_thread+0x1340/0x1340 [ 41.546047][ T10] kthread+0x367/0x460 [ 41.546049][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 41.546052][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 41.546055][ T10] ret_from_fork+0x474/0x6b0 [ 41.546059][ T10] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 41.546062][ T10] ? __switch_to+0x5a3/0xe00 [ 41.546065][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 41.546068][ T10] ret_from_fork_asm+0x11/0x20 [ 41.546077][ T10] [ 41.578470][ T10] tun0: deleting peer with id 5, reason 2 [ 41.578748][ T10] tun0: deleting peer with id 6, reason 2 [ 46.666252][ T10] tun3: deleting peer with id 12, reason 2 [ 46.666276][ T10] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 46.666279][ T10] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 [ 46.666281][ T10] preempt_count: 202, expected: 0 [ 46.666281][ T10] RCU nest depth: 0, expected: 0 [ 46.666282][ T10] locks held by kworker/0:1/10: 7, last CPU#0: [ 46.666285][ T10] #0: ff1100000a3c7540 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 46.666303][ T10] #1: ffa00000000a7d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 46.666307][ T10] #2: ff1100000a001e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 46.666315][ T10] #3: ffffffff95179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 46.666320][ T10] #4: ffffffff95179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 46.666324][ T10] #5: ffffffff95099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 46.666328][ T10] #6: ffffffff95099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 46.666332][ T10] irq event stamp: 29967 [ 46.666333][ T10] hardirqs last enabled at (29966): [] __down_trylock_console_sem+0x86/0xa0 [ 46.666335][ T10] hardirqs last disabled at (29967): [] console_emit_next_record+0x3d4/0x4c0 [ 46.666337][ T10] softirqs last enabled at (29580): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 46.666341][ T10] softirqs last disabled at (29956): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 46.666345][ T10] Preemption disabled at: [ 46.666345][ T10] [<0000000000000000>] 0x0 [ 46.666352][ T10] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 46.666356][ T10] Tainted: [W]=WARN [ 46.666357][ T10] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 46.666359][ T10] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 46.666364][ T10] Call Trace: [ 46.666365][ T10] [ 46.666367][ T10] dump_stack_lvl+0x6f/0xa0 [ 46.666374][ T10] __might_resched.cold+0x1fe/0x2c1 [ 46.666379][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 46.666383][ T10] ? __kmalloc_noprof+0xdb/0x760 [ 46.666388][ T10] __kmalloc_noprof+0x443/0x760 [ 46.666390][ T10] ? alloc_buf.isra.0+0x4b/0x260 [ 46.666396][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 46.666399][ T10] alloc_buf.isra.0+0x4b/0x260 [ 46.666403][ T10] put_chars+0x1e1/0x2f0 [ 46.666405][ T10] ? prb_final_commit+0x50/0x50 [ 46.666407][ T10] ? __send_to_port+0x420/0x420 [ 46.666411][ T10] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 46.666415][ T10] ? rcu_read_lock_any_held+0x3c/0x90 [ 46.666417][ T10] ? validate_chain+0x38b/0xc20 [ 46.666421][ T10] hvc_console_print+0x292/0x780 [ 46.666425][ T10] ? mark_usage+0x61/0x170 [ 46.666427][ T10] ? __lock_acquire+0x518/0xc20 [ 46.666428][ T10] ? __lock_acquire+0x518/0xc20 [ 46.666432][ T10] ? hvc_write+0x3a0/0x3a0 [ 46.666435][ T10] ? console_emit_next_record+0x1df/0x4c0 [ 46.666438][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.666441][ T10] ? lock_acquire+0x13c/0x160 [ 46.666445][ T10] console_emit_next_record+0x22f/0x4c0 [ 46.666449][ T10] ? devkmsg_read+0x4b0/0x4b0 [ 46.666451][ T10] ? console_flush_one_record+0x106/0x710 [ 46.666454][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.666456][ T10] ? lock_acquire+0x13c/0x160 [ 46.666460][ T10] console_flush_one_record+0x46f/0x710 [ 46.666465][ T10] ? console_emit_next_record+0x4c0/0x4c0 [ 46.666467][ T10] ? __lock_acquire+0x518/0xc20 [ 46.666472][ T10] console_unlock+0xee/0x1f0 [ 46.666475][ T10] ? console_flush_one_record+0x710/0x710 [ 46.666477][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.666479][ T10] ? lock_acquire+0x60/0x160 [ 46.666483][ T10] ? __down_trylock_console_sem+0x5e/0xa0 [ 46.666484][ T10] ? vprintk_emit+0x320/0x3e0 [ 46.666488][ T10] vprintk_emit+0x37c/0x3e0 [ 46.666491][ T10] ? wake_up_klogd_work_func+0x90/0x90 [ 46.666495][ T10] ? __lock_release.isra.0+0x69/0x1a0 [ 46.666499][ T10] _printk+0xc7/0x100 [ 46.666503][ T10] ? snapshot_read.cold+0x21/0x21 [ 46.666504][ T10] ? try_to_wake_up+0x153/0x1130 [ 46.666507][ T10] ? select_fallback_rq+0x510/0x510 [ 46.666510][ T10] ? netdev_name+0x43/0x60 [ 46.666513][ T10] ? __netdev_printk+0x17f/0x1d0 [ 46.666517][ T10] netdev_info+0xe2/0x116 [ 46.666520][ T10] ? netdev_notice+0x120/0x120 [ 46.666525][ T10] ? __queue_work+0x3ab/0xd30 [ 46.666528][ T10] ? kthread+0x367/0x460 [ 46.666533][ T10] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 46.666538][ T10] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 46.666541][ T10] ? mark_held_locks+0x40/0x70 [ 46.666544][ T10] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 46.666546][ T10] ? lockdep_hardirqs_on+0x91/0x130 [ 46.666551][ T10] ovpn_peer_remove+0x394/0x640 [ovpn] [ 46.666555][ T10] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 46.666558][ T10] ? __rwlock_init+0x150/0x150 [ 46.666560][ T10] ? mark_held_locks+0x40/0x70 [ 46.666565][ T10] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 46.666569][ T10] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 46.666572][ T10] ? __rwlock_init+0x150/0x150 [ 46.666577][ T10] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 46.666582][ T10] ? process_one_work+0xdfc/0x1560 [ 46.666584][ T10] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 46.666588][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.666590][ T10] ? lock_acquire+0x13c/0x160 [ 46.666592][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.666595][ T10] ? process_one_work+0xdfc/0x1560 [ 46.666597][ T10] process_one_work+0xe3e/0x1560 [ 46.666603][ T10] ? __queue_delayed_work+0x470/0x470 [ 46.666606][ T10] ? lock_acquire.part.0+0xd4/0x280 [ 46.666617][ T10] worker_thread+0x4f1/0xd60 [ 46.666621][ T10] ? rescuer_thread+0x1340/0x1340 [ 46.666624][ T10] ? __kthread_parkme+0xbd/0x210 [ 46.666626][ T10] ? rescuer_thread+0x1340/0x1340 [ 46.666629][ T10] ? rescuer_thread+0x1340/0x1340 [ 46.666631][ T10] kthread+0x367/0x460 [ 46.666633][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 46.666636][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 46.666638][ T10] ret_from_fork+0x474/0x6b0 [ 46.666642][ T10] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 46.666646][ T10] ? __switch_to+0x5a3/0xe00 [ 46.666649][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 46.666651][ T10] ret_from_fork_asm+0x11/0x20 [ 46.666660][ T10] [ 46.730659][ T64] tun4: deleting peer with id 13, reason 2 [ 46.794643][ T64] tun5: deleting peer with id 14, reason 2 [ 46.858652][ T50] tun6: deleting peer with id 15, reason 2