[ 15.258760][ T308] ip (308) used greatest stack depth: 24544 bytes left [ 15.258775][ T308] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.258778][ T308] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 308, name: ip [ 15.258779][ T308] preempt_count: 2, expected: 0 [ 15.258780][ T308] RCU nest depth: 0, expected: 0 [ 15.258781][ T308] locks held by ip/308: 5, last CPU#3: [ 15.258783][ T308] #0: ffffffffa62127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 15.258794][ T308] #1: ffffffffa6379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.258801][ T308] #2: ffffffffa6379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.258804][ T308] #3: ffffffffa6299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.258808][ T308] #4: ffffffffa6299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 15.258812][ T308] irq event stamp: 40268 [ 15.258813][ T308] hardirqs last enabled at (40267): [] __down_trylock_console_sem+0x86/0xa0 [ 15.258816][ T308] hardirqs last disabled at (40268): [] console_emit_next_record+0x3d4/0x4c0 [ 15.258818][ T308] softirqs last enabled at (39914): [] handle_softirqs+0x67c/0x900 [ 15.258820][ T308] softirqs last disabled at (39907): [] __irq_exit_rcu+0x145/0x1c0 [ 15.258822][ T308] Preemption disabled at: [ 15.258823][ T308] [<0000000000000000>] 0x0 [ 15.258829][ T308] CPU: 3 UID: 0 PID: 308 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.258833][ T308] Tainted: [W]=WARN [ 15.258834][ T308] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.258835][ T308] Call Trace: [ 15.258837][ T308] [ 15.258838][ T308] dump_stack_lvl+0x6f/0xa0 [ 15.258844][ T308] __might_resched.cold+0x1fe/0x2c1 [ 15.258849][ T308] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.258853][ T308] ? __kmalloc_noprof+0xdb/0x760 [ 15.258858][ T308] __kmalloc_noprof+0x443/0x760 [ 15.258860][ T308] ? alloc_buf.isra.0+0x4b/0x260 [ 15.258866][ T308] ? do_raw_spin_unlock+0x59/0x250 [ 15.258869][ T308] alloc_buf.isra.0+0x4b/0x260 [ 15.258872][ T308] put_chars+0x1e1/0x2f0 [ 15.258875][ T308] ? __send_to_port+0x420/0x420 [ 15.258877][ T308] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.258881][ T308] ? validate_chain+0x38b/0xc20 [ 15.258886][ T308] hvc_console_print+0x292/0x780 [ 15.258893][ T308] ? hvc_write+0x3a0/0x3a0 [ 15.258895][ T308] ? rcu_is_watching+0x16/0xd0 [ 15.258898][ T308] ? lock_acquire+0x13c/0x160 [ 15.258902][ T308] console_emit_next_record+0x22f/0x4c0 [ 15.258905][ T308] ? devkmsg_read+0x4b0/0x4b0 [ 15.258907][ T308] ? console_flush_one_record+0x106/0x710 [ 15.258910][ T308] ? rcu_is_watching+0x16/0xd0 [ 15.258913][ T308] ? lock_acquire+0x13c/0x160 [ 15.258916][ T308] console_flush_one_record+0x46f/0x710 [ 15.258920][ T308] ? console_emit_next_record+0x4c0/0x4c0 [ 15.258922][ T308] ? __lock_acquire+0x518/0xc20 [ 15.258927][ T308] console_unlock+0xee/0x1f0 [ 15.258930][ T308] ? console_flush_one_record+0x710/0x710 [ 15.258932][ T308] ? rcu_is_watching+0x16/0xd0 [ 15.258934][ T308] ? lock_acquire+0x60/0x160 [ 15.258937][ T308] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.258939][ T308] ? vprintk_emit+0x320/0x3e0 [ 15.258942][ T308] vprintk_emit+0x37c/0x3e0 [ 15.258946][ T308] ? wake_up_klogd_work_func+0x90/0x90 [ 15.258950][ T308] ? __lock_acquire+0x518/0xc20 [ 15.258953][ T308] _printk+0xc7/0x100 [ 15.258956][ T308] ? snapshot_read.cold+0x21/0x21 [ 15.258959][ T308] ? do_raw_spin_lock+0x131/0x280 [ 15.258961][ T308] ? __rwlock_init+0x150/0x150 [ 15.258965][ T308] ? do_raw_spin_lock+0x131/0x280 [ 15.258968][ T308] do_exit.cold+0x82/0x9c [ 15.258971][ T308] ? exit_notify+0x890/0x890 [ 15.258973][ T308] ? __lock_release.isra.0+0x69/0x1a0 [ 15.258975][ T308] ? rcu_is_watching+0x16/0xd0 [ 15.258979][ T308] do_group_exit+0xb8/0x370 [ 15.258982][ T308] __x64_sys_exit_group+0x3c/0x50 [ 15.258984][ T308] x64_sys_call+0x1567/0x1570 [ 15.258987][ T308] do_syscall_64+0xff/0x530 [ 15.258990][ T308] ? exc_page_fault+0xee/0x100 [ 15.258993][ T308] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.258995][ T308] RIP: 0033:0x7f679c0421b8 [ 15.258997][ T308] Code: Unable to access opcode bytes at 0x7f679c04218e. [ 15.258998][ T308] RSP: 002b:00007ffc57a7f548 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 15.259001][ T308] RAX: ffffffffffffffda RBX: 00007f679c172f88 RCX: 00007f679c0421b8 [ 15.259002][ T308] RDX: 00007f679bd8cfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 15.259003][ T308] RBP: 00007ffc57a7f5a0 R08: 0000000000000000 R09: 0000000000000000 [ 15.259004][ T308] R10: 00007ffc57a7f360 R11: 0000000000000246 R12: 0000000000000001 [ 15.259005][ T308] R13: 0000000000000000 R14: 00007f679c171680 R15: 00007f679c172fa0 [ 15.259011][ T308] [ 15.348380][ T311] ip (311) used greatest stack depth: 24480 bytes left [ 15.953595][ T329] ip (329) used greatest stack depth: 23952 bytes left [ 28.223689][ T676] iperf3 (676) used greatest stack depth: 23152 bytes left [ 28.223709][ T676] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 28.223711][ T676] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 676, name: iperf3 [ 28.223713][ T676] preempt_count: 2, expected: 0 [ 28.223714][ T676] RCU nest depth: 0, expected: 0 [ 28.223714][ T676] locks held by iperf3/676: 5, last CPU#3: [ 28.223716][ T676] #0: ffffffffa62127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 28.223728][ T676] #1: ffffffffa6379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 28.223734][ T676] #2: ffffffffa6379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 28.223738][ T676] #3: ffffffffa6299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 28.223741][ T676] #4: ffffffffa6299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 28.223745][ T676] irq event stamp: 7659792 [ 28.223746][ T676] hardirqs last enabled at (7659791): [] __down_trylock_console_sem+0x86/0xa0 [ 28.223749][ T676] hardirqs last disabled at (7659792): [] console_emit_next_record+0x3d4/0x4c0 [ 28.223751][ T676] softirqs last enabled at (7658386): [] fpu__clear_user_states+0x104/0x290 [ 28.223754][ T676] softirqs last disabled at (7658384): [] fpu__clear_user_states+0x6d/0x290 [ 28.223756][ T676] Preemption disabled at: [ 28.223757][ T676] [<0000000000000000>] 0x0 [ 28.223764][ T676] CPU: 3 UID: 0 PID: 676 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 28.223768][ T676] Tainted: [W]=WARN [ 28.223769][ T676] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 28.223770][ T676] Call Trace: [ 28.223772][ T676] [ 28.223773][ T676] dump_stack_lvl+0x6f/0xa0 [ 28.223779][ T676] __might_resched.cold+0x1fe/0x2c1 [ 28.223783][ T676] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 28.223788][ T676] ? __kmalloc_noprof+0xdb/0x760 [ 28.223792][ T676] __kmalloc_noprof+0x443/0x760 [ 28.223795][ T676] ? alloc_buf.isra.0+0x4b/0x260 [ 28.223800][ T676] ? do_raw_spin_unlock+0x59/0x250 [ 28.223803][ T676] alloc_buf.isra.0+0x4b/0x260 [ 28.223806][ T676] put_chars+0x1e1/0x2f0 [ 28.223809][ T676] ? prb_final_commit+0x50/0x50 [ 28.223811][ T676] ? __send_to_port+0x420/0x420 [ 28.223814][ T676] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 28.223818][ T676] ? rcu_read_lock_any_held+0x3c/0x90 [ 28.223820][ T676] ? validate_chain+0x38b/0xc20 [ 28.223824][ T676] hvc_console_print+0x292/0x780 [ 28.223827][ T676] ? mark_usage+0x61/0x170 [ 28.223829][ T676] ? __lock_acquire+0x518/0xc20 [ 28.223831][ T676] ? __lock_acquire+0x518/0xc20 [ 28.223835][ T676] ? hvc_write+0x3a0/0x3a0 [ 28.223837][ T676] ? console_emit_next_record+0x1df/0x4c0 [ 28.223840][ T676] ? rcu_is_watching+0x16/0xd0 [ 28.223843][ T676] ? lock_acquire+0x13c/0x160 [ 28.223846][ T676] console_emit_next_record+0x22f/0x4c0 [ 28.223850][ T676] ? devkmsg_read+0x4b0/0x4b0 [ 28.223852][ T676] ? console_flush_one_record+0x106/0x710 [ 28.223855][ T676] ? rcu_is_watching+0x16/0xd0 [ 28.223857][ T676] ? lock_acquire+0x13c/0x160 [ 28.223861][ T676] console_flush_one_record+0x46f/0x710 [ 28.223865][ T676] ? console_emit_next_record+0x4c0/0x4c0 [ 28.223867][ T676] ? __lock_acquire+0x518/0xc20 [ 28.223872][ T676] console_unlock+0xee/0x1f0 [ 28.223875][ T676] ? console_flush_one_record+0x710/0x710 [ 28.223876][ T676] ? rcu_is_watching+0x16/0xd0 [ 28.223879][ T676] ? lock_acquire+0x60/0x160 [ 28.223882][ T676] ? __down_trylock_console_sem+0x5e/0xa0 [ 28.223884][ T676] ? vprintk_emit+0x320/0x3e0 [ 28.223887][ T676] vprintk_emit+0x37c/0x3e0 [ 28.223891][ T676] ? wake_up_klogd_work_func+0x90/0x90 [ 28.223894][ T676] ? __lock_acquire+0x518/0xc20 [ 28.223898][ T676] _printk+0xc7/0x100 [ 28.223901][ T676] ? snapshot_read.cold+0x21/0x21 [ 28.223904][ T676] ? do_raw_spin_lock+0x131/0x280 [ 28.223906][ T676] ? __rwlock_init+0x150/0x150 [ 28.223910][ T676] ? do_raw_spin_lock+0x131/0x280 [ 28.223913][ T676] do_exit.cold+0x82/0x9c [ 28.223916][ T676] ? exit_notify+0x890/0x890 [ 28.223921][ T676] __x64_sys_exit+0x42/0x50 [ 28.223923][ T676] x64_sys_call+0x156c/0x1570 [ 28.223926][ T676] do_syscall_64+0xff/0x530 [ 28.223929][ T676] ? exc_page_fault+0xee/0x100 [ 28.223932][ T676] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 28.223935][ T676] RIP: 0033:0x7f4b600c0c49 [ 28.223937][ T676] Code: Unable to access opcode bytes at 0x7f4b600c0c1f. [ 28.223938][ T676] RSP: 002b:00007f4b5f87fe60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 28.223941][ T676] RAX: ffffffffffffffda RBX: 00007f4b5f8806c0 RCX: 00007f4b600c0c49 [ 28.223942][ T676] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 28.223943][ T676] RBP: 00007f4b5f87ff70 R08: 0000000000000001 R09: 00007f4b5f8806c0 [ 28.223944][ T676] R10: 0000000000000008 R11: 0000000000000246 R12: 00007f4b5f080000 [ 28.223945][ T676] R13: 00007fff4404dad0 R14: 0000000000000002 R15: 00007fff4404dbd7 [ 28.223951][ T676] [ 30.003905][ T770] tun0: deleting peer with id 1, reason 1 [ 30.004077][ T770] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 30.004079][ T770] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 770, name: ovpn-cli [ 30.004081][ T770] preempt_count: 202, expected: 0 [ 30.004082][ T770] RCU nest depth: 0, expected: 0 [ 30.004083][ T770] locks held by ovpn-cli/770: 6, last CPU#3: [ 30.004085][ T770] #0: ffffffffa6b44ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 30.004098][ T770] #1: ff11000017629e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 30.004106][ T770] #2: ffffffffa6379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 30.004112][ T770] #3: ffffffffa6379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 30.004115][ T770] #4: ffffffffa6299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 30.004119][ T770] #5: ffffffffa6299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 30.004123][ T770] irq event stamp: 30677 [ 30.004123][ T770] hardirqs last enabled at (30676): [] __down_trylock_console_sem+0x86/0xa0 [ 30.004126][ T770] hardirqs last disabled at (30677): [] console_emit_next_record+0x3d4/0x4c0 [ 30.004128][ T770] softirqs last enabled at (30644): [] __alloc_skb+0x4c2/0x5f0 [ 30.004132][ T770] softirqs last disabled at (30672): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 30.004135][ T770] Preemption disabled at: [ 30.004136][ T770] [<0000000000000000>] 0x0 [ 30.004147][ T770] CPU: 3 UID: 0 PID: 770 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.004151][ T770] Tainted: [W]=WARN [ 30.004152][ T770] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.004154][ T770] Call Trace: [ 30.004155][ T770] [ 30.004157][ T770] dump_stack_lvl+0x6f/0xa0 [ 30.004163][ T770] __might_resched.cold+0x1fe/0x2c1 [ 30.004167][ T770] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 30.004171][ T770] ? __kmalloc_noprof+0xdb/0x760 [ 30.004176][ T770] __kmalloc_noprof+0x443/0x760 [ 30.004178][ T770] ? alloc_buf.isra.0+0x4b/0x260 [ 30.004184][ T770] ? do_raw_spin_unlock+0x59/0x250 [ 30.004187][ T770] alloc_buf.isra.0+0x4b/0x260 [ 30.004190][ T770] put_chars+0x1e1/0x2f0 [ 30.004193][ T770] ? __send_to_port+0x420/0x420 [ 30.004194][ T770] ? check_prev_add+0x316/0xe90 [ 30.004198][ T770] ? validate_chain+0x34a/0xc20 [ 30.004202][ T770] hvc_console_print+0x292/0x780 [ 30.004205][ T770] ? mark_usage+0x61/0x170 [ 30.004206][ T770] ? __lock_acquire+0x518/0xc20 [ 30.004208][ T770] ? __lock_acquire+0x518/0xc20 [ 30.004212][ T770] ? hvc_write+0x3a0/0x3a0 [ 30.004213][ T770] ? lock_acquire.part.0+0xd4/0x280 [ 30.004218][ T770] ? lock_acquire+0x13c/0x160 [ 30.004221][ T770] console_emit_next_record+0x22f/0x4c0 [ 30.004225][ T770] ? devkmsg_read+0x4b0/0x4b0 [ 30.004227][ T770] ? console_flush_one_record+0x106/0x710 [ 30.004230][ T770] ? rcu_is_watching+0x16/0xd0 [ 30.004234][ T770] ? lock_acquire+0x13c/0x160 [ 30.004237][ T770] console_flush_one_record+0x46f/0x710 [ 30.004241][ T770] ? console_emit_next_record+0x4c0/0x4c0 [ 30.004243][ T770] ? __lock_acquire+0x518/0xc20 [ 30.004248][ T770] console_unlock+0xee/0x1f0 [ 30.004251][ T770] ? console_flush_one_record+0x710/0x710 [ 30.004253][ T770] ? rcu_is_watching+0x16/0xd0 [ 30.004255][ T770] ? lock_acquire+0x60/0x160 [ 30.004258][ T770] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.004260][ T770] ? vprintk_emit+0x320/0x3e0 [ 30.004263][ T770] vprintk_emit+0x37c/0x3e0 [ 30.004267][ T770] ? wake_up_klogd_work_func+0x90/0x90 [ 30.004269][ T770] ? kernel_text_address+0x149/0x170 [ 30.004272][ T770] ? __kernel_text_address+0x12/0x30 [ 30.004273][ T770] ? write_profile+0xf0/0xf0 [ 30.004276][ T770] ? unwind_get_return_address+0x67/0xd0 [ 30.004280][ T770] _printk+0xc7/0x100 [ 30.004283][ T770] ? snapshot_read.cold+0x21/0x21 [ 30.004287][ T770] ? mark_usage+0x61/0x170 [ 30.004289][ T770] ? netdev_name+0x43/0x60 [ 30.004292][ T770] ? __netdev_printk+0x17f/0x1d0 [ 30.004295][ T770] netdev_info+0xe2/0x116 [ 30.004297][ T770] ? netdev_notice+0x120/0x120 [ 30.004298][ T770] ? find_held_lock+0x2b/0x80 [ 30.004301][ T770] ? mark_usage+0x61/0x170 [ 30.004304][ T770] ? __lock_acquire+0x518/0xc20 [ 30.004309][ T770] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 30.004314][ T770] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 30.004318][ T770] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 30.004323][ T770] ovpn_peer_remove+0x394/0x640 [ovpn] [ 30.004326][ T770] ? do_raw_spin_lock+0x131/0x280 [ 30.004329][ T770] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 30.004335][ T770] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 30.004339][ T770] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 30.004345][ T770] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 30.004348][ T770] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 30.004352][ T770] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 30.004354][ T770] ? ref_tracker_alloc+0x28d/0x430 [ 30.004364][ T770] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 30.004369][ T770] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 30.004374][ T770] genl_family_rcv_msg_doit+0x206/0x300 [ 30.004378][ T770] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 30.004380][ T770] ? __lock_release.isra.0+0x69/0x1a0 [ 30.004385][ T770] ? rcu_is_watching+0x16/0xd0 [ 30.004387][ T770] ? cap_capable+0x1d7/0x3d0 [ 30.004391][ T770] ? write_profile+0xf0/0xf0 [ 30.004392][ T770] ? unwind_get_return_address+0x67/0xd0 [ 30.004396][ T770] genl_family_rcv_msg+0x3a4/0x640 [ 30.004399][ T770] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 30.004402][ T770] ? rcu_read_lock_any_held+0x3c/0x90 [ 30.004404][ T770] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 30.004406][ T770] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 30.004409][ T770] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 30.004412][ T770] ? __lock_acquire+0x518/0xc20 [ 30.004417][ T770] genl_rcv_msg+0xbb/0x160 [ 30.004421][ T770] netlink_rcv_skb+0x14e/0x3a0 [ 30.004423][ T770] ? genl_family_rcv_msg+0x640/0x640 [ 30.004426][ T770] ? netlink_ack+0xcf0/0xcf0 [ 30.004433][ T770] ? netlink_deliver_tap+0xc5/0x330 [ 30.004435][ T770] ? netlink_deliver_tap+0x13c/0x330 [ 30.004439][ T770] genl_rcv+0x28/0x40 [ 30.004441][ T770] netlink_unicast+0x486/0x750 [ 30.004445][ T770] ? netlink_attachskb+0x810/0x810 [ 30.004448][ T770] ? __lock_acquire+0x518/0xc20 [ 30.004452][ T770] netlink_sendmsg+0x735/0xc60 [ 30.004456][ T770] ? netlink_unicast+0x750/0x750 [ 30.004460][ T770] ? __might_fault+0x97/0x140 [ 30.004465][ T770] ____sys_sendmsg+0x415/0x880 [ 30.004468][ T770] ? copy_msghdr_from_user+0x279/0x420 [ 30.004471][ T770] ? get_timestamp.constprop.0+0x390/0x390 [ 30.004472][ T770] ? move_addr_to_kernel+0x40/0x40 [ 30.004479][ T770] ___sys_sendmsg+0x14e/0x1d0 [ 30.004482][ T770] ? copy_msghdr_from_user+0x420/0x420 [ 30.004484][ T770] ? kfree+0x22/0x590 [ 30.004499][ T770] __sys_sendmsg+0x12c/0x1d0 [ 30.004502][ T770] ? __sys_sendmsg_sock+0x20/0x20 [ 30.004507][ T770] ? rcu_is_watching+0x16/0xd0 [ 30.004510][ T770] ? rcu_is_watching+0x16/0xd0 [ 30.004513][ T770] do_syscall_64+0xff/0x530 [ 30.004516][ T770] ? exc_page_fault+0xee/0x100 [ 30.004519][ T770] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.004521][ T770] RIP: 0033:0x7f04b98a354e [ 30.004523][ T770] 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.004525][ T770] RSP: 002b:00007ffd80615d00 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 30.004528][ T770] RAX: ffffffffffffffda RBX: 000000002d6a2130 RCX: 00007f04b98a354e [ 30.004529][ T770] RDX: 0000000000000000 RSI: 00007ffd80615da0 RDI: 0000000000000005 [ 30.004530][ T770] RBP: 00007ffd80615d10 R08: 0000000000000000 R09: 0000000000000000 [ 30.004530][ T770] R10: 0000000000000000 R11: 0000000000000202 R12: 000000002d6a2200 [ 30.004531][ T770] R13: 00007ffd80615da0 R14: 000000002d6a3260 R15: 000000000040bda8 [ 30.004538][ T770] [ 30.136451][ T774] tun1: deleting peer with id 10, reason 1 [ 33.015878][ T822] tun0: deleting peer with id 2, reason 1 [ 33.015897][ T822] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 33.015899][ T822] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 822, name: ovpn-cli [ 33.015901][ T822] preempt_count: 202, expected: 0 [ 33.015902][ T822] RCU nest depth: 0, expected: 0 [ 33.015903][ T822] locks held by ovpn-cli/822: 6, last CPU#3: [ 33.015905][ T822] #0: ffffffffa6b44ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 33.015917][ T822] #1: ff11000017629e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 33.015925][ T822] #2: ffffffffa6379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 33.015931][ T822] #3: ffffffffa6379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 33.015935][ T822] #4: ffffffffa6299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 33.015939][ T822] #5: ffffffffa6299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 33.015943][ T822] irq event stamp: 28813 [ 33.015943][ T822] hardirqs last enabled at (28812): [] __down_trylock_console_sem+0x86/0xa0 [ 33.015946][ T822] hardirqs last disabled at (28813): [] console_emit_next_record+0x3d4/0x4c0 [ 33.015948][ T822] softirqs last enabled at (28780): [] __alloc_skb+0x4c2/0x5f0 [ 33.015952][ T822] softirqs last disabled at (28808): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 33.015955][ T822] Preemption disabled at: [ 33.015956][ T822] [<0000000000000000>] 0x0 [ 33.015962][ T822] CPU: 3 UID: 0 PID: 822 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 33.015966][ T822] Tainted: [W]=WARN [ 33.015967][ T822] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 33.015968][ T822] Call Trace: [ 33.015970][ T822] [ 33.015972][ T822] dump_stack_lvl+0x6f/0xa0 [ 33.015978][ T822] __might_resched.cold+0x1fe/0x2c1 [ 33.015982][ T822] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 33.015986][ T822] ? __kmalloc_noprof+0xdb/0x760 [ 33.015991][ T822] __kmalloc_noprof+0x443/0x760 [ 33.015993][ T822] ? alloc_buf.isra.0+0x4b/0x260 [ 33.015999][ T822] ? do_raw_spin_unlock+0x59/0x250 [ 33.016002][ T822] alloc_buf.isra.0+0x4b/0x260 [ 33.016005][ T822] put_chars+0x1e1/0x2f0 [ 33.016008][ T822] ? __send_to_port+0x420/0x420 [ 33.016011][ T822] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 33.016015][ T822] ? rcu_read_lock_any_held+0x3c/0x90 [ 33.016018][ T822] ? validate_chain+0x38b/0xc20 [ 33.016022][ T822] hvc_console_print+0x292/0x780 [ 33.016025][ T822] ? mark_usage+0x61/0x170 [ 33.016026][ T822] ? __lock_acquire+0x518/0xc20 [ 33.016028][ T822] ? __lock_acquire+0x518/0xc20 [ 33.016032][ T822] ? hvc_write+0x3a0/0x3a0 [ 33.016034][ T822] ? lock_acquire.part.0+0xd4/0x280 [ 33.016038][ T822] ? lock_acquire+0x13c/0x160 [ 33.016041][ T822] console_emit_next_record+0x22f/0x4c0 [ 33.016045][ T822] ? devkmsg_read+0x4b0/0x4b0 [ 33.016047][ T822] ? console_flush_one_record+0x106/0x710 [ 33.016050][ T822] ? rcu_is_watching+0x16/0xd0 [ 33.016053][ T822] ? lock_acquire+0x13c/0x160 [ 33.016056][ T822] console_flush_one_record+0x46f/0x710 [ 33.016060][ T822] ? console_emit_next_record+0x4c0/0x4c0 [ 33.016062][ T822] ? __lock_acquire+0x518/0xc20 [ 33.016067][ T822] console_unlock+0xee/0x1f0 [ 33.016070][ T822] ? console_flush_one_record+0x710/0x710 [ 33.016072][ T822] ? rcu_is_watching+0x16/0xd0 [ 33.016074][ T822] ? lock_acquire+0x60/0x160 [ 33.016078][ T822] ? __down_trylock_console_sem+0x5e/0xa0 [ 33.016080][ T822] ? vprintk_emit+0x320/0x3e0 [ 33.016083][ T822] vprintk_emit+0x37c/0x3e0 [ 33.016087][ T822] ? wake_up_klogd_work_func+0x90/0x90 [ 33.016088][ T822] ? kernel_text_address+0x149/0x170 [ 33.016091][ T822] ? __kernel_text_address+0x12/0x30 [ 33.016093][ T822] ? write_profile+0xf0/0xf0 [ 33.016095][ T822] ? unwind_get_return_address+0x67/0xd0 [ 33.016100][ T822] _printk+0xc7/0x100 [ 33.016103][ T822] ? snapshot_read.cold+0x21/0x21 [ 33.016107][ T822] ? mark_usage+0x61/0x170 [ 33.016109][ T822] ? netdev_name+0x43/0x60 [ 33.016112][ T822] ? __netdev_printk+0x17f/0x1d0 [ 33.016115][ T822] netdev_info+0xe2/0x116 [ 33.016118][ T822] ? netdev_notice+0x120/0x120 [ 33.016119][ T822] ? find_held_lock+0x2b/0x80 [ 33.016121][ T822] ? mark_usage+0x61/0x170 [ 33.016124][ T822] ? __lock_acquire+0x518/0xc20 [ 33.016130][ T822] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 33.016135][ T822] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 33.016139][ T822] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 33.016144][ T822] ovpn_peer_remove+0x394/0x640 [ovpn] [ 33.016148][ T822] ? do_raw_spin_lock+0x131/0x280 [ 33.016150][ T822] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 33.016161][ T822] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 33.016165][ T822] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 33.016172][ T822] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 33.016175][ T822] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 33.016178][ T822] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 33.016181][ T822] ? ref_tracker_alloc+0x28d/0x430 [ 33.016193][ T822] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 33.016198][ T822] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 33.016203][ T822] genl_family_rcv_msg_doit+0x206/0x300 [ 33.016207][ T822] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 33.016209][ T822] ? __lock_release.isra.0+0x69/0x1a0 [ 33.016214][ T822] ? rcu_is_watching+0x16/0xd0 [ 33.016217][ T822] ? cap_capable+0x1d7/0x3d0 [ 33.016220][ T822] ? write_profile+0xf0/0xf0 [ 33.016222][ T822] ? unwind_get_return_address+0x67/0xd0 [ 33.016225][ T822] genl_family_rcv_msg+0x3a4/0x640 [ 33.016229][ T822] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 33.016231][ T822] ? rcu_read_lock_any_held+0x3c/0x90 [ 33.016233][ T822] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 33.016236][ T822] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 33.016238][ T822] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 33.016241][ T822] ? __lock_acquire+0x518/0xc20 [ 33.016247][ T822] genl_rcv_msg+0xbb/0x160 [ 33.016250][ T822] netlink_rcv_skb+0x14e/0x3a0 [ 33.016252][ T822] ? genl_family_rcv_msg+0x640/0x640 [ 33.016255][ T822] ? netlink_ack+0xcf0/0xcf0 [ 33.016262][ T822] ? netlink_deliver_tap+0xc5/0x330 [ 33.016264][ T822] ? netlink_deliver_tap+0x13c/0x330 [ 33.016268][ T822] genl_rcv+0x28/0x40 [ 33.016270][ T822] netlink_unicast+0x486/0x750 [ 33.016274][ T822] ? netlink_attachskb+0x810/0x810 [ 33.016277][ T822] ? __lock_acquire+0x518/0xc20 [ 33.016281][ T822] netlink_sendmsg+0x735/0xc60 [ 33.016285][ T822] ? netlink_unicast+0x750/0x750 [ 33.016289][ T822] ? __might_fault+0x97/0x140 [ 33.016295][ T822] ____sys_sendmsg+0x415/0x880 [ 33.016299][ T822] ? copy_msghdr_from_user+0x279/0x420 [ 33.016301][ T822] ? get_timestamp.constprop.0+0x390/0x390 [ 33.016303][ T822] ? move_addr_to_kernel+0x40/0x40 [ 33.016311][ T822] ___sys_sendmsg+0x14e/0x1d0 [ 33.016313][ T822] ? copy_msghdr_from_user+0x420/0x420 [ 33.016315][ T822] ? kfree+0x22/0x590 [ 33.016330][ T822] __sys_sendmsg+0x12c/0x1d0 [ 33.016333][ T822] ? __sys_sendmsg_sock+0x20/0x20 [ 33.016339][ T822] ? rcu_is_watching+0x16/0xd0 [ 33.016341][ T822] ? rcu_is_watching+0x16/0xd0 [ 33.016345][ T822] do_syscall_64+0xff/0x530 [ 33.016348][ T822] ? exc_page_fault+0xee/0x100 [ 33.016350][ T822] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 33.016353][ T822] RIP: 0033:0x7f1add4fe54e [ 33.016355][ T822] 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.016357][ T822] RSP: 002b:00007ffe718dffd0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 33.016359][ T822] RAX: ffffffffffffffda RBX: 000000001cd96130 RCX: 00007f1add4fe54e [ 33.016361][ T822] RDX: 0000000000000000 RSI: 00007ffe718e0070 RDI: 0000000000000005 [ 33.016362][ T822] RBP: 00007ffe718dffe0 R08: 0000000000000000 R09: 0000000000000000 [ 33.016362][ T822] R10: 0000000000000000 R11: 0000000000000202 R12: 000000001cd96200 [ 33.016363][ T822] R13: 00007ffe718e0070 R14: 000000001cd97260 R15: 000000000040bda8 [ 33.016370][ T822] [ 33.145637][ T826] tun2: deleting peer with id 11, reason 1 [ 38.176453][ T64] tun0: deleting peer with id 4, reason 2 [ 38.176522][ T64] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 38.176524][ T64] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 64, name: kworker/2:2 [ 38.176525][ T64] preempt_count: 202, expected: 0 [ 38.176526][ T64] RCU nest depth: 0, expected: 0 [ 38.176527][ T64] locks held by kworker/2:2/64: 7, last CPU#2: [ 38.176530][ T64] #0: ff110000095dd740 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 38.176541][ T64] #1: ffa0000000457d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 38.176545][ T64] #2: ff11000017629e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 38.176554][ T64] #3: ffffffffa6379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 38.176559][ T64] #4: ffffffffa6379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 38.176562][ T64] #5: ffffffffa6299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 38.176566][ T64] #6: ffffffffa6299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 38.176570][ T64] irq event stamp: 20673 [ 38.176570][ T64] hardirqs last enabled at (20672): [] __down_trylock_console_sem+0x86/0xa0 [ 38.176573][ T64] hardirqs last disabled at (20673): [] console_emit_next_record+0x3d4/0x4c0 [ 38.176575][ T64] softirqs last enabled at (20640): [] process_one_work+0xe3e/0x1560 [ 38.176577][ T64] softirqs last disabled at (20666): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 38.176580][ T64] Preemption disabled at: [ 38.176581][ T64] [<0000000000000000>] 0x0 [ 38.176588][ T64] CPU: 2 UID: 0 PID: 64 Comm: kworker/2:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 38.176592][ T64] Tainted: [W]=WARN [ 38.176593][ T64] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 38.176595][ T64] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 38.176599][ T64] Call Trace: [ 38.176601][ T64] [ 38.176604][ T64] dump_stack_lvl+0x6f/0xa0 [ 38.176610][ T64] __might_resched.cold+0x1fe/0x2c1 [ 38.176615][ T64] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 38.176619][ T64] ? __kmalloc_noprof+0xdb/0x760 [ 38.176624][ T64] __kmalloc_noprof+0x443/0x760 [ 38.176626][ T64] ? alloc_buf.isra.0+0x4b/0x260 [ 38.176632][ T64] ? do_raw_spin_unlock+0x59/0x250 [ 38.176634][ T64] alloc_buf.isra.0+0x4b/0x260 [ 38.176638][ T64] put_chars+0x1e1/0x2f0 [ 38.176641][ T64] ? __send_to_port+0x420/0x420 [ 38.176645][ T64] ? validate_chain+0x34a/0xc20 [ 38.176649][ T64] hvc_console_print+0x292/0x780 [ 38.176652][ T64] ? mark_usage+0x61/0x170 [ 38.176654][ T64] ? __lock_acquire+0x518/0xc20 [ 38.176656][ T64] ? __lock_acquire+0x518/0xc20 [ 38.176660][ T64] ? hvc_write+0x3a0/0x3a0 [ 38.176662][ T64] ? console_emit_next_record+0x1df/0x4c0 [ 38.176665][ T64] ? rcu_is_watching+0x16/0xd0 [ 38.176669][ T64] ? lock_acquire+0x13c/0x160 [ 38.176673][ T64] console_emit_next_record+0x22f/0x4c0 [ 38.176677][ T64] ? devkmsg_read+0x4b0/0x4b0 [ 38.176678][ T64] ? console_flush_one_record+0x106/0x710 [ 38.176682][ T64] ? rcu_is_watching+0x16/0xd0 [ 38.176684][ T64] ? lock_acquire+0x13c/0x160 [ 38.176688][ T64] console_flush_one_record+0x46f/0x710 [ 38.176692][ T64] ? console_emit_next_record+0x4c0/0x4c0 [ 38.176694][ T64] ? __lock_acquire+0x518/0xc20 [ 38.176699][ T64] console_unlock+0xee/0x1f0 [ 38.176702][ T64] ? console_flush_one_record+0x710/0x710 [ 38.176704][ T64] ? rcu_is_watching+0x16/0xd0 [ 38.176706][ T64] ? lock_acquire+0x60/0x160 [ 38.176710][ T64] ? __down_trylock_console_sem+0x5e/0xa0 [ 38.176711][ T64] ? vprintk_emit+0x320/0x3e0 [ 38.176715][ T64] vprintk_emit+0x37c/0x3e0 [ 38.176718][ T64] ? wake_up_klogd_work_func+0x90/0x90 [ 38.176720][ T64] ? ret_from_fork_asm+0x11/0x20 [ 38.176724][ T64] ? stack_access_ok+0x1e0/0x1e0 [ 38.176729][ T64] _printk+0xc7/0x100 [ 38.176732][ T64] ? snapshot_read.cold+0x21/0x21 [ 38.176735][ T64] ? write_profile+0xf0/0xf0 [ 38.176738][ T64] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 38.176740][ T64] ? netdev_name+0x43/0x60 [ 38.176744][ T64] ? __netdev_printk+0x17f/0x1d0 [ 38.176747][ T64] netdev_info+0xe2/0x116 [ 38.176749][ T64] ? netdev_notice+0x120/0x120 [ 38.176751][ T64] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.176756][ T64] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 38.176759][ T64] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.176762][ T64] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 38.176768][ T64] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 38.176775][ T64] ovpn_peer_remove+0x394/0x640 [ovpn] [ 38.176780][ T64] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 38.176783][ T64] ? __rwlock_init+0x150/0x150 [ 38.176785][ T64] ? mark_held_locks+0x40/0x70 [ 38.176789][ T64] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 38.176794][ T64] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 38.176796][ T64] ? __rwlock_init+0x150/0x150 [ 38.176802][ T64] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 38.176806][ T64] ? process_one_work+0xdfc/0x1560 [ 38.176809][ T64] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 38.176812][ T64] ? rcu_is_watching+0x16/0xd0 [ 38.176814][ T64] ? lock_acquire+0x13c/0x160 [ 38.176816][ T64] ? rcu_is_watching+0x16/0xd0 [ 38.176820][ T64] process_one_work+0xe3e/0x1560 [ 38.176826][ T64] ? __queue_delayed_work+0x470/0x470 [ 38.176829][ T64] ? lock_acquire.part.0+0xd4/0x280 [ 38.176837][ T64] worker_thread+0x4f1/0xd60 [ 38.176841][ T64] ? rescuer_thread+0x1340/0x1340 [ 38.176843][ T64] ? __kthread_parkme+0xbd/0x210 [ 38.176846][ T64] ? rescuer_thread+0x1340/0x1340 [ 38.176849][ T64] ? rescuer_thread+0x1340/0x1340 [ 38.176851][ T64] kthread+0x367/0x460 [ 38.176853][ T64] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 38.176856][ T64] ? kthread_affine_preferred+0x4c0/0x4c0 [ 38.176858][ T64] ret_from_fork+0x474/0x6b0 [ 38.176863][ T64] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 38.176866][ T64] ? __switch_to+0x5a3/0xe00 [ 38.176869][ T64] ? kthread_affine_preferred+0x4c0/0x4c0 [ 38.176872][ T64] ret_from_fork_asm+0x11/0x20 [ 38.176879][ T64] [ 38.206092][ T64] tun0: deleting peer with id 3, reason 2 [ 38.206500][ T64] tun0: deleting peer with id 5, reason 2 [ 39.263224][ T64] tun0: deleting peer with id 6, reason 2 [ 39.263247][ T64] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 39.263250][ T64] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 64, name: kworker/2:2 [ 39.263252][ T64] preempt_count: 202, expected: 0 [ 39.263253][ T64] RCU nest depth: 0, expected: 0 [ 39.263254][ T64] locks held by kworker/2:2/64: 7, last CPU#2: [ 39.263256][ T64] #0: ff110000095dd740 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 39.263268][ T64] #1: ffa0000000457d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 39.263272][ T64] #2: ff11000017629e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 39.263280][ T64] #3: ffffffffa6379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 39.263285][ T64] #4: ffffffffa6379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 39.263289][ T64] #5: ffffffffa6299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 39.263293][ T64] #6: ffffffffa6299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 39.263297][ T64] irq event stamp: 21755 [ 39.263298][ T64] hardirqs last enabled at (21754): [] __down_trylock_console_sem+0x86/0xa0 [ 39.263300][ T64] hardirqs last disabled at (21755): [] console_emit_next_record+0x3d4/0x4c0 [ 39.263302][ T64] softirqs last enabled at (21530): [] ovpn_peer_release+0x37/0xe0 [ovpn] [ 39.263306][ T64] softirqs last disabled at (21748): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 39.263309][ T64] Preemption disabled at: [ 39.263310][ T64] [<0000000000000000>] 0x0 [ 39.263318][ T64] CPU: 2 UID: 0 PID: 64 Comm: kworker/2:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 39.263321][ T64] Tainted: [W]=WARN [ 39.263322][ T64] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 39.263324][ T64] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 39.263329][ T64] Call Trace: [ 39.263331][ T64] [ 39.263333][ T64] dump_stack_lvl+0x6f/0xa0 [ 39.263340][ T64] __might_resched.cold+0x1fe/0x2c1 [ 39.263344][ T64] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 39.263348][ T64] ? __kmalloc_noprof+0xdb/0x760 [ 39.263353][ T64] __kmalloc_noprof+0x443/0x760 [ 39.263355][ T64] ? alloc_buf.isra.0+0x4b/0x260 [ 39.263361][ T64] ? do_raw_spin_unlock+0x59/0x250 [ 39.263364][ T64] alloc_buf.isra.0+0x4b/0x260 [ 39.263367][ T64] put_chars+0x1e1/0x2f0 [ 39.263369][ T64] ? prb_final_commit+0x50/0x50 [ 39.263371][ T64] ? __send_to_port+0x420/0x420 [ 39.263374][ T64] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 39.263379][ T64] ? rcu_read_lock_any_held+0x3c/0x90 [ 39.263381][ T64] ? validate_chain+0x38b/0xc20 [ 39.263385][ T64] hvc_console_print+0x292/0x780 [ 39.263388][ T64] ? mark_usage+0x61/0x170 [ 39.263390][ T64] ? __lock_acquire+0x518/0xc20 [ 39.263392][ T64] ? __lock_acquire+0x518/0xc20 [ 39.263396][ T64] ? hvc_write+0x3a0/0x3a0 [ 39.263398][ T64] ? console_emit_next_record+0x1df/0x4c0 [ 39.263401][ T64] ? rcu_is_watching+0x16/0xd0 [ 39.263404][ T64] ? lock_acquire+0x13c/0x160 [ 39.263408][ T64] console_emit_next_record+0x22f/0x4c0 [ 39.263411][ T64] ? devkmsg_read+0x4b0/0x4b0 [ 39.263413][ T64] ? console_flush_one_record+0x106/0x710 [ 39.263416][ T64] ? rcu_is_watching+0x16/0xd0 [ 39.263419][ T64] ? lock_acquire+0x13c/0x160 [ 39.263423][ T64] console_flush_one_record+0x46f/0x710 [ 39.263427][ T64] ? console_emit_next_record+0x4c0/0x4c0 [ 39.263428][ T64] ? __lock_acquire+0x518/0xc20 [ 39.263434][ T64] console_unlock+0xee/0x1f0 [ 39.263437][ T64] ? console_flush_one_record+0x710/0x710 [ 39.263438][ T64] ? rcu_is_watching+0x16/0xd0 [ 39.263441][ T64] ? lock_acquire+0x60/0x160 [ 39.263444][ T64] ? __down_trylock_console_sem+0x5e/0xa0 [ 39.263446][ T64] ? vprintk_emit+0x320/0x3e0 [ 39.263449][ T64] vprintk_emit+0x37c/0x3e0 [ 39.263453][ T64] ? wake_up_klogd_work_func+0x90/0x90 [ 39.263455][ T64] ? unwind_next_frame+0x69b/0x1ea0 [ 39.263458][ T64] ? ret_from_fork_asm+0x11/0x20 [ 39.263463][ T64] _printk+0xc7/0x100 [ 39.263466][ T64] ? snapshot_read.cold+0x21/0x21 [ 39.263470][ T64] ? netdev_name+0x43/0x60 [ 39.263474][ T64] ? __netdev_printk+0x17f/0x1d0 [ 39.263477][ T64] netdev_info+0xe2/0x116 [ 39.263479][ T64] ? netdev_notice+0x120/0x120 [ 39.263481][ T64] ? rcu_read_lock_any_held+0x3c/0x90 [ 39.263486][ T64] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 39.263489][ T64] ? rcu_read_lock_any_held+0x3c/0x90 [ 39.263492][ T64] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 39.263498][ T64] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 39.263504][ T64] ovpn_peer_remove+0x394/0x640 [ovpn] [ 39.263508][ T64] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 39.263511][ T64] ? __rwlock_init+0x150/0x150 [ 39.263513][ T64] ? mark_held_locks+0x40/0x70 [ 39.263517][ T64] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 39.263522][ T64] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 39.263524][ T64] ? __rwlock_init+0x150/0x150 [ 39.263529][ T64] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 39.263534][ T64] ? process_one_work+0xdfc/0x1560 [ 39.263536][ T64] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 39.263539][ T64] ? rcu_is_watching+0x16/0xd0 [ 39.263542][ T64] ? lock_acquire+0x13c/0x160 [ 39.263543][ T64] ? rcu_is_watching+0x16/0xd0 [ 39.263547][ T64] process_one_work+0xe3e/0x1560 [ 39.263554][ T64] ? __queue_delayed_work+0x470/0x470 [ 39.263557][ T64] ? lock_acquire.part.0+0xd4/0x280 [ 39.263564][ T64] worker_thread+0x4f1/0xd60 [ 39.263568][ T64] ? rescuer_thread+0x1340/0x1340 [ 39.263570][ T64] ? __kthread_parkme+0xbd/0x210 [ 39.263573][ T64] ? rescuer_thread+0x1340/0x1340 [ 39.263576][ T64] ? rescuer_thread+0x1340/0x1340 [ 39.263578][ T64] kthread+0x367/0x460 [ 39.263580][ T64] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 39.263583][ T64] ? kthread_affine_preferred+0x4c0/0x4c0 [ 39.263586][ T64] ret_from_fork+0x474/0x6b0 [ 39.263590][ T64] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 39.263593][ T64] ? __switch_to+0x5a3/0xe00 [ 39.263596][ T64] ? kthread_affine_preferred+0x4c0/0x4c0 [ 39.263599][ T64] ret_from_fork_asm+0x11/0x20 [ 39.263607][ T64] [ 44.383788][ T10] tun3: deleting peer with id 12, reason 2 [ 44.383810][ T10] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 44.383812][ T10] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 [ 44.383813][ T10] preempt_count: 202, expected: 0 [ 44.383814][ T10] RCU nest depth: 0, expected: 0 [ 44.383815][ T10] locks held by kworker/0:1/10: 7, last CPU#0: [ 44.383818][ T10] #0: ff110000095dd740 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 44.383830][ T10] #1: ffa00000000a7d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 44.383834][ T10] #2: ff11000013689e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 44.383841][ T10] #3: ffffffffa6379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 44.383846][ T10] #4: ffffffffa6379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 44.383850][ T10] #5: ffffffffa6299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 44.383854][ T10] #6: ffffffffa6299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 44.383858][ T10] irq event stamp: 37399 [ 44.383859][ T10] hardirqs last enabled at (37398): [] __down_trylock_console_sem+0x86/0xa0 [ 44.383861][ T10] hardirqs last disabled at (37399): [] console_emit_next_record+0x3d4/0x4c0 [ 44.383863][ T10] softirqs last enabled at (37310): [] handle_softirqs+0x67c/0x900 [ 44.383866][ T10] softirqs last disabled at (37388): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 44.383869][ T10] Preemption disabled at: [ 44.383870][ T10] [<0000000000000000>] 0x0 [ 44.383877][ T10] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 44.383881][ T10] Tainted: [W]=WARN [ 44.383882][ T10] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 44.383884][ T10] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 44.383889][ T10] Call Trace: [ 44.383891][ T10] [ 44.383892][ T10] dump_stack_lvl+0x6f/0xa0 [ 44.383899][ T10] __might_resched.cold+0x1fe/0x2c1 [ 44.383903][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 44.383907][ T10] ? __kmalloc_noprof+0xdb/0x760 [ 44.383912][ T10] __kmalloc_noprof+0x443/0x760 [ 44.383915][ T10] ? alloc_buf.isra.0+0x4b/0x260 [ 44.383921][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 44.383924][ T10] alloc_buf.isra.0+0x4b/0x260 [ 44.383927][ T10] put_chars+0x1e1/0x2f0 [ 44.383929][ T10] ? prb_final_commit+0x50/0x50 [ 44.383931][ T10] ? __send_to_port+0x420/0x420 [ 44.383935][ T10] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 44.383939][ T10] ? rcu_read_lock_any_held+0x3c/0x90 [ 44.383941][ T10] ? validate_chain+0x38b/0xc20 [ 44.383945][ T10] hvc_console_print+0x292/0x780 [ 44.383949][ T10] ? mark_usage+0x61/0x170 [ 44.383950][ T10] ? __lock_acquire+0x518/0xc20 [ 44.383952][ T10] ? __lock_acquire+0x518/0xc20 [ 44.383956][ T10] ? hvc_write+0x3a0/0x3a0 [ 44.383958][ T10] ? console_emit_next_record+0x1df/0x4c0 [ 44.383961][ T10] ? rcu_is_watching+0x16/0xd0 [ 44.383964][ T10] ? lock_acquire+0x13c/0x160 [ 44.383968][ T10] console_emit_next_record+0x22f/0x4c0 [ 44.383972][ T10] ? devkmsg_read+0x4b0/0x4b0 [ 44.383974][ T10] ? console_flush_one_record+0x106/0x710 [ 44.383977][ T10] ? rcu_is_watching+0x16/0xd0 [ 44.383979][ T10] ? lock_acquire+0x13c/0x160 [ 44.383983][ T10] console_flush_one_record+0x46f/0x710 [ 44.383987][ T10] ? console_emit_next_record+0x4c0/0x4c0 [ 44.383989][ T10] ? __lock_acquire+0x518/0xc20 [ 44.383994][ T10] console_unlock+0xee/0x1f0 [ 44.383997][ T10] ? console_flush_one_record+0x710/0x710 [ 44.383999][ T10] ? rcu_is_watching+0x16/0xd0 [ 44.384001][ T10] ? lock_acquire+0x60/0x160 [ 44.384005][ T10] ? __down_trylock_console_sem+0x5e/0xa0 [ 44.384006][ T10] ? vprintk_emit+0x320/0x3e0 [ 44.384010][ T10] vprintk_emit+0x37c/0x3e0 [ 44.384013][ T10] ? wake_up_klogd_work_func+0x90/0x90 [ 44.384016][ T10] ? __lock_release.isra.0+0x69/0x1a0 [ 44.384021][ T10] _printk+0xc7/0x100 [ 44.384024][ T10] ? snapshot_read.cold+0x21/0x21 [ 44.384026][ T10] ? try_to_wake_up+0x153/0x1130 [ 44.384029][ T10] ? select_fallback_rq+0x510/0x510 [ 44.384032][ T10] ? netdev_name+0x43/0x60 [ 44.384035][ T10] ? __netdev_printk+0x17f/0x1d0 [ 44.384038][ T10] netdev_info+0xe2/0x116 [ 44.384041][ T10] ? netdev_notice+0x120/0x120 [ 44.384045][ T10] ? __queue_work+0x3ab/0xd30 [ 44.384051][ T10] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 44.384056][ T10] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 44.384059][ T10] ? mark_held_locks+0x40/0x70 [ 44.384062][ T10] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 44.384063][ T10] ? lockdep_hardirqs_on+0x91/0x130 [ 44.384069][ T10] ovpn_peer_remove+0x394/0x640 [ovpn] [ 44.384073][ T10] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 44.384076][ T10] ? __rwlock_init+0x150/0x150 [ 44.384078][ T10] ? mark_held_locks+0x40/0x70 [ 44.384083][ T10] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 44.384087][ T10] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 44.384089][ T10] ? __rwlock_init+0x150/0x150 [ 44.384095][ T10] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 44.384099][ T10] ? process_one_work+0xdfc/0x1560 [ 44.384101][ T10] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 44.384105][ T10] ? rcu_is_watching+0x16/0xd0 [ 44.384107][ T10] ? lock_acquire+0x13c/0x160 [ 44.384109][ T10] ? rcu_is_watching+0x16/0xd0 [ 44.384112][ T10] ? process_one_work+0xdfc/0x1560 [ 44.384114][ T10] process_one_work+0xe3e/0x1560 [ 44.384120][ T10] ? __queue_delayed_work+0x470/0x470 [ 44.384123][ T10] ? lock_acquire.part.0+0xd4/0x280 [ 44.384130][ T10] worker_thread+0x4f1/0xd60 [ 44.384134][ T10] ? rescuer_thread+0x1340/0x1340 [ 44.384136][ T10] ? __kthread_parkme+0xbd/0x210 [ 44.384140][ T10] ? rescuer_thread+0x1340/0x1340 [ 44.384142][ T10] ? rescuer_thread+0x1340/0x1340 [ 44.384144][ T10] kthread+0x367/0x460 [ 44.384146][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 44.384149][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 44.384152][ T10] ret_from_fork+0x474/0x6b0 [ 44.384156][ T10] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 44.384159][ T10] ? __switch_to+0x5a3/0xe00 [ 44.384162][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 44.384165][ T10] ret_from_fork_asm+0x11/0x20 [ 44.384173][ T10] [ 44.448260][ T64] tun4: deleting peer with id 13, reason 2 [ 44.511232][ T10] tun5: deleting peer with id 14, reason 2 [ 44.640254][ T64] tun6: deleting peer with id 15, reason 2