[ 17.338638][ T298] ip (298) used greatest stack depth: 23728 bytes left [ 17.338655][ T298] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.338657][ T298] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 298, name: ip [ 17.338659][ T298] preempt_count: 2, expected: 0 [ 17.338660][ T298] RCU nest depth: 0, expected: 0 [ 17.338661][ T298] locks held by ip/298: 5, last CPU#1: [ 17.338663][ T298] #0: ffffffffba8127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 17.338675][ T298] #1: ffffffffba979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.338680][ T298] #2: ffffffffba979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.338684][ T298] #3: ffffffffba899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.338688][ T298] #4: ffffffffba899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.338692][ T298] irq event stamp: 40628 [ 17.338693][ T298] hardirqs last enabled at (40627): [] __down_trylock_console_sem+0x86/0xa0 [ 17.338696][ T298] hardirqs last disabled at (40628): [] console_emit_next_record+0x3d4/0x4c0 [ 17.338699][ T298] softirqs last enabled at (37600): [] handle_softirqs+0x67c/0x900 [ 17.338701][ T298] softirqs last disabled at (37595): [] __irq_exit_rcu+0x145/0x1c0 [ 17.338703][ T298] Preemption disabled at: [ 17.338704][ T298] [<0000000000000000>] 0x0 [ 17.338711][ T298] CPU: 1 UID: 0 PID: 298 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.338714][ T298] Tainted: [W]=WARN [ 17.338715][ T298] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.338717][ T298] Call Trace: [ 17.338719][ T298] [ 17.338720][ T298] dump_stack_lvl+0x6f/0xa0 [ 17.338726][ T298] __might_resched.cold+0x1fe/0x2c1 [ 17.338731][ T298] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.338735][ T298] ? __kmalloc_noprof+0xdb/0x760 [ 17.338740][ T298] __kmalloc_noprof+0x443/0x760 [ 17.338743][ T298] ? alloc_buf.isra.0+0x4b/0x260 [ 17.338749][ T298] ? do_raw_spin_unlock+0x59/0x250 [ 17.338751][ T298] alloc_buf.isra.0+0x4b/0x260 [ 17.338755][ T298] put_chars+0x1e1/0x2f0 [ 17.338758][ T298] ? __send_to_port+0x420/0x420 [ 17.338759][ T298] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 17.338764][ T298] ? validate_chain+0x38b/0xc20 [ 17.338770][ T298] hvc_console_print+0x292/0x780 [ 17.338776][ T298] ? hvc_write+0x3a0/0x3a0 [ 17.338779][ T298] ? rcu_is_watching+0x16/0xd0 [ 17.338781][ T298] ? lock_acquire+0x13c/0x160 [ 17.338785][ T298] console_emit_next_record+0x22f/0x4c0 [ 17.338789][ T298] ? devkmsg_read+0x4b0/0x4b0 [ 17.338791][ T298] ? console_flush_one_record+0x106/0x710 [ 17.338795][ T298] ? rcu_is_watching+0x16/0xd0 [ 17.338797][ T298] ? lock_acquire+0x13c/0x160 [ 17.338801][ T298] console_flush_one_record+0x46f/0x710 [ 17.338805][ T298] ? console_emit_next_record+0x4c0/0x4c0 [ 17.338807][ T298] ? __lock_acquire+0x518/0xc20 [ 17.338812][ T298] console_unlock+0xee/0x1f0 [ 17.338815][ T298] ? console_flush_one_record+0x710/0x710 [ 17.338817][ T298] ? rcu_is_watching+0x16/0xd0 [ 17.338819][ T298] ? lock_acquire+0x60/0x160 [ 17.338823][ T298] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.338825][ T298] ? vprintk_emit+0x320/0x3e0 [ 17.338828][ T298] vprintk_emit+0x37c/0x3e0 [ 17.338832][ T298] ? wake_up_klogd_work_func+0x90/0x90 [ 17.338836][ T298] ? __lock_acquire+0x518/0xc20 [ 17.338839][ T298] _printk+0xc7/0x100 [ 17.338843][ T298] ? snapshot_read.cold+0x21/0x21 [ 17.338846][ T298] ? do_raw_spin_lock+0x131/0x280 [ 17.338848][ T298] ? __rwlock_init+0x150/0x150 [ 17.338852][ T298] ? do_raw_spin_lock+0x131/0x280 [ 17.338855][ T298] do_exit.cold+0x82/0x9c [ 17.338859][ T298] ? exit_notify+0x890/0x890 [ 17.338860][ T298] ? __lock_release.isra.0+0x69/0x1a0 [ 17.338863][ T298] ? rcu_is_watching+0x16/0xd0 [ 17.338867][ T298] do_group_exit+0xb8/0x370 [ 17.338870][ T298] __x64_sys_exit_group+0x3c/0x50 [ 17.338872][ T298] x64_sys_call+0x1567/0x1570 [ 17.338875][ T298] do_syscall_64+0xff/0x530 [ 17.338878][ T298] ? exc_page_fault+0xee/0x100 [ 17.338881][ T298] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.338883][ T298] RIP: 0033:0x7f2105b571b8 [ 17.338886][ T298] Code: Unable to access opcode bytes at 0x7f2105b5718e. [ 17.338887][ T298] RSP: 002b:00007ffcfc1626d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 17.338889][ T298] RAX: ffffffffffffffda RBX: 00007f2105c87f88 RCX: 00007f2105b571b8 [ 17.338891][ T298] RDX: 00007f21058a1fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 17.338892][ T298] RBP: 00007ffcfc162730 R08: 0000000000000000 R09: 0000000000000000 [ 17.338892][ T298] R10: 00007ffcfc1624f0 R11: 0000000000000246 R12: 0000000000000001 [ 17.338893][ T298] R13: 0000000000000000 R14: 00007f2105c86680 R15: 00007f2105c87fa0 [ 17.338900][ T298] [ 32.685377][ T676] iperf3 (676) used greatest stack depth: 23296 bytes left [ 32.685402][ T676] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 32.685405][ T676] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 676, name: iperf3 [ 32.685408][ T676] preempt_count: 2, expected: 0 [ 32.685409][ T676] RCU nest depth: 0, expected: 0 [ 32.685411][ T676] locks held by iperf3/676: 5, last CPU#0: [ 32.685414][ T676] #0: ffffffffba8127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 32.685429][ T676] #1: ffffffffba979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 32.685438][ T676] #2: ffffffffba979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 32.685444][ T676] #3: ffffffffba899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 32.685451][ T676] #4: ffffffffba899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 32.685458][ T676] irq event stamp: 1748830 [ 32.685460][ T676] hardirqs last enabled at (1748829): [] __down_trylock_console_sem+0x86/0xa0 [ 32.685464][ T676] hardirqs last disabled at (1748830): [] console_emit_next_record+0x3d4/0x4c0 [ 32.685467][ T676] softirqs last enabled at (1747866): [] handle_softirqs+0x67c/0x900 [ 32.685471][ T676] softirqs last disabled at (1746965): [] __irq_exit_rcu+0x145/0x1c0 [ 32.685475][ T676] Preemption disabled at: [ 32.685476][ T676] [<0000000000000000>] 0x0 [ 32.685485][ T676] CPU: 0 UID: 0 PID: 676 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 32.685490][ T676] Tainted: [W]=WARN [ 32.685492][ T676] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 32.685495][ T676] Call Trace: [ 32.685497][ T676] [ 32.685499][ T676] dump_stack_lvl+0x6f/0xa0 [ 32.685508][ T676] __might_resched.cold+0x1fe/0x2c1 [ 32.685514][ T676] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 32.685520][ T676] ? __kmalloc_noprof+0xdb/0x760 [ 32.685527][ T676] __kmalloc_noprof+0x443/0x760 [ 32.685531][ T676] ? alloc_buf.isra.0+0x4b/0x260 [ 32.685542][ T676] ? do_raw_spin_unlock+0x59/0x250 [ 32.685546][ T676] alloc_buf.isra.0+0x4b/0x260 [ 32.685552][ T676] put_chars+0x1e1/0x2f0 [ 32.685555][ T676] ? prb_final_commit+0x50/0x50 [ 32.685559][ T676] ? __send_to_port+0x420/0x420 [ 32.685565][ T676] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 32.685571][ T676] ? rcu_read_lock_any_held+0x3c/0x90 [ 32.685575][ T676] ? validate_chain+0x38b/0xc20 [ 32.685582][ T676] hvc_console_print+0x292/0x780 [ 32.685587][ T676] ? mark_usage+0x61/0x170 [ 32.685591][ T676] ? __lock_acquire+0x518/0xc20 [ 32.685593][ T676] ? __lock_acquire+0x518/0xc20 [ 32.685602][ T676] ? hvc_write+0x3a0/0x3a0 [ 32.685606][ T676] ? console_emit_next_record+0x1df/0x4c0 [ 32.685613][ T676] ? rcu_is_watching+0x16/0xd0 [ 32.685617][ T676] ? lock_acquire+0x13c/0x160 [ 32.685626][ T676] console_emit_next_record+0x22f/0x4c0 [ 32.685638][ T676] ? devkmsg_read+0x4b0/0x4b0 [ 32.685641][ T676] ? console_flush_one_record+0x106/0x710 [ 32.685647][ T676] ? rcu_is_watching+0x16/0xd0 [ 32.685652][ T676] ? lock_acquire+0x13c/0x160 [ 32.685660][ T676] console_flush_one_record+0x46f/0x710 [ 32.685668][ T676] ? console_emit_next_record+0x4c0/0x4c0 [ 32.685671][ T676] ? __lock_acquire+0x518/0xc20 [ 32.685683][ T676] console_unlock+0xee/0x1f0 [ 32.685688][ T676] ? console_flush_one_record+0x710/0x710 [ 32.685691][ T676] ? rcu_is_watching+0x16/0xd0 [ 32.685698][ T676] ? lock_acquire+0x60/0x160 [ 32.685708][ T676] ? __down_trylock_console_sem+0x5e/0xa0 [ 32.685712][ T676] ? vprintk_emit+0x320/0x3e0 [ 32.685721][ T676] vprintk_emit+0x37c/0x3e0 [ 32.685731][ T676] ? wake_up_klogd_work_func+0x90/0x90 [ 32.685740][ T676] ? __lock_acquire+0x518/0xc20 [ 32.685749][ T676] _printk+0xc7/0x100 [ 32.685756][ T676] ? snapshot_read.cold+0x21/0x21 [ 32.685763][ T676] ? do_raw_spin_lock+0x131/0x280 [ 32.685769][ T676] ? __rwlock_init+0x150/0x150 [ 32.685780][ T676] ? do_raw_spin_lock+0x131/0x280 [ 32.685787][ T676] do_exit.cold+0x82/0x9c [ 32.685794][ T676] ? exit_notify+0x890/0x890 [ 32.685808][ T676] __x64_sys_exit+0x42/0x50 [ 32.685812][ T676] x64_sys_call+0x156c/0x1570 [ 32.685817][ T676] do_syscall_64+0xff/0x530 [ 32.685822][ T676] ? exc_page_fault+0xee/0x100 [ 32.685829][ T676] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 32.685833][ T676] RIP: 0033:0x7fde94fd0c49 [ 32.685837][ T676] Code: Unable to access opcode bytes at 0x7fde94fd0c1f. [ 32.685839][ T676] RSP: 002b:00007fde9478fe60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 32.685844][ T676] RAX: ffffffffffffffda RBX: 00007fde947906c0 RCX: 00007fde94fd0c49 [ 32.685846][ T676] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 32.685849][ T676] RBP: 00007fde9478ff70 R08: 0000000000000001 R09: 00007fde947906c0 [ 32.685851][ T676] R10: 0000000000000008 R11: 0000000000000246 R12: 00007fde93f90000 [ 32.685853][ T676] R13: 00007ffd9dfa79a0 R14: 0000000000000002 R15: 00007ffd9dfa7aa7 [ 32.685873][ T676] [ 35.204860][ T770] tun0: deleting peer with id 1, reason 1 [ 35.205035][ T770] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 35.205038][ T770] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 770, name: ovpn-cli [ 35.205039][ T770] preempt_count: 202, expected: 0 [ 35.205041][ T770] RCU nest depth: 0, expected: 0 [ 35.205042][ T770] locks held by ovpn-cli/770: 6, last CPU#3: [ 35.205044][ T770] #0: ffffffffbb144ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 35.205057][ T770] #1: ff110000050ece68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 35.205065][ T770] #2: ffffffffba979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 35.205072][ T770] #3: ffffffffba979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 35.205076][ T770] #4: ffffffffba899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 35.205080][ T770] #5: ffffffffba899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 35.205084][ T770] irq event stamp: 34817 [ 35.205085][ T770] hardirqs last enabled at (34816): [] __down_trylock_console_sem+0x86/0xa0 [ 35.205087][ T770] hardirqs last disabled at (34817): [] console_emit_next_record+0x3d4/0x4c0 [ 35.205089][ T770] softirqs last enabled at (32226): [] handle_softirqs+0x67c/0x900 [ 35.205092][ T770] softirqs last disabled at (34812): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 35.205096][ T770] Preemption disabled at: [ 35.205097][ T770] [<0000000000000000>] 0x0 [ 35.205103][ T770] CPU: 3 UID: 0 PID: 770 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 35.205107][ T770] Tainted: [W]=WARN [ 35.205108][ T770] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 35.205110][ T770] Call Trace: [ 35.205112][ T770] [ 35.205113][ T770] dump_stack_lvl+0x6f/0xa0 [ 35.205120][ T770] __might_resched.cold+0x1fe/0x2c1 [ 35.205124][ T770] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 35.205128][ T770] ? __kmalloc_noprof+0xdb/0x760 [ 35.205133][ T770] __kmalloc_noprof+0x443/0x760 [ 35.205136][ T770] ? alloc_buf.isra.0+0x4b/0x260 [ 35.205142][ T770] ? do_raw_spin_unlock+0x59/0x250 [ 35.205145][ T770] alloc_buf.isra.0+0x4b/0x260 [ 35.205148][ T770] put_chars+0x1e1/0x2f0 [ 35.205151][ T770] ? __send_to_port+0x420/0x420 [ 35.205153][ T770] ? check_prev_add+0x316/0xe90 [ 35.205157][ T770] ? validate_chain+0x34a/0xc20 [ 35.205160][ T770] hvc_console_print+0x292/0x780 [ 35.205164][ T770] ? mark_usage+0x61/0x170 [ 35.205166][ T770] ? __lock_acquire+0x518/0xc20 [ 35.205167][ T770] ? __lock_acquire+0x518/0xc20 [ 35.205171][ T770] ? hvc_write+0x3a0/0x3a0 [ 35.205173][ T770] ? lock_acquire.part.0+0xd4/0x280 [ 35.205177][ T770] ? lock_acquire+0x13c/0x160 [ 35.205181][ T770] console_emit_next_record+0x22f/0x4c0 [ 35.205185][ T770] ? devkmsg_read+0x4b0/0x4b0 [ 35.205186][ T770] ? console_flush_one_record+0x106/0x710 [ 35.205190][ T770] ? rcu_is_watching+0x16/0xd0 [ 35.205194][ T770] ? lock_acquire+0x13c/0x160 [ 35.205198][ T770] console_flush_one_record+0x46f/0x710 [ 35.205202][ T770] ? console_emit_next_record+0x4c0/0x4c0 [ 35.205204][ T770] ? __lock_acquire+0x518/0xc20 [ 35.205209][ T770] console_unlock+0xee/0x1f0 [ 35.205212][ T770] ? console_flush_one_record+0x710/0x710 [ 35.205214][ T770] ? rcu_is_watching+0x16/0xd0 [ 35.205216][ T770] ? lock_acquire+0x60/0x160 [ 35.205220][ T770] ? __down_trylock_console_sem+0x5e/0xa0 [ 35.205221][ T770] ? vprintk_emit+0x320/0x3e0 [ 35.205225][ T770] vprintk_emit+0x37c/0x3e0 [ 35.205228][ T770] ? wake_up_klogd_work_func+0x90/0x90 [ 35.205230][ T770] ? kernel_text_address+0x149/0x170 [ 35.205233][ T770] ? __kernel_text_address+0x12/0x30 [ 35.205236][ T770] ? write_profile+0xf0/0xf0 [ 35.205239][ T770] ? unwind_get_return_address+0x67/0xd0 [ 35.205244][ T770] _printk+0xc7/0x100 [ 35.205247][ T770] ? snapshot_read.cold+0x21/0x21 [ 35.205252][ T770] ? mark_usage+0x61/0x170 [ 35.205253][ T770] ? netdev_name+0x43/0x60 [ 35.205256][ T770] ? __netdev_printk+0x17f/0x1d0 [ 35.205260][ T770] netdev_info+0xe2/0x116 [ 35.205262][ T770] ? netdev_notice+0x120/0x120 [ 35.205263][ T770] ? find_held_lock+0x2b/0x80 [ 35.205266][ T770] ? mark_usage+0x61/0x170 [ 35.205269][ T770] ? __lock_acquire+0x518/0xc20 [ 35.205275][ T770] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 35.205280][ T770] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 35.205284][ T770] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 35.205290][ T770] ovpn_peer_remove+0x394/0x640 [ovpn] [ 35.205293][ T770] ? do_raw_spin_lock+0x131/0x280 [ 35.205296][ T770] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 35.205303][ T770] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 35.205307][ T770] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 35.205313][ T770] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 35.205316][ T770] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 35.205320][ T770] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 35.205323][ T770] ? ref_tracker_alloc+0x28d/0x430 [ 35.205333][ T770] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 35.205338][ T770] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 35.205344][ T770] genl_family_rcv_msg_doit+0x206/0x300 [ 35.205347][ T770] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 35.205349][ T770] ? __lock_release.isra.0+0x69/0x1a0 [ 35.205355][ T770] ? rcu_is_watching+0x16/0xd0 [ 35.205357][ T770] ? cap_capable+0x1d7/0x3d0 [ 35.205361][ T770] ? write_profile+0xf0/0xf0 [ 35.205363][ T770] ? unwind_get_return_address+0x67/0xd0 [ 35.205366][ T770] genl_family_rcv_msg+0x3a4/0x640 [ 35.205370][ T770] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 35.205372][ T770] ? rcu_read_lock_any_held+0x3c/0x90 [ 35.205374][ T770] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 35.205377][ T770] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 35.205380][ T770] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 35.205383][ T770] ? __lock_acquire+0x518/0xc20 [ 35.205389][ T770] genl_rcv_msg+0xbb/0x160 [ 35.205392][ T770] netlink_rcv_skb+0x14e/0x3a0 [ 35.205394][ T770] ? genl_family_rcv_msg+0x640/0x640 [ 35.205398][ T770] ? netlink_ack+0xcf0/0xcf0 [ 35.205405][ T770] ? netlink_deliver_tap+0xc5/0x330 [ 35.205407][ T770] ? netlink_deliver_tap+0x13c/0x330 [ 35.205411][ T770] genl_rcv+0x28/0x40 [ 35.205413][ T770] netlink_unicast+0x486/0x750 [ 35.205417][ T770] ? netlink_attachskb+0x810/0x810 [ 35.205420][ T770] ? __lock_acquire+0x518/0xc20 [ 35.205425][ T770] netlink_sendmsg+0x735/0xc60 [ 35.205429][ T770] ? netlink_unicast+0x750/0x750 [ 35.205433][ T770] ? __might_fault+0x97/0x140 [ 35.205438][ T770] ____sys_sendmsg+0x415/0x880 [ 35.205443][ T770] ? copy_msghdr_from_user+0x279/0x420 [ 35.205445][ T770] ? get_timestamp.constprop.0+0x390/0x390 [ 35.205447][ T770] ? move_addr_to_kernel+0x40/0x40 [ 35.205454][ T770] ___sys_sendmsg+0x14e/0x1d0 [ 35.205457][ T770] ? copy_msghdr_from_user+0x420/0x420 [ 35.205459][ T770] ? kfree+0x22/0x590 [ 35.205475][ T770] __sys_sendmsg+0x12c/0x1d0 [ 35.205478][ T770] ? __sys_sendmsg_sock+0x20/0x20 [ 35.205484][ T770] ? fpregs_restore_userregs+0x14b/0x300 [ 35.205487][ T770] ? rcu_is_watching+0x16/0xd0 [ 35.205491][ T770] do_syscall_64+0xff/0x530 [ 35.205494][ T770] ? exc_page_fault+0xee/0x100 [ 35.205497][ T770] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 35.205499][ T770] RIP: 0033:0x7fc9a39cd54e [ 35.205501][ 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 [ 35.205503][ T770] RSP: 002b:00007ffcb56f0e40 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 35.205506][ T770] RAX: ffffffffffffffda RBX: 00000000022fa130 RCX: 00007fc9a39cd54e [ 35.205507][ T770] RDX: 0000000000000000 RSI: 00007ffcb56f0ee0 RDI: 0000000000000005 [ 35.205509][ T770] RBP: 00007ffcb56f0e50 R08: 0000000000000000 R09: 0000000000000000 [ 35.205509][ T770] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000022fa200 [ 35.205510][ T770] R13: 00007ffcb56f0ee0 R14: 00000000022fb260 R15: 000000000040bda8 [ 35.205517][ T770] [ 35.368767][ T774] tun1: deleting peer with id 10, reason 1 [ 38.522130][ T822] tun0: deleting peer with id 2, reason 1 [ 38.522152][ T822] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 38.522154][ T822] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 822, name: ovpn-cli [ 38.522156][ T822] preempt_count: 202, expected: 0 [ 38.522157][ T822] RCU nest depth: 0, expected: 0 [ 38.522158][ T822] locks held by ovpn-cli/822: 6, last CPU#3: [ 38.522160][ T822] #0: ffffffffbb144ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 38.522173][ T822] #1: ff110000050ece68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 38.522181][ T822] #2: ffffffffba979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 38.522188][ T822] #3: ffffffffba979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 38.522192][ T822] #4: ffffffffba899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 38.522195][ T822] #5: ffffffffba899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 38.522199][ T822] irq event stamp: 33847 [ 38.522200][ T822] hardirqs last enabled at (33846): [] __down_trylock_console_sem+0x86/0xa0 [ 38.522203][ T822] hardirqs last disabled at (33847): [] console_emit_next_record+0x3d4/0x4c0 [ 38.522205][ T822] softirqs last enabled at (33814): [] __alloc_skb+0x4c2/0x5f0 [ 38.522209][ T822] softirqs last disabled at (33842): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 38.522212][ T822] Preemption disabled at: [ 38.522213][ T822] [<0000000000000000>] 0x0 [ 38.522219][ T822] CPU: 3 UID: 0 PID: 822 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 38.522223][ T822] Tainted: [W]=WARN [ 38.522224][ T822] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 38.522226][ T822] Call Trace: [ 38.522227][ T822] [ 38.522229][ T822] dump_stack_lvl+0x6f/0xa0 [ 38.522237][ T822] __might_resched.cold+0x1fe/0x2c1 [ 38.522242][ T822] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 38.522246][ T822] ? __kmalloc_noprof+0xdb/0x760 [ 38.522252][ T822] __kmalloc_noprof+0x443/0x760 [ 38.522254][ T822] ? alloc_buf.isra.0+0x4b/0x260 [ 38.522260][ T822] ? do_raw_spin_unlock+0x59/0x250 [ 38.522263][ T822] alloc_buf.isra.0+0x4b/0x260 [ 38.522266][ T822] put_chars+0x1e1/0x2f0 [ 38.522270][ T822] ? __send_to_port+0x420/0x420 [ 38.522273][ T822] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 38.522277][ T822] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.522279][ T822] ? validate_chain+0x38b/0xc20 [ 38.522283][ T822] hvc_console_print+0x292/0x780 [ 38.522286][ T822] ? mark_usage+0x61/0x170 [ 38.522288][ T822] ? __lock_acquire+0x518/0xc20 [ 38.522290][ T822] ? __lock_acquire+0x518/0xc20 [ 38.522294][ T822] ? hvc_write+0x3a0/0x3a0 [ 38.522295][ T822] ? lock_acquire.part.0+0xd4/0x280 [ 38.522300][ T822] ? lock_acquire+0x13c/0x160 [ 38.522304][ T822] console_emit_next_record+0x22f/0x4c0 [ 38.522307][ T822] ? devkmsg_read+0x4b0/0x4b0 [ 38.522309][ T822] ? console_flush_one_record+0x106/0x710 [ 38.522312][ T822] ? rcu_is_watching+0x16/0xd0 [ 38.522315][ T822] ? lock_acquire+0x13c/0x160 [ 38.522319][ T822] console_flush_one_record+0x46f/0x710 [ 38.522323][ T822] ? console_emit_next_record+0x4c0/0x4c0 [ 38.522325][ T822] ? __lock_acquire+0x518/0xc20 [ 38.522330][ T822] console_unlock+0xee/0x1f0 [ 38.522333][ T822] ? console_flush_one_record+0x710/0x710 [ 38.522335][ T822] ? rcu_is_watching+0x16/0xd0 [ 38.522338][ T822] ? lock_acquire+0x60/0x160 [ 38.522341][ T822] ? __down_trylock_console_sem+0x5e/0xa0 [ 38.522343][ T822] ? vprintk_emit+0x320/0x3e0 [ 38.522346][ T822] vprintk_emit+0x37c/0x3e0 [ 38.522350][ T822] ? wake_up_klogd_work_func+0x90/0x90 [ 38.522352][ T822] ? kernel_text_address+0x149/0x170 [ 38.522355][ T822] ? __kernel_text_address+0x12/0x30 [ 38.522356][ T822] ? write_profile+0xf0/0xf0 [ 38.522359][ T822] ? unwind_get_return_address+0x67/0xd0 [ 38.522364][ T822] _printk+0xc7/0x100 [ 38.522368][ T822] ? snapshot_read.cold+0x21/0x21 [ 38.522372][ T822] ? mark_usage+0x61/0x170 [ 38.522373][ T822] ? netdev_name+0x43/0x60 [ 38.522377][ T822] ? __netdev_printk+0x17f/0x1d0 [ 38.522380][ T822] netdev_info+0xe2/0x116 [ 38.522382][ T822] ? netdev_notice+0x120/0x120 [ 38.522384][ T822] ? find_held_lock+0x2b/0x80 [ 38.522386][ T822] ? mark_usage+0x61/0x170 [ 38.522389][ T822] ? __lock_acquire+0x518/0xc20 [ 38.522395][ T822] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 38.522401][ T822] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 38.522405][ T822] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 38.522410][ T822] ovpn_peer_remove+0x394/0x640 [ovpn] [ 38.522414][ T822] ? do_raw_spin_lock+0x131/0x280 [ 38.522417][ T822] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 38.522423][ T822] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 38.522428][ T822] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 38.522434][ T822] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 38.522437][ T822] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 38.522441][ T822] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 38.522444][ T822] ? ref_tracker_alloc+0x28d/0x430 [ 38.522455][ T822] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 38.522460][ T822] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 38.522465][ T822] genl_family_rcv_msg_doit+0x206/0x300 [ 38.522469][ T822] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 38.522471][ T822] ? __lock_release.isra.0+0x69/0x1a0 [ 38.522477][ T822] ? rcu_is_watching+0x16/0xd0 [ 38.522479][ T822] ? cap_capable+0x1d7/0x3d0 [ 38.522483][ T822] ? write_profile+0xf0/0xf0 [ 38.522484][ T822] ? unwind_get_return_address+0x67/0xd0 [ 38.522488][ T822] genl_family_rcv_msg+0x3a4/0x640 [ 38.522492][ T822] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 38.522494][ T822] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.522496][ T822] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 38.522499][ T822] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 38.522501][ T822] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 38.522505][ T822] ? __lock_acquire+0x518/0xc20 [ 38.522510][ T822] genl_rcv_msg+0xbb/0x160 [ 38.522514][ T822] netlink_rcv_skb+0x14e/0x3a0 [ 38.522516][ T822] ? genl_family_rcv_msg+0x640/0x640 [ 38.522520][ T822] ? netlink_ack+0xcf0/0xcf0 [ 38.522527][ T822] ? netlink_deliver_tap+0xc5/0x330 [ 38.522529][ T822] ? netlink_deliver_tap+0x13c/0x330 [ 38.522533][ T822] genl_rcv+0x28/0x40 [ 38.522535][ T822] netlink_unicast+0x486/0x750 [ 38.522539][ T822] ? netlink_attachskb+0x810/0x810 [ 38.522542][ T822] ? __lock_acquire+0x518/0xc20 [ 38.522546][ T822] netlink_sendmsg+0x735/0xc60 [ 38.522551][ T822] ? netlink_unicast+0x750/0x750 [ 38.522555][ T822] ? __might_fault+0x97/0x140 [ 38.522560][ T822] ____sys_sendmsg+0x415/0x880 [ 38.522564][ T822] ? copy_msghdr_from_user+0x279/0x420 [ 38.522566][ T822] ? get_timestamp.constprop.0+0x390/0x390 [ 38.522568][ T822] ? move_addr_to_kernel+0x40/0x40 [ 38.522576][ T822] ___sys_sendmsg+0x14e/0x1d0 [ 38.522579][ T822] ? copy_msghdr_from_user+0x420/0x420 [ 38.522580][ T822] ? kfree+0x22/0x590 [ 38.522596][ T822] __sys_sendmsg+0x12c/0x1d0 [ 38.522599][ T822] ? __sys_sendmsg_sock+0x20/0x20 [ 38.522605][ T822] ? rcu_is_watching+0x16/0xd0 [ 38.522607][ T822] ? rcu_is_watching+0x16/0xd0 [ 38.522611][ T822] do_syscall_64+0xff/0x530 [ 38.522614][ T822] ? exc_page_fault+0xee/0x100 [ 38.522617][ T822] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 38.522619][ T822] RIP: 0033:0x7fd21941954e [ 38.522622][ 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 [ 38.522624][ T822] RSP: 002b:00007ffc9c95efa0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 38.522627][ T822] RAX: ffffffffffffffda RBX: 00000000304c4130 RCX: 00007fd21941954e [ 38.522628][ T822] RDX: 0000000000000000 RSI: 00007ffc9c95f040 RDI: 0000000000000005 [ 38.522629][ T822] RBP: 00007ffc9c95efb0 R08: 0000000000000000 R09: 0000000000000000 [ 38.522630][ T822] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000304c4200 [ 38.522631][ T822] R13: 00007ffc9c95f040 R14: 00000000304c5260 R15: 000000000040bda8 [ 38.522638][ T822] [ 38.657492][ T826] tun2: deleting peer with id 11, reason 1 [ 45.000510][ T10] tun0: deleting peer with id 4, reason 2 [ 45.000573][ T10] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 45.000575][ T10] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 [ 45.000577][ T10] preempt_count: 202, expected: 0 [ 45.000578][ T10] RCU nest depth: 0, expected: 0 [ 45.000579][ T10] locks held by kworker/0:1/10: 7, last CPU#0: [ 45.000581][ T10] #0: ff1100000a22b940 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 45.000593][ T10] #1: ffa00000000a7d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 45.000597][ T10] #2: ff110000050ece68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 45.000606][ T10] #3: ffffffffba979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 45.000611][ T10] #4: ffffffffba979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 45.000615][ T10] #5: ffffffffba899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 45.000619][ T10] #6: ffffffffba899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 45.000623][ T10] irq event stamp: 32569 [ 45.000624][ T10] hardirqs last enabled at (32568): [] __down_trylock_console_sem+0x86/0xa0 [ 45.000626][ T10] hardirqs last disabled at (32569): [] console_emit_next_record+0x3d4/0x4c0 [ 45.000628][ T10] softirqs last enabled at (32428): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 45.000632][ T10] softirqs last disabled at (32562): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 45.000636][ T10] Preemption disabled at: [ 45.000637][ T10] [<0000000000000000>] 0x0 [ 45.000644][ T10] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 45.000647][ T10] Tainted: [W]=WARN [ 45.000648][ T10] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 45.000650][ T10] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 45.000655][ T10] Call Trace: [ 45.000657][ T10] [ 45.000658][ T10] dump_stack_lvl+0x6f/0xa0 [ 45.000665][ T10] __might_resched.cold+0x1fe/0x2c1 [ 45.000669][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 45.000674][ T10] ? __kmalloc_noprof+0xdb/0x760 [ 45.000679][ T10] __kmalloc_noprof+0x443/0x760 [ 45.000681][ T10] ? alloc_buf.isra.0+0x4b/0x260 [ 45.000687][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 45.000690][ T10] alloc_buf.isra.0+0x4b/0x260 [ 45.000695][ T10] put_chars+0x1e1/0x2f0 [ 45.000704][ T10] ? __send_to_port+0x420/0x420 [ 45.000709][ T10] ? validate_chain+0x34a/0xc20 [ 45.000712][ T10] hvc_console_print+0x292/0x780 [ 45.000716][ T10] ? mark_usage+0x61/0x170 [ 45.000718][ T10] ? __lock_acquire+0x518/0xc20 [ 45.000719][ T10] ? __lock_acquire+0x518/0xc20 [ 45.000723][ T10] ? hvc_write+0x3a0/0x3a0 [ 45.000726][ T10] ? console_emit_next_record+0x1df/0x4c0 [ 45.000729][ T10] ? rcu_is_watching+0x16/0xd0 [ 45.000733][ T10] ? lock_acquire+0x13c/0x160 [ 45.000737][ T10] console_emit_next_record+0x22f/0x4c0 [ 45.000741][ T10] ? devkmsg_read+0x4b0/0x4b0 [ 45.000743][ T10] ? console_flush_one_record+0x106/0x710 [ 45.000746][ T10] ? rcu_is_watching+0x16/0xd0 [ 45.000748][ T10] ? lock_acquire+0x13c/0x160 [ 45.000752][ T10] console_flush_one_record+0x46f/0x710 [ 45.000757][ T10] ? console_emit_next_record+0x4c0/0x4c0 [ 45.000758][ T10] ? __lock_acquire+0x518/0xc20 [ 45.000764][ T10] console_unlock+0xee/0x1f0 [ 45.000767][ T10] ? console_flush_one_record+0x710/0x710 [ 45.000768][ T10] ? rcu_is_watching+0x16/0xd0 [ 45.000771][ T10] ? lock_acquire+0x60/0x160 [ 45.000774][ T10] ? __down_trylock_console_sem+0x5e/0xa0 [ 45.000776][ T10] ? vprintk_emit+0x320/0x3e0 [ 45.000779][ T10] vprintk_emit+0x37c/0x3e0 [ 45.000784][ T10] ? wake_up_klogd_work_func+0x90/0x90 [ 45.000787][ T10] ? arch_stack_walk+0xd7/0x130 [ 45.000793][ T10] _printk+0xc7/0x100 [ 45.000796][ T10] ? snapshot_read.cold+0x21/0x21 [ 45.000801][ T10] ? netdev_name+0x43/0x60 [ 45.000804][ T10] ? __netdev_printk+0x17f/0x1d0 [ 45.000808][ T10] netdev_info+0xe2/0x116 [ 45.000810][ T10] ? netdev_notice+0x120/0x120 [ 45.000811][ T10] ? rcu_read_lock_any_held+0x3c/0x90 [ 45.000816][ T10] ? __lock_acquire+0x518/0xc20 [ 45.000818][ T10] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 45.000821][ T10] ? rcu_read_lock_any_held+0x3c/0x90 [ 45.000825][ T10] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 45.000831][ T10] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 45.000839][ T10] ovpn_peer_remove+0x394/0x640 [ovpn] [ 45.000843][ T10] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 45.000846][ T10] ? __rwlock_init+0x150/0x150 [ 45.000848][ T10] ? mark_held_locks+0x40/0x70 [ 45.000852][ T10] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 45.000857][ T10] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 45.000860][ T10] ? __rwlock_init+0x150/0x150 [ 45.000865][ T10] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 45.000869][ T10] ? process_one_work+0xdfc/0x1560 [ 45.000872][ T10] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 45.000875][ T10] ? rcu_is_watching+0x16/0xd0 [ 45.000878][ T10] ? lock_acquire+0x13c/0x160 [ 45.000879][ T10] ? rcu_is_watching+0x16/0xd0 [ 45.000884][ T10] process_one_work+0xe3e/0x1560 [ 45.000890][ T10] ? __queue_delayed_work+0x470/0x470 [ 45.000893][ T10] ? lock_acquire.part.0+0xd4/0x280 [ 45.000901][ T10] worker_thread+0x4f1/0xd60 [ 45.000905][ T10] ? rescuer_thread+0x1340/0x1340 [ 45.000908][ T10] ? __kthread_parkme+0xbd/0x210 [ 45.000911][ T10] ? rescuer_thread+0x1340/0x1340 [ 45.000914][ T10] ? rescuer_thread+0x1340/0x1340 [ 45.000916][ T10] kthread+0x367/0x460 [ 45.000918][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 45.000921][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 45.000924][ T10] ret_from_fork+0x474/0x6b0 [ 45.000927][ T10] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 45.000930][ T10] ? __switch_to+0x5a3/0xe00 [ 45.000934][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 45.000936][ T10] ret_from_fork_asm+0x11/0x20 [ 45.000946][ T10] [ 45.026491][ T10] tun0: deleting peer with id 3, reason 2 [ 45.026784][ T10] tun0: deleting peer with id 5, reason 2 [ 45.027124][ T10] tun0: deleting peer with id 6, reason 2 [ 50.248938][ T29] tun3: deleting peer with id 12, reason 2 [ 50.248965][ T29] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 50.248969][ T29] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 29, name: kworker/2:0 [ 50.248971][ T29] preempt_count: 202, expected: 0 [ 50.248972][ T29] RCU nest depth: 0, expected: 0 [ 50.248974][ T29] locks held by kworker/2:0/29: 7, last CPU#2: [ 50.248977][ T29] #0: ff1100000a22b940 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 50.248992][ T29] #1: ffa000000020fd10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 50.248999][ T29] #2: ff110000088a1e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 50.249010][ T29] #3: ffffffffba979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 50.249017][ T29] #4: ffffffffba979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 50.249023][ T29] #5: ffffffffba899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 50.249029][ T29] #6: ffffffffba899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 50.249035][ T29] irq event stamp: 51357 [ 50.249037][ T29] hardirqs last enabled at (51356): [] __down_trylock_console_sem+0x86/0xa0 [ 50.249040][ T29] hardirqs last disabled at (51357): [] console_emit_next_record+0x3d4/0x4c0 [ 50.249043][ T29] softirqs last enabled at (50942): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 50.249049][ T29] softirqs last disabled at (51346): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 50.249055][ T29] Preemption disabled at: [ 50.249056][ T29] [<0000000000000000>] 0x0 [ 50.249066][ T29] CPU: 2 UID: 0 PID: 29 Comm: kworker/2:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 50.249071][ T29] Tainted: [W]=WARN [ 50.249072][ T29] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 50.249075][ T29] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 50.249083][ T29] Call Trace: [ 50.249085][ T29] [ 50.249089][ T29] dump_stack_lvl+0x6f/0xa0 [ 50.249098][ T29] __might_resched.cold+0x1fe/0x2c1 [ 50.249104][ T29] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 50.249110][ T29] ? __kmalloc_noprof+0xdb/0x760 [ 50.249117][ T29] __kmalloc_noprof+0x443/0x760 [ 50.249122][ T29] ? alloc_buf.isra.0+0x4b/0x260 [ 50.249131][ T29] ? do_raw_spin_unlock+0x59/0x250 [ 50.249135][ T29] alloc_buf.isra.0+0x4b/0x260 [ 50.249140][ T29] put_chars+0x1e1/0x2f0 [ 50.249143][ T29] ? prb_final_commit+0x50/0x50 [ 50.249147][ T29] ? __send_to_port+0x420/0x420 [ 50.249152][ T29] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 50.249158][ T29] ? rcu_read_lock_any_held+0x3c/0x90 [ 50.249162][ T29] ? validate_chain+0x38b/0xc20 [ 50.249168][ T29] hvc_console_print+0x292/0x780 [ 50.249173][ T29] ? mark_usage+0x61/0x170 [ 50.249176][ T29] ? __lock_acquire+0x518/0xc20 [ 50.249178][ T29] ? __lock_acquire+0x518/0xc20 [ 50.249185][ T29] ? hvc_write+0x3a0/0x3a0 [ 50.249189][ T29] ? console_emit_next_record+0x1df/0x4c0 [ 50.249195][ T29] ? rcu_is_watching+0x16/0xd0 [ 50.249199][ T29] ? lock_acquire+0x13c/0x160 [ 50.249207][ T29] console_emit_next_record+0x22f/0x4c0 [ 50.249213][ T29] ? devkmsg_read+0x4b0/0x4b0 [ 50.249216][ T29] ? console_flush_one_record+0x106/0x710 [ 50.249221][ T29] ? rcu_is_watching+0x16/0xd0 [ 50.249225][ T29] ? lock_acquire+0x13c/0x160 [ 50.249238][ T29] console_flush_one_record+0x46f/0x710 [ 50.249245][ T29] ? console_emit_next_record+0x4c0/0x4c0 [ 50.249248][ T29] ? __lock_acquire+0x518/0xc20 [ 50.249258][ T29] console_unlock+0xee/0x1f0 [ 50.249263][ T29] ? console_flush_one_record+0x710/0x710 [ 50.249266][ T29] ? rcu_is_watching+0x16/0xd0 [ 50.249269][ T29] ? lock_acquire+0x60/0x160 [ 50.249276][ T29] ? __down_trylock_console_sem+0x5e/0xa0 [ 50.249279][ T29] ? vprintk_emit+0x320/0x3e0 [ 50.249285][ T29] vprintk_emit+0x37c/0x3e0 [ 50.249292][ T29] ? wake_up_klogd_work_func+0x90/0x90 [ 50.249297][ T29] ? __lock_release.isra.0+0x69/0x1a0 [ 50.249305][ T29] _printk+0xc7/0x100 [ 50.249310][ T29] ? snapshot_read.cold+0x21/0x21 [ 50.249312][ T29] ? try_to_wake_up+0x153/0x1130 [ 50.249318][ T29] ? select_fallback_rq+0x510/0x510 [ 50.249322][ T29] ? netdev_name+0x43/0x60 [ 50.249327][ T29] ? __netdev_printk+0x17f/0x1d0 [ 50.249334][ T29] netdev_info+0xe2/0x116 [ 50.249337][ T29] ? netdev_notice+0x120/0x120 [ 50.249347][ T29] ? __queue_work+0x3ab/0xd30 [ 50.249357][ T29] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 50.249366][ T29] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 50.249372][ T29] ? mark_held_locks+0x40/0x70 [ 50.249377][ T29] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 50.249379][ T29] ? lockdep_hardirqs_on+0x91/0x130 [ 50.249388][ T29] ovpn_peer_remove+0x394/0x640 [ovpn] [ 50.249396][ T29] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 50.249401][ T29] ? __rwlock_init+0x150/0x150 [ 50.249404][ T29] ? mark_held_locks+0x40/0x70 [ 50.249412][ T29] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 50.249420][ T29] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 50.249426][ T29] ? __rwlock_init+0x150/0x150 [ 50.249436][ T29] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 50.249443][ T29] ? process_one_work+0xdfc/0x1560 [ 50.249448][ T29] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 50.249454][ T29] ? rcu_is_watching+0x16/0xd0 [ 50.249457][ T29] ? lock_acquire+0x13c/0x160 [ 50.249460][ T29] ? rcu_is_watching+0x16/0xd0 [ 50.249467][ T29] ? process_one_work+0xdfc/0x1560 [ 50.249469][ T29] process_one_work+0xe3e/0x1560 [ 50.249482][ T29] ? __queue_delayed_work+0x470/0x470 [ 50.249486][ T29] ? lock_acquire.part.0+0xd4/0x280 [ 50.249502][ T29] worker_thread+0x4f1/0xd60 [ 50.249515][ T29] ? rescuer_thread+0x1340/0x1340 [ 50.249518][ T29] kthread+0x367/0x460 [ 50.249522][ T29] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 50.249526][ T29] ? kthread_affine_preferred+0x4c0/0x4c0 [ 50.249531][ T29] ret_from_fork+0x474/0x6b0 [ 50.249537][ T29] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 50.249543][ T29] ? __switch_to+0x5a3/0xe00 [ 50.249548][ T29] ? kthread_affine_preferred+0x4c0/0x4c0 [ 50.249552][ T29] ret_from_fork_asm+0x11/0x20 [ 50.249569][ T29] [ 50.376309][ T66] tun4: deleting peer with id 13, reason 2 [ 50.440299][ T10] tun5: deleting peer with id 14, reason 2 [ 50.568333][ T53] tun6: deleting peer with id 15, reason 2