[ 14.742554][ T301] ip (301) used greatest stack depth: 23712 bytes left [ 14.742569][ T301] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.742571][ T301] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 301, name: ip [ 14.742572][ T301] preempt_count: 2, expected: 0 [ 14.742573][ T301] RCU nest depth: 0, expected: 0 [ 14.742574][ T301] locks held by ip/301: 5, last CPU#0: [ 14.742576][ T301] #0: ffffffffb80127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 14.742588][ T301] #1: ffffffffb8179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.742593][ T301] #2: ffffffffb8179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.742597][ T301] #3: ffffffffb8099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.742601][ T301] #4: ffffffffb8099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 14.742605][ T301] irq event stamp: 40470 [ 14.742606][ T301] hardirqs last enabled at (40469): [] __down_trylock_console_sem+0x86/0xa0 [ 14.742608][ T301] hardirqs last disabled at (40470): [] console_emit_next_record+0x3d4/0x4c0 [ 14.742610][ T301] softirqs last enabled at (40464): [] handle_softirqs+0x67c/0x900 [ 14.742613][ T301] softirqs last disabled at (40459): [] __irq_exit_rcu+0x145/0x1c0 [ 14.742615][ T301] Preemption disabled at: [ 14.742615][ T301] [<0000000000000000>] 0x0 [ 14.742622][ T301] CPU: 0 UID: 0 PID: 301 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.742626][ T301] Tainted: [W]=WARN [ 14.742627][ T301] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.742628][ T301] Call Trace: [ 14.742630][ T301] [ 14.742631][ T301] dump_stack_lvl+0x6f/0xa0 [ 14.742637][ T301] __might_resched.cold+0x1fe/0x2c1 [ 14.742641][ T301] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.742646][ T301] ? __kmalloc_noprof+0xdb/0x760 [ 14.742651][ T301] __kmalloc_noprof+0x443/0x760 [ 14.742653][ T301] ? alloc_buf.isra.0+0x4b/0x260 [ 14.742659][ T301] ? do_raw_spin_unlock+0x59/0x250 [ 14.742662][ T301] alloc_buf.isra.0+0x4b/0x260 [ 14.742665][ T301] put_chars+0x1e1/0x2f0 [ 14.742668][ T301] ? __send_to_port+0x420/0x420 [ 14.742669][ T301] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.742674][ T301] ? validate_chain+0x38b/0xc20 [ 14.742680][ T301] hvc_console_print+0x292/0x780 [ 14.742686][ T301] ? hvc_write+0x3a0/0x3a0 [ 14.742688][ T301] ? rcu_is_watching+0x16/0xd0 [ 14.742691][ T301] ? lock_acquire+0x13c/0x160 [ 14.742695][ T301] console_emit_next_record+0x22f/0x4c0 [ 14.742699][ T301] ? devkmsg_read+0x4b0/0x4b0 [ 14.742701][ T301] ? console_flush_one_record+0x106/0x710 [ 14.742704][ T301] ? rcu_is_watching+0x16/0xd0 [ 14.742706][ T301] ? lock_acquire+0x13c/0x160 [ 14.742710][ T301] console_flush_one_record+0x46f/0x710 [ 14.742714][ T301] ? console_emit_next_record+0x4c0/0x4c0 [ 14.742716][ T301] ? __lock_acquire+0x518/0xc20 [ 14.742721][ T301] console_unlock+0xee/0x1f0 [ 14.742724][ T301] ? console_flush_one_record+0x710/0x710 [ 14.742726][ T301] ? rcu_is_watching+0x16/0xd0 [ 14.742728][ T301] ? lock_acquire+0x60/0x160 [ 14.742732][ T301] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.742734][ T301] ? vprintk_emit+0x320/0x3e0 [ 14.742737][ T301] vprintk_emit+0x37c/0x3e0 [ 14.742741][ T301] ? wake_up_klogd_work_func+0x90/0x90 [ 14.742744][ T301] ? __lock_acquire+0x518/0xc20 [ 14.742748][ T301] _printk+0xc7/0x100 [ 14.742752][ T301] ? snapshot_read.cold+0x21/0x21 [ 14.742754][ T301] ? do_raw_spin_lock+0x131/0x280 [ 14.742757][ T301] ? __rwlock_init+0x150/0x150 [ 14.742761][ T301] ? do_raw_spin_lock+0x131/0x280 [ 14.742763][ T301] do_exit.cold+0x82/0x9c [ 14.742767][ T301] ? exit_notify+0x890/0x890 [ 14.742768][ T301] ? __lock_release.isra.0+0x69/0x1a0 [ 14.742771][ T301] ? rcu_is_watching+0x16/0xd0 [ 14.742775][ T301] do_group_exit+0xb8/0x370 [ 14.742778][ T301] __x64_sys_exit_group+0x3c/0x50 [ 14.742780][ T301] x64_sys_call+0x1567/0x1570 [ 14.742783][ T301] do_syscall_64+0xff/0x530 [ 14.742787][ T301] ? exc_page_fault+0xee/0x100 [ 14.742790][ T301] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.742792][ T301] RIP: 0033:0x7f7585f951b8 [ 14.742794][ T301] Code: Unable to access opcode bytes at 0x7f7585f9518e. [ 14.742795][ T301] RSP: 002b:00007ffd81f5b558 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 14.742798][ T301] RAX: ffffffffffffffda RBX: 00007f75860c5f88 RCX: 00007f7585f951b8 [ 14.742799][ T301] RDX: 00007f7585cdffc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 14.742800][ T301] RBP: 00007ffd81f5b5b0 R08: 0000000000000000 R09: 0000000000000000 [ 14.742801][ T301] R10: 00007ffd81f5b370 R11: 0000000000000246 R12: 0000000000000001 [ 14.742802][ T301] R13: 0000000000000000 R14: 00007f75860c4680 R15: 00007f75860c5fa0 [ 14.742808][ T301] [ 28.566588][ T682] iperf3 (682) used greatest stack depth: 22800 bytes left [ 28.566606][ T682] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 28.566608][ T682] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 682, name: iperf3 [ 28.566610][ T682] preempt_count: 2, expected: 0 [ 28.566611][ T682] RCU nest depth: 0, expected: 0 [ 28.566612][ T682] locks held by iperf3/682: 5, last CPU#3: [ 28.566613][ T682] #0: ffffffffb80127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 28.566625][ T682] #1: ffffffffb8179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 28.566631][ T682] #2: ffffffffb8179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 28.566635][ T682] #3: ffffffffb8099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 28.566638][ T682] #4: ffffffffb8099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 28.566642][ T682] irq event stamp: 5160046 [ 28.566643][ T682] hardirqs last enabled at (5160045): [] __down_trylock_console_sem+0x86/0xa0 [ 28.566645][ T682] hardirqs last disabled at (5160046): [] console_emit_next_record+0x3d4/0x4c0 [ 28.566647][ T682] softirqs last enabled at (5159540): [] handle_softirqs+0x67c/0x900 [ 28.566649][ T682] softirqs last disabled at (5159535): [] __irq_exit_rcu+0x145/0x1c0 [ 28.566652][ T682] Preemption disabled at: [ 28.566652][ T682] [<0000000000000000>] 0x0 [ 28.566659][ T682] CPU: 3 UID: 0 PID: 682 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 28.566663][ T682] Tainted: [W]=WARN [ 28.566663][ T682] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 28.566665][ T682] Call Trace: [ 28.566667][ T682] [ 28.566668][ T682] dump_stack_lvl+0x6f/0xa0 [ 28.566674][ T682] __might_resched.cold+0x1fe/0x2c1 [ 28.566678][ T682] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 28.566682][ T682] ? __kmalloc_noprof+0xdb/0x760 [ 28.566687][ T682] __kmalloc_noprof+0x443/0x760 [ 28.566689][ T682] ? alloc_buf.isra.0+0x4b/0x260 [ 28.566695][ T682] ? do_raw_spin_unlock+0x59/0x250 [ 28.566698][ T682] alloc_buf.isra.0+0x4b/0x260 [ 28.566701][ T682] put_chars+0x1e1/0x2f0 [ 28.566703][ T682] ? prb_final_commit+0x50/0x50 [ 28.566705][ T682] ? __send_to_port+0x420/0x420 [ 28.566708][ T682] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 28.566713][ T682] ? rcu_read_lock_any_held+0x3c/0x90 [ 28.566715][ T682] ? validate_chain+0x38b/0xc20 [ 28.566718][ T682] hvc_console_print+0x292/0x780 [ 28.566721][ T682] ? mark_usage+0x61/0x170 [ 28.566723][ T682] ? __lock_acquire+0x518/0xc20 [ 28.566725][ T682] ? __lock_acquire+0x518/0xc20 [ 28.566728][ T682] ? hvc_write+0x3a0/0x3a0 [ 28.566730][ T682] ? console_emit_next_record+0x1df/0x4c0 [ 28.566734][ T682] ? rcu_is_watching+0x16/0xd0 [ 28.566736][ T682] ? lock_acquire+0x13c/0x160 [ 28.566740][ T682] console_emit_next_record+0x22f/0x4c0 [ 28.566743][ T682] ? devkmsg_read+0x4b0/0x4b0 [ 28.566745][ T682] ? console_flush_one_record+0x106/0x710 [ 28.566748][ T682] ? rcu_is_watching+0x16/0xd0 [ 28.566750][ T682] ? lock_acquire+0x13c/0x160 [ 28.566754][ T682] console_flush_one_record+0x46f/0x710 [ 28.566758][ T682] ? console_emit_next_record+0x4c0/0x4c0 [ 28.566760][ T682] ? __lock_acquire+0x518/0xc20 [ 28.566765][ T682] console_unlock+0xee/0x1f0 [ 28.566767][ T682] ? console_flush_one_record+0x710/0x710 [ 28.566769][ T682] ? rcu_is_watching+0x16/0xd0 [ 28.566771][ T682] ? lock_acquire+0x60/0x160 [ 28.566775][ T682] ? __down_trylock_console_sem+0x5e/0xa0 [ 28.566776][ T682] ? vprintk_emit+0x320/0x3e0 [ 28.566779][ T682] vprintk_emit+0x37c/0x3e0 [ 28.566783][ T682] ? wake_up_klogd_work_func+0x90/0x90 [ 28.566786][ T682] ? __lock_acquire+0x518/0xc20 [ 28.566790][ T682] _printk+0xc7/0x100 [ 28.566793][ T682] ? snapshot_read.cold+0x21/0x21 [ 28.566796][ T682] ? do_raw_spin_lock+0x131/0x280 [ 28.566798][ T682] ? __rwlock_init+0x150/0x150 [ 28.566802][ T682] ? do_raw_spin_lock+0x131/0x280 [ 28.566804][ T682] do_exit.cold+0x82/0x9c [ 28.566808][ T682] ? exit_notify+0x890/0x890 [ 28.566813][ T682] __x64_sys_exit+0x42/0x50 [ 28.566815][ T682] x64_sys_call+0x156c/0x1570 [ 28.566817][ T682] do_syscall_64+0xff/0x530 [ 28.566821][ T682] ? exc_page_fault+0xee/0x100 [ 28.566823][ T682] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 28.566825][ T682] RIP: 0033:0x7f4cb15a4c49 [ 28.566828][ T682] Code: Unable to access opcode bytes at 0x7f4cb15a4c1f. [ 28.566829][ T682] RSP: 002b:00007f4cb0d63e60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 28.566831][ T682] RAX: ffffffffffffffda RBX: 00007f4cb0d646c0 RCX: 00007f4cb15a4c49 [ 28.566832][ T682] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 28.566833][ T682] RBP: 00007f4cb0d63f70 R08: 0000000000000001 R09: 00007f4cb0d646c0 [ 28.566834][ T682] R10: 0000000000000008 R11: 0000000000000246 R12: 00007f4cb0564000 [ 28.566835][ T682] R13: 00007ffe868a30e0 R14: 0000000000000002 R15: 00007ffe868a31e7 [ 28.566841][ T682] [ 30.299933][ T777] tun0: deleting peer with id 1, reason 1 [ 30.300005][ T777] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 30.300007][ T777] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 777, name: ovpn-cli [ 30.300008][ T777] preempt_count: 202, expected: 0 [ 30.300009][ T777] RCU nest depth: 0, expected: 0 [ 30.300010][ T777] locks held by ovpn-cli/777: 6, last CPU#1: [ 30.300012][ T777] #0: ffffffffb8944ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 30.300024][ T777] #1: ff1100001e6e4e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 30.300031][ T777] #2: ffffffffb8179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 30.300038][ T777] #3: ffffffffb8179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 30.300041][ T777] #4: ffffffffb8099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 30.300045][ T777] #5: ffffffffb8099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 30.300048][ T777] irq event stamp: 33713 [ 30.300049][ T777] hardirqs last enabled at (33712): [] __down_trylock_console_sem+0x86/0xa0 [ 30.300052][ T777] hardirqs last disabled at (33713): [] console_emit_next_record+0x3d4/0x4c0 [ 30.300054][ T777] softirqs last enabled at (33680): [] __alloc_skb+0x4c2/0x5f0 [ 30.300057][ T777] softirqs last disabled at (33708): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 30.300061][ T777] Preemption disabled at: [ 30.300061][ T777] [<0000000000000000>] 0x0 [ 30.300068][ T777] CPU: 1 UID: 0 PID: 777 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.300071][ T777] Tainted: [W]=WARN [ 30.300072][ T777] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.300074][ T777] Call Trace: [ 30.300076][ T777] [ 30.300077][ T777] dump_stack_lvl+0x6f/0xa0 [ 30.300083][ T777] __might_resched.cold+0x1fe/0x2c1 [ 30.300088][ T777] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 30.300091][ T777] ? __kmalloc_noprof+0xdb/0x760 [ 30.300096][ T777] __kmalloc_noprof+0x443/0x760 [ 30.300098][ T777] ? alloc_buf.isra.0+0x4b/0x260 [ 30.300104][ T777] ? do_raw_spin_unlock+0x59/0x250 [ 30.300107][ T777] alloc_buf.isra.0+0x4b/0x260 [ 30.300110][ T777] put_chars+0x1e1/0x2f0 [ 30.300113][ T777] ? __send_to_port+0x420/0x420 [ 30.300114][ T777] ? check_prev_add+0x316/0xe90 [ 30.300118][ T777] ? validate_chain+0x34a/0xc20 [ 30.300122][ T777] hvc_console_print+0x292/0x780 [ 30.300125][ T777] ? mark_usage+0x61/0x170 [ 30.300126][ T777] ? __lock_acquire+0x518/0xc20 [ 30.300128][ T777] ? __lock_acquire+0x518/0xc20 [ 30.300132][ T777] ? hvc_write+0x3a0/0x3a0 [ 30.300133][ T777] ? lock_acquire.part.0+0xd4/0x280 [ 30.300137][ T777] ? lock_acquire+0x13c/0x160 [ 30.300141][ T777] console_emit_next_record+0x22f/0x4c0 [ 30.300144][ T777] ? devkmsg_read+0x4b0/0x4b0 [ 30.300146][ T777] ? console_flush_one_record+0x106/0x710 [ 30.300149][ T777] ? rcu_is_watching+0x16/0xd0 [ 30.300153][ T777] ? lock_acquire+0x13c/0x160 [ 30.300157][ T777] console_flush_one_record+0x46f/0x710 [ 30.300161][ T777] ? console_emit_next_record+0x4c0/0x4c0 [ 30.300162][ T777] ? __lock_acquire+0x518/0xc20 [ 30.300167][ T777] console_unlock+0xee/0x1f0 [ 30.300170][ T777] ? console_flush_one_record+0x710/0x710 [ 30.300172][ T777] ? rcu_is_watching+0x16/0xd0 [ 30.300174][ T777] ? lock_acquire+0x60/0x160 [ 30.300177][ T777] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.300179][ T777] ? vprintk_emit+0x320/0x3e0 [ 30.300182][ T777] vprintk_emit+0x37c/0x3e0 [ 30.300185][ T777] ? wake_up_klogd_work_func+0x90/0x90 [ 30.300187][ T777] ? kernel_text_address+0x149/0x170 [ 30.300191][ T777] ? __kernel_text_address+0x12/0x30 [ 30.300192][ T777] ? write_profile+0xf0/0xf0 [ 30.300194][ T777] ? unwind_get_return_address+0x67/0xd0 [ 30.300199][ T777] _printk+0xc7/0x100 [ 30.300202][ T777] ? snapshot_read.cold+0x21/0x21 [ 30.300206][ T777] ? mark_usage+0x61/0x170 [ 30.300208][ T777] ? netdev_name+0x43/0x60 [ 30.300211][ T777] ? __netdev_printk+0x17f/0x1d0 [ 30.300214][ T777] netdev_info+0xe2/0x116 [ 30.300216][ T777] ? netdev_notice+0x120/0x120 [ 30.300217][ T777] ? find_held_lock+0x2b/0x80 [ 30.300220][ T777] ? mark_usage+0x61/0x170 [ 30.300223][ T777] ? __lock_acquire+0x518/0xc20 [ 30.300228][ T777] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 30.300233][ T777] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 30.300237][ T777] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 30.300242][ T777] ovpn_peer_remove+0x394/0x640 [ovpn] [ 30.300245][ T777] ? do_raw_spin_lock+0x131/0x280 [ 30.300248][ T777] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 30.300254][ T777] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 30.300258][ T777] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 30.300264][ T777] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 30.300266][ T777] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 30.300270][ T777] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 30.300273][ T777] ? ref_tracker_alloc+0x28d/0x430 [ 30.300283][ T777] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 30.300287][ T777] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 30.300292][ T777] genl_family_rcv_msg_doit+0x206/0x300 [ 30.300296][ T777] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 30.300298][ T777] ? __lock_release.isra.0+0x69/0x1a0 [ 30.300303][ T777] ? rcu_is_watching+0x16/0xd0 [ 30.300306][ T777] ? cap_capable+0x1d7/0x3d0 [ 30.300309][ T777] ? write_profile+0xf0/0xf0 [ 30.300311][ T777] ? unwind_get_return_address+0x67/0xd0 [ 30.300314][ T777] genl_family_rcv_msg+0x3a4/0x640 [ 30.300317][ T777] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 30.300320][ T777] ? rcu_read_lock_any_held+0x3c/0x90 [ 30.300322][ T777] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 30.300324][ T777] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 30.300327][ T777] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 30.300330][ T777] ? __lock_acquire+0x518/0xc20 [ 30.300335][ T777] genl_rcv_msg+0xbb/0x160 [ 30.300346][ T777] netlink_rcv_skb+0x14e/0x3a0 [ 30.300348][ T777] ? genl_family_rcv_msg+0x640/0x640 [ 30.300351][ T777] ? netlink_ack+0xcf0/0xcf0 [ 30.300358][ T777] ? netlink_deliver_tap+0xc5/0x330 [ 30.300360][ T777] ? netlink_deliver_tap+0x13c/0x330 [ 30.300364][ T777] genl_rcv+0x28/0x40 [ 30.300366][ T777] netlink_unicast+0x486/0x750 [ 30.300370][ T777] ? netlink_attachskb+0x810/0x810 [ 30.300373][ T777] ? __lock_acquire+0x518/0xc20 [ 30.300377][ T777] netlink_sendmsg+0x735/0xc60 [ 30.300381][ T777] ? netlink_unicast+0x750/0x750 [ 30.300385][ T777] ? __might_fault+0x97/0x140 [ 30.300390][ T777] ____sys_sendmsg+0x415/0x880 [ 30.300394][ T777] ? copy_msghdr_from_user+0x279/0x420 [ 30.300396][ T777] ? get_timestamp.constprop.0+0x390/0x390 [ 30.300398][ T777] ? move_addr_to_kernel+0x40/0x40 [ 30.300405][ T777] ___sys_sendmsg+0x14e/0x1d0 [ 30.300408][ T777] ? copy_msghdr_from_user+0x420/0x420 [ 30.300409][ T777] ? kfree+0x22/0x590 [ 30.300424][ T777] __sys_sendmsg+0x12c/0x1d0 [ 30.300427][ T777] ? __sys_sendmsg_sock+0x20/0x20 [ 30.300433][ T777] ? rcu_is_watching+0x16/0xd0 [ 30.300435][ T777] ? rcu_is_watching+0x16/0xd0 [ 30.300438][ T777] do_syscall_64+0xff/0x530 [ 30.300441][ T777] ? exc_page_fault+0xee/0x100 [ 30.300444][ T777] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.300446][ T777] RIP: 0033:0x7fb2db14954e [ 30.300448][ T777] 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.300450][ T777] RSP: 002b:00007ffc28920830 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 30.300453][ T777] RAX: ffffffffffffffda RBX: 00000000309af130 RCX: 00007fb2db14954e [ 30.300454][ T777] RDX: 0000000000000000 RSI: 00007ffc289208d0 RDI: 0000000000000005 [ 30.300455][ T777] RBP: 00007ffc28920840 R08: 0000000000000000 R09: 0000000000000000 [ 30.300455][ T777] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000309af200 [ 30.300456][ T777] R13: 00007ffc289208d0 R14: 00000000309b0260 R15: 000000000040bda8 [ 30.300463][ T777] [ 30.422961][ T781] tun1: deleting peer with id 10, reason 1 [ 33.289157][ T829] tun0: deleting peer with id 2, reason 1 [ 33.289175][ T829] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 33.289177][ T829] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 829, name: ovpn-cli [ 33.289179][ T829] preempt_count: 202, expected: 0 [ 33.289180][ T829] RCU nest depth: 0, expected: 0 [ 33.289181][ T829] locks held by ovpn-cli/829: 6, last CPU#2: [ 33.289183][ T829] #0: ffffffffb8944ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 33.289195][ T829] #1: ff1100001e6e4e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 33.289203][ T829] #2: ffffffffb8179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 33.289209][ T829] #3: ffffffffb8179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 33.289213][ T829] #4: ffffffffb8099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 33.289216][ T829] #5: ffffffffb8099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 33.289221][ T829] irq event stamp: 39861 [ 33.289221][ T829] hardirqs last enabled at (39860): [] __down_trylock_console_sem+0x86/0xa0 [ 33.289224][ T829] hardirqs last disabled at (39861): [] console_emit_next_record+0x3d4/0x4c0 [ 33.289226][ T829] softirqs last enabled at (39828): [] __alloc_skb+0x4c2/0x5f0 [ 33.289229][ T829] softirqs last disabled at (39856): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 33.289233][ T829] Preemption disabled at: [ 33.289233][ T829] [<0000000000000000>] 0x0 [ 33.289241][ T829] CPU: 2 UID: 0 PID: 829 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 33.289244][ T829] Tainted: [W]=WARN [ 33.289245][ T829] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 33.289247][ T829] Call Trace: [ 33.289248][ T829] [ 33.289250][ T829] dump_stack_lvl+0x6f/0xa0 [ 33.289256][ T829] __might_resched.cold+0x1fe/0x2c1 [ 33.289260][ T829] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 33.289265][ T829] ? __kmalloc_noprof+0xdb/0x760 [ 33.289270][ T829] __kmalloc_noprof+0x443/0x760 [ 33.289272][ T829] ? alloc_buf.isra.0+0x4b/0x260 [ 33.289278][ T829] ? do_raw_spin_unlock+0x59/0x250 [ 33.289281][ T829] alloc_buf.isra.0+0x4b/0x260 [ 33.289284][ T829] put_chars+0x1e1/0x2f0 [ 33.289287][ T829] ? __send_to_port+0x420/0x420 [ 33.289290][ T829] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 33.289295][ T829] ? rcu_read_lock_any_held+0x3c/0x90 [ 33.289297][ T829] ? validate_chain+0x38b/0xc20 [ 33.289301][ T829] hvc_console_print+0x292/0x780 [ 33.289304][ T829] ? mark_usage+0x61/0x170 [ 33.289305][ T829] ? __lock_acquire+0x518/0xc20 [ 33.289307][ T829] ? __lock_acquire+0x518/0xc20 [ 33.289311][ T829] ? hvc_write+0x3a0/0x3a0 [ 33.289313][ T829] ? lock_acquire.part.0+0xd4/0x280 [ 33.289317][ T829] ? lock_acquire+0x13c/0x160 [ 33.289321][ T829] console_emit_next_record+0x22f/0x4c0 [ 33.289325][ T829] ? devkmsg_read+0x4b0/0x4b0 [ 33.289327][ T829] ? console_flush_one_record+0x106/0x710 [ 33.289330][ T829] ? rcu_is_watching+0x16/0xd0 [ 33.289332][ T829] ? lock_acquire+0x13c/0x160 [ 33.289336][ T829] console_flush_one_record+0x46f/0x710 [ 33.289341][ T829] ? console_emit_next_record+0x4c0/0x4c0 [ 33.289343][ T829] ? __lock_acquire+0x518/0xc20 [ 33.289348][ T829] console_unlock+0xee/0x1f0 [ 33.289357][ T829] ? console_flush_one_record+0x710/0x710 [ 33.289359][ T829] ? rcu_is_watching+0x16/0xd0 [ 33.289361][ T829] ? lock_acquire+0x60/0x160 [ 33.289365][ T829] ? __down_trylock_console_sem+0x5e/0xa0 [ 33.289367][ T829] ? vprintk_emit+0x320/0x3e0 [ 33.289370][ T829] vprintk_emit+0x37c/0x3e0 [ 33.289374][ T829] ? wake_up_klogd_work_func+0x90/0x90 [ 33.289376][ T829] ? kernel_text_address+0x149/0x170 [ 33.289379][ T829] ? __kernel_text_address+0x12/0x30 [ 33.289380][ T829] ? write_profile+0xf0/0xf0 [ 33.289383][ T829] ? unwind_get_return_address+0x67/0xd0 [ 33.289388][ T829] _printk+0xc7/0x100 [ 33.289391][ T829] ? snapshot_read.cold+0x21/0x21 [ 33.289396][ T829] ? mark_usage+0x61/0x170 [ 33.289397][ T829] ? netdev_name+0x43/0x60 [ 33.289401][ T829] ? __netdev_printk+0x17f/0x1d0 [ 33.289404][ T829] netdev_info+0xe2/0x116 [ 33.289406][ T829] ? netdev_notice+0x120/0x120 [ 33.289408][ T829] ? find_held_lock+0x2b/0x80 [ 33.289410][ T829] ? mark_usage+0x61/0x170 [ 33.289413][ T829] ? __lock_acquire+0x518/0xc20 [ 33.289419][ T829] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 33.289424][ T829] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 33.289428][ T829] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 33.289434][ T829] ovpn_peer_remove+0x394/0x640 [ovpn] [ 33.289437][ T829] ? do_raw_spin_lock+0x131/0x280 [ 33.289440][ T829] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 33.289446][ T829] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 33.289450][ T829] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 33.289457][ T829] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 33.289460][ T829] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 33.289464][ T829] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 33.289466][ T829] ? ref_tracker_alloc+0x28d/0x430 [ 33.289477][ T829] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 33.289482][ T829] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 33.289488][ T829] genl_family_rcv_msg_doit+0x206/0x300 [ 33.289491][ T829] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 33.289493][ T829] ? __lock_release.isra.0+0x69/0x1a0 [ 33.289499][ T829] ? rcu_is_watching+0x16/0xd0 [ 33.289502][ T829] ? cap_capable+0x1d7/0x3d0 [ 33.289505][ T829] ? write_profile+0xf0/0xf0 [ 33.289507][ T829] ? unwind_get_return_address+0x67/0xd0 [ 33.289510][ T829] genl_family_rcv_msg+0x3a4/0x640 [ 33.289514][ T829] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 33.289517][ T829] ? rcu_read_lock_any_held+0x3c/0x90 [ 33.289518][ T829] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 33.289521][ T829] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 33.289524][ T829] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 33.289528][ T829] ? __lock_acquire+0x518/0xc20 [ 33.289533][ T829] genl_rcv_msg+0xbb/0x160 [ 33.289537][ T829] netlink_rcv_skb+0x14e/0x3a0 [ 33.289541][ T829] ? genl_family_rcv_msg+0x640/0x640 [ 33.289544][ T829] ? netlink_ack+0xcf0/0xcf0 [ 33.289552][ T829] ? netlink_deliver_tap+0xc5/0x330 [ 33.289554][ T829] ? netlink_deliver_tap+0x13c/0x330 [ 33.289558][ T829] genl_rcv+0x28/0x40 [ 33.289560][ T829] netlink_unicast+0x486/0x750 [ 33.289564][ T829] ? netlink_attachskb+0x810/0x810 [ 33.289567][ T829] ? __lock_acquire+0x518/0xc20 [ 33.289572][ T829] netlink_sendmsg+0x735/0xc60 [ 33.289576][ T829] ? netlink_unicast+0x750/0x750 [ 33.289580][ T829] ? __might_fault+0x97/0x140 [ 33.289585][ T829] ____sys_sendmsg+0x415/0x880 [ 33.289589][ T829] ? copy_msghdr_from_user+0x279/0x420 [ 33.289591][ T829] ? get_timestamp.constprop.0+0x390/0x390 [ 33.289593][ T829] ? move_addr_to_kernel+0x40/0x40 [ 33.289601][ T829] ___sys_sendmsg+0x14e/0x1d0 [ 33.289604][ T829] ? copy_msghdr_from_user+0x420/0x420 [ 33.289605][ T829] ? kfree+0x22/0x590 [ 33.289621][ T829] __sys_sendmsg+0x12c/0x1d0 [ 33.289624][ T829] ? __sys_sendmsg_sock+0x20/0x20 [ 33.289630][ T829] ? rcu_is_watching+0x16/0xd0 [ 33.289633][ T829] ? rcu_is_watching+0x16/0xd0 [ 33.289636][ T829] do_syscall_64+0xff/0x530 [ 33.289639][ T829] ? exc_page_fault+0xee/0x100 [ 33.289642][ T829] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 33.289644][ T829] RIP: 0033:0x7fdf3709454e [ 33.289647][ T829] 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.289648][ T829] RSP: 002b:00007fff0a9d5de0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 33.289651][ T829] RAX: ffffffffffffffda RBX: 0000000002114130 RCX: 00007fdf3709454e [ 33.289652][ T829] RDX: 0000000000000000 RSI: 00007fff0a9d5e80 RDI: 0000000000000005 [ 33.289653][ T829] RBP: 00007fff0a9d5df0 R08: 0000000000000000 R09: 0000000000000000 [ 33.289654][ T829] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000002114200 [ 33.289655][ T829] R13: 00007fff0a9d5e80 R14: 0000000002115260 R15: 000000000040bda8 [ 33.289662][ T829] [ 33.420416][ T833] tun2: deleting peer with id 11, reason 1 [ 38.384673][ T73] tun0: deleting peer with id 3, reason 2 [ 38.384736][ T73] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 38.384738][ T73] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 73, name: kworker/1:1 [ 38.384740][ T73] preempt_count: 202, expected: 0 [ 38.384740][ T73] RCU nest depth: 0, expected: 0 [ 38.384742][ T73] locks held by kworker/1:1/73: 7, last CPU#1: [ 38.384743][ T73] #0: ff11000004f00940 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 38.384755][ T73] #1: ffa00000004e7d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 38.384759][ T73] #2: ff1100001e6e4e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 38.384767][ T73] #3: ffffffffb8179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 38.384771][ T73] #4: ffffffffb8179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 38.384775][ T73] #5: ffffffffb8099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 38.384778][ T73] #6: ffffffffb8099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 38.384782][ T73] irq event stamp: 1821481 [ 38.384783][ T73] hardirqs last enabled at (1821480): [] __down_trylock_console_sem+0x86/0xa0 [ 38.384785][ T73] hardirqs last disabled at (1821481): [] console_emit_next_record+0x3d4/0x4c0 [ 38.384787][ T73] softirqs last enabled at (1819256): [] handle_softirqs+0x67c/0x900 [ 38.384790][ T73] softirqs last disabled at (1821472): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 38.384794][ T73] Preemption disabled at: [ 38.384794][ T73] [<0000000000000000>] 0x0 [ 38.384800][ T73] CPU: 1 UID: 0 PID: 73 Comm: kworker/1:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 38.384804][ T73] Tainted: [W]=WARN [ 38.384805][ T73] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 38.384806][ T73] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 38.384811][ T73] Call Trace: [ 38.384812][ T73] [ 38.384814][ T73] dump_stack_lvl+0x6f/0xa0 [ 38.384820][ T73] __might_resched.cold+0x1fe/0x2c1 [ 38.384825][ T73] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 38.384829][ T73] ? __kmalloc_noprof+0xdb/0x760 [ 38.384834][ T73] __kmalloc_noprof+0x443/0x760 [ 38.384836][ T73] ? alloc_buf.isra.0+0x4b/0x260 [ 38.384842][ T73] ? do_raw_spin_unlock+0x59/0x250 [ 38.384844][ T73] alloc_buf.isra.0+0x4b/0x260 [ 38.384847][ T73] put_chars+0x1e1/0x2f0 [ 38.384851][ T73] ? __send_to_port+0x420/0x420 [ 38.384855][ T73] ? validate_chain+0x34a/0xc20 [ 38.384859][ T73] hvc_console_print+0x292/0x780 [ 38.384862][ T73] ? mark_usage+0x61/0x170 [ 38.384864][ T73] ? __lock_acquire+0x518/0xc20 [ 38.384865][ T73] ? __lock_acquire+0x518/0xc20 [ 38.384869][ T73] ? hvc_write+0x3a0/0x3a0 [ 38.384871][ T73] ? console_emit_next_record+0x1df/0x4c0 [ 38.384874][ T73] ? rcu_is_watching+0x16/0xd0 [ 38.384878][ T73] ? lock_acquire+0x13c/0x160 [ 38.384882][ T73] console_emit_next_record+0x22f/0x4c0 [ 38.384886][ T73] ? devkmsg_read+0x4b0/0x4b0 [ 38.384888][ T73] ? console_flush_one_record+0x106/0x710 [ 38.384891][ T73] ? rcu_is_watching+0x16/0xd0 [ 38.384893][ T73] ? lock_acquire+0x13c/0x160 [ 38.384897][ T73] console_flush_one_record+0x46f/0x710 [ 38.384901][ T73] ? console_emit_next_record+0x4c0/0x4c0 [ 38.384903][ T73] ? __lock_acquire+0x518/0xc20 [ 38.384908][ T73] console_unlock+0xee/0x1f0 [ 38.384911][ T73] ? console_flush_one_record+0x710/0x710 [ 38.384912][ T73] ? rcu_is_watching+0x16/0xd0 [ 38.384915][ T73] ? lock_acquire+0x60/0x160 [ 38.384918][ T73] ? __down_trylock_console_sem+0x5e/0xa0 [ 38.384920][ T73] ? vprintk_emit+0x320/0x3e0 [ 38.384923][ T73] vprintk_emit+0x37c/0x3e0 [ 38.384927][ T73] ? wake_up_klogd_work_func+0x90/0x90 [ 38.384930][ T73] ? arch_stack_walk+0xd7/0x130 [ 38.384935][ T73] _printk+0xc7/0x100 [ 38.384939][ T73] ? snapshot_read.cold+0x21/0x21 [ 38.384943][ T73] ? netdev_name+0x43/0x60 [ 38.384947][ T73] ? __netdev_printk+0x17f/0x1d0 [ 38.384950][ T73] netdev_info+0xe2/0x116 [ 38.384952][ T73] ? netdev_notice+0x120/0x120 [ 38.384953][ T73] ? kasan_save_track+0x14/0x30 [ 38.384957][ T73] ? kmem_cache_free+0xf8/0x550 [ 38.384959][ T73] ? free_object_list.isra.0+0x1b6/0x310 [ 38.384963][ T73] ? kthread+0x367/0x460 [ 38.384966][ T73] ? ret_from_fork+0x474/0x6b0 [ 38.384968][ T73] ? ret_from_fork_asm+0x11/0x20 [ 38.384971][ T73] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 38.384973][ T73] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.384977][ T73] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 38.384983][ T73] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 38.384989][ T73] ovpn_peer_remove+0x394/0x640 [ovpn] [ 38.384994][ T73] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 38.384997][ T73] ? __rwlock_init+0x150/0x150 [ 38.384999][ T73] ? mark_held_locks+0x40/0x70 [ 38.385003][ T73] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 38.385007][ T73] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 38.385010][ T73] ? __rwlock_init+0x150/0x150 [ 38.385015][ T73] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 38.385019][ T73] ? process_one_work+0xdfc/0x1560 [ 38.385022][ T73] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 38.385025][ T73] ? rcu_is_watching+0x16/0xd0 [ 38.385027][ T73] ? lock_acquire+0x13c/0x160 [ 38.385029][ T73] ? rcu_is_watching+0x16/0xd0 [ 38.385033][ T73] process_one_work+0xe3e/0x1560 [ 38.385039][ T73] ? __queue_delayed_work+0x470/0x470 [ 38.385042][ T73] ? lock_acquire.part.0+0xd4/0x280 [ 38.385049][ T73] worker_thread+0x4f1/0xd60 [ 38.385053][ T73] ? rescuer_thread+0x1340/0x1340 [ 38.385055][ T73] ? __kthread_parkme+0xbd/0x210 [ 38.385058][ T73] ? rescuer_thread+0x1340/0x1340 [ 38.385061][ T73] ? rescuer_thread+0x1340/0x1340 [ 38.385063][ T73] kthread+0x367/0x460 [ 38.385064][ T73] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 38.385067][ T73] ? kthread_affine_preferred+0x4c0/0x4c0 [ 38.385070][ T73] ret_from_fork+0x474/0x6b0 [ 38.385072][ T73] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 38.385075][ T73] ? __switch_to+0x5a3/0xe00 [ 38.385079][ T73] ? kthread_affine_preferred+0x4c0/0x4c0 [ 38.385081][ T73] ret_from_fork_asm+0x11/0x20 [ 38.385089][ T73] [ 39.472569][ T73] tun0: deleting peer with id 4, reason 2 [ 39.472590][ T73] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 39.472592][ T73] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 73, name: kworker/1:1 [ 39.472593][ T73] preempt_count: 202, expected: 0 [ 39.472594][ T73] RCU nest depth: 0, expected: 0 [ 39.472595][ T73] locks held by kworker/1:1/73: 7, last CPU#1: [ 39.472597][ T73] #0: ff11000004f00940 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 39.472609][ T73] #1: ffa00000004e7d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 39.472613][ T73] #2: ff1100001e6e4e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 39.472622][ T73] #3: ffffffffb8179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 39.472627][ T73] #4: ffffffffb8179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 39.472631][ T73] #5: ffffffffb8099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 39.472635][ T73] #6: ffffffffb8099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 39.472639][ T73] irq event stamp: 1822269 [ 39.472639][ T73] hardirqs last enabled at (1822268): [] __down_trylock_console_sem+0x86/0xa0 [ 39.472642][ T73] hardirqs last disabled at (1822269): [] console_emit_next_record+0x3d4/0x4c0 [ 39.472644][ T73] softirqs last enabled at (1821894): [] ovpn_peer_release+0x37/0xe0 [ovpn] [ 39.472647][ T73] softirqs last disabled at (1822262): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 39.472651][ T73] Preemption disabled at: [ 39.472651][ T73] [<0000000000000000>] 0x0 [ 39.472658][ T73] CPU: 1 UID: 0 PID: 73 Comm: kworker/1:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 39.472661][ T73] Tainted: [W]=WARN [ 39.472661][ T73] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 39.472663][ T73] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 39.472668][ T73] Call Trace: [ 39.472670][ T73] [ 39.472672][ T73] dump_stack_lvl+0x6f/0xa0 [ 39.472678][ T73] __might_resched.cold+0x1fe/0x2c1 [ 39.472683][ T73] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 39.472687][ T73] ? __kmalloc_noprof+0xdb/0x760 [ 39.472692][ T73] __kmalloc_noprof+0x443/0x760 [ 39.472694][ T73] ? alloc_buf.isra.0+0x4b/0x260 [ 39.472700][ T73] ? do_raw_spin_unlock+0x59/0x250 [ 39.472703][ T73] alloc_buf.isra.0+0x4b/0x260 [ 39.472706][ T73] put_chars+0x1e1/0x2f0 [ 39.472708][ T73] ? prb_final_commit+0x50/0x50 [ 39.472710][ T73] ? __send_to_port+0x420/0x420 [ 39.472713][ T73] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 39.472718][ T73] ? rcu_read_lock_any_held+0x3c/0x90 [ 39.472720][ T73] ? validate_chain+0x38b/0xc20 [ 39.472724][ T73] hvc_console_print+0x292/0x780 [ 39.472727][ T73] ? mark_usage+0x61/0x170 [ 39.472729][ T73] ? __lock_acquire+0x518/0xc20 [ 39.472730][ T73] ? __lock_acquire+0x518/0xc20 [ 39.472734][ T73] ? hvc_write+0x3a0/0x3a0 [ 39.472736][ T73] ? console_emit_next_record+0x1df/0x4c0 [ 39.472739][ T73] ? rcu_is_watching+0x16/0xd0 [ 39.472742][ T73] ? lock_acquire+0x13c/0x160 [ 39.472746][ T73] console_emit_next_record+0x22f/0x4c0 [ 39.472749][ T73] ? devkmsg_read+0x4b0/0x4b0 [ 39.472751][ T73] ? console_flush_one_record+0x106/0x710 [ 39.472754][ T73] ? rcu_is_watching+0x16/0xd0 [ 39.472757][ T73] ? lock_acquire+0x13c/0x160 [ 39.472760][ T73] console_flush_one_record+0x46f/0x710 [ 39.472764][ T73] ? console_emit_next_record+0x4c0/0x4c0 [ 39.472766][ T73] ? __lock_acquire+0x518/0xc20 [ 39.472771][ T73] console_unlock+0xee/0x1f0 [ 39.472774][ T73] ? console_flush_one_record+0x710/0x710 [ 39.472776][ T73] ? rcu_is_watching+0x16/0xd0 [ 39.472778][ T73] ? lock_acquire+0x60/0x160 [ 39.472782][ T73] ? __down_trylock_console_sem+0x5e/0xa0 [ 39.472783][ T73] ? vprintk_emit+0x320/0x3e0 [ 39.472787][ T73] vprintk_emit+0x37c/0x3e0 [ 39.472790][ T73] ? wake_up_klogd_work_func+0x90/0x90 [ 39.472793][ T73] ? arch_stack_walk+0xd7/0x130 [ 39.472799][ T73] _printk+0xc7/0x100 [ 39.472802][ T73] ? snapshot_read.cold+0x21/0x21 [ 39.472806][ T73] ? netdev_name+0x43/0x60 [ 39.472810][ T73] ? __netdev_printk+0x17f/0x1d0 [ 39.472813][ T73] netdev_info+0xe2/0x116 [ 39.472815][ T73] ? netdev_notice+0x120/0x120 [ 39.472817][ T73] ? rcu_read_lock_any_held+0x3c/0x90 [ 39.472820][ T73] ? kthread+0x367/0x460 [ 39.472823][ T73] ? ret_from_fork+0x474/0x6b0 [ 39.472826][ T73] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 39.472828][ T73] ? rcu_read_lock_any_held+0x3c/0x90 [ 39.472832][ T73] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 39.472837][ T73] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 39.472844][ T73] ovpn_peer_remove+0x394/0x640 [ovpn] [ 39.472848][ T73] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 39.472851][ T73] ? __rwlock_init+0x150/0x150 [ 39.472853][ T73] ? mark_held_locks+0x40/0x70 [ 39.472857][ T73] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 39.472861][ T73] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 39.472864][ T73] ? __rwlock_init+0x150/0x150 [ 39.472869][ T73] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 39.472873][ T73] ? process_one_work+0xdfc/0x1560 [ 39.472876][ T73] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 39.472879][ T73] ? rcu_is_watching+0x16/0xd0 [ 39.472881][ T73] ? lock_acquire+0x13c/0x160 [ 39.472883][ T73] ? rcu_is_watching+0x16/0xd0 [ 39.472887][ T73] process_one_work+0xe3e/0x1560 [ 39.472893][ T73] ? __queue_delayed_work+0x470/0x470 [ 39.472896][ T73] ? lock_acquire.part.0+0xd4/0x280 [ 39.472903][ T73] worker_thread+0x4f1/0xd60 [ 39.472908][ T73] ? rescuer_thread+0x1340/0x1340 [ 39.472910][ T73] ? __kthread_parkme+0xbd/0x210 [ 39.472912][ T73] ? rescuer_thread+0x1340/0x1340 [ 39.472915][ T73] ? rescuer_thread+0x1340/0x1340 [ 39.472917][ T73] kthread+0x367/0x460 [ 39.472919][ T73] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 39.472922][ T73] ? kthread_affine_preferred+0x4c0/0x4c0 [ 39.472924][ T73] ret_from_fork+0x474/0x6b0 [ 39.472927][ T73] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 39.472930][ T73] ? __switch_to+0x5a3/0xe00 [ 39.472933][ T73] ? kthread_affine_preferred+0x4c0/0x4c0 [ 39.472936][ T73] ret_from_fork_asm+0x11/0x20 [ 39.472944][ T73] [ 39.497130][ T73] tun0: deleting peer with id 5, reason 2 [ 39.497461][ T73] tun0: deleting peer with id 6, reason 2 [ 44.593052][ T66] tun3: deleting peer with id 12, reason 2 [ 44.593073][ T66] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 44.593076][ T66] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 66, name: kworker/2:2 [ 44.593078][ T66] preempt_count: 202, expected: 0 [ 44.593079][ T66] RCU nest depth: 0, expected: 0 [ 44.593080][ T66] locks held by kworker/2:2/66: 7, last CPU#2: [ 44.593081][ T66] #0: ff11000004f00940 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 44.593093][ T66] #1: ffa0000000477d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 44.593097][ T66] #2: ff11000008a3ce68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 44.593105][ T66] #3: ffffffffb8179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 44.593110][ T66] #4: ffffffffb8179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 44.593113][ T66] #5: ffffffffb8099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 44.593117][ T66] #6: ffffffffb8099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 44.593121][ T66] irq event stamp: 32617 [ 44.593122][ T66] hardirqs last enabled at (32616): [] __down_trylock_console_sem+0x86/0xa0 [ 44.593124][ T66] hardirqs last disabled at (32617): [] console_emit_next_record+0x3d4/0x4c0 [ 44.593126][ T66] softirqs last enabled at (32392): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 44.593130][ T66] softirqs last disabled at (32606): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 44.593133][ T66] Preemption disabled at: [ 44.593134][ T66] [<0000000000000000>] 0x0 [ 44.593141][ T66] CPU: 2 UID: 0 PID: 66 Comm: kworker/2:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 44.593144][ T66] Tainted: [W]=WARN [ 44.593145][ T66] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 44.593147][ T66] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 44.593152][ T66] Call Trace: [ 44.593154][ T66] [ 44.593155][ T66] dump_stack_lvl+0x6f/0xa0 [ 44.593162][ T66] __might_resched.cold+0x1fe/0x2c1 [ 44.593166][ T66] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 44.593170][ T66] ? __kmalloc_noprof+0xdb/0x760 [ 44.593175][ T66] __kmalloc_noprof+0x443/0x760 [ 44.593177][ T66] ? alloc_buf.isra.0+0x4b/0x260 [ 44.593183][ T66] ? do_raw_spin_unlock+0x59/0x250 [ 44.593186][ T66] alloc_buf.isra.0+0x4b/0x260 [ 44.593189][ T66] put_chars+0x1e1/0x2f0 [ 44.593192][ T66] ? prb_final_commit+0x50/0x50 [ 44.593194][ T66] ? __send_to_port+0x420/0x420 [ 44.593197][ T66] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 44.593201][ T66] ? rcu_read_lock_any_held+0x3c/0x90 [ 44.593203][ T66] ? validate_chain+0x38b/0xc20 [ 44.593207][ T66] hvc_console_print+0x292/0x780 [ 44.593210][ T66] ? mark_usage+0x61/0x170 [ 44.593212][ T66] ? __lock_acquire+0x518/0xc20 [ 44.593213][ T66] ? __lock_acquire+0x518/0xc20 [ 44.593217][ T66] ? hvc_write+0x3a0/0x3a0 [ 44.593219][ T66] ? console_emit_next_record+0x1df/0x4c0 [ 44.593223][ T66] ? rcu_is_watching+0x16/0xd0 [ 44.593225][ T66] ? lock_acquire+0x13c/0x160 [ 44.593229][ T66] console_emit_next_record+0x22f/0x4c0 [ 44.593233][ T66] ? devkmsg_read+0x4b0/0x4b0 [ 44.593235][ T66] ? console_flush_one_record+0x106/0x710 [ 44.593238][ T66] ? rcu_is_watching+0x16/0xd0 [ 44.593240][ T66] ? lock_acquire+0x13c/0x160 [ 44.593244][ T66] console_flush_one_record+0x46f/0x710 [ 44.593248][ T66] ? console_emit_next_record+0x4c0/0x4c0 [ 44.593250][ T66] ? __lock_acquire+0x518/0xc20 [ 44.593255][ T66] console_unlock+0xee/0x1f0 [ 44.593257][ T66] ? console_flush_one_record+0x710/0x710 [ 44.593259][ T66] ? rcu_is_watching+0x16/0xd0 [ 44.593262][ T66] ? lock_acquire+0x60/0x160 [ 44.593265][ T66] ? __down_trylock_console_sem+0x5e/0xa0 [ 44.593267][ T66] ? vprintk_emit+0x320/0x3e0 [ 44.593270][ T66] vprintk_emit+0x37c/0x3e0 [ 44.593274][ T66] ? wake_up_klogd_work_func+0x90/0x90 [ 44.593277][ T66] ? __lock_release.isra.0+0x69/0x1a0 [ 44.593281][ T66] _printk+0xc7/0x100 [ 44.593284][ T66] ? snapshot_read.cold+0x21/0x21 [ 44.593286][ T66] ? try_to_wake_up+0x153/0x1130 [ 44.593289][ T66] ? select_fallback_rq+0x510/0x510 [ 44.593291][ T66] ? netdev_name+0x43/0x60 [ 44.593294][ T66] ? __netdev_printk+0x17f/0x1d0 [ 44.593298][ T66] netdev_info+0xe2/0x116 [ 44.593300][ T66] ? netdev_notice+0x120/0x120 [ 44.593305][ T66] ? __queue_work+0x3ab/0xd30 [ 44.593308][ T66] ? kthread+0x367/0x460 [ 44.593313][ T66] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 44.593318][ T66] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 44.593321][ T66] ? mark_held_locks+0x40/0x70 [ 44.593323][ T66] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 44.593325][ T66] ? lockdep_hardirqs_on+0x91/0x130 [ 44.593330][ T66] ovpn_peer_remove+0x394/0x640 [ovpn] [ 44.593334][ T66] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 44.593336][ T66] ? __rwlock_init+0x150/0x150 [ 44.593339][ T66] ? mark_held_locks+0x40/0x70 [ 44.593343][ T66] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 44.593347][ T66] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 44.593349][ T66] ? __rwlock_init+0x150/0x150 [ 44.593354][ T66] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 44.593358][ T66] ? process_one_work+0xdfc/0x1560 [ 44.593361][ T66] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 44.593364][ T66] ? rcu_is_watching+0x16/0xd0 [ 44.593366][ T66] ? lock_acquire+0x13c/0x160 [ 44.593368][ T66] ? rcu_is_watching+0x16/0xd0 [ 44.593372][ T66] ? process_one_work+0xdfc/0x1560 [ 44.593373][ T66] process_one_work+0xe3e/0x1560 [ 44.593379][ T66] ? __queue_delayed_work+0x470/0x470 [ 44.593382][ T66] ? lock_acquire.part.0+0xd4/0x280 [ 44.593390][ T66] worker_thread+0x4f1/0xd60 [ 44.593393][ T66] ? rescuer_thread+0x1340/0x1340 [ 44.593396][ T66] ? __kthread_parkme+0xbd/0x210 [ 44.593398][ T66] ? rescuer_thread+0x1340/0x1340 [ 44.593406][ T66] ? rescuer_thread+0x1340/0x1340 [ 44.593408][ T66] kthread+0x367/0x460 [ 44.593410][ T66] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 44.593412][ T66] ? kthread_affine_preferred+0x4c0/0x4c0 [ 44.593415][ T66] ret_from_fork+0x474/0x6b0 [ 44.593419][ T66] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 44.593422][ T66] ? __switch_to+0x5a3/0xe00 [ 44.593425][ T66] ? kthread_affine_preferred+0x4c0/0x4c0 [ 44.593428][ T66] ret_from_fork_asm+0x11/0x20 [ 44.593436][ T66] [ 44.656576][ T60] tun4: deleting peer with id 13, reason 2 [ 44.720582][ T66] tun5: deleting peer with id 14, reason 2 [ 44.784567][ T60] tun6: deleting peer with id 15, reason 2