[ 16.480092][ T328] ip (328) used greatest stack depth: 23952 bytes left [ 16.480110][ T328] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.480112][ T328] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 328, name: ip [ 16.480114][ T328] preempt_count: 2, expected: 0 [ 16.480114][ T328] RCU nest depth: 0, expected: 0 [ 16.480115][ T328] locks held by ip/328: 5, last CPU#3: [ 16.480117][ T328] #0: ffffffff9f0127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 16.480127][ T328] #1: ffffffff9f179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.480133][ T328] #2: ffffffff9f179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.480137][ T328] #3: ffffffff9f099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.480140][ T328] #4: ffffffff9f099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.480144][ T328] irq event stamp: 21608 [ 16.480145][ T328] hardirqs last enabled at (21607): [] __down_trylock_console_sem+0x86/0xa0 [ 16.480148][ T328] hardirqs last disabled at (21608): [] console_emit_next_record+0x3d4/0x4c0 [ 16.480150][ T328] softirqs last enabled at (20110): [] netlink_release+0x17b/0xcf0 [ 16.480154][ T328] softirqs last disabled at (20108): [] netlink_release+0xd2/0xcf0 [ 16.480157][ T328] Preemption disabled at: [ 16.480157][ T328] [<0000000000000000>] 0x0 [ 16.480164][ T328] CPU: 3 UID: 0 PID: 328 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.480167][ T328] Tainted: [W]=WARN [ 16.480168][ T328] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.480170][ T328] Call Trace: [ 16.480172][ T328] [ 16.480173][ T328] dump_stack_lvl+0x6f/0xa0 [ 16.480179][ T328] __might_resched.cold+0x1fe/0x2c1 [ 16.480184][ T328] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.480188][ T328] ? __kmalloc_noprof+0xdb/0x760 [ 16.480193][ T328] __kmalloc_noprof+0x443/0x760 [ 16.480196][ T328] ? alloc_buf.isra.0+0x4b/0x260 [ 16.480202][ T328] ? do_raw_spin_unlock+0x59/0x250 [ 16.480204][ T328] alloc_buf.isra.0+0x4b/0x260 [ 16.480208][ T328] put_chars+0x1e1/0x2f0 [ 16.480211][ T328] ? __send_to_port+0x420/0x420 [ 16.480213][ T328] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.480218][ T328] ? validate_chain+0x38b/0xc20 [ 16.480224][ T328] hvc_console_print+0x292/0x780 [ 16.480232][ T328] ? hvc_write+0x3a0/0x3a0 [ 16.480234][ T328] ? rcu_is_watching+0x16/0xd0 [ 16.480237][ T328] ? lock_acquire+0x13c/0x160 [ 16.480241][ T328] console_emit_next_record+0x22f/0x4c0 [ 16.480246][ T328] ? devkmsg_read+0x4b0/0x4b0 [ 16.480247][ T328] ? console_flush_one_record+0x106/0x710 [ 16.480251][ T328] ? rcu_is_watching+0x16/0xd0 [ 16.480253][ T328] ? lock_acquire+0x13c/0x160 [ 16.480258][ T328] console_flush_one_record+0x46f/0x710 [ 16.480263][ T328] ? console_emit_next_record+0x4c0/0x4c0 [ 16.480264][ T328] ? __lock_acquire+0x518/0xc20 [ 16.480270][ T328] console_unlock+0xee/0x1f0 [ 16.480273][ T328] ? console_flush_one_record+0x710/0x710 [ 16.480275][ T328] ? rcu_is_watching+0x16/0xd0 [ 16.480278][ T328] ? lock_acquire+0x60/0x160 [ 16.480282][ T328] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.480283][ T328] ? vprintk_emit+0x320/0x3e0 [ 16.480287][ T328] vprintk_emit+0x37c/0x3e0 [ 16.480291][ T328] ? wake_up_klogd_work_func+0x90/0x90 [ 16.480295][ T328] ? __lock_acquire+0x518/0xc20 [ 16.480299][ T328] _printk+0xc7/0x100 [ 16.480303][ T328] ? snapshot_read.cold+0x21/0x21 [ 16.480306][ T328] ? do_raw_spin_lock+0x131/0x280 [ 16.480309][ T328] ? __rwlock_init+0x150/0x150 [ 16.480313][ T328] ? do_raw_spin_lock+0x131/0x280 [ 16.480316][ T328] do_exit.cold+0x82/0x9c [ 16.480320][ T328] ? exit_notify+0x890/0x890 [ 16.480321][ T328] ? __lock_release.isra.0+0x69/0x1a0 [ 16.480324][ T328] ? rcu_is_watching+0x16/0xd0 [ 16.480329][ T328] do_group_exit+0xb8/0x370 [ 16.480332][ T328] __x64_sys_exit_group+0x3c/0x50 [ 16.480334][ T328] x64_sys_call+0x1567/0x1570 [ 16.480337][ T328] do_syscall_64+0xff/0x530 [ 16.480340][ T328] ? exc_page_fault+0xee/0x100 [ 16.480343][ T328] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.480346][ T328] RIP: 0033:0x7f60037ee1b8 [ 16.480348][ T328] Code: Unable to access opcode bytes at 0x7f60037ee18e. [ 16.480349][ T328] RSP: 002b:00007ffc97f28d68 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 16.480351][ T328] RAX: ffffffffffffffda RBX: 00007f600391ef88 RCX: 00007f60037ee1b8 [ 16.480353][ T328] RDX: 00007f6003538fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 16.480353][ T328] RBP: 00007ffc97f28dc0 R08: 0000000000000000 R09: 0000000000000050 [ 16.480354][ T328] R10: 00007ffc97f28b80 R11: 0000000000000246 R12: 0000000000000001 [ 16.480355][ T328] R13: 0000000000000000 R14: 00007f600391d680 R15: 00007f600391efa0 [ 16.480363][ T328] [ 16.535093][ T329] ip (329) used greatest stack depth: 23840 bytes left [ 20.964187][ T538] ovpn-cli (538) used greatest stack depth: 22848 bytes left [ 20.964204][ T538] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 20.964206][ T538] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 538, name: ovpn-cli [ 20.964208][ T538] preempt_count: 2, expected: 0 [ 20.964209][ T538] RCU nest depth: 0, expected: 0 [ 20.964210][ T538] locks held by ovpn-cli/538: 5, last CPU#3: [ 20.964212][ T538] #0: ffffffff9f0127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 20.964222][ T538] #1: ffffffff9f179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 20.964228][ T538] #2: ffffffff9f179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 20.964232][ T538] #3: ffffffff9f099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 20.964236][ T538] #4: ffffffff9f099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 20.964240][ T538] irq event stamp: 41162 [ 20.964240][ T538] hardirqs last enabled at (41161): [] __down_trylock_console_sem+0x86/0xa0 [ 20.964243][ T538] hardirqs last disabled at (41162): [] console_emit_next_record+0x3d4/0x4c0 [ 20.964245][ T538] softirqs last enabled at (37340): [] handle_softirqs+0x67c/0x900 [ 20.964247][ T538] softirqs last disabled at (37333): [] __irq_exit_rcu+0x145/0x1c0 [ 20.964249][ T538] Preemption disabled at: [ 20.964250][ T538] [<0000000000000000>] 0x0 [ 20.964257][ T538] CPU: 3 UID: 0 PID: 538 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 20.964260][ T538] Tainted: [W]=WARN [ 20.964261][ T538] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.964263][ T538] Call Trace: [ 20.964264][ T538] [ 20.964265][ T538] dump_stack_lvl+0x6f/0xa0 [ 20.964272][ T538] __might_resched.cold+0x1fe/0x2c1 [ 20.964277][ T538] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 20.964281][ T538] ? __kmalloc_noprof+0xdb/0x760 [ 20.964287][ T538] __kmalloc_noprof+0x443/0x760 [ 20.964289][ T538] ? alloc_buf.isra.0+0x4b/0x260 [ 20.964296][ T538] ? do_raw_spin_unlock+0x59/0x250 [ 20.964299][ T538] alloc_buf.isra.0+0x4b/0x260 [ 20.964303][ T538] put_chars+0x1e1/0x2f0 [ 20.964306][ T538] ? __send_to_port+0x420/0x420 [ 20.964308][ T538] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 20.964313][ T538] ? validate_chain+0x38b/0xc20 [ 20.964319][ T538] hvc_console_print+0x292/0x780 [ 20.964327][ T538] ? hvc_write+0x3a0/0x3a0 [ 20.964329][ T538] ? rcu_is_watching+0x16/0xd0 [ 20.964332][ T538] ? lock_acquire+0x13c/0x160 [ 20.964336][ T538] console_emit_next_record+0x22f/0x4c0 [ 20.964341][ T538] ? devkmsg_read+0x4b0/0x4b0 [ 20.964343][ T538] ? console_flush_one_record+0x106/0x710 [ 20.964346][ T538] ? rcu_is_watching+0x16/0xd0 [ 20.964349][ T538] ? lock_acquire+0x13c/0x160 [ 20.964353][ T538] console_flush_one_record+0x46f/0x710 [ 20.964358][ T538] ? console_emit_next_record+0x4c0/0x4c0 [ 20.964359][ T538] ? __lock_acquire+0x518/0xc20 [ 20.964365][ T538] console_unlock+0xee/0x1f0 [ 20.964369][ T538] ? console_flush_one_record+0x710/0x710 [ 20.964370][ T538] ? rcu_is_watching+0x16/0xd0 [ 20.964373][ T538] ? lock_acquire+0x60/0x160 [ 20.964377][ T538] ? __down_trylock_console_sem+0x5e/0xa0 [ 20.964378][ T538] ? vprintk_emit+0x320/0x3e0 [ 20.964382][ T538] vprintk_emit+0x37c/0x3e0 [ 20.964386][ T538] ? wake_up_klogd_work_func+0x90/0x90 [ 20.964390][ T538] ? __lock_acquire+0x518/0xc20 [ 20.964394][ T538] _printk+0xc7/0x100 [ 20.964398][ T538] ? snapshot_read.cold+0x21/0x21 [ 20.964401][ T538] ? do_raw_spin_lock+0x131/0x280 [ 20.964404][ T538] ? __rwlock_init+0x150/0x150 [ 20.964408][ T538] ? do_raw_spin_lock+0x131/0x280 [ 20.964411][ T538] do_exit.cold+0x82/0x9c [ 20.964415][ T538] ? exit_notify+0x890/0x890 [ 20.964416][ T538] ? __lock_release.isra.0+0x69/0x1a0 [ 20.964419][ T538] ? rcu_is_watching+0x16/0xd0 [ 20.964424][ T538] do_group_exit+0xb8/0x370 [ 20.964427][ T538] __x64_sys_exit_group+0x3c/0x50 [ 20.964429][ T538] x64_sys_call+0x1567/0x1570 [ 20.964431][ T538] do_syscall_64+0xff/0x530 [ 20.964435][ T538] ? exc_page_fault+0xee/0x100 [ 20.964438][ T538] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 20.964441][ T538] RIP: 0033:0x7f50925ba1b8 [ 20.964443][ T538] Code: Unable to access opcode bytes at 0x7f50925ba18e. [ 20.964444][ T538] RSP: 002b:00007ffc32a53c48 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 20.964446][ T538] RAX: ffffffffffffffda RBX: 00007f50926eaf88 RCX: 00007f50925ba1b8 [ 20.964448][ T538] RDX: 00007f50924b61c8 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 20.964449][ T538] RBP: 00007ffc32a53ca0 R08: 0000000000000000 R09: 0000000000000000 [ 20.964449][ T538] R10: 00007f50927181a0 R11: 0000000000000246 R12: 0000000000000001 [ 20.964450][ T538] R13: 0000000000000000 R14: 00007f50926e9680 R15: 00007f50926eafa0 [ 20.964459][ T538] [ 31.514158][ T774] tun0: deleting peer with id 1, reason 1 [ 31.514261][ T774] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 31.514263][ T774] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 774, name: ovpn-cli [ 31.514264][ T774] preempt_count: 202, expected: 0 [ 31.514265][ T774] RCU nest depth: 0, expected: 0 [ 31.514266][ T774] locks held by ovpn-cli/774: 6, last CPU#0: [ 31.514268][ T774] #0: ffffffff9f944ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 31.514279][ T774] #1: ff110000089a1e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 31.514287][ T774] #2: ffffffff9f179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 31.514293][ T774] #3: ffffffff9f179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 31.514297][ T774] #4: ffffffff9f099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 31.514300][ T774] #5: ffffffff9f099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 31.514304][ T774] irq event stamp: 31425 [ 31.514305][ T774] hardirqs last enabled at (31424): [] __down_trylock_console_sem+0x86/0xa0 [ 31.514308][ T774] hardirqs last disabled at (31425): [] console_emit_next_record+0x3d4/0x4c0 [ 31.514310][ T774] softirqs last enabled at (31392): [] __alloc_skb+0x4c2/0x5f0 [ 31.514314][ T774] softirqs last disabled at (31420): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 31.514317][ T774] Preemption disabled at: [ 31.514318][ T774] [<0000000000000000>] 0x0 [ 31.514324][ T774] CPU: 0 UID: 0 PID: 774 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 31.514328][ T774] Tainted: [W]=WARN [ 31.514329][ T774] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 31.514330][ T774] Call Trace: [ 31.514332][ T774] [ 31.514333][ T774] dump_stack_lvl+0x6f/0xa0 [ 31.514340][ T774] __might_resched.cold+0x1fe/0x2c1 [ 31.514345][ T774] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 31.514349][ T774] ? __kmalloc_noprof+0xdb/0x760 [ 31.514354][ T774] __kmalloc_noprof+0x443/0x760 [ 31.514357][ T774] ? alloc_buf.isra.0+0x4b/0x260 [ 31.514363][ T774] ? do_raw_spin_unlock+0x59/0x250 [ 31.514366][ T774] alloc_buf.isra.0+0x4b/0x260 [ 31.514370][ T774] put_chars+0x1e1/0x2f0 [ 31.514373][ T774] ? __send_to_port+0x420/0x420 [ 31.514374][ T774] ? check_prev_add+0x316/0xe90 [ 31.514379][ T774] ? validate_chain+0x34a/0xc20 [ 31.514383][ T774] hvc_console_print+0x292/0x780 [ 31.514387][ T774] ? mark_usage+0x61/0x170 [ 31.514389][ T774] ? __lock_acquire+0x518/0xc20 [ 31.514390][ T774] ? __lock_acquire+0x518/0xc20 [ 31.514395][ T774] ? hvc_write+0x3a0/0x3a0 [ 31.514397][ T774] ? lock_acquire.part.0+0xd4/0x280 [ 31.514402][ T774] ? lock_acquire+0x13c/0x160 [ 31.514406][ T774] console_emit_next_record+0x22f/0x4c0 [ 31.514410][ T774] ? devkmsg_read+0x4b0/0x4b0 [ 31.514412][ T774] ? console_flush_one_record+0x106/0x710 [ 31.514416][ T774] ? rcu_is_watching+0x16/0xd0 [ 31.514420][ T774] ? lock_acquire+0x13c/0x160 [ 31.514424][ T774] console_flush_one_record+0x46f/0x710 [ 31.514429][ T774] ? console_emit_next_record+0x4c0/0x4c0 [ 31.514431][ T774] ? __lock_acquire+0x518/0xc20 [ 31.514437][ T774] console_unlock+0xee/0x1f0 [ 31.514440][ T774] ? console_flush_one_record+0x710/0x710 [ 31.514442][ T774] ? rcu_is_watching+0x16/0xd0 [ 31.514444][ T774] ? lock_acquire+0x60/0x160 [ 31.514449][ T774] ? __down_trylock_console_sem+0x5e/0xa0 [ 31.514450][ T774] ? vprintk_emit+0x320/0x3e0 [ 31.514454][ T774] vprintk_emit+0x37c/0x3e0 [ 31.514458][ T774] ? wake_up_klogd_work_func+0x90/0x90 [ 31.514460][ T774] ? kernel_text_address+0x149/0x170 [ 31.514463][ T774] ? __kernel_text_address+0x12/0x30 [ 31.514464][ T774] ? write_profile+0xf0/0xf0 [ 31.514467][ T774] ? unwind_get_return_address+0x67/0xd0 [ 31.514473][ T774] _printk+0xc7/0x100 [ 31.514476][ T774] ? snapshot_read.cold+0x21/0x21 [ 31.514481][ T774] ? mark_usage+0x61/0x170 [ 31.514482][ T774] ? netdev_name+0x43/0x60 [ 31.514486][ T774] ? __netdev_printk+0x17f/0x1d0 [ 31.514490][ T774] netdev_info+0xe2/0x116 [ 31.514492][ T774] ? netdev_notice+0x120/0x120 [ 31.514493][ T774] ? find_held_lock+0x2b/0x80 [ 31.514496][ T774] ? mark_usage+0x61/0x170 [ 31.514499][ T774] ? __lock_acquire+0x518/0xc20 [ 31.514506][ T774] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 31.514511][ T774] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 31.514515][ T774] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 31.514522][ T774] ovpn_peer_remove+0x394/0x640 [ovpn] [ 31.514525][ T774] ? do_raw_spin_lock+0x131/0x280 [ 31.514528][ T774] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 31.514535][ T774] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 31.514539][ T774] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 31.514547][ T774] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 31.514550][ T774] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 31.514554][ T774] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 31.514557][ T774] ? ref_tracker_alloc+0x28d/0x430 [ 31.514569][ T774] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 31.514574][ T774] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 31.514580][ T774] genl_family_rcv_msg_doit+0x206/0x300 [ 31.514584][ T774] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 31.514586][ T774] ? __lock_release.isra.0+0x69/0x1a0 [ 31.514593][ T774] ? rcu_is_watching+0x16/0xd0 [ 31.514596][ T774] ? cap_capable+0x1d7/0x3d0 [ 31.514599][ T774] ? write_profile+0xf0/0xf0 [ 31.514600][ T774] ? unwind_get_return_address+0x67/0xd0 [ 31.514605][ T774] genl_family_rcv_msg+0x3a4/0x640 [ 31.514609][ T774] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 31.514611][ T774] ? rcu_read_lock_any_held+0x3c/0x90 [ 31.514613][ T774] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 31.514616][ T774] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 31.514619][ T774] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 31.514622][ T774] ? __lock_acquire+0x518/0xc20 [ 31.514628][ T774] genl_rcv_msg+0xbb/0x160 [ 31.514632][ T774] netlink_rcv_skb+0x14e/0x3a0 [ 31.514634][ T774] ? genl_family_rcv_msg+0x640/0x640 [ 31.514640][ T774] ? netlink_ack+0xcf0/0xcf0 [ 31.514649][ T774] ? netlink_deliver_tap+0xc5/0x330 [ 31.514651][ T774] ? netlink_deliver_tap+0x13c/0x330 [ 31.514656][ T774] genl_rcv+0x28/0x40 [ 31.514658][ T774] netlink_unicast+0x486/0x750 [ 31.514663][ T774] ? netlink_attachskb+0x810/0x810 [ 31.514666][ T774] ? __lock_acquire+0x518/0xc20 [ 31.514671][ T774] netlink_sendmsg+0x735/0xc60 [ 31.514675][ T774] ? netlink_unicast+0x750/0x750 [ 31.514680][ T774] ? __might_fault+0x97/0x140 [ 31.514686][ T774] ____sys_sendmsg+0x415/0x880 [ 31.514690][ T774] ? copy_msghdr_from_user+0x279/0x420 [ 31.514692][ T774] ? get_timestamp.constprop.0+0x390/0x390 [ 31.514694][ T774] ? move_addr_to_kernel+0x40/0x40 [ 31.514703][ T774] ___sys_sendmsg+0x14e/0x1d0 [ 31.514706][ T774] ? copy_msghdr_from_user+0x420/0x420 [ 31.514708][ T774] ? kfree+0x22/0x590 [ 31.514728][ T774] __sys_sendmsg+0x12c/0x1d0 [ 31.514731][ T774] ? __sys_sendmsg_sock+0x20/0x20 [ 31.514737][ T774] ? rcu_is_watching+0x16/0xd0 [ 31.514740][ T774] ? rcu_is_watching+0x16/0xd0 [ 31.514744][ T774] do_syscall_64+0xff/0x530 [ 31.514747][ T774] ? exc_page_fault+0xee/0x100 [ 31.514750][ T774] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 31.514753][ T774] RIP: 0033:0x7f7e7a6d454e [ 31.514755][ T774] 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 [ 31.514757][ T774] RSP: 002b:00007ffe69abdb70 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 31.514759][ T774] RAX: ffffffffffffffda RBX: 000000002e8c2130 RCX: 00007f7e7a6d454e [ 31.514760][ T774] RDX: 0000000000000000 RSI: 00007ffe69abdc10 RDI: 0000000000000005 [ 31.514761][ T774] RBP: 00007ffe69abdb80 R08: 0000000000000000 R09: 0000000000000000 [ 31.514762][ T774] R10: 0000000000000000 R11: 0000000000000202 R12: 000000002e8c2200 [ 31.514763][ T774] R13: 00007ffe69abdc10 R14: 000000002e8c3260 R15: 000000000040bda8 [ 31.514772][ T774] [ 31.659708][ T778] tun1: deleting peer with id 10, reason 1 [ 34.569313][ T826] tun0: deleting peer with id 2, reason 1 [ 34.569333][ T826] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 34.569335][ T826] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 826, name: ovpn-cli [ 34.569337][ T826] preempt_count: 202, expected: 0 [ 34.569338][ T826] RCU nest depth: 0, expected: 0 [ 34.569339][ T826] locks held by ovpn-cli/826: 6, last CPU#2: [ 34.569340][ T826] #0: ffffffff9f944ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 34.569351][ T826] #1: ff110000089a1e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 34.569360][ T826] #2: ffffffff9f179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 34.569366][ T826] #3: ffffffff9f179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 34.569370][ T826] #4: ffffffff9f099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 34.569373][ T826] #5: ffffffff9f099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 34.569377][ T826] irq event stamp: 27309 [ 34.569378][ T826] hardirqs last enabled at (27308): [] __down_trylock_console_sem+0x86/0xa0 [ 34.569380][ T826] hardirqs last disabled at (27309): [] console_emit_next_record+0x3d4/0x4c0 [ 34.569382][ T826] softirqs last enabled at (27276): [] __alloc_skb+0x4c2/0x5f0 [ 34.569386][ T826] softirqs last disabled at (27304): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 34.569390][ T826] Preemption disabled at: [ 34.569390][ T826] [<0000000000000000>] 0x0 [ 34.569397][ T826] CPU: 2 UID: 0 PID: 826 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 34.569401][ T826] Tainted: [W]=WARN [ 34.569402][ T826] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 34.569404][ T826] Call Trace: [ 34.569406][ T826] [ 34.569407][ T826] dump_stack_lvl+0x6f/0xa0 [ 34.569414][ T826] __might_resched.cold+0x1fe/0x2c1 [ 34.569419][ T826] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 34.569423][ T826] ? __kmalloc_noprof+0xdb/0x760 [ 34.569429][ T826] __kmalloc_noprof+0x443/0x760 [ 34.569431][ T826] ? alloc_buf.isra.0+0x4b/0x260 [ 34.569438][ T826] ? do_raw_spin_unlock+0x59/0x250 [ 34.569440][ T826] alloc_buf.isra.0+0x4b/0x260 [ 34.569444][ T826] put_chars+0x1e1/0x2f0 [ 34.569448][ T826] ? __send_to_port+0x420/0x420 [ 34.569451][ T826] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 34.569455][ T826] ? rcu_read_lock_any_held+0x3c/0x90 [ 34.569458][ T826] ? validate_chain+0x38b/0xc20 [ 34.569462][ T826] hvc_console_print+0x292/0x780 [ 34.569466][ T826] ? mark_usage+0x61/0x170 [ 34.569467][ T826] ? __lock_acquire+0x518/0xc20 [ 34.569469][ T826] ? __lock_acquire+0x518/0xc20 [ 34.569474][ T826] ? hvc_write+0x3a0/0x3a0 [ 34.569475][ T826] ? lock_acquire.part.0+0xd4/0x280 [ 34.569480][ T826] ? lock_acquire+0x13c/0x160 [ 34.569485][ T826] console_emit_next_record+0x22f/0x4c0 [ 34.569489][ T826] ? devkmsg_read+0x4b0/0x4b0 [ 34.569491][ T826] ? console_flush_one_record+0x106/0x710 [ 34.569494][ T826] ? rcu_is_watching+0x16/0xd0 [ 34.569497][ T826] ? lock_acquire+0x13c/0x160 [ 34.569502][ T826] console_flush_one_record+0x46f/0x710 [ 34.569507][ T826] ? console_emit_next_record+0x4c0/0x4c0 [ 34.569508][ T826] ? __lock_acquire+0x518/0xc20 [ 34.569515][ T826] console_unlock+0xee/0x1f0 [ 34.569518][ T826] ? console_flush_one_record+0x710/0x710 [ 34.569519][ T826] ? rcu_is_watching+0x16/0xd0 [ 34.569522][ T826] ? lock_acquire+0x60/0x160 [ 34.569526][ T826] ? __down_trylock_console_sem+0x5e/0xa0 [ 34.569528][ T826] ? vprintk_emit+0x320/0x3e0 [ 34.569531][ T826] vprintk_emit+0x37c/0x3e0 [ 34.569536][ T826] ? wake_up_klogd_work_func+0x90/0x90 [ 34.569537][ T826] ? kernel_text_address+0x149/0x170 [ 34.569541][ T826] ? __kernel_text_address+0x12/0x30 [ 34.569542][ T826] ? write_profile+0xf0/0xf0 [ 34.569544][ T826] ? unwind_get_return_address+0x67/0xd0 [ 34.569549][ T826] _printk+0xc7/0x100 [ 34.569553][ T826] ? snapshot_read.cold+0x21/0x21 [ 34.569558][ T826] ? mark_usage+0x61/0x170 [ 34.569559][ T826] ? netdev_name+0x43/0x60 [ 34.569563][ T826] ? __netdev_printk+0x17f/0x1d0 [ 34.569567][ T826] netdev_info+0xe2/0x116 [ 34.569569][ T826] ? netdev_notice+0x120/0x120 [ 34.569570][ T826] ? find_held_lock+0x2b/0x80 [ 34.569573][ T826] ? mark_usage+0x61/0x170 [ 34.569577][ T826] ? __lock_acquire+0x518/0xc20 [ 34.569583][ T826] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 34.569589][ T826] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 34.569593][ T826] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 34.569600][ T826] ovpn_peer_remove+0x394/0x640 [ovpn] [ 34.569603][ T826] ? do_raw_spin_lock+0x131/0x280 [ 34.569606][ T826] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 34.569614][ T826] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 34.569618][ T826] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 34.569625][ T826] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 34.569629][ T826] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 34.569633][ T826] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 34.569636][ T826] ? ref_tracker_alloc+0x28d/0x430 [ 34.569650][ T826] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 34.569655][ T826] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 34.569662][ T826] genl_family_rcv_msg_doit+0x206/0x300 [ 34.569666][ T826] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 34.569668][ T826] ? __lock_release.isra.0+0x69/0x1a0 [ 34.569674][ T826] ? rcu_is_watching+0x16/0xd0 [ 34.569677][ T826] ? cap_capable+0x1d7/0x3d0 [ 34.569681][ T826] ? write_profile+0xf0/0xf0 [ 34.569682][ T826] ? unwind_get_return_address+0x67/0xd0 [ 34.569686][ T826] genl_family_rcv_msg+0x3a4/0x640 [ 34.569690][ T826] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 34.569693][ T826] ? rcu_read_lock_any_held+0x3c/0x90 [ 34.569695][ T826] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 34.569697][ T826] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 34.569700][ T826] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 34.569703][ T826] ? __lock_acquire+0x518/0xc20 [ 34.569710][ T826] genl_rcv_msg+0xbb/0x160 [ 34.569713][ T826] netlink_rcv_skb+0x14e/0x3a0 [ 34.569715][ T826] ? genl_family_rcv_msg+0x640/0x640 [ 34.569719][ T826] ? netlink_ack+0xcf0/0xcf0 [ 34.569728][ T826] ? netlink_deliver_tap+0xc5/0x330 [ 34.569730][ T826] ? netlink_deliver_tap+0x13c/0x330 [ 34.569734][ T826] genl_rcv+0x28/0x40 [ 34.569737][ T826] netlink_unicast+0x486/0x750 [ 34.569741][ T826] ? netlink_attachskb+0x810/0x810 [ 34.569745][ T826] ? __lock_acquire+0x518/0xc20 [ 34.569749][ T826] netlink_sendmsg+0x735/0xc60 [ 34.569754][ T826] ? netlink_unicast+0x750/0x750 [ 34.569759][ T826] ? __might_fault+0x97/0x140 [ 34.569765][ T826] ____sys_sendmsg+0x415/0x880 [ 34.569769][ T826] ? copy_msghdr_from_user+0x279/0x420 [ 34.569771][ T826] ? get_timestamp.constprop.0+0x390/0x390 [ 34.569773][ T826] ? move_addr_to_kernel+0x40/0x40 [ 34.569782][ T826] ___sys_sendmsg+0x14e/0x1d0 [ 34.569785][ T826] ? copy_msghdr_from_user+0x420/0x420 [ 34.569787][ T826] ? kfree+0x22/0x590 [ 34.569806][ T826] __sys_sendmsg+0x12c/0x1d0 [ 34.569809][ T826] ? __sys_sendmsg_sock+0x20/0x20 [ 34.569816][ T826] ? rcu_is_watching+0x16/0xd0 [ 34.569818][ T826] ? rcu_is_watching+0x16/0xd0 [ 34.569822][ T826] do_syscall_64+0xff/0x530 [ 34.569826][ T826] ? exc_page_fault+0xee/0x100 [ 34.569829][ T826] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 34.569831][ T826] RIP: 0033:0x7fc75a30054e [ 34.569833][ T826] 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 [ 34.569835][ T826] RSP: 002b:00007fffbdab7a30 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 34.569838][ T826] RAX: ffffffffffffffda RBX: 000000003a6ea130 RCX: 00007fc75a30054e [ 34.569839][ T826] RDX: 0000000000000000 RSI: 00007fffbdab7ad0 RDI: 0000000000000005 [ 34.569840][ T826] RBP: 00007fffbdab7a40 R08: 0000000000000000 R09: 0000000000000000 [ 34.569841][ T826] R10: 0000000000000000 R11: 0000000000000202 R12: 000000003a6ea200 [ 34.569841][ T826] R13: 00007fffbdab7ad0 R14: 000000003a6eb260 R15: 000000000040bda8 [ 34.569850][ T826] [ 34.718241][ T830] tun2: deleting peer with id 11, reason 1 [ 40.756917][ T9] tun0: deleting peer with id 4, reason 2 [ 40.756986][ T9] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 40.756988][ T9] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 9, name: kworker/0:0 [ 40.756990][ T9] preempt_count: 202, expected: 0 [ 40.756991][ T9] RCU nest depth: 0, expected: 0 [ 40.756992][ T9] locks held by kworker/0:0/9: 7, last CPU#0: [ 40.756994][ T9] #0: ff1100000cae3940 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 40.757006][ T9] #1: ffa0000000097d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 40.757009][ T9] #2: ff110000089a1e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 40.757017][ T9] #3: ffffffff9f179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 40.757022][ T9] #4: ffffffff9f179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 40.757026][ T9] #5: ffffffff9f099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 40.757029][ T9] #6: ffffffff9f099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 40.757033][ T9] irq event stamp: 33761 [ 40.757034][ T9] hardirqs last enabled at (33760): [] __down_trylock_console_sem+0x86/0xa0 [ 40.757036][ T9] hardirqs last disabled at (33761): [] console_emit_next_record+0x3d4/0x4c0 [ 40.757038][ T9] softirqs last enabled at (33612): [] neigh_periodic_work+0x6b9/0xa60 [ 40.757042][ T9] softirqs last disabled at (33754): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 40.757046][ T9] Preemption disabled at: [ 40.757046][ T9] [<0000000000000000>] 0x0 [ 40.757054][ T9] CPU: 0 UID: 0 PID: 9 Comm: kworker/0:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 40.757057][ T9] Tainted: [W]=WARN [ 40.757058][ T9] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 40.757060][ T9] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 40.757065][ T9] Call Trace: [ 40.757066][ T9] [ 40.757068][ T9] dump_stack_lvl+0x6f/0xa0 [ 40.757075][ T9] __might_resched.cold+0x1fe/0x2c1 [ 40.757080][ T9] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 40.757084][ T9] ? __kmalloc_noprof+0xdb/0x760 [ 40.757090][ T9] __kmalloc_noprof+0x443/0x760 [ 40.757093][ T9] ? alloc_buf.isra.0+0x4b/0x260 [ 40.757099][ T9] ? do_raw_spin_unlock+0x59/0x250 [ 40.757102][ T9] alloc_buf.isra.0+0x4b/0x260 [ 40.757106][ T9] put_chars+0x1e1/0x2f0 [ 40.757109][ T9] ? __send_to_port+0x420/0x420 [ 40.757114][ T9] ? validate_chain+0x34a/0xc20 [ 40.757118][ T9] hvc_console_print+0x292/0x780 [ 40.757122][ T9] ? mark_usage+0x61/0x170 [ 40.757124][ T9] ? __lock_acquire+0x518/0xc20 [ 40.757125][ T9] ? __lock_acquire+0x518/0xc20 [ 40.757130][ T9] ? hvc_write+0x3a0/0x3a0 [ 40.757132][ T9] ? console_emit_next_record+0x1df/0x4c0 [ 40.757136][ T9] ? rcu_is_watching+0x16/0xd0 [ 40.757140][ T9] ? lock_acquire+0x13c/0x160 [ 40.757145][ T9] console_emit_next_record+0x22f/0x4c0 [ 40.757149][ T9] ? devkmsg_read+0x4b0/0x4b0 [ 40.757151][ T9] ? console_flush_one_record+0x106/0x710 [ 40.757155][ T9] ? rcu_is_watching+0x16/0xd0 [ 40.757157][ T9] ? lock_acquire+0x13c/0x160 [ 40.757162][ T9] console_flush_one_record+0x46f/0x710 [ 40.757167][ T9] ? console_emit_next_record+0x4c0/0x4c0 [ 40.757168][ T9] ? __lock_acquire+0x518/0xc20 [ 40.757175][ T9] console_unlock+0xee/0x1f0 [ 40.757178][ T9] ? console_flush_one_record+0x710/0x710 [ 40.757180][ T9] ? rcu_is_watching+0x16/0xd0 [ 40.757182][ T9] ? lock_acquire+0x60/0x160 [ 40.757186][ T9] ? __down_trylock_console_sem+0x5e/0xa0 [ 40.757188][ T9] ? vprintk_emit+0x320/0x3e0 [ 40.757192][ T9] vprintk_emit+0x37c/0x3e0 [ 40.757196][ T9] ? wake_up_klogd_work_func+0x90/0x90 [ 40.757200][ T9] ? __lock_release.isra.0+0x69/0x1a0 [ 40.757201][ T9] ? rcu_is_watching+0x16/0xd0 [ 40.757206][ T9] _printk+0xc7/0x100 [ 40.757209][ T9] ? snapshot_read.cold+0x21/0x21 [ 40.757213][ T9] ? __add_to_free_list+0x81/0x5c0 [ 40.757216][ T9] ? __mod_zone_page_state+0xe1/0x190 [ 40.757219][ T9] ? netdev_name+0x43/0x60 [ 40.757222][ T9] ? __netdev_printk+0x17f/0x1d0 [ 40.757226][ T9] netdev_info+0xe2/0x116 [ 40.757229][ T9] ? netdev_notice+0x120/0x120 [ 40.757230][ T9] ? rcu_read_lock_any_held+0x3c/0x90 [ 40.757237][ T9] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 40.757240][ T9] ? rcu_read_lock_any_held+0x3c/0x90 [ 40.757244][ T9] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 40.757250][ T9] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 40.757258][ T9] ovpn_peer_remove+0x394/0x640 [ovpn] [ 40.757263][ T9] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 40.757266][ T9] ? __rwlock_init+0x150/0x150 [ 40.757269][ T9] ? mark_held_locks+0x40/0x70 [ 40.757274][ T9] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 40.757278][ T9] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 40.757281][ T9] ? __rwlock_init+0x150/0x150 [ 40.757287][ T9] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 40.757292][ T9] ? process_one_work+0xdfc/0x1560 [ 40.757295][ T9] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 40.757299][ T9] ? rcu_is_watching+0x16/0xd0 [ 40.757301][ T9] ? lock_acquire+0x13c/0x160 [ 40.757303][ T9] ? rcu_is_watching+0x16/0xd0 [ 40.757307][ T9] process_one_work+0xe3e/0x1560 [ 40.757315][ T9] ? __queue_delayed_work+0x470/0x470 [ 40.757318][ T9] ? lock_acquire.part.0+0xd4/0x280 [ 40.757328][ T9] worker_thread+0x4f1/0xd60 [ 40.757336][ T9] ? rescuer_thread+0x1340/0x1340 [ 40.757339][ T9] kthread+0x367/0x460 [ 40.757341][ T9] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 40.757345][ T9] ? kthread_affine_preferred+0x4c0/0x4c0 [ 40.757348][ T9] ret_from_fork+0x474/0x6b0 [ 40.757352][ T9] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 40.757356][ T9] ? __switch_to+0x5a3/0xe00 [ 40.757359][ T9] ? kthread_affine_preferred+0x4c0/0x4c0 [ 40.757362][ T9] ret_from_fork_asm+0x11/0x20 [ 40.757373][ T9] [ 40.785022][ T9] tun0: deleting peer with id 3, reason 2 [ 40.785311][ T9] tun0: deleting peer with id 5, reason 2 [ 40.785590][ T9] tun0: deleting peer with id 6, reason 2 [ 45.940900][ T9] tun3: deleting peer with id 12, reason 2 [ 45.940917][ T9] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 45.940919][ T9] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 9, name: kworker/0:0 [ 45.940921][ T9] preempt_count: 202, expected: 0 [ 45.940922][ T9] RCU nest depth: 0, expected: 0 [ 45.940923][ T9] locks held by kworker/0:0/9: 7, last CPU#0: [ 45.940924][ T9] #0: ff1100000cae3940 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 45.940936][ T9] #1: ffa0000000097d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 45.940940][ T9] #2: ff1100000cad9e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 45.940948][ T9] #3: ffffffff9f179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 45.940953][ T9] #4: ffffffff9f179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 45.940961][ T9] #5: ffffffff9f099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 45.940965][ T9] #6: ffffffff9f099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 45.940969][ T9] irq event stamp: 37547 [ 45.940969][ T9] hardirqs last enabled at (37546): [] __down_trylock_console_sem+0x86/0xa0 [ 45.940972][ T9] hardirqs last disabled at (37547): [] console_emit_next_record+0x3d4/0x4c0 [ 45.940974][ T9] softirqs last enabled at (36238): [] handle_softirqs+0x67c/0x900 [ 45.940977][ T9] softirqs last disabled at (37536): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 45.940980][ T9] Preemption disabled at: [ 45.940981][ T9] [<0000000000000000>] 0x0 [ 45.940988][ T9] CPU: 0 UID: 0 PID: 9 Comm: kworker/0:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 45.940992][ T9] Tainted: [W]=WARN [ 45.940992][ T9] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 45.940994][ T9] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 45.940998][ T9] Call Trace: [ 45.941000][ T9] [ 45.941002][ T9] dump_stack_lvl+0x6f/0xa0 [ 45.941008][ T9] __might_resched.cold+0x1fe/0x2c1 [ 45.941013][ T9] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 45.941017][ T9] ? __kmalloc_noprof+0xdb/0x760 [ 45.941023][ T9] __kmalloc_noprof+0x443/0x760 [ 45.941025][ T9] ? alloc_buf.isra.0+0x4b/0x260 [ 45.941032][ T9] ? do_raw_spin_unlock+0x59/0x250 [ 45.941035][ T9] alloc_buf.isra.0+0x4b/0x260 [ 45.941039][ T9] put_chars+0x1e1/0x2f0 [ 45.941041][ T9] ? prb_final_commit+0x50/0x50 [ 45.941043][ T9] ? __send_to_port+0x420/0x420 [ 45.941047][ T9] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 45.941051][ T9] ? rcu_read_lock_any_held+0x3c/0x90 [ 45.941054][ T9] ? validate_chain+0x38b/0xc20 [ 45.941058][ T9] hvc_console_print+0x292/0x780 [ 45.941061][ T9] ? mark_usage+0x61/0x170 [ 45.941063][ T9] ? __lock_acquire+0x518/0xc20 [ 45.941065][ T9] ? __lock_acquire+0x518/0xc20 [ 45.941069][ T9] ? hvc_write+0x3a0/0x3a0 [ 45.941072][ T9] ? console_emit_next_record+0x1df/0x4c0 [ 45.941075][ T9] ? rcu_is_watching+0x16/0xd0 [ 45.941078][ T9] ? lock_acquire+0x13c/0x160 [ 45.941082][ T9] console_emit_next_record+0x22f/0x4c0 [ 45.941087][ T9] ? devkmsg_read+0x4b0/0x4b0 [ 45.941088][ T9] ? console_flush_one_record+0x106/0x710 [ 45.941092][ T9] ? rcu_is_watching+0x16/0xd0 [ 45.941094][ T9] ? lock_acquire+0x13c/0x160 [ 45.941099][ T9] console_flush_one_record+0x46f/0x710 [ 45.941104][ T9] ? console_emit_next_record+0x4c0/0x4c0 [ 45.941106][ T9] ? __lock_acquire+0x518/0xc20 [ 45.941112][ T9] console_unlock+0xee/0x1f0 [ 45.941115][ T9] ? console_flush_one_record+0x710/0x710 [ 45.941117][ T9] ? rcu_is_watching+0x16/0xd0 [ 45.941119][ T9] ? lock_acquire+0x60/0x160 [ 45.941123][ T9] ? __down_trylock_console_sem+0x5e/0xa0 [ 45.941125][ T9] ? vprintk_emit+0x320/0x3e0 [ 45.941129][ T9] vprintk_emit+0x37c/0x3e0 [ 45.941133][ T9] ? wake_up_klogd_work_func+0x90/0x90 [ 45.941136][ T9] ? __lock_release.isra.0+0x69/0x1a0 [ 45.941141][ T9] _printk+0xc7/0x100 [ 45.941145][ T9] ? snapshot_read.cold+0x21/0x21 [ 45.941147][ T9] ? try_to_wake_up+0x153/0x1130 [ 45.941150][ T9] ? select_fallback_rq+0x510/0x510 [ 45.941153][ T9] ? netdev_name+0x43/0x60 [ 45.941156][ T9] ? __netdev_printk+0x17f/0x1d0 [ 45.941160][ T9] netdev_info+0xe2/0x116 [ 45.941163][ T9] ? netdev_notice+0x120/0x120 [ 45.941168][ T9] ? __queue_work+0x3ab/0xd30 [ 45.941175][ T9] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 45.941180][ T9] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 45.941183][ T9] ? mark_held_locks+0x40/0x70 [ 45.941186][ T9] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 45.941188][ T9] ? lockdep_hardirqs_on+0x91/0x130 [ 45.941194][ T9] ovpn_peer_remove+0x394/0x640 [ovpn] [ 45.941199][ T9] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 45.941202][ T9] ? __rwlock_init+0x150/0x150 [ 45.941204][ T9] ? mark_held_locks+0x40/0x70 [ 45.941209][ T9] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 45.941214][ T9] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 45.941217][ T9] ? __rwlock_init+0x150/0x150 [ 45.941223][ T9] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 45.941227][ T9] ? process_one_work+0xdfc/0x1560 [ 45.941230][ T9] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 45.941234][ T9] ? rcu_is_watching+0x16/0xd0 [ 45.941236][ T9] ? lock_acquire+0x13c/0x160 [ 45.941238][ T9] ? rcu_is_watching+0x16/0xd0 [ 45.941242][ T9] ? process_one_work+0xdfc/0x1560 [ 45.941244][ T9] process_one_work+0xe3e/0x1560 [ 45.941251][ T9] ? __queue_delayed_work+0x470/0x470 [ 45.941254][ T9] ? lock_acquire.part.0+0xd4/0x280 [ 45.941264][ T9] worker_thread+0x4f1/0xd60 [ 45.941272][ T9] ? rescuer_thread+0x1340/0x1340 [ 45.941274][ T9] kthread+0x367/0x460 [ 45.941277][ T9] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 45.941280][ T9] ? kthread_affine_preferred+0x4c0/0x4c0 [ 45.941283][ T9] ret_from_fork+0x474/0x6b0 [ 45.941287][ T9] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 45.941291][ T9] ? __switch_to+0x5a3/0xe00 [ 45.941294][ T9] ? kthread_affine_preferred+0x4c0/0x4c0 [ 45.941297][ T9] ret_from_fork_asm+0x11/0x20 [ 45.941307][ T9] [ 46.005671][ T53] tun4: deleting peer with id 13, reason 2 [ 46.133675][ T53] tun5: deleting peer with id 14, reason 2 [ 46.197680][ T65] tun6: deleting peer with id 15, reason 2