[ 16.338225][ T299] ip (299) used greatest stack depth: 24464 bytes left [ 16.338241][ T299] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.338243][ T299] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 299, name: ip [ 16.338244][ T299] preempt_count: 2, expected: 0 [ 16.338245][ T299] RCU nest depth: 0, expected: 0 [ 16.338246][ T299] locks held by ip/299: 5, last CPU#2: [ 16.338248][ T299] #0: ffffffff908127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 16.338260][ T299] #1: ffffffff90979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.338265][ T299] #2: ffffffff90979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.338269][ T299] #3: ffffffff90899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.338273][ T299] #4: ffffffff90899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.338277][ T299] irq event stamp: 38844 [ 16.338278][ T299] hardirqs last enabled at (38843): [] __down_trylock_console_sem+0x86/0xa0 [ 16.338280][ T299] hardirqs last disabled at (38844): [] console_emit_next_record+0x3d4/0x4c0 [ 16.338282][ T299] softirqs last enabled at (38838): [] handle_softirqs+0x67c/0x900 [ 16.338284][ T299] softirqs last disabled at (38831): [] __irq_exit_rcu+0x145/0x1c0 [ 16.338286][ T299] Preemption disabled at: [ 16.338287][ T299] [<0000000000000000>] 0x0 [ 16.338294][ T299] CPU: 2 UID: 0 PID: 299 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.338297][ T299] Tainted: [W]=WARN [ 16.338298][ T299] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.338299][ T299] Call Trace: [ 16.338301][ T299] [ 16.338302][ T299] dump_stack_lvl+0x6f/0xa0 [ 16.338308][ T299] __might_resched.cold+0x1fe/0x2c1 [ 16.338313][ T299] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.338317][ T299] ? __kmalloc_noprof+0xdb/0x760 [ 16.338322][ T299] __kmalloc_noprof+0x443/0x760 [ 16.338324][ T299] ? alloc_buf.isra.0+0x4b/0x260 [ 16.338330][ T299] ? do_raw_spin_unlock+0x59/0x250 [ 16.338332][ T299] alloc_buf.isra.0+0x4b/0x260 [ 16.338336][ T299] put_chars+0x1e1/0x2f0 [ 16.338339][ T299] ? __send_to_port+0x420/0x420 [ 16.338340][ T299] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.338345][ T299] ? validate_chain+0x38b/0xc20 [ 16.338355][ T299] hvc_console_print+0x292/0x780 [ 16.338362][ T299] ? hvc_write+0x3a0/0x3a0 [ 16.338364][ T299] ? rcu_is_watching+0x16/0xd0 [ 16.338367][ T299] ? lock_acquire+0x13c/0x160 [ 16.338370][ T299] console_emit_next_record+0x22f/0x4c0 [ 16.338374][ T299] ? devkmsg_read+0x4b0/0x4b0 [ 16.338376][ T299] ? console_flush_one_record+0x106/0x710 [ 16.338379][ T299] ? rcu_is_watching+0x16/0xd0 [ 16.338382][ T299] ? lock_acquire+0x13c/0x160 [ 16.338385][ T299] console_flush_one_record+0x46f/0x710 [ 16.338389][ T299] ? console_emit_next_record+0x4c0/0x4c0 [ 16.338391][ T299] ? __lock_acquire+0x518/0xc20 [ 16.338396][ T299] console_unlock+0xee/0x1f0 [ 16.338399][ T299] ? console_flush_one_record+0x710/0x710 [ 16.338401][ T299] ? rcu_is_watching+0x16/0xd0 [ 16.338403][ T299] ? lock_acquire+0x60/0x160 [ 16.338406][ T299] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.338408][ T299] ? vprintk_emit+0x320/0x3e0 [ 16.338411][ T299] vprintk_emit+0x37c/0x3e0 [ 16.338415][ T299] ? wake_up_klogd_work_func+0x90/0x90 [ 16.338418][ T299] ? __lock_acquire+0x518/0xc20 [ 16.338422][ T299] _printk+0xc7/0x100 [ 16.338426][ T299] ? snapshot_read.cold+0x21/0x21 [ 16.338428][ T299] ? do_raw_spin_lock+0x131/0x280 [ 16.338431][ T299] ? __rwlock_init+0x150/0x150 [ 16.338434][ T299] ? do_raw_spin_lock+0x131/0x280 [ 16.338437][ T299] do_exit.cold+0x82/0x9c [ 16.338440][ T299] ? exit_notify+0x890/0x890 [ 16.338442][ T299] ? __lock_release.isra.0+0x69/0x1a0 [ 16.338444][ T299] ? rcu_is_watching+0x16/0xd0 [ 16.338448][ T299] do_group_exit+0xb8/0x370 [ 16.338451][ T299] __x64_sys_exit_group+0x3c/0x50 [ 16.338453][ T299] x64_sys_call+0x1567/0x1570 [ 16.338455][ T299] do_syscall_64+0xff/0x530 [ 16.338459][ T299] ? exc_page_fault+0xee/0x100 [ 16.338462][ T299] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.338464][ T299] RIP: 0033:0x7fd8825a91b8 [ 16.338466][ T299] Code: Unable to access opcode bytes at 0x7fd8825a918e. [ 16.338467][ T299] RSP: 002b:00007ffc2bbd83f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 16.338470][ T299] RAX: ffffffffffffffda RBX: 00007fd8826d9f88 RCX: 00007fd8825a91b8 [ 16.338471][ T299] RDX: 00007fd8822f3fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 16.338472][ T299] RBP: 00007ffc2bbd8450 R08: 0000000000000000 R09: 0000000000000000 [ 16.338473][ T299] R10: 00007ffc2bbd8210 R11: 0000000000000246 R12: 0000000000000001 [ 16.338474][ T299] R13: 0000000000000000 R14: 00007fd8826d8680 R15: 00007fd8826d9fa0 [ 16.338480][ T299] [ 16.595367][ T307] ip (307) used greatest stack depth: 24240 bytes left [ 30.622762][ T661] iperf3 (661) used greatest stack depth: 23296 bytes left [ 30.622785][ T661] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 30.622788][ T661] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 661, name: iperf3 [ 30.622790][ T661] preempt_count: 2, expected: 0 [ 30.622792][ T661] RCU nest depth: 0, expected: 0 [ 30.622793][ T661] locks held by iperf3/661: 5, last CPU#3: [ 30.622796][ T661] #0: ffffffff908127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 30.622810][ T661] #1: ffffffff90979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 30.622818][ T661] #2: ffffffff90979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 30.622824][ T661] #3: ffffffff90899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 30.622831][ T661] #4: ffffffff90899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 30.622837][ T661] irq event stamp: 6136370 [ 30.622838][ T661] hardirqs last enabled at (6136369): [] __down_trylock_console_sem+0x86/0xa0 [ 30.622842][ T661] hardirqs last disabled at (6136370): [] console_emit_next_record+0x3d4/0x4c0 [ 30.622845][ T661] softirqs last enabled at (6135952): [] fpu__clear_user_states+0x104/0x290 [ 30.622850][ T661] softirqs last disabled at (6135950): [] fpu__clear_user_states+0x6d/0x290 [ 30.622853][ T661] Preemption disabled at: [ 30.622854][ T661] [<0000000000000000>] 0x0 [ 30.622863][ T661] CPU: 3 UID: 0 PID: 661 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.622868][ T661] Tainted: [W]=WARN [ 30.622869][ T661] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.622871][ T661] Call Trace: [ 30.622874][ T661] [ 30.622876][ T661] dump_stack_lvl+0x6f/0xa0 [ 30.622884][ T661] __might_resched.cold+0x1fe/0x2c1 [ 30.622890][ T661] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 30.622896][ T661] ? __kmalloc_noprof+0xdb/0x760 [ 30.622904][ T661] __kmalloc_noprof+0x443/0x760 [ 30.622907][ T661] ? alloc_buf.isra.0+0x4b/0x260 [ 30.622916][ T661] ? do_raw_spin_unlock+0x59/0x250 [ 30.622920][ T661] alloc_buf.isra.0+0x4b/0x260 [ 30.622926][ T661] put_chars+0x1e1/0x2f0 [ 30.622929][ T661] ? prb_final_commit+0x50/0x50 [ 30.622933][ T661] ? __send_to_port+0x420/0x420 [ 30.622939][ T661] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 30.622944][ T661] ? rcu_read_lock_any_held+0x3c/0x90 [ 30.622948][ T661] ? validate_chain+0x38b/0xc20 [ 30.622954][ T661] hvc_console_print+0x292/0x780 [ 30.622959][ T661] ? mark_usage+0x61/0x170 [ 30.622962][ T661] ? __lock_acquire+0x518/0xc20 [ 30.622964][ T661] ? __lock_acquire+0x518/0xc20 [ 30.622971][ T661] ? hvc_write+0x3a0/0x3a0 [ 30.622975][ T661] ? console_emit_next_record+0x1df/0x4c0 [ 30.622980][ T661] ? rcu_is_watching+0x16/0xd0 [ 30.622984][ T661] ? lock_acquire+0x13c/0x160 [ 30.622991][ T661] console_emit_next_record+0x22f/0x4c0 [ 30.622998][ T661] ? devkmsg_read+0x4b0/0x4b0 [ 30.623000][ T661] ? console_flush_one_record+0x106/0x710 [ 30.623005][ T661] ? rcu_is_watching+0x16/0xd0 [ 30.623009][ T661] ? lock_acquire+0x13c/0x160 [ 30.623016][ T661] console_flush_one_record+0x46f/0x710 [ 30.623023][ T661] ? console_emit_next_record+0x4c0/0x4c0 [ 30.623026][ T661] ? __lock_acquire+0x518/0xc20 [ 30.623035][ T661] console_unlock+0xee/0x1f0 [ 30.623040][ T661] ? console_flush_one_record+0x710/0x710 [ 30.623043][ T661] ? rcu_is_watching+0x16/0xd0 [ 30.623046][ T661] ? lock_acquire+0x60/0x160 [ 30.623053][ T661] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.623055][ T661] ? vprintk_emit+0x320/0x3e0 [ 30.623061][ T661] vprintk_emit+0x37c/0x3e0 [ 30.623067][ T661] ? wake_up_klogd_work_func+0x90/0x90 [ 30.623073][ T661] ? __lock_acquire+0x518/0xc20 [ 30.623079][ T661] _printk+0xc7/0x100 [ 30.623084][ T661] ? snapshot_read.cold+0x21/0x21 [ 30.623089][ T661] ? do_raw_spin_lock+0x131/0x280 [ 30.623092][ T661] ? __rwlock_init+0x150/0x150 [ 30.623099][ T661] ? do_raw_spin_lock+0x131/0x280 [ 30.623103][ T661] do_exit.cold+0x82/0x9c [ 30.623109][ T661] ? exit_notify+0x890/0x890 [ 30.623119][ T661] __x64_sys_exit+0x42/0x50 [ 30.623122][ T661] x64_sys_call+0x156c/0x1570 [ 30.623126][ T661] do_syscall_64+0xff/0x530 [ 30.623131][ T661] ? exc_page_fault+0xee/0x100 [ 30.623136][ T661] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.623140][ T661] RIP: 0033:0x7f91d3f8ec49 [ 30.623143][ T661] Code: Unable to access opcode bytes at 0x7f91d3f8ec1f. [ 30.623145][ T661] RSP: 002b:00007f91d374de60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 30.623148][ T661] RAX: ffffffffffffffda RBX: 00007f91d374e6c0 RCX: 00007f91d3f8ec49 [ 30.623150][ T661] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 30.623152][ T661] RBP: 00007f91d374df70 R08: 0000000000000001 R09: 00007f91d374e6c0 [ 30.623153][ T661] R10: 0000000000000008 R11: 0000000000000246 R12: 00007f91d2f4e000 [ 30.623155][ T661] R13: 00007ffda191c830 R14: 0000000000000002 R15: 00007ffda191c937 [ 30.623168][ T661] [ 32.594081][ T756] tun0: deleting peer with id 1, reason 1 [ 32.594181][ T756] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 32.594183][ T756] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 756, name: ovpn-cli [ 32.594185][ T756] preempt_count: 202, expected: 0 [ 32.594186][ T756] RCU nest depth: 0, expected: 0 [ 32.594187][ T756] locks held by ovpn-cli/756: 6, last CPU#0: [ 32.594189][ T756] #0: ffffffff91144b68 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 32.594204][ T756] #1: ff110000082e9e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 32.594212][ T756] #2: ffffffff90979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 32.594218][ T756] #3: ffffffff90979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 32.594222][ T756] #4: ffffffff90899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 32.594226][ T756] #5: ffffffff90899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 32.594230][ T756] irq event stamp: 35073 [ 32.594231][ T756] hardirqs last enabled at (35072): [] __down_trylock_console_sem+0x86/0xa0 [ 32.594233][ T756] hardirqs last disabled at (35073): [] console_emit_next_record+0x3d4/0x4c0 [ 32.594235][ T756] softirqs last enabled at (35040): [] __alloc_skb+0x4c2/0x5f0 [ 32.594239][ T756] softirqs last disabled at (35068): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 32.594242][ T756] Preemption disabled at: [ 32.594243][ T756] [<0000000000000000>] 0x0 [ 32.594249][ T756] CPU: 0 UID: 0 PID: 756 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 32.594253][ T756] Tainted: [W]=WARN [ 32.594253][ T756] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 32.594255][ T756] Call Trace: [ 32.594257][ T756] [ 32.594258][ T756] dump_stack_lvl+0x6f/0xa0 [ 32.594265][ T756] __might_resched.cold+0x1fe/0x2c1 [ 32.594269][ T756] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 32.594273][ T756] ? __kmalloc_noprof+0xdb/0x760 [ 32.594278][ T756] __kmalloc_noprof+0x443/0x760 [ 32.594281][ T756] ? alloc_buf.isra.0+0x4b/0x260 [ 32.594286][ T756] ? do_raw_spin_unlock+0x59/0x250 [ 32.594289][ T756] alloc_buf.isra.0+0x4b/0x260 [ 32.594292][ T756] put_chars+0x1e1/0x2f0 [ 32.594295][ T756] ? __send_to_port+0x420/0x420 [ 32.594297][ T756] ? check_prev_add+0x316/0xe90 [ 32.594301][ T756] ? validate_chain+0x34a/0xc20 [ 32.594304][ T756] hvc_console_print+0x292/0x780 [ 32.594307][ T756] ? mark_usage+0x61/0x170 [ 32.594309][ T756] ? __lock_acquire+0x518/0xc20 [ 32.594311][ T756] ? __lock_acquire+0x518/0xc20 [ 32.594315][ T756] ? hvc_write+0x3a0/0x3a0 [ 32.594316][ T756] ? lock_acquire.part.0+0xd4/0x280 [ 32.594320][ T756] ? lock_acquire+0x13c/0x160 [ 32.594324][ T756] console_emit_next_record+0x22f/0x4c0 [ 32.594328][ T756] ? devkmsg_read+0x4b0/0x4b0 [ 32.594330][ T756] ? console_flush_one_record+0x106/0x710 [ 32.594333][ T756] ? rcu_is_watching+0x16/0xd0 [ 32.594337][ T756] ? lock_acquire+0x13c/0x160 [ 32.594341][ T756] console_flush_one_record+0x46f/0x710 [ 32.594345][ T756] ? console_emit_next_record+0x4c0/0x4c0 [ 32.594347][ T756] ? __lock_acquire+0x518/0xc20 [ 32.594352][ T756] console_unlock+0xee/0x1f0 [ 32.594354][ T756] ? console_flush_one_record+0x710/0x710 [ 32.594356][ T756] ? rcu_is_watching+0x16/0xd0 [ 32.594359][ T756] ? lock_acquire+0x60/0x160 [ 32.594362][ T756] ? __down_trylock_console_sem+0x5e/0xa0 [ 32.594364][ T756] ? vprintk_emit+0x320/0x3e0 [ 32.594367][ T756] vprintk_emit+0x37c/0x3e0 [ 32.594371][ T756] ? wake_up_klogd_work_func+0x90/0x90 [ 32.594373][ T756] ? kernel_text_address+0x149/0x170 [ 32.594376][ T756] ? __kernel_text_address+0x12/0x30 [ 32.594377][ T756] ? write_profile+0xf0/0xf0 [ 32.594379][ T756] ? unwind_get_return_address+0x67/0xd0 [ 32.594384][ T756] _printk+0xc7/0x100 [ 32.594388][ T756] ? snapshot_read.cold+0x21/0x21 [ 32.594391][ T756] ? mark_usage+0x61/0x170 [ 32.594393][ T756] ? netdev_name+0x43/0x60 [ 32.594396][ T756] ? __netdev_printk+0x17f/0x1d0 [ 32.594400][ T756] netdev_info+0xe2/0x116 [ 32.594402][ T756] ? netdev_notice+0x120/0x120 [ 32.594403][ T756] ? find_held_lock+0x2b/0x80 [ 32.594406][ T756] ? mark_usage+0x61/0x170 [ 32.594409][ T756] ? __lock_acquire+0x518/0xc20 [ 32.594414][ T756] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 32.594419][ T756] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 32.594430][ T756] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 32.594438][ T756] ovpn_peer_remove+0x394/0x640 [ovpn] [ 32.594442][ T756] ? do_raw_spin_lock+0x131/0x280 [ 32.594444][ T756] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 32.594451][ T756] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 32.594455][ T756] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 32.594462][ T756] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 32.594465][ T756] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 32.594469][ T756] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 32.594472][ T756] ? ref_tracker_alloc+0x28d/0x430 [ 32.594482][ T756] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 32.594486][ T756] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 32.594492][ T756] genl_family_rcv_msg_doit+0x206/0x300 [ 32.594496][ T756] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 32.594498][ T756] ? __lock_release.isra.0+0x69/0x1a0 [ 32.594503][ T756] ? rcu_is_watching+0x16/0xd0 [ 32.594506][ T756] ? cap_capable+0x1d7/0x3d0 [ 32.594509][ T756] ? write_profile+0xf0/0xf0 [ 32.594511][ T756] ? unwind_get_return_address+0x67/0xd0 [ 32.594514][ T756] genl_family_rcv_msg+0x3a4/0x640 [ 32.594518][ T756] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 32.594521][ T756] ? rcu_read_lock_any_held+0x3c/0x90 [ 32.594523][ T756] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 32.594525][ T756] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 32.594528][ T756] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 32.594532][ T756] ? __lock_acquire+0x518/0xc20 [ 32.594537][ T756] genl_rcv_msg+0xbb/0x160 [ 32.594541][ T756] netlink_rcv_skb+0x14e/0x3a0 [ 32.594543][ T756] ? genl_family_rcv_msg+0x640/0x640 [ 32.594546][ T756] ? netlink_ack+0xcf0/0xcf0 [ 32.594553][ T756] ? netlink_deliver_tap+0xc5/0x330 [ 32.594555][ T756] ? netlink_deliver_tap+0x13c/0x330 [ 32.594559][ T756] genl_rcv+0x28/0x40 [ 32.594561][ T756] netlink_unicast+0x486/0x750 [ 32.594565][ T756] ? netlink_attachskb+0x810/0x810 [ 32.594568][ T756] ? __lock_acquire+0x518/0xc20 [ 32.594572][ T756] netlink_sendmsg+0x735/0xc60 [ 32.594576][ T756] ? netlink_unicast+0x750/0x750 [ 32.594580][ T756] ? __might_fault+0x97/0x140 [ 32.594586][ T756] ____sys_sendmsg+0x415/0x880 [ 32.594590][ T756] ? copy_msghdr_from_user+0x279/0x420 [ 32.594592][ T756] ? get_timestamp.constprop.0+0x390/0x390 [ 32.594594][ T756] ? move_addr_to_kernel+0x40/0x40 [ 32.594601][ T756] ___sys_sendmsg+0x14e/0x1d0 [ 32.594604][ T756] ? copy_msghdr_from_user+0x420/0x420 [ 32.594606][ T756] ? kfree+0x22/0x590 [ 32.594621][ T756] __sys_sendmsg+0x12c/0x1d0 [ 32.594624][ T756] ? __sys_sendmsg_sock+0x20/0x20 [ 32.594629][ T756] ? rcu_is_watching+0x16/0xd0 [ 32.594632][ T756] ? rcu_is_watching+0x16/0xd0 [ 32.594635][ T756] do_syscall_64+0xff/0x530 [ 32.594638][ T756] ? exc_page_fault+0xee/0x100 [ 32.594641][ T756] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 32.594643][ T756] RIP: 0033:0x7f39fb97954e [ 32.594646][ T756] 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.594648][ T756] RSP: 002b:00007ffe0acf4630 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 32.594650][ T756] RAX: ffffffffffffffda RBX: 000000003c946130 RCX: 00007f39fb97954e [ 32.594652][ T756] RDX: 0000000000000000 RSI: 00007ffe0acf46d0 RDI: 0000000000000005 [ 32.594652][ T756] RBP: 00007ffe0acf4640 R08: 0000000000000000 R09: 0000000000000000 [ 32.594653][ T756] R10: 0000000000000000 R11: 0000000000000202 R12: 000000003c946200 [ 32.594654][ T756] R13: 00007ffe0acf46d0 R14: 000000003c947260 R15: 000000000040bda8 [ 32.594661][ T756] [ 32.744697][ T760] tun1: deleting peer with id 1, reason 1 [ 35.683476][ T808] tun0: deleting peer with id 2, reason 1 [ 35.683496][ T808] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 35.683499][ T808] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 808, name: ovpn-cli [ 35.683500][ T808] preempt_count: 202, expected: 0 [ 35.683501][ T808] RCU nest depth: 0, expected: 0 [ 35.683502][ T808] locks held by ovpn-cli/808: 6, last CPU#3: [ 35.683504][ T808] #0: ffffffff91144b68 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 35.683516][ T808] #1: ff110000082e9e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 35.683525][ T808] #2: ffffffff90979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 35.683532][ T808] #3: ffffffff90979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 35.683536][ T808] #4: ffffffff90899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 35.683539][ T808] #5: ffffffff90899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 35.683543][ T808] irq event stamp: 32345 [ 35.683544][ T808] hardirqs last enabled at (32344): [] __down_trylock_console_sem+0x86/0xa0 [ 35.683547][ T808] hardirqs last disabled at (32345): [] console_emit_next_record+0x3d4/0x4c0 [ 35.683549][ T808] softirqs last enabled at (32312): [] __alloc_skb+0x4c2/0x5f0 [ 35.683553][ T808] softirqs last disabled at (32340): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 35.683556][ T808] Preemption disabled at: [ 35.683557][ T808] [<0000000000000000>] 0x0 [ 35.683564][ T808] CPU: 3 UID: 0 PID: 808 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 35.683568][ T808] Tainted: [W]=WARN [ 35.683569][ T808] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 35.683571][ T808] Call Trace: [ 35.683572][ T808] [ 35.683574][ T808] dump_stack_lvl+0x6f/0xa0 [ 35.683581][ T808] __might_resched.cold+0x1fe/0x2c1 [ 35.683585][ T808] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 35.683590][ T808] ? __kmalloc_noprof+0xdb/0x760 [ 35.683595][ T808] __kmalloc_noprof+0x443/0x760 [ 35.683598][ T808] ? alloc_buf.isra.0+0x4b/0x260 [ 35.683604][ T808] ? do_raw_spin_unlock+0x59/0x250 [ 35.683606][ T808] alloc_buf.isra.0+0x4b/0x260 [ 35.683610][ T808] put_chars+0x1e1/0x2f0 [ 35.683613][ T808] ? __send_to_port+0x420/0x420 [ 35.683616][ T808] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 35.683620][ T808] ? rcu_read_lock_any_held+0x3c/0x90 [ 35.683623][ T808] ? validate_chain+0x38b/0xc20 [ 35.683627][ T808] hvc_console_print+0x292/0x780 [ 35.683630][ T808] ? mark_usage+0x61/0x170 [ 35.683632][ T808] ? __lock_acquire+0x518/0xc20 [ 35.683634][ T808] ? __lock_acquire+0x518/0xc20 [ 35.683638][ T808] ? hvc_write+0x3a0/0x3a0 [ 35.683639][ T808] ? lock_acquire.part.0+0xd4/0x280 [ 35.683644][ T808] ? lock_acquire+0x13c/0x160 [ 35.683648][ T808] console_emit_next_record+0x22f/0x4c0 [ 35.683652][ T808] ? devkmsg_read+0x4b0/0x4b0 [ 35.683654][ T808] ? console_flush_one_record+0x106/0x710 [ 35.683657][ T808] ? rcu_is_watching+0x16/0xd0 [ 35.683659][ T808] ? lock_acquire+0x13c/0x160 [ 35.683663][ T808] console_flush_one_record+0x46f/0x710 [ 35.683668][ T808] ? console_emit_next_record+0x4c0/0x4c0 [ 35.683670][ T808] ? __lock_acquire+0x518/0xc20 [ 35.683675][ T808] console_unlock+0xee/0x1f0 [ 35.683678][ T808] ? console_flush_one_record+0x710/0x710 [ 35.683680][ T808] ? rcu_is_watching+0x16/0xd0 [ 35.683682][ T808] ? lock_acquire+0x60/0x160 [ 35.683686][ T808] ? __down_trylock_console_sem+0x5e/0xa0 [ 35.683688][ T808] ? vprintk_emit+0x320/0x3e0 [ 35.683691][ T808] vprintk_emit+0x37c/0x3e0 [ 35.683695][ T808] ? wake_up_klogd_work_func+0x90/0x90 [ 35.683697][ T808] ? kernel_text_address+0x149/0x170 [ 35.683701][ T808] ? __kernel_text_address+0x12/0x30 [ 35.683702][ T808] ? write_profile+0xf0/0xf0 [ 35.683704][ T808] ? unwind_get_return_address+0x67/0xd0 [ 35.683709][ T808] _printk+0xc7/0x100 [ 35.683713][ T808] ? snapshot_read.cold+0x21/0x21 [ 35.683717][ T808] ? mark_usage+0x61/0x170 [ 35.683718][ T808] ? netdev_name+0x43/0x60 [ 35.683722][ T808] ? __netdev_printk+0x17f/0x1d0 [ 35.683725][ T808] netdev_info+0xe2/0x116 [ 35.683728][ T808] ? netdev_notice+0x120/0x120 [ 35.683729][ T808] ? find_held_lock+0x2b/0x80 [ 35.683732][ T808] ? mark_usage+0x61/0x170 [ 35.683735][ T808] ? __lock_acquire+0x518/0xc20 [ 35.683741][ T808] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 35.683746][ T808] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 35.683750][ T808] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 35.683756][ T808] ovpn_peer_remove+0x394/0x640 [ovpn] [ 35.683760][ T808] ? do_raw_spin_lock+0x131/0x280 [ 35.683762][ T808] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 35.683769][ T808] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 35.683773][ T808] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 35.683780][ T808] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 35.683783][ T808] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 35.683787][ T808] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 35.683789][ T808] ? ref_tracker_alloc+0x28d/0x430 [ 35.683800][ T808] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 35.683805][ T808] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 35.683810][ T808] genl_family_rcv_msg_doit+0x206/0x300 [ 35.683814][ T808] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 35.683816][ T808] ? __lock_release.isra.0+0x69/0x1a0 [ 35.683822][ T808] ? rcu_is_watching+0x16/0xd0 [ 35.683825][ T808] ? cap_capable+0x1d7/0x3d0 [ 35.683828][ T808] ? write_profile+0xf0/0xf0 [ 35.683830][ T808] ? unwind_get_return_address+0x67/0xd0 [ 35.683834][ T808] genl_family_rcv_msg+0x3a4/0x640 [ 35.683837][ T808] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 35.683840][ T808] ? rcu_read_lock_any_held+0x3c/0x90 [ 35.683842][ T808] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 35.683844][ T808] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 35.683847][ T808] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 35.683850][ T808] ? __lock_acquire+0x518/0xc20 [ 35.683856][ T808] genl_rcv_msg+0xbb/0x160 [ 35.683859][ T808] netlink_rcv_skb+0x14e/0x3a0 [ 35.683861][ T808] ? genl_family_rcv_msg+0x640/0x640 [ 35.683865][ T808] ? netlink_ack+0xcf0/0xcf0 [ 35.683872][ T808] ? netlink_deliver_tap+0xc5/0x330 [ 35.683874][ T808] ? netlink_deliver_tap+0x13c/0x330 [ 35.683878][ T808] genl_rcv+0x28/0x40 [ 35.683880][ T808] netlink_unicast+0x486/0x750 [ 35.683885][ T808] ? netlink_attachskb+0x810/0x810 [ 35.683888][ T808] ? __lock_acquire+0x518/0xc20 [ 35.683892][ T808] netlink_sendmsg+0x735/0xc60 [ 35.683896][ T808] ? netlink_unicast+0x750/0x750 [ 35.683900][ T808] ? __might_fault+0x97/0x140 [ 35.683906][ T808] ____sys_sendmsg+0x415/0x880 [ 35.683910][ T808] ? copy_msghdr_from_user+0x279/0x420 [ 35.683912][ T808] ? get_timestamp.constprop.0+0x390/0x390 [ 35.683914][ T808] ? move_addr_to_kernel+0x40/0x40 [ 35.683921][ T808] ___sys_sendmsg+0x14e/0x1d0 [ 35.683924][ T808] ? copy_msghdr_from_user+0x420/0x420 [ 35.683926][ T808] ? kfree+0x22/0x590 [ 35.683942][ T808] __sys_sendmsg+0x12c/0x1d0 [ 35.683945][ T808] ? __sys_sendmsg_sock+0x20/0x20 [ 35.683951][ T808] ? rcu_is_watching+0x16/0xd0 [ 35.683954][ T808] ? rcu_is_watching+0x16/0xd0 [ 35.683957][ T808] do_syscall_64+0xff/0x530 [ 35.683960][ T808] ? exc_page_fault+0xee/0x100 [ 35.683963][ T808] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 35.683966][ T808] RIP: 0033:0x7fb9b900954e [ 35.683968][ T808] 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.683970][ T808] RSP: 002b:00007fff6cde2320 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 35.683972][ T808] RAX: ffffffffffffffda RBX: 00000000061e1130 RCX: 00007fb9b900954e [ 35.683974][ T808] RDX: 0000000000000000 RSI: 00007fff6cde23c0 RDI: 0000000000000005 [ 35.683975][ T808] RBP: 00007fff6cde2330 R08: 0000000000000000 R09: 0000000000000000 [ 35.683976][ T808] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000061e1200 [ 35.683977][ T808] R13: 00007fff6cde23c0 R14: 00000000061e2260 R15: 000000000040bda8 [ 35.683984][ T808] [ 35.821301][ T812] tun2: deleting peer with id 2, reason 1 [ 41.137447][ T65] tun0: deleting peer with id 4, reason 2 [ 41.137583][ T65] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 41.137586][ T65] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 65, name: kworker/2:2 [ 41.137588][ T65] preempt_count: 202, expected: 0 [ 41.137590][ T65] RCU nest depth: 0, expected: 0 [ 41.137591][ T65] locks held by kworker/2:2/65: 7, last CPU#2: [ 41.137594][ T65] #0: ff1100000b160f40 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 41.137609][ T65] #1: ffa0000000467d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 41.137615][ T65] #2: ff110000082e9e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 41.137626][ T65] #3: ffffffff90979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 41.137632][ T65] #4: ffffffff90979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 41.137638][ T65] #5: ffffffff90899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 41.137644][ T65] #6: ffffffff90899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 41.137649][ T65] irq event stamp: 35945 [ 41.137651][ T65] hardirqs last enabled at (35944): [] __down_trylock_console_sem+0x86/0xa0 [ 41.137654][ T65] hardirqs last disabled at (35945): [] console_emit_next_record+0x3d4/0x4c0 [ 41.137657][ T65] softirqs last enabled at (35358): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 41.137663][ T65] softirqs last disabled at (35938): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 41.137669][ T65] Preemption disabled at: [ 41.137669][ T65] [<0000000000000000>] 0x0 [ 41.137679][ T65] CPU: 2 UID: 0 PID: 65 Comm: kworker/2:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 41.137683][ T65] Tainted: [W]=WARN [ 41.137684][ T65] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 41.137687][ T65] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 41.137694][ T65] Call Trace: [ 41.137696][ T65] [ 41.137700][ T65] dump_stack_lvl+0x6f/0xa0 [ 41.137709][ T65] __might_resched.cold+0x1fe/0x2c1 [ 41.137715][ T65] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 41.137721][ T65] ? __kmalloc_noprof+0xdb/0x760 [ 41.137728][ T65] __kmalloc_noprof+0x443/0x760 [ 41.137732][ T65] ? alloc_buf.isra.0+0x4b/0x260 [ 41.137741][ T65] ? do_raw_spin_unlock+0x59/0x250 [ 41.137745][ T65] alloc_buf.isra.0+0x4b/0x260 [ 41.137750][ T65] put_chars+0x1e1/0x2f0 [ 41.137754][ T65] ? __send_to_port+0x420/0x420 [ 41.137762][ T65] ? validate_chain+0x34a/0xc20 [ 41.137768][ T65] hvc_console_print+0x292/0x780 [ 41.137773][ T65] ? mark_usage+0x61/0x170 [ 41.137776][ T65] ? __lock_acquire+0x518/0xc20 [ 41.137778][ T65] ? __lock_acquire+0x518/0xc20 [ 41.137785][ T65] ? hvc_write+0x3a0/0x3a0 [ 41.137788][ T65] ? console_emit_next_record+0x1df/0x4c0 [ 41.137794][ T65] ? rcu_is_watching+0x16/0xd0 [ 41.137799][ T65] ? lock_acquire+0x13c/0x160 [ 41.137806][ T65] console_emit_next_record+0x22f/0x4c0 [ 41.137812][ T65] ? devkmsg_read+0x4b0/0x4b0 [ 41.137814][ T65] ? console_flush_one_record+0x106/0x710 [ 41.137819][ T65] ? rcu_is_watching+0x16/0xd0 [ 41.137823][ T65] ? lock_acquire+0x13c/0x160 [ 41.137830][ T65] console_flush_one_record+0x46f/0x710 [ 41.137837][ T65] ? console_emit_next_record+0x4c0/0x4c0 [ 41.137839][ T65] ? __lock_acquire+0x518/0xc20 [ 41.137849][ T65] console_unlock+0xee/0x1f0 [ 41.137853][ T65] ? console_flush_one_record+0x710/0x710 [ 41.137856][ T65] ? rcu_is_watching+0x16/0xd0 [ 41.137859][ T65] ? lock_acquire+0x60/0x160 [ 41.137865][ T65] ? __down_trylock_console_sem+0x5e/0xa0 [ 41.137868][ T65] ? vprintk_emit+0x320/0x3e0 [ 41.137873][ T65] vprintk_emit+0x37c/0x3e0 [ 41.137879][ T65] ? wake_up_klogd_work_func+0x90/0x90 [ 41.137884][ T65] ? __lock_release.isra.0+0x69/0x1a0 [ 41.137887][ T65] ? rcu_is_watching+0x16/0xd0 [ 41.137893][ T65] _printk+0xc7/0x100 [ 41.137898][ T65] ? snapshot_read.cold+0x21/0x21 [ 41.137903][ T65] ? __add_to_free_list+0x81/0x5c0 [ 41.137907][ T65] ? __mod_zone_page_state+0xe1/0x190 [ 41.137911][ T65] ? netdev_name+0x43/0x60 [ 41.137916][ T65] ? __netdev_printk+0x17f/0x1d0 [ 41.137922][ T65] netdev_info+0xe2/0x116 [ 41.137926][ T65] ? netdev_notice+0x120/0x120 [ 41.137928][ T65] ? rcu_read_lock_any_held+0x3c/0x90 [ 41.137937][ T65] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 41.137941][ T65] ? rcu_read_lock_any_held+0x3c/0x90 [ 41.137948][ T65] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 41.137957][ T65] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 41.137969][ T65] ovpn_peer_remove+0x394/0x640 [ovpn] [ 41.137976][ T65] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 41.137981][ T65] ? __rwlock_init+0x150/0x150 [ 41.137984][ T65] ? mark_held_locks+0x40/0x70 [ 41.137992][ T65] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 41.137999][ T65] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 41.138004][ T65] ? __rwlock_init+0x150/0x150 [ 41.138013][ T65] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 41.138021][ T65] ? process_one_work+0xdfc/0x1560 [ 41.138025][ T65] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 41.138031][ T65] ? rcu_is_watching+0x16/0xd0 [ 41.138034][ T65] ? lock_acquire+0x13c/0x160 [ 41.138036][ T65] ? rcu_is_watching+0x16/0xd0 [ 41.138043][ T65] process_one_work+0xe3e/0x1560 [ 41.138054][ T65] ? __queue_delayed_work+0x470/0x470 [ 41.138059][ T65] ? lock_acquire.part.0+0xd4/0x280 [ 41.138073][ T65] worker_thread+0x4f1/0xd60 [ 41.138080][ T65] ? rescuer_thread+0x1340/0x1340 [ 41.138083][ T65] ? __kthread_parkme+0xbd/0x210 [ 41.138088][ T65] ? rescuer_thread+0x1340/0x1340 [ 41.138092][ T65] ? rescuer_thread+0x1340/0x1340 [ 41.138095][ T65] kthread+0x367/0x460 [ 41.138098][ T65] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 41.138103][ T65] ? kthread_affine_preferred+0x4c0/0x4c0 [ 41.138107][ T65] ret_from_fork+0x474/0x6b0 [ 41.138113][ T65] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 41.138119][ T65] ? __switch_to+0x5a3/0xe00 [ 41.138123][ T65] ? kthread_affine_preferred+0x4c0/0x4c0 [ 41.138128][ T65] ret_from_fork_asm+0x11/0x20 [ 41.138143][ T65] [ 41.183443][ T65] tun0: deleting peer with id 3, reason 2 [ 41.184014][ T65] tun0: deleting peer with id 5, reason 2 [ 42.226505][ T65] tun0: deleting peer with id 6, reason 2 [ 42.226529][ T65] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 42.226532][ T65] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 65, name: kworker/2:2 [ 42.226534][ T65] preempt_count: 202, expected: 0 [ 42.226535][ T65] RCU nest depth: 0, expected: 0 [ 42.226536][ T65] locks held by kworker/2:2/65: 7, last CPU#2: [ 42.226538][ T65] #0: ff1100000b160f40 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 42.226551][ T65] #1: ffa0000000467d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 42.226555][ T65] #2: ff110000082e9e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 42.226565][ T65] #3: ffffffff90979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 42.226570][ T65] #4: ffffffff90979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 42.226573][ T65] #5: ffffffff90899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 42.226577][ T65] #6: ffffffff90899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 42.226581][ T65] irq event stamp: 37447 [ 42.226582][ T65] hardirqs last enabled at (37446): [] __down_trylock_console_sem+0x86/0xa0 [ 42.226584][ T65] hardirqs last disabled at (37447): [] console_emit_next_record+0x3d4/0x4c0 [ 42.226586][ T65] softirqs last enabled at (36838): [] ovpn_peer_release+0x37/0xe0 [ovpn] [ 42.226590][ T65] softirqs last disabled at (37440): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 42.226594][ T65] Preemption disabled at: [ 42.226594][ T65] [<0000000000000000>] 0x0 [ 42.226602][ T65] CPU: 2 UID: 0 PID: 65 Comm: kworker/2:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 42.226606][ T65] Tainted: [W]=WARN [ 42.226606][ T65] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 42.226609][ T65] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 42.226614][ T65] Call Trace: [ 42.226616][ T65] [ 42.226619][ T65] dump_stack_lvl+0x6f/0xa0 [ 42.226626][ T65] __might_resched.cold+0x1fe/0x2c1 [ 42.226631][ T65] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 42.226635][ T65] ? __kmalloc_noprof+0xdb/0x760 [ 42.226641][ T65] __kmalloc_noprof+0x443/0x760 [ 42.226643][ T65] ? alloc_buf.isra.0+0x4b/0x260 [ 42.226649][ T65] ? do_raw_spin_unlock+0x59/0x250 [ 42.226652][ T65] alloc_buf.isra.0+0x4b/0x260 [ 42.226656][ T65] put_chars+0x1e1/0x2f0 [ 42.226658][ T65] ? prb_final_commit+0x50/0x50 [ 42.226660][ T65] ? __send_to_port+0x420/0x420 [ 42.226663][ T65] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 42.226668][ T65] ? rcu_read_lock_any_held+0x3c/0x90 [ 42.226670][ T65] ? validate_chain+0x38b/0xc20 [ 42.226674][ T65] hvc_console_print+0x292/0x780 [ 42.226677][ T65] ? mark_usage+0x61/0x170 [ 42.226679][ T65] ? __lock_acquire+0x518/0xc20 [ 42.226681][ T65] ? __lock_acquire+0x518/0xc20 [ 42.226684][ T65] ? hvc_write+0x3a0/0x3a0 [ 42.226687][ T65] ? console_emit_next_record+0x1df/0x4c0 [ 42.226690][ T65] ? rcu_is_watching+0x16/0xd0 [ 42.226692][ T65] ? lock_acquire+0x13c/0x160 [ 42.226696][ T65] console_emit_next_record+0x22f/0x4c0 [ 42.226700][ T65] ? devkmsg_read+0x4b0/0x4b0 [ 42.226702][ T65] ? console_flush_one_record+0x106/0x710 [ 42.226705][ T65] ? rcu_is_watching+0x16/0xd0 [ 42.226707][ T65] ? lock_acquire+0x13c/0x160 [ 42.226711][ T65] console_flush_one_record+0x46f/0x710 [ 42.226716][ T65] ? console_emit_next_record+0x4c0/0x4c0 [ 42.226717][ T65] ? __lock_acquire+0x518/0xc20 [ 42.226722][ T65] console_unlock+0xee/0x1f0 [ 42.226725][ T65] ? console_flush_one_record+0x710/0x710 [ 42.226727][ T65] ? rcu_is_watching+0x16/0xd0 [ 42.226729][ T65] ? lock_acquire+0x60/0x160 [ 42.226733][ T65] ? __down_trylock_console_sem+0x5e/0xa0 [ 42.226734][ T65] ? vprintk_emit+0x320/0x3e0 [ 42.226738][ T65] vprintk_emit+0x37c/0x3e0 [ 42.226741][ T65] ? wake_up_klogd_work_func+0x90/0x90 [ 42.226745][ T65] ? __lock_release.isra.0+0x69/0x1a0 [ 42.226746][ T65] ? rcu_is_watching+0x16/0xd0 [ 42.226750][ T65] _printk+0xc7/0x100 [ 42.226754][ T65] ? snapshot_read.cold+0x21/0x21 [ 42.226757][ T65] ? __add_to_free_list+0x81/0x5c0 [ 42.226760][ T65] ? __mod_zone_page_state+0xe1/0x190 [ 42.226763][ T65] ? netdev_name+0x43/0x60 [ 42.226766][ T65] ? __netdev_printk+0x17f/0x1d0 [ 42.226769][ T65] netdev_info+0xe2/0x116 [ 42.226772][ T65] ? netdev_notice+0x120/0x120 [ 42.226773][ T65] ? rcu_read_lock_any_held+0x3c/0x90 [ 42.226778][ T65] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 42.226781][ T65] ? rcu_read_lock_any_held+0x3c/0x90 [ 42.226785][ T65] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 42.226791][ T65] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 42.226797][ T65] ovpn_peer_remove+0x394/0x640 [ovpn] [ 42.226801][ T65] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 42.226804][ T65] ? __rwlock_init+0x150/0x150 [ 42.226806][ T65] ? mark_held_locks+0x40/0x70 [ 42.226811][ T65] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 42.226815][ T65] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 42.226818][ T65] ? __rwlock_init+0x150/0x150 [ 42.226823][ T65] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 42.226827][ T65] ? process_one_work+0xdfc/0x1560 [ 42.226830][ T65] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 42.226833][ T65] ? rcu_is_watching+0x16/0xd0 [ 42.226835][ T65] ? lock_acquire+0x13c/0x160 [ 42.226837][ T65] ? rcu_is_watching+0x16/0xd0 [ 42.226841][ T65] process_one_work+0xe3e/0x1560 [ 42.226847][ T65] ? __queue_delayed_work+0x470/0x470 [ 42.226850][ T65] ? lock_acquire.part.0+0xd4/0x280 [ 42.226858][ T65] worker_thread+0x4f1/0xd60 [ 42.226862][ T65] ? rescuer_thread+0x1340/0x1340 [ 42.226864][ T65] ? __kthread_parkme+0xbd/0x210 [ 42.226868][ T65] ? rescuer_thread+0x1340/0x1340 [ 42.226870][ T65] ? rescuer_thread+0x1340/0x1340 [ 42.226872][ T65] kthread+0x367/0x460 [ 42.226874][ T65] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 42.226877][ T65] ? kthread_affine_preferred+0x4c0/0x4c0 [ 42.226880][ T65] ret_from_fork+0x474/0x6b0 [ 42.226884][ T65] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 42.226888][ T65] ? __switch_to+0x5a3/0xe00 [ 42.226891][ T65] ? kthread_affine_preferred+0x4c0/0x4c0 [ 42.226893][ T65] ret_from_fork_asm+0x11/0x20 [ 42.226902][ T65] [ 47.346777][ T65] tun3: deleting peer with id 3, reason 2 [ 47.346800][ T65] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 47.346802][ T65] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 65, name: kworker/2:2 [ 47.346804][ T65] preempt_count: 202, expected: 0 [ 47.346805][ T65] RCU nest depth: 0, expected: 0 [ 47.346806][ T65] locks held by kworker/2:2/65: 7, last CPU#2: [ 47.346808][ T65] #0: ff1100000b160f40 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 47.346820][ T65] #1: ffa0000000467d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 47.346824][ T65] #2: ff110000086d4e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 47.346831][ T65] #3: ffffffff90979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 47.346837][ T65] #4: ffffffff90979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 47.346840][ T65] #5: ffffffff90899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 47.346844][ T65] #6: ffffffff90899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 47.346848][ T65] irq event stamp: 38743 [ 47.346849][ T65] hardirqs last enabled at (38742): [] __down_trylock_console_sem+0x86/0xa0 [ 47.346851][ T65] hardirqs last disabled at (38743): [] console_emit_next_record+0x3d4/0x4c0 [ 47.346853][ T65] softirqs last enabled at (38530): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 47.346857][ T65] softirqs last disabled at (38732): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 47.346861][ T65] Preemption disabled at: [ 47.346861][ T65] [<0000000000000000>] 0x0 [ 47.346869][ T65] CPU: 2 UID: 0 PID: 65 Comm: kworker/2:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 47.346872][ T65] Tainted: [W]=WARN [ 47.346873][ T65] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 47.346875][ T65] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 47.346880][ T65] Call Trace: [ 47.346882][ T65] [ 47.346884][ T65] dump_stack_lvl+0x6f/0xa0 [ 47.346891][ T65] __might_resched.cold+0x1fe/0x2c1 [ 47.346895][ T65] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 47.346899][ T65] ? __kmalloc_noprof+0xdb/0x760 [ 47.346904][ T65] __kmalloc_noprof+0x443/0x760 [ 47.346907][ T65] ? alloc_buf.isra.0+0x4b/0x260 [ 47.346913][ T65] ? do_raw_spin_unlock+0x59/0x250 [ 47.346916][ T65] alloc_buf.isra.0+0x4b/0x260 [ 47.346919][ T65] put_chars+0x1e1/0x2f0 [ 47.346921][ T65] ? prb_final_commit+0x50/0x50 [ 47.346923][ T65] ? __send_to_port+0x420/0x420 [ 47.346926][ T65] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 47.346931][ T65] ? rcu_read_lock_any_held+0x3c/0x90 [ 47.346933][ T65] ? validate_chain+0x38b/0xc20 [ 47.346937][ T65] hvc_console_print+0x292/0x780 [ 47.346940][ T65] ? mark_usage+0x61/0x170 [ 47.346942][ T65] ? __lock_acquire+0x518/0xc20 [ 47.346944][ T65] ? __lock_acquire+0x518/0xc20 [ 47.346948][ T65] ? hvc_write+0x3a0/0x3a0 [ 47.346950][ T65] ? console_emit_next_record+0x1df/0x4c0 [ 47.346953][ T65] ? rcu_is_watching+0x16/0xd0 [ 47.346955][ T65] ? lock_acquire+0x13c/0x160 [ 47.346959][ T65] console_emit_next_record+0x22f/0x4c0 [ 47.346963][ T65] ? devkmsg_read+0x4b0/0x4b0 [ 47.346965][ T65] ? console_flush_one_record+0x106/0x710 [ 47.346968][ T65] ? rcu_is_watching+0x16/0xd0 [ 47.346970][ T65] ? lock_acquire+0x13c/0x160 [ 47.346974][ T65] console_flush_one_record+0x46f/0x710 [ 47.346978][ T65] ? console_emit_next_record+0x4c0/0x4c0 [ 47.346980][ T65] ? __lock_acquire+0x518/0xc20 [ 47.346985][ T65] console_unlock+0xee/0x1f0 [ 47.346988][ T65] ? console_flush_one_record+0x710/0x710 [ 47.346990][ T65] ? rcu_is_watching+0x16/0xd0 [ 47.346992][ T65] ? lock_acquire+0x60/0x160 [ 47.346996][ T65] ? __down_trylock_console_sem+0x5e/0xa0 [ 47.346997][ T65] ? vprintk_emit+0x320/0x3e0 [ 47.347000][ T65] vprintk_emit+0x37c/0x3e0 [ 47.347004][ T65] ? wake_up_klogd_work_func+0x90/0x90 [ 47.347007][ T65] ? __lock_release.isra.0+0x69/0x1a0 [ 47.347011][ T65] _printk+0xc7/0x100 [ 47.347015][ T65] ? snapshot_read.cold+0x21/0x21 [ 47.347017][ T65] ? try_to_wake_up+0x153/0x1130 [ 47.347020][ T65] ? select_fallback_rq+0x510/0x510 [ 47.347022][ T65] ? netdev_name+0x43/0x60 [ 47.347025][ T65] ? __netdev_printk+0x17f/0x1d0 [ 47.347029][ T65] netdev_info+0xe2/0x116 [ 47.347031][ T65] ? netdev_notice+0x120/0x120 [ 47.347036][ T65] ? __queue_work+0x3ab/0xd30 [ 47.347041][ T65] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 47.347047][ T65] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 47.347050][ T65] ? mark_held_locks+0x40/0x70 [ 47.347053][ T65] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 47.347054][ T65] ? lockdep_hardirqs_on+0x91/0x130 [ 47.347059][ T65] ovpn_peer_remove+0x394/0x640 [ovpn] [ 47.347063][ T65] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 47.347066][ T65] ? __rwlock_init+0x150/0x150 [ 47.347068][ T65] ? mark_held_locks+0x40/0x70 [ 47.347072][ T65] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 47.347076][ T65] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 47.347079][ T65] ? __rwlock_init+0x150/0x150 [ 47.347084][ T65] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 47.347088][ T65] ? process_one_work+0xdfc/0x1560 [ 47.347091][ T65] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 47.347094][ T65] ? rcu_is_watching+0x16/0xd0 [ 47.347096][ T65] ? lock_acquire+0x13c/0x160 [ 47.347098][ T65] ? rcu_is_watching+0x16/0xd0 [ 47.347102][ T65] ? process_one_work+0xdfc/0x1560 [ 47.347104][ T65] process_one_work+0xe3e/0x1560 [ 47.347110][ T65] ? __queue_delayed_work+0x470/0x470 [ 47.347113][ T65] ? lock_acquire.part.0+0xd4/0x280 [ 47.347120][ T65] worker_thread+0x4f1/0xd60 [ 47.347124][ T65] ? rescuer_thread+0x1340/0x1340 [ 47.347126][ T65] ? __kthread_parkme+0xbd/0x210 [ 47.347129][ T65] ? rescuer_thread+0x1340/0x1340 [ 47.347132][ T65] ? rescuer_thread+0x1340/0x1340 [ 47.347134][ T65] kthread+0x367/0x460 [ 47.347136][ T65] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 47.347139][ T65] ? kthread_affine_preferred+0x4c0/0x4c0 [ 47.347142][ T65] ret_from_fork+0x474/0x6b0 [ 47.347145][ T65] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 47.347149][ T65] ? __switch_to+0x5a3/0xe00 [ 47.347152][ T65] ? kthread_affine_preferred+0x4c0/0x4c0 [ 47.347154][ T65] ret_from_fork_asm+0x11/0x20 [ 47.347163][ T65] [ 47.410255][ T52] tun4: deleting peer with id 4, reason 2 [ 47.537303][ T9] tun5: deleting peer with id 5, reason 2 [ 47.602297][ T75] tun6: deleting peer with id 6, reason 2