[ 15.590128][ T322] ip (322) used greatest stack depth: 23760 bytes left [ 15.590145][ T322] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.590147][ T322] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 322, name: ip [ 15.590148][ T322] preempt_count: 2, expected: 0 [ 15.590149][ T322] RCU nest depth: 0, expected: 0 [ 15.590150][ T322] locks held by ip/322: 5, last CPU#0: [ 15.590152][ T322] #0: ffffffff882127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 15.590163][ T322] #1: ffffffff88379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.590169][ T322] #2: ffffffff88379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.590173][ T322] #3: ffffffff88299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.590177][ T322] #4: ffffffff88299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 15.590181][ T322] irq event stamp: 32638 [ 15.590181][ T322] hardirqs last enabled at (32637): [] __down_trylock_console_sem+0x86/0xa0 [ 15.590184][ T322] hardirqs last disabled at (32638): [] console_emit_next_record+0x3d4/0x4c0 [ 15.590186][ T322] softirqs last enabled at (31356): [] netlink_release+0x17b/0xcf0 [ 15.590190][ T322] softirqs last disabled at (31354): [] netlink_release+0xd2/0xcf0 [ 15.590193][ T322] Preemption disabled at: [ 15.590193][ T322] [<0000000000000000>] 0x0 [ 15.590200][ T322] CPU: 0 UID: 0 PID: 322 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.590204][ T322] Tainted: [W]=WARN [ 15.590205][ T322] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.590206][ T322] Call Trace: [ 15.590208][ T322] [ 15.590209][ T322] dump_stack_lvl+0x6f/0xa0 [ 15.590215][ T322] __might_resched.cold+0x1fe/0x2c1 [ 15.590220][ T322] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.590224][ T322] ? __kmalloc_noprof+0xdb/0x760 [ 15.590229][ T322] __kmalloc_noprof+0x443/0x760 [ 15.590231][ T322] ? alloc_buf.isra.0+0x4b/0x260 [ 15.590237][ T322] ? do_raw_spin_unlock+0x59/0x250 [ 15.590239][ T322] alloc_buf.isra.0+0x4b/0x260 [ 15.590243][ T322] put_chars+0x1e1/0x2f0 [ 15.590246][ T322] ? __send_to_port+0x420/0x420 [ 15.590247][ T322] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.590252][ T322] ? validate_chain+0x38b/0xc20 [ 15.590257][ T322] hvc_console_print+0x292/0x780 [ 15.590263][ T322] ? hvc_write+0x3a0/0x3a0 [ 15.590265][ T322] ? rcu_is_watching+0x16/0xd0 [ 15.590268][ T322] ? lock_acquire+0x13c/0x160 [ 15.590272][ T322] console_emit_next_record+0x22f/0x4c0 [ 15.590275][ T322] ? devkmsg_read+0x4b0/0x4b0 [ 15.590277][ T322] ? console_flush_one_record+0x106/0x710 [ 15.590280][ T322] ? rcu_is_watching+0x16/0xd0 [ 15.590283][ T322] ? lock_acquire+0x13c/0x160 [ 15.590286][ T322] console_flush_one_record+0x46f/0x710 [ 15.590290][ T322] ? console_emit_next_record+0x4c0/0x4c0 [ 15.590292][ T322] ? __lock_acquire+0x518/0xc20 [ 15.590297][ T322] console_unlock+0xee/0x1f0 [ 15.590300][ T322] ? console_flush_one_record+0x710/0x710 [ 15.590301][ T322] ? rcu_is_watching+0x16/0xd0 [ 15.590303][ T322] ? lock_acquire+0x60/0x160 [ 15.590307][ T322] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.590309][ T322] ? vprintk_emit+0x320/0x3e0 [ 15.590312][ T322] vprintk_emit+0x37c/0x3e0 [ 15.590315][ T322] ? wake_up_klogd_work_func+0x90/0x90 [ 15.590319][ T322] ? __lock_acquire+0x518/0xc20 [ 15.590322][ T322] _printk+0xc7/0x100 [ 15.590326][ T322] ? snapshot_read.cold+0x21/0x21 [ 15.590328][ T322] ? do_raw_spin_lock+0x131/0x280 [ 15.590331][ T322] ? __rwlock_init+0x150/0x150 [ 15.590334][ T322] ? do_raw_spin_lock+0x131/0x280 [ 15.590337][ T322] do_exit.cold+0x82/0x9c [ 15.590341][ T322] ? exit_notify+0x890/0x890 [ 15.590342][ T322] ? __lock_release.isra.0+0x69/0x1a0 [ 15.590344][ T322] ? rcu_is_watching+0x16/0xd0 [ 15.590348][ T322] do_group_exit+0xb8/0x370 [ 15.590351][ T322] __x64_sys_exit_group+0x3c/0x50 [ 15.590353][ T322] x64_sys_call+0x1567/0x1570 [ 15.590356][ T322] do_syscall_64+0xff/0x530 [ 15.590359][ T322] ? exc_page_fault+0xee/0x100 [ 15.590362][ T322] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.590364][ T322] RIP: 0033:0x7fb2a06ef1b8 [ 15.590366][ T322] Code: Unable to access opcode bytes at 0x7fb2a06ef18e. [ 15.590368][ T322] RSP: 002b:00007ffebde5b8b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 15.590370][ T322] RAX: ffffffffffffffda RBX: 00007fb2a081ff88 RCX: 00007fb2a06ef1b8 [ 15.590371][ T322] RDX: 00007fb2a0439fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 15.590372][ T322] RBP: 00007ffebde5b910 R08: 0000000000000000 R09: 0000000000000000 [ 15.590373][ T322] R10: 00007ffebde5b6d0 R11: 0000000000000246 R12: 0000000000000001 [ 15.590374][ T322] R13: 0000000000000000 R14: 00007fb2a081e680 R15: 00007fb2a081ffa0 [ 15.590380][ T322] [ 28.440679][ T679] iperf3 (679) used greatest stack depth: 23536 bytes left [ 28.440698][ T679] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 28.440701][ T679] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 679, name: iperf3 [ 28.440702][ T679] preempt_count: 2, expected: 0 [ 28.440703][ T679] RCU nest depth: 0, expected: 0 [ 28.440704][ T679] locks held by iperf3/679: 5, last CPU#1: [ 28.440706][ T679] #0: ffffffff882127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 28.440718][ T679] #1: ffffffff88379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 28.440724][ T679] #2: ffffffff88379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 28.440727][ T679] #3: ffffffff88299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 28.440731][ T679] #4: ffffffff88299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 28.440735][ T679] irq event stamp: 2720628 [ 28.440736][ T679] hardirqs last enabled at (2720627): [] __down_trylock_console_sem+0x86/0xa0 [ 28.440738][ T679] hardirqs last disabled at (2720628): [] console_emit_next_record+0x3d4/0x4c0 [ 28.440740][ T679] softirqs last enabled at (2719536): [] handle_softirqs+0x67c/0x900 [ 28.440743][ T679] softirqs last disabled at (2718723): [] __irq_exit_rcu+0x145/0x1c0 [ 28.440745][ T679] Preemption disabled at: [ 28.440746][ T679] [<0000000000000000>] 0x0 [ 28.440753][ T679] CPU: 1 UID: 0 PID: 679 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 28.440756][ T679] Tainted: [W]=WARN [ 28.440757][ T679] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 28.440759][ T679] Call Trace: [ 28.440761][ T679] [ 28.440762][ T679] dump_stack_lvl+0x6f/0xa0 [ 28.440769][ T679] __might_resched.cold+0x1fe/0x2c1 [ 28.440773][ T679] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 28.440777][ T679] ? __kmalloc_noprof+0xdb/0x760 [ 28.440782][ T679] __kmalloc_noprof+0x443/0x760 [ 28.440784][ T679] ? alloc_buf.isra.0+0x4b/0x260 [ 28.440790][ T679] ? do_raw_spin_unlock+0x59/0x250 [ 28.440793][ T679] alloc_buf.isra.0+0x4b/0x260 [ 28.440796][ T679] put_chars+0x1e1/0x2f0 [ 28.440798][ T679] ? prb_final_commit+0x50/0x50 [ 28.440800][ T679] ? __send_to_port+0x420/0x420 [ 28.440804][ T679] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 28.440808][ T679] ? rcu_read_lock_any_held+0x3c/0x90 [ 28.440810][ T679] ? validate_chain+0x38b/0xc20 [ 28.440814][ T679] hvc_console_print+0x292/0x780 [ 28.440817][ T679] ? mark_usage+0x61/0x170 [ 28.440819][ T679] ? __lock_acquire+0x518/0xc20 [ 28.440820][ T679] ? __lock_acquire+0x518/0xc20 [ 28.440824][ T679] ? hvc_write+0x3a0/0x3a0 [ 28.440826][ T679] ? console_emit_next_record+0x1df/0x4c0 [ 28.440829][ T679] ? rcu_is_watching+0x16/0xd0 [ 28.440831][ T679] ? lock_acquire+0x13c/0x160 [ 28.440835][ T679] console_emit_next_record+0x22f/0x4c0 [ 28.440839][ T679] ? devkmsg_read+0x4b0/0x4b0 [ 28.440841][ T679] ? console_flush_one_record+0x106/0x710 [ 28.440844][ T679] ? rcu_is_watching+0x16/0xd0 [ 28.440846][ T679] ? lock_acquire+0x13c/0x160 [ 28.440850][ T679] console_flush_one_record+0x46f/0x710 [ 28.440854][ T679] ? console_emit_next_record+0x4c0/0x4c0 [ 28.440856][ T679] ? __lock_acquire+0x518/0xc20 [ 28.440861][ T679] console_unlock+0xee/0x1f0 [ 28.440864][ T679] ? console_flush_one_record+0x710/0x710 [ 28.440865][ T679] ? rcu_is_watching+0x16/0xd0 [ 28.440868][ T679] ? lock_acquire+0x60/0x160 [ 28.440871][ T679] ? __down_trylock_console_sem+0x5e/0xa0 [ 28.440873][ T679] ? vprintk_emit+0x320/0x3e0 [ 28.440876][ T679] vprintk_emit+0x37c/0x3e0 [ 28.440880][ T679] ? wake_up_klogd_work_func+0x90/0x90 [ 28.440883][ T679] ? __lock_acquire+0x518/0xc20 [ 28.440886][ T679] _printk+0xc7/0x100 [ 28.440890][ T679] ? snapshot_read.cold+0x21/0x21 [ 28.440892][ T679] ? do_raw_spin_lock+0x131/0x280 [ 28.440895][ T679] ? __rwlock_init+0x150/0x150 [ 28.440899][ T679] ? do_raw_spin_lock+0x131/0x280 [ 28.440901][ T679] do_exit.cold+0x82/0x9c [ 28.440905][ T679] ? exit_notify+0x890/0x890 [ 28.440910][ T679] __x64_sys_exit+0x42/0x50 [ 28.440911][ T679] x64_sys_call+0x156c/0x1570 [ 28.440914][ T679] do_syscall_64+0xff/0x530 [ 28.440918][ T679] ? exc_page_fault+0xee/0x100 [ 28.440921][ T679] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 28.440923][ T679] RIP: 0033:0x7f52373b9c49 [ 28.440925][ T679] Code: Unable to access opcode bytes at 0x7f52373b9c1f. [ 28.440926][ T679] RSP: 002b:00007f5236b78e60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 28.440929][ T679] RAX: ffffffffffffffda RBX: 00007f5236b796c0 RCX: 00007f52373b9c49 [ 28.440930][ T679] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 28.440931][ T679] RBP: 00007f5236b78f70 R08: 0000000000000001 R09: 00007f5236b796c0 [ 28.440932][ T679] R10: 0000000000000008 R11: 0000000000000246 R12: 00007f5236379000 [ 28.440932][ T679] R13: 00007ffdfffcd9c0 R14: 0000000000000002 R15: 00007ffdfffcdac7 [ 28.440939][ T679] [ 30.234168][ T773] tun0: deleting peer with id 1, reason 1 [ 30.234325][ T773] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 30.234328][ T773] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 773, name: ovpn-cli [ 30.234329][ T773] preempt_count: 202, expected: 0 [ 30.234330][ T773] RCU nest depth: 0, expected: 0 [ 30.234332][ T773] locks held by ovpn-cli/773: 6, last CPU#3: [ 30.234334][ T773] #0: ffffffff88b44b68 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 30.234347][ T773] #1: ff11000019894e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 30.234355][ T773] #2: ffffffff88379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 30.234361][ T773] #3: ffffffff88379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 30.234364][ T773] #4: ffffffff88299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 30.234368][ T773] #5: ffffffff88299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 30.234372][ T773] irq event stamp: 42173 [ 30.234372][ T773] hardirqs last enabled at (42172): [] __down_trylock_console_sem+0x86/0xa0 [ 30.234375][ T773] hardirqs last disabled at (42173): [] console_emit_next_record+0x3d4/0x4c0 [ 30.234377][ T773] softirqs last enabled at (42140): [] __alloc_skb+0x4c2/0x5f0 [ 30.234380][ T773] softirqs last disabled at (42168): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 30.234384][ T773] Preemption disabled at: [ 30.234384][ T773] [<0000000000000000>] 0x0 [ 30.234391][ T773] CPU: 3 UID: 0 PID: 773 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.234395][ T773] Tainted: [W]=WARN [ 30.234395][ T773] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.234397][ T773] Call Trace: [ 30.234398][ T773] [ 30.234400][ T773] dump_stack_lvl+0x6f/0xa0 [ 30.234406][ T773] __might_resched.cold+0x1fe/0x2c1 [ 30.234411][ T773] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 30.234415][ T773] ? __kmalloc_noprof+0xdb/0x760 [ 30.234420][ T773] __kmalloc_noprof+0x443/0x760 [ 30.234422][ T773] ? alloc_buf.isra.0+0x4b/0x260 [ 30.234428][ T773] ? do_raw_spin_unlock+0x59/0x250 [ 30.234431][ T773] alloc_buf.isra.0+0x4b/0x260 [ 30.234434][ T773] put_chars+0x1e1/0x2f0 [ 30.234437][ T773] ? __send_to_port+0x420/0x420 [ 30.234438][ T773] ? check_prev_add+0x316/0xe90 [ 30.234442][ T773] ? validate_chain+0x34a/0xc20 [ 30.234446][ T773] hvc_console_print+0x292/0x780 [ 30.234449][ T773] ? mark_usage+0x61/0x170 [ 30.234451][ T773] ? __lock_acquire+0x518/0xc20 [ 30.234453][ T773] ? __lock_acquire+0x518/0xc20 [ 30.234457][ T773] ? hvc_write+0x3a0/0x3a0 [ 30.234458][ T773] ? lock_acquire.part.0+0xd4/0x280 [ 30.234462][ T773] ? lock_acquire+0x13c/0x160 [ 30.234466][ T773] console_emit_next_record+0x22f/0x4c0 [ 30.234469][ T773] ? devkmsg_read+0x4b0/0x4b0 [ 30.234471][ T773] ? console_flush_one_record+0x106/0x710 [ 30.234474][ T773] ? rcu_is_watching+0x16/0xd0 [ 30.234478][ T773] ? lock_acquire+0x13c/0x160 [ 30.234482][ T773] console_flush_one_record+0x46f/0x710 [ 30.234486][ T773] ? console_emit_next_record+0x4c0/0x4c0 [ 30.234488][ T773] ? __lock_acquire+0x518/0xc20 [ 30.234493][ T773] console_unlock+0xee/0x1f0 [ 30.234495][ T773] ? console_flush_one_record+0x710/0x710 [ 30.234497][ T773] ? rcu_is_watching+0x16/0xd0 [ 30.234499][ T773] ? lock_acquire+0x60/0x160 [ 30.234503][ T773] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.234504][ T773] ? vprintk_emit+0x320/0x3e0 [ 30.234508][ T773] vprintk_emit+0x37c/0x3e0 [ 30.234511][ T773] ? wake_up_klogd_work_func+0x90/0x90 [ 30.234513][ T773] ? kernel_text_address+0x149/0x170 [ 30.234516][ T773] ? __kernel_text_address+0x12/0x30 [ 30.234518][ T773] ? write_profile+0xf0/0xf0 [ 30.234520][ T773] ? unwind_get_return_address+0x67/0xd0 [ 30.234525][ T773] _printk+0xc7/0x100 [ 30.234528][ T773] ? snapshot_read.cold+0x21/0x21 [ 30.234532][ T773] ? mark_usage+0x61/0x170 [ 30.234533][ T773] ? netdev_name+0x43/0x60 [ 30.234536][ T773] ? __netdev_printk+0x17f/0x1d0 [ 30.234540][ T773] netdev_info+0xe2/0x116 [ 30.234542][ T773] ? netdev_notice+0x120/0x120 [ 30.234543][ T773] ? find_held_lock+0x2b/0x80 [ 30.234546][ T773] ? mark_usage+0x61/0x170 [ 30.234548][ T773] ? __lock_acquire+0x518/0xc20 [ 30.234554][ T773] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 30.234559][ T773] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 30.234563][ T773] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 30.234568][ T773] ovpn_peer_remove+0x394/0x640 [ovpn] [ 30.234571][ T773] ? do_raw_spin_lock+0x131/0x280 [ 30.234573][ T773] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 30.234580][ T773] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 30.234583][ T773] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 30.234591][ T773] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 30.234594][ T773] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 30.234598][ T773] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 30.234601][ T773] ? ref_tracker_alloc+0x28d/0x430 [ 30.234611][ T773] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 30.234615][ T773] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 30.234621][ T773] genl_family_rcv_msg_doit+0x206/0x300 [ 30.234624][ T773] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 30.234626][ T773] ? __lock_release.isra.0+0x69/0x1a0 [ 30.234632][ T773] ? rcu_is_watching+0x16/0xd0 [ 30.234634][ T773] ? cap_capable+0x1d7/0x3d0 [ 30.234638][ T773] ? write_profile+0xf0/0xf0 [ 30.234639][ T773] ? unwind_get_return_address+0x67/0xd0 [ 30.234643][ T773] genl_family_rcv_msg+0x3a4/0x640 [ 30.234646][ T773] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 30.234649][ T773] ? rcu_read_lock_any_held+0x3c/0x90 [ 30.234651][ T773] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 30.234653][ T773] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 30.234656][ T773] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 30.234659][ T773] ? __lock_acquire+0x518/0xc20 [ 30.234664][ T773] genl_rcv_msg+0xbb/0x160 [ 30.234668][ T773] netlink_rcv_skb+0x14e/0x3a0 [ 30.234670][ T773] ? genl_family_rcv_msg+0x640/0x640 [ 30.234673][ T773] ? netlink_ack+0xcf0/0xcf0 [ 30.234680][ T773] ? netlink_deliver_tap+0xc5/0x330 [ 30.234682][ T773] ? netlink_deliver_tap+0x13c/0x330 [ 30.234686][ T773] genl_rcv+0x28/0x40 [ 30.234688][ T773] netlink_unicast+0x486/0x750 [ 30.234692][ T773] ? netlink_attachskb+0x810/0x810 [ 30.234695][ T773] ? __lock_acquire+0x518/0xc20 [ 30.234699][ T773] netlink_sendmsg+0x735/0xc60 [ 30.234703][ T773] ? netlink_unicast+0x750/0x750 [ 30.234707][ T773] ? __might_fault+0x97/0x140 [ 30.234712][ T773] ____sys_sendmsg+0x415/0x880 [ 30.234716][ T773] ? copy_msghdr_from_user+0x279/0x420 [ 30.234718][ T773] ? get_timestamp.constprop.0+0x390/0x390 [ 30.234720][ T773] ? move_addr_to_kernel+0x40/0x40 [ 30.234727][ T773] ___sys_sendmsg+0x14e/0x1d0 [ 30.234730][ T773] ? copy_msghdr_from_user+0x420/0x420 [ 30.234731][ T773] ? kfree+0x22/0x590 [ 30.234746][ T773] __sys_sendmsg+0x12c/0x1d0 [ 30.234749][ T773] ? __sys_sendmsg_sock+0x20/0x20 [ 30.234755][ T773] ? rcu_is_watching+0x16/0xd0 [ 30.234757][ T773] ? rcu_is_watching+0x16/0xd0 [ 30.234761][ T773] do_syscall_64+0xff/0x530 [ 30.234764][ T773] ? exc_page_fault+0xee/0x100 [ 30.234766][ T773] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.234769][ T773] RIP: 0033:0x7fa17017154e [ 30.234771][ T773] 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.234773][ T773] RSP: 002b:00007ffc12591a40 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 30.234775][ T773] RAX: ffffffffffffffda RBX: 000000001fcc4130 RCX: 00007fa17017154e [ 30.234777][ T773] RDX: 0000000000000000 RSI: 00007ffc12591ae0 RDI: 0000000000000005 [ 30.234778][ T773] RBP: 00007ffc12591a50 R08: 0000000000000000 R09: 0000000000000000 [ 30.234779][ T773] R10: 0000000000000000 R11: 0000000000000202 R12: 000000001fcc4200 [ 30.234779][ T773] R13: 00007ffc12591ae0 R14: 000000001fcc5260 R15: 000000000040bda8 [ 30.234786][ T773] [ 30.289067][ T773] ovpn-cli (773) used greatest stack depth: 23528 bytes left [ 30.359296][ T777] tun1: deleting peer with id 10, reason 1 [ 33.298196][ T825] tun0: deleting peer with id 2, reason 1 [ 33.298216][ T825] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 33.298218][ T825] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 825, name: ovpn-cli [ 33.298219][ T825] preempt_count: 202, expected: 0 [ 33.298220][ T825] RCU nest depth: 0, expected: 0 [ 33.298221][ T825] locks held by ovpn-cli/825: 6, last CPU#3: [ 33.298223][ T825] #0: ffffffff88b44b68 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 33.298235][ T825] #1: ff11000019894e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 33.298243][ T825] #2: ffffffff88379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 33.298249][ T825] #3: ffffffff88379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 33.298253][ T825] #4: ffffffff88299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 33.298256][ T825] #5: ffffffff88299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 33.298261][ T825] irq event stamp: 32799 [ 33.298261][ T825] hardirqs last enabled at (32798): [] __down_trylock_console_sem+0x86/0xa0 [ 33.298264][ T825] hardirqs last disabled at (32799): [] console_emit_next_record+0x3d4/0x4c0 [ 33.298266][ T825] softirqs last enabled at (32764): [] __alloc_skb+0x4c2/0x5f0 [ 33.298269][ T825] softirqs last disabled at (32794): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 33.298273][ T825] Preemption disabled at: [ 33.298273][ T825] [<0000000000000000>] 0x0 [ 33.298280][ T825] CPU: 3 UID: 0 PID: 825 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 33.298284][ T825] Tainted: [W]=WARN [ 33.298284][ T825] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 33.298286][ T825] Call Trace: [ 33.298287][ T825] [ 33.298289][ T825] dump_stack_lvl+0x6f/0xa0 [ 33.298295][ T825] __might_resched.cold+0x1fe/0x2c1 [ 33.298300][ T825] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 33.298304][ T825] ? __kmalloc_noprof+0xdb/0x760 [ 33.298309][ T825] __kmalloc_noprof+0x443/0x760 [ 33.298311][ T825] ? alloc_buf.isra.0+0x4b/0x260 [ 33.298317][ T825] ? do_raw_spin_unlock+0x59/0x250 [ 33.298320][ T825] alloc_buf.isra.0+0x4b/0x260 [ 33.298323][ T825] put_chars+0x1e1/0x2f0 [ 33.298326][ T825] ? __send_to_port+0x420/0x420 [ 33.298329][ T825] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 33.298333][ T825] ? rcu_read_lock_any_held+0x3c/0x90 [ 33.298335][ T825] ? validate_chain+0x38b/0xc20 [ 33.298339][ T825] hvc_console_print+0x292/0x780 [ 33.298342][ T825] ? mark_usage+0x61/0x170 [ 33.298344][ T825] ? __lock_acquire+0x518/0xc20 [ 33.298346][ T825] ? __lock_acquire+0x518/0xc20 [ 33.298350][ T825] ? hvc_write+0x3a0/0x3a0 [ 33.298351][ T825] ? lock_acquire.part.0+0xd4/0x280 [ 33.298355][ T825] ? lock_acquire+0x13c/0x160 [ 33.298359][ T825] console_emit_next_record+0x22f/0x4c0 [ 33.298363][ T825] ? devkmsg_read+0x4b0/0x4b0 [ 33.298365][ T825] ? console_flush_one_record+0x106/0x710 [ 33.298368][ T825] ? rcu_is_watching+0x16/0xd0 [ 33.298371][ T825] ? lock_acquire+0x13c/0x160 [ 33.298375][ T825] console_flush_one_record+0x46f/0x710 [ 33.298379][ T825] ? console_emit_next_record+0x4c0/0x4c0 [ 33.298380][ T825] ? __lock_acquire+0x518/0xc20 [ 33.298385][ T825] console_unlock+0xee/0x1f0 [ 33.298388][ T825] ? console_flush_one_record+0x710/0x710 [ 33.298390][ T825] ? rcu_is_watching+0x16/0xd0 [ 33.298392][ T825] ? lock_acquire+0x60/0x160 [ 33.298396][ T825] ? __down_trylock_console_sem+0x5e/0xa0 [ 33.298397][ T825] ? vprintk_emit+0x320/0x3e0 [ 33.298401][ T825] vprintk_emit+0x37c/0x3e0 [ 33.298404][ T825] ? wake_up_klogd_work_func+0x90/0x90 [ 33.298406][ T825] ? kernel_text_address+0x149/0x170 [ 33.298409][ T825] ? __kernel_text_address+0x12/0x30 [ 33.298411][ T825] ? write_profile+0xf0/0xf0 [ 33.298413][ T825] ? unwind_get_return_address+0x67/0xd0 [ 33.298418][ T825] _printk+0xc7/0x100 [ 33.298422][ T825] ? snapshot_read.cold+0x21/0x21 [ 33.298426][ T825] ? mark_usage+0x61/0x170 [ 33.298427][ T825] ? netdev_name+0x43/0x60 [ 33.298430][ T825] ? __netdev_printk+0x17f/0x1d0 [ 33.298434][ T825] netdev_info+0xe2/0x116 [ 33.298436][ T825] ? netdev_notice+0x120/0x120 [ 33.298437][ T825] ? find_held_lock+0x2b/0x80 [ 33.298440][ T825] ? mark_usage+0x61/0x170 [ 33.298443][ T825] ? __lock_acquire+0x518/0xc20 [ 33.298448][ T825] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 33.298454][ T825] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 33.298458][ T825] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 33.298463][ T825] ovpn_peer_remove+0x394/0x640 [ovpn] [ 33.298466][ T825] ? do_raw_spin_lock+0x131/0x280 [ 33.298468][ T825] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 33.298475][ T825] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 33.298479][ T825] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 33.298485][ T825] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 33.298488][ T825] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 33.298492][ T825] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 33.298494][ T825] ? ref_tracker_alloc+0x28d/0x430 [ 33.298504][ T825] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 33.298509][ T825] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 33.298514][ T825] genl_family_rcv_msg_doit+0x206/0x300 [ 33.298518][ T825] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 33.298520][ T825] ? __lock_release.isra.0+0x69/0x1a0 [ 33.298526][ T825] ? rcu_is_watching+0x16/0xd0 [ 33.298528][ T825] ? cap_capable+0x1d7/0x3d0 [ 33.298531][ T825] ? write_profile+0xf0/0xf0 [ 33.298533][ T825] ? unwind_get_return_address+0x67/0xd0 [ 33.298536][ T825] genl_family_rcv_msg+0x3a4/0x640 [ 33.298540][ T825] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 33.298542][ T825] ? rcu_read_lock_any_held+0x3c/0x90 [ 33.298544][ T825] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 33.298546][ T825] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 33.298549][ T825] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 33.298552][ T825] ? __lock_acquire+0x518/0xc20 [ 33.298557][ T825] genl_rcv_msg+0xbb/0x160 [ 33.298561][ T825] netlink_rcv_skb+0x14e/0x3a0 [ 33.298563][ T825] ? genl_family_rcv_msg+0x640/0x640 [ 33.298566][ T825] ? netlink_ack+0xcf0/0xcf0 [ 33.298573][ T825] ? netlink_deliver_tap+0xc5/0x330 [ 33.298575][ T825] ? netlink_deliver_tap+0x13c/0x330 [ 33.298579][ T825] genl_rcv+0x28/0x40 [ 33.298581][ T825] netlink_unicast+0x486/0x750 [ 33.298588][ T825] ? netlink_attachskb+0x810/0x810 [ 33.298591][ T825] ? __lock_acquire+0x518/0xc20 [ 33.298595][ T825] netlink_sendmsg+0x735/0xc60 [ 33.298599][ T825] ? netlink_unicast+0x750/0x750 [ 33.298603][ T825] ? __might_fault+0x97/0x140 [ 33.298608][ T825] ____sys_sendmsg+0x415/0x880 [ 33.298612][ T825] ? copy_msghdr_from_user+0x279/0x420 [ 33.298614][ T825] ? get_timestamp.constprop.0+0x390/0x390 [ 33.298616][ T825] ? move_addr_to_kernel+0x40/0x40 [ 33.298623][ T825] ___sys_sendmsg+0x14e/0x1d0 [ 33.298626][ T825] ? copy_msghdr_from_user+0x420/0x420 [ 33.298627][ T825] ? kfree+0x22/0x590 [ 33.298643][ T825] __sys_sendmsg+0x12c/0x1d0 [ 33.298646][ T825] ? __sys_sendmsg_sock+0x20/0x20 [ 33.298651][ T825] ? rcu_is_watching+0x16/0xd0 [ 33.298654][ T825] ? rcu_is_watching+0x16/0xd0 [ 33.298657][ T825] do_syscall_64+0xff/0x530 [ 33.298660][ T825] ? exc_page_fault+0xee/0x100 [ 33.298663][ T825] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 33.298665][ T825] RIP: 0033:0x7fa81f17954e [ 33.298668][ T825] 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.298669][ T825] RSP: 002b:00007ffdc0bd4df0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 33.298672][ T825] RAX: ffffffffffffffda RBX: 000000003a198130 RCX: 00007fa81f17954e [ 33.298673][ T825] RDX: 0000000000000000 RSI: 00007ffdc0bd4e90 RDI: 0000000000000005 [ 33.298674][ T825] RBP: 00007ffdc0bd4e00 R08: 0000000000000000 R09: 0000000000000000 [ 33.298675][ T825] R10: 0000000000000000 R11: 0000000000000202 R12: 000000003a198200 [ 33.298676][ T825] R13: 00007ffdc0bd4e90 R14: 000000003a199260 R15: 000000000040bda8 [ 33.298683][ T825] [ 33.427541][ T829] tun2: deleting peer with id 11, reason 1 [ 38.445784][ T65] tun0: deleting peer with id 3, reason 2 [ 38.445848][ T65] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 38.445850][ T65] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 65, name: kworker/2:2 [ 38.445852][ T65] preempt_count: 202, expected: 0 [ 38.445853][ T65] RCU nest depth: 0, expected: 0 [ 38.445854][ T65] locks held by kworker/2:2/65: 7, last CPU#2: [ 38.445856][ T65] #0: ff11000008e1b340 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 38.445868][ T65] #1: ffa0000000467d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 38.445871][ T65] #2: ff11000019894e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 38.445879][ T65] #3: ffffffff88379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 38.445884][ T65] #4: ffffffff88379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 38.445888][ T65] #5: ffffffff88299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 38.445891][ T65] #6: ffffffff88299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 38.445895][ T65] irq event stamp: 31533 [ 38.445896][ T65] hardirqs last enabled at (31532): [] __down_trylock_console_sem+0x86/0xa0 [ 38.445898][ T65] hardirqs last disabled at (31533): [] console_emit_next_record+0x3d4/0x4c0 [ 38.445900][ T65] softirqs last enabled at (31402): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 38.445904][ T65] softirqs last disabled at (31524): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 38.445908][ T65] Preemption disabled at: [ 38.445908][ T65] [<0000000000000000>] 0x0 [ 38.445916][ T65] CPU: 2 UID: 0 PID: 65 Comm: kworker/2:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 38.445919][ T65] Tainted: [W]=WARN [ 38.445920][ T65] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 38.445922][ T65] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 38.445927][ T65] Call Trace: [ 38.445929][ T65] [ 38.445932][ T65] dump_stack_lvl+0x6f/0xa0 [ 38.445938][ T65] __might_resched.cold+0x1fe/0x2c1 [ 38.445942][ T65] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 38.445946][ T65] ? __kmalloc_noprof+0xdb/0x760 [ 38.445951][ T65] __kmalloc_noprof+0x443/0x760 [ 38.445954][ T65] ? alloc_buf.isra.0+0x4b/0x260 [ 38.445960][ T65] ? do_raw_spin_unlock+0x59/0x250 [ 38.445962][ T65] alloc_buf.isra.0+0x4b/0x260 [ 38.445966][ T65] put_chars+0x1e1/0x2f0 [ 38.445969][ T65] ? __send_to_port+0x420/0x420 [ 38.445973][ T65] ? validate_chain+0x34a/0xc20 [ 38.445977][ T65] hvc_console_print+0x292/0x780 [ 38.445980][ T65] ? mark_usage+0x61/0x170 [ 38.445982][ T65] ? __lock_acquire+0x518/0xc20 [ 38.445983][ T65] ? __lock_acquire+0x518/0xc20 [ 38.445987][ T65] ? hvc_write+0x3a0/0x3a0 [ 38.445989][ T65] ? console_emit_next_record+0x1df/0x4c0 [ 38.445992][ T65] ? rcu_is_watching+0x16/0xd0 [ 38.445996][ T65] ? lock_acquire+0x13c/0x160 [ 38.446000][ T65] console_emit_next_record+0x22f/0x4c0 [ 38.446004][ T65] ? devkmsg_read+0x4b0/0x4b0 [ 38.446006][ T65] ? console_flush_one_record+0x106/0x710 [ 38.446009][ T65] ? rcu_is_watching+0x16/0xd0 [ 38.446011][ T65] ? lock_acquire+0x13c/0x160 [ 38.446015][ T65] console_flush_one_record+0x46f/0x710 [ 38.446019][ T65] ? console_emit_next_record+0x4c0/0x4c0 [ 38.446021][ T65] ? __lock_acquire+0x518/0xc20 [ 38.446026][ T65] console_unlock+0xee/0x1f0 [ 38.446029][ T65] ? console_flush_one_record+0x710/0x710 [ 38.446030][ T65] ? rcu_is_watching+0x16/0xd0 [ 38.446033][ T65] ? lock_acquire+0x60/0x160 [ 38.446036][ T65] ? __down_trylock_console_sem+0x5e/0xa0 [ 38.446038][ T65] ? vprintk_emit+0x320/0x3e0 [ 38.446041][ T65] vprintk_emit+0x37c/0x3e0 [ 38.446045][ T65] ? wake_up_klogd_work_func+0x90/0x90 [ 38.446048][ T65] ? __lock_release.isra.0+0x69/0x1a0 [ 38.446050][ T65] ? rcu_is_watching+0x16/0xd0 [ 38.446053][ T65] _printk+0xc7/0x100 [ 38.446057][ T65] ? snapshot_read.cold+0x21/0x21 [ 38.446060][ T65] ? find_held_lock+0x2b/0x80 [ 38.446062][ T65] ? netdev_name+0x43/0x60 [ 38.446065][ T65] ? __netdev_printk+0x17f/0x1d0 [ 38.446069][ T65] netdev_info+0xe2/0x116 [ 38.446071][ T65] ? netdev_notice+0x120/0x120 [ 38.446075][ T65] ? debug_object_free+0x530/0x530 [ 38.446079][ T65] ? validate_chain+0x38b/0xc20 [ 38.446081][ T65] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 38.446084][ T65] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.446088][ T65] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 38.446094][ T65] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 38.446101][ T65] ovpn_peer_remove+0x394/0x640 [ovpn] [ 38.446105][ T65] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 38.446107][ T65] ? __rwlock_init+0x150/0x150 [ 38.446109][ T65] ? mark_held_locks+0x40/0x70 [ 38.446114][ T65] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 38.446119][ T65] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 38.446122][ T65] ? __rwlock_init+0x150/0x150 [ 38.446127][ T65] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 38.446131][ T65] ? process_one_work+0xdfc/0x1560 [ 38.446134][ T65] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 38.446137][ T65] ? rcu_is_watching+0x16/0xd0 [ 38.446139][ T65] ? lock_acquire+0x13c/0x160 [ 38.446141][ T65] ? rcu_is_watching+0x16/0xd0 [ 38.446144][ T65] process_one_work+0xe3e/0x1560 [ 38.446156][ T65] ? __queue_delayed_work+0x470/0x470 [ 38.446158][ T65] ? lock_acquire.part.0+0xd4/0x280 [ 38.446166][ T65] worker_thread+0x4f1/0xd60 [ 38.446170][ T65] ? rescuer_thread+0x1340/0x1340 [ 38.446172][ T65] ? __kthread_parkme+0xbd/0x210 [ 38.446175][ T65] ? rescuer_thread+0x1340/0x1340 [ 38.446178][ T65] ? rescuer_thread+0x1340/0x1340 [ 38.446180][ T65] kthread+0x367/0x460 [ 38.446182][ T65] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 38.446185][ T65] ? kthread_affine_preferred+0x4c0/0x4c0 [ 38.446187][ T65] ret_from_fork+0x474/0x6b0 [ 38.446192][ T65] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 38.446195][ T65] ? __switch_to+0x5a3/0xe00 [ 38.446198][ T65] ? kthread_affine_preferred+0x4c0/0x4c0 [ 38.446200][ T65] ret_from_fork_asm+0x11/0x20 [ 38.446209][ T65] [ 39.533625][ T65] tun0: deleting peer with id 4, reason 2 [ 39.533646][ T65] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 39.533649][ T65] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 65, name: kworker/2:2 [ 39.533650][ T65] preempt_count: 202, expected: 0 [ 39.533651][ T65] RCU nest depth: 0, expected: 0 [ 39.533652][ T65] locks held by kworker/2:2/65: 7, last CPU#2: [ 39.533654][ T65] #0: ff11000008e1b340 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 39.533666][ T65] #1: ffa0000000467d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 39.533670][ T65] #2: ff11000019894e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 39.533679][ T65] #3: ffffffff88379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 39.533684][ T65] #4: ffffffff88379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 39.533687][ T65] #5: ffffffff88299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 39.533691][ T65] #6: ffffffff88299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 39.533695][ T65] irq event stamp: 32363 [ 39.533696][ T65] hardirqs last enabled at (32362): [] __down_trylock_console_sem+0x86/0xa0 [ 39.533698][ T65] hardirqs last disabled at (32363): [] console_emit_next_record+0x3d4/0x4c0 [ 39.533700][ T65] softirqs last enabled at (32170): [] ovpn_peer_release+0x37/0xe0 [ovpn] [ 39.533704][ T65] softirqs last disabled at (32356): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 39.533707][ T65] Preemption disabled at: [ 39.533708][ T65] [<0000000000000000>] 0x0 [ 39.533715][ T65] CPU: 2 UID: 0 PID: 65 Comm: kworker/2:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 39.533718][ T65] Tainted: [W]=WARN [ 39.533719][ T65] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 39.533720][ T65] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 39.533725][ T65] Call Trace: [ 39.533726][ T65] [ 39.533729][ T65] dump_stack_lvl+0x6f/0xa0 [ 39.533735][ T65] __might_resched.cold+0x1fe/0x2c1 [ 39.533740][ T65] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 39.533744][ T65] ? __kmalloc_noprof+0xdb/0x760 [ 39.533749][ T65] __kmalloc_noprof+0x443/0x760 [ 39.533751][ T65] ? alloc_buf.isra.0+0x4b/0x260 [ 39.533757][ T65] ? do_raw_spin_unlock+0x59/0x250 [ 39.533760][ T65] alloc_buf.isra.0+0x4b/0x260 [ 39.533763][ T65] put_chars+0x1e1/0x2f0 [ 39.533765][ T65] ? prb_final_commit+0x50/0x50 [ 39.533767][ T65] ? __send_to_port+0x420/0x420 [ 39.533770][ T65] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 39.533774][ T65] ? rcu_read_lock_any_held+0x3c/0x90 [ 39.533776][ T65] ? validate_chain+0x38b/0xc20 [ 39.533780][ T65] hvc_console_print+0x292/0x780 [ 39.533783][ T65] ? mark_usage+0x61/0x170 [ 39.533785][ T65] ? __lock_acquire+0x518/0xc20 [ 39.533787][ T65] ? __lock_acquire+0x518/0xc20 [ 39.533791][ T65] ? hvc_write+0x3a0/0x3a0 [ 39.533793][ T65] ? console_emit_next_record+0x1df/0x4c0 [ 39.533796][ T65] ? rcu_is_watching+0x16/0xd0 [ 39.533799][ T65] ? lock_acquire+0x13c/0x160 [ 39.533802][ T65] console_emit_next_record+0x22f/0x4c0 [ 39.533806][ T65] ? devkmsg_read+0x4b0/0x4b0 [ 39.533808][ T65] ? console_flush_one_record+0x106/0x710 [ 39.533811][ T65] ? rcu_is_watching+0x16/0xd0 [ 39.533814][ T65] ? lock_acquire+0x13c/0x160 [ 39.533817][ T65] console_flush_one_record+0x46f/0x710 [ 39.533822][ T65] ? console_emit_next_record+0x4c0/0x4c0 [ 39.533823][ T65] ? __lock_acquire+0x518/0xc20 [ 39.533828][ T65] console_unlock+0xee/0x1f0 [ 39.533831][ T65] ? console_flush_one_record+0x710/0x710 [ 39.533833][ T65] ? rcu_is_watching+0x16/0xd0 [ 39.533835][ T65] ? lock_acquire+0x60/0x160 [ 39.533839][ T65] ? __down_trylock_console_sem+0x5e/0xa0 [ 39.533840][ T65] ? vprintk_emit+0x320/0x3e0 [ 39.533844][ T65] vprintk_emit+0x37c/0x3e0 [ 39.533847][ T65] ? wake_up_klogd_work_func+0x90/0x90 [ 39.533850][ T65] ? unwind_next_frame+0x69b/0x1ea0 [ 39.533853][ T65] ? ret_from_fork_asm+0x11/0x20 [ 39.533858][ T65] _printk+0xc7/0x100 [ 39.533861][ T65] ? snapshot_read.cold+0x21/0x21 [ 39.533864][ T65] ? __unwind_start+0x42e/0x900 [ 39.533866][ T65] ? write_profile+0xf0/0xf0 [ 39.533869][ T65] ? netdev_name+0x43/0x60 [ 39.533872][ T65] ? __netdev_printk+0x17f/0x1d0 [ 39.533875][ T65] netdev_info+0xe2/0x116 [ 39.533877][ T65] ? netdev_notice+0x120/0x120 [ 39.533879][ T65] ? rcu_read_lock_any_held+0x3c/0x90 [ 39.533884][ T65] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 39.533887][ T65] ? rcu_read_lock_any_held+0x3c/0x90 [ 39.533890][ T65] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 39.533896][ T65] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 39.533902][ T65] ovpn_peer_remove+0x394/0x640 [ovpn] [ 39.533906][ T65] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 39.533909][ T65] ? __rwlock_init+0x150/0x150 [ 39.533911][ T65] ? mark_held_locks+0x40/0x70 [ 39.533915][ T65] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 39.533920][ T65] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 39.533922][ T65] ? __rwlock_init+0x150/0x150 [ 39.533928][ T65] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 39.533932][ T65] ? process_one_work+0xdfc/0x1560 [ 39.533934][ T65] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 39.533937][ T65] ? rcu_is_watching+0x16/0xd0 [ 39.533940][ T65] ? lock_acquire+0x13c/0x160 [ 39.533941][ T65] ? rcu_is_watching+0x16/0xd0 [ 39.533945][ T65] process_one_work+0xe3e/0x1560 [ 39.533951][ T65] ? __queue_delayed_work+0x470/0x470 [ 39.533954][ T65] ? lock_acquire.part.0+0xd4/0x280 [ 39.533962][ T65] worker_thread+0x4f1/0xd60 [ 39.533966][ T65] ? rescuer_thread+0x1340/0x1340 [ 39.533968][ T65] ? __kthread_parkme+0xbd/0x210 [ 39.533971][ T65] ? rescuer_thread+0x1340/0x1340 [ 39.533974][ T65] ? rescuer_thread+0x1340/0x1340 [ 39.533976][ T65] kthread+0x367/0x460 [ 39.533978][ T65] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 39.533980][ T65] ? kthread_affine_preferred+0x4c0/0x4c0 [ 39.533983][ T65] ret_from_fork+0x474/0x6b0 [ 39.533987][ T65] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 39.533990][ T65] ? __switch_to+0x5a3/0xe00 [ 39.533993][ T65] ? kthread_affine_preferred+0x4c0/0x4c0 [ 39.533996][ T65] ret_from_fork_asm+0x11/0x20 [ 39.534004][ T65] [ 39.569859][ T65] tun0: deleting peer with id 5, reason 2 [ 39.570275][ T65] tun0: deleting peer with id 6, reason 2 [ 44.589182][ T10] tun3: deleting peer with id 12, reason 2 [ 44.589207][ T10] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 44.589209][ T10] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 [ 44.589211][ T10] preempt_count: 202, expected: 0 [ 44.589212][ T10] RCU nest depth: 0, expected: 0 [ 44.589213][ T10] locks held by kworker/0:1/10: 7, last CPU#0: [ 44.589216][ T10] #0: ff11000008e1b340 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 44.589227][ T10] #1: ffa00000000a7d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 44.589231][ T10] #2: ff1100000c364e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 44.589239][ T10] #3: ffffffff88379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 44.589245][ T10] #4: ffffffff88379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 44.589248][ T10] #5: ffffffff88299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 44.589252][ T10] #6: ffffffff88299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 44.589256][ T10] irq event stamp: 18283 [ 44.589257][ T10] hardirqs last enabled at (18282): [] __down_trylock_console_sem+0x86/0xa0 [ 44.589259][ T10] hardirqs last disabled at (18283): [] console_emit_next_record+0x3d4/0x4c0 [ 44.589261][ T10] softirqs last enabled at (18116): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 44.589265][ T10] softirqs last disabled at (18272): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 44.589269][ T10] Preemption disabled at: [ 44.589269][ T10] [<0000000000000000>] 0x0 [ 44.589277][ T10] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 44.589281][ T10] Tainted: [W]=WARN [ 44.589281][ T10] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 44.589283][ T10] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 44.589288][ T10] Call Trace: [ 44.589290][ T10] [ 44.589291][ T10] dump_stack_lvl+0x6f/0xa0 [ 44.589298][ T10] __might_resched.cold+0x1fe/0x2c1 [ 44.589302][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 44.589307][ T10] ? __kmalloc_noprof+0xdb/0x760 [ 44.589311][ T10] __kmalloc_noprof+0x443/0x760 [ 44.589314][ T10] ? alloc_buf.isra.0+0x4b/0x260 [ 44.589320][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 44.589322][ T10] alloc_buf.isra.0+0x4b/0x260 [ 44.589326][ T10] put_chars+0x1e1/0x2f0 [ 44.589328][ T10] ? prb_final_commit+0x50/0x50 [ 44.589330][ T10] ? __send_to_port+0x420/0x420 [ 44.589334][ T10] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 44.589338][ T10] ? rcu_read_lock_any_held+0x3c/0x90 [ 44.589340][ T10] ? validate_chain+0x38b/0xc20 [ 44.589343][ T10] hvc_console_print+0x292/0x780 [ 44.589347][ T10] ? mark_usage+0x61/0x170 [ 44.589349][ T10] ? __lock_acquire+0x518/0xc20 [ 44.589350][ T10] ? __lock_acquire+0x518/0xc20 [ 44.589354][ T10] ? hvc_write+0x3a0/0x3a0 [ 44.589356][ T10] ? console_emit_next_record+0x1df/0x4c0 [ 44.589359][ T10] ? rcu_is_watching+0x16/0xd0 [ 44.589362][ T10] ? lock_acquire+0x13c/0x160 [ 44.589366][ T10] console_emit_next_record+0x22f/0x4c0 [ 44.589370][ T10] ? devkmsg_read+0x4b0/0x4b0 [ 44.589372][ T10] ? console_flush_one_record+0x106/0x710 [ 44.589375][ T10] ? rcu_is_watching+0x16/0xd0 [ 44.589377][ T10] ? lock_acquire+0x13c/0x160 [ 44.589381][ T10] console_flush_one_record+0x46f/0x710 [ 44.589385][ T10] ? console_emit_next_record+0x4c0/0x4c0 [ 44.589387][ T10] ? __lock_acquire+0x518/0xc20 [ 44.589392][ T10] console_unlock+0xee/0x1f0 [ 44.589395][ T10] ? console_flush_one_record+0x710/0x710 [ 44.589397][ T10] ? rcu_is_watching+0x16/0xd0 [ 44.589399][ T10] ? lock_acquire+0x60/0x160 [ 44.589403][ T10] ? __down_trylock_console_sem+0x5e/0xa0 [ 44.589404][ T10] ? vprintk_emit+0x320/0x3e0 [ 44.589407][ T10] vprintk_emit+0x37c/0x3e0 [ 44.589411][ T10] ? wake_up_klogd_work_func+0x90/0x90 [ 44.589414][ T10] ? __lock_release.isra.0+0x69/0x1a0 [ 44.589418][ T10] _printk+0xc7/0x100 [ 44.589422][ T10] ? snapshot_read.cold+0x21/0x21 [ 44.589424][ T10] ? try_to_wake_up+0x153/0x1130 [ 44.589427][ T10] ? select_fallback_rq+0x510/0x510 [ 44.589429][ T10] ? netdev_name+0x43/0x60 [ 44.589432][ T10] ? __netdev_printk+0x17f/0x1d0 [ 44.589436][ T10] netdev_info+0xe2/0x116 [ 44.589439][ T10] ? netdev_notice+0x120/0x120 [ 44.589443][ T10] ? __queue_work+0x3ab/0xd30 [ 44.589449][ T10] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 44.589454][ T10] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 44.589457][ T10] ? mark_held_locks+0x40/0x70 [ 44.589460][ T10] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 44.589461][ T10] ? lockdep_hardirqs_on+0x91/0x130 [ 44.589466][ T10] ovpn_peer_remove+0x394/0x640 [ovpn] [ 44.589470][ T10] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 44.589473][ T10] ? __rwlock_init+0x150/0x150 [ 44.589475][ T10] ? mark_held_locks+0x40/0x70 [ 44.589479][ T10] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 44.589483][ T10] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 44.589486][ T10] ? __rwlock_init+0x150/0x150 [ 44.589491][ T10] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 44.589495][ T10] ? process_one_work+0xdfc/0x1560 [ 44.589498][ T10] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 44.589501][ T10] ? rcu_is_watching+0x16/0xd0 [ 44.589503][ T10] ? lock_acquire+0x13c/0x160 [ 44.589505][ T10] ? rcu_is_watching+0x16/0xd0 [ 44.589509][ T10] ? process_one_work+0xdfc/0x1560 [ 44.589510][ T10] process_one_work+0xe3e/0x1560 [ 44.589516][ T10] ? __queue_delayed_work+0x470/0x470 [ 44.589519][ T10] ? lock_acquire.part.0+0xd4/0x280 [ 44.589527][ T10] worker_thread+0x4f1/0xd60 [ 44.589531][ T10] ? rescuer_thread+0x1340/0x1340 [ 44.589533][ T10] ? __kthread_parkme+0xbd/0x210 [ 44.589536][ T10] ? rescuer_thread+0x1340/0x1340 [ 44.589539][ T10] ? rescuer_thread+0x1340/0x1340 [ 44.589540][ T10] kthread+0x367/0x460 [ 44.589542][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 44.589545][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 44.589548][ T10] ret_from_fork+0x474/0x6b0 [ 44.589552][ T10] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 44.589555][ T10] ? __switch_to+0x5a3/0xe00 [ 44.589558][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 44.589561][ T10] ret_from_fork_asm+0x11/0x20 [ 44.589569][ T10] [ 44.716636][ T10] tun4: deleting peer with id 13, reason 2 [ 44.781639][ T53] tun5: deleting peer with id 14, reason 2 [ 44.844622][ T10] tun6: deleting peer with id 15, reason 2