[ 27.656465][ T679] iperf3 (679) used greatest stack depth: 23472 bytes left [ 27.656483][ T679] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 27.656486][ T679] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 679, name: iperf3 [ 27.656488][ T679] preempt_count: 2, expected: 0 [ 27.656489][ T679] RCU nest depth: 0, expected: 0 [ 27.656490][ T679] locks held by iperf3/679: 5, last CPU#1: [ 27.656491][ T679] #0: ffffffff884127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 27.656502][ T679] #1: ffffffff88579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 27.656508][ T679] #2: ffffffff88579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 27.656512][ T679] #3: ffffffff88499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 27.656515][ T679] #4: ffffffff88499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 27.656519][ T679] irq event stamp: 2735860 [ 27.656520][ T679] hardirqs last enabled at (2735859): [] __down_trylock_console_sem+0x86/0xa0 [ 27.656522][ T679] hardirqs last disabled at (2735860): [] console_emit_next_record+0x3d4/0x4c0 [ 27.656524][ T679] softirqs last enabled at (2735020): [] handle_softirqs+0x67c/0x900 [ 27.656527][ T679] softirqs last disabled at (2735013): [] __irq_exit_rcu+0x145/0x1c0 [ 27.656529][ T679] Preemption disabled at: [ 27.656529][ T679] [<0000000000000000>] 0x0 [ 27.656536][ T679] CPU: 1 UID: 0 PID: 679 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 27.656540][ T679] Tainted: [W]=WARN [ 27.656541][ T679] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 27.656542][ T679] Call Trace: [ 27.656544][ T679] [ 27.656545][ T679] dump_stack_lvl+0x6f/0xa0 [ 27.656551][ T679] __might_resched.cold+0x1fe/0x2c1 [ 27.656556][ T679] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 27.656560][ T679] ? __kmalloc_noprof+0xdb/0x760 [ 27.656565][ T679] __kmalloc_noprof+0x443/0x760 [ 27.656567][ T679] ? alloc_buf.isra.0+0x4b/0x260 [ 27.656573][ T679] ? do_raw_spin_unlock+0x59/0x250 [ 27.656575][ T679] alloc_buf.isra.0+0x4b/0x260 [ 27.656579][ T679] put_chars+0x1e1/0x2f0 [ 27.656581][ T679] ? prb_final_commit+0x50/0x50 [ 27.656583][ T679] ? __send_to_port+0x420/0x420 [ 27.656586][ T679] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 27.656590][ T679] ? rcu_read_lock_any_held+0x3c/0x90 [ 27.656592][ T679] ? validate_chain+0x38b/0xc20 [ 27.656596][ T679] hvc_console_print+0x292/0x780 [ 27.656599][ T679] ? mark_usage+0x61/0x170 [ 27.656601][ T679] ? __lock_acquire+0x518/0xc20 [ 27.656602][ T679] ? __lock_acquire+0x518/0xc20 [ 27.656606][ T679] ? hvc_write+0x3a0/0x3a0 [ 27.656608][ T679] ? console_emit_next_record+0x1df/0x4c0 [ 27.656611][ T679] ? rcu_is_watching+0x16/0xd0 [ 27.656613][ T679] ? lock_acquire+0x13c/0x160 [ 27.656617][ T679] console_emit_next_record+0x22f/0x4c0 [ 27.656621][ T679] ? devkmsg_read+0x4b0/0x4b0 [ 27.656623][ T679] ? console_flush_one_record+0x106/0x710 [ 27.656626][ T679] ? rcu_is_watching+0x16/0xd0 [ 27.656628][ T679] ? lock_acquire+0x13c/0x160 [ 27.656632][ T679] console_flush_one_record+0x46f/0x710 [ 27.656636][ T679] ? console_emit_next_record+0x4c0/0x4c0 [ 27.656638][ T679] ? __lock_acquire+0x518/0xc20 [ 27.656642][ T679] console_unlock+0xee/0x1f0 [ 27.656645][ T679] ? console_flush_one_record+0x710/0x710 [ 27.656647][ T679] ? rcu_is_watching+0x16/0xd0 [ 27.656649][ T679] ? lock_acquire+0x60/0x160 [ 27.656653][ T679] ? __down_trylock_console_sem+0x5e/0xa0 [ 27.656654][ T679] ? vprintk_emit+0x320/0x3e0 [ 27.656657][ T679] vprintk_emit+0x37c/0x3e0 [ 27.656661][ T679] ? wake_up_klogd_work_func+0x90/0x90 [ 27.656664][ T679] ? __lock_acquire+0x518/0xc20 [ 27.656668][ T679] _printk+0xc7/0x100 [ 27.656671][ T679] ? snapshot_read.cold+0x21/0x21 [ 27.656674][ T679] ? do_raw_spin_lock+0x131/0x280 [ 27.656676][ T679] ? __rwlock_init+0x150/0x150 [ 27.656680][ T679] ? do_raw_spin_lock+0x131/0x280 [ 27.656682][ T679] do_exit.cold+0x82/0x9c [ 27.656686][ T679] ? exit_notify+0x890/0x890 [ 27.656691][ T679] __x64_sys_exit+0x42/0x50 [ 27.656693][ T679] x64_sys_call+0x156c/0x1570 [ 27.656695][ T679] do_syscall_64+0xff/0x530 [ 27.656699][ T679] ? exc_page_fault+0xee/0x100 [ 27.656702][ T679] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 27.656704][ T679] RIP: 0033:0x7efdff251c49 [ 27.656706][ T679] Code: Unable to access opcode bytes at 0x7efdff251c1f. [ 27.656707][ T679] RSP: 002b:00007efdfea10e60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 27.656709][ T679] RAX: ffffffffffffffda RBX: 00007efdfea116c0 RCX: 00007efdff251c49 [ 27.656711][ T679] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 27.656712][ T679] RBP: 00007efdfea10f70 R08: 0000000000000001 R09: 00007efdfea116c0 [ 27.656712][ T679] R10: 0000000000000008 R11: 0000000000000246 R12: 00007efdfe211000 [ 27.656713][ T679] R13: 00007ffee05b94a0 R14: 0000000000000002 R15: 00007ffee05b95a7 [ 27.656720][ T679] [ 29.347794][ T773] tun0: deleting peer with id 1, reason 1 [ 29.347899][ T773] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 29.347901][ T773] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 773, name: ovpn-cli [ 29.347903][ T773] preempt_count: 202, expected: 0 [ 29.347904][ T773] RCU nest depth: 0, expected: 0 [ 29.347905][ T773] locks held by ovpn-cli/773: 6, last CPU#2: [ 29.347907][ T773] #0: ffffffff88d44ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 29.347918][ T773] #1: ff11000009dd4e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 29.347926][ T773] #2: ffffffff88579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 29.347932][ T773] #3: ffffffff88579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 29.347936][ T773] #4: ffffffff88499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 29.347939][ T773] #5: ffffffff88499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 29.347943][ T773] irq event stamp: 40143 [ 29.347944][ T773] hardirqs last enabled at (40142): [] __down_trylock_console_sem+0x86/0xa0 [ 29.347947][ T773] hardirqs last disabled at (40143): [] console_emit_next_record+0x3d4/0x4c0 [ 29.347949][ T773] softirqs last enabled at (40110): [] __alloc_skb+0x4c2/0x5f0 [ 29.347952][ T773] softirqs last disabled at (40138): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 29.347955][ T773] Preemption disabled at: [ 29.347956][ T773] [<0000000000000000>] 0x0 [ 29.347963][ T773] CPU: 2 UID: 0 PID: 773 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 29.347967][ T773] Tainted: [W]=WARN [ 29.347967][ T773] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.347969][ T773] Call Trace: [ 29.347971][ T773] [ 29.347972][ T773] dump_stack_lvl+0x6f/0xa0 [ 29.347979][ T773] __might_resched.cold+0x1fe/0x2c1 [ 29.347983][ T773] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 29.347987][ T773] ? __kmalloc_noprof+0xdb/0x760 [ 29.347992][ T773] __kmalloc_noprof+0x443/0x760 [ 29.347995][ T773] ? alloc_buf.isra.0+0x4b/0x260 [ 29.348000][ T773] ? do_raw_spin_unlock+0x59/0x250 [ 29.348003][ T773] alloc_buf.isra.0+0x4b/0x260 [ 29.348006][ T773] put_chars+0x1e1/0x2f0 [ 29.348010][ T773] ? __send_to_port+0x420/0x420 [ 29.348011][ T773] ? check_prev_add+0x316/0xe90 [ 29.348015][ T773] ? validate_chain+0x34a/0xc20 [ 29.348019][ T773] hvc_console_print+0x292/0x780 [ 29.348022][ T773] ? mark_usage+0x61/0x170 [ 29.348024][ T773] ? __lock_acquire+0x518/0xc20 [ 29.348025][ T773] ? __lock_acquire+0x518/0xc20 [ 29.348030][ T773] ? hvc_write+0x3a0/0x3a0 [ 29.348031][ T773] ? lock_acquire.part.0+0xd4/0x280 [ 29.348035][ T773] ? lock_acquire+0x13c/0x160 [ 29.348039][ T773] console_emit_next_record+0x22f/0x4c0 [ 29.348043][ T773] ? devkmsg_read+0x4b0/0x4b0 [ 29.348044][ T773] ? console_flush_one_record+0x106/0x710 [ 29.348048][ T773] ? rcu_is_watching+0x16/0xd0 [ 29.348051][ T773] ? lock_acquire+0x13c/0x160 [ 29.348055][ T773] console_flush_one_record+0x46f/0x710 [ 29.348059][ T773] ? console_emit_next_record+0x4c0/0x4c0 [ 29.348061][ T773] ? __lock_acquire+0x518/0xc20 [ 29.348066][ T773] console_unlock+0xee/0x1f0 [ 29.348069][ T773] ? console_flush_one_record+0x710/0x710 [ 29.348071][ T773] ? rcu_is_watching+0x16/0xd0 [ 29.348073][ T773] ? lock_acquire+0x60/0x160 [ 29.348077][ T773] ? __down_trylock_console_sem+0x5e/0xa0 [ 29.348078][ T773] ? vprintk_emit+0x320/0x3e0 [ 29.348082][ T773] vprintk_emit+0x37c/0x3e0 [ 29.348085][ T773] ? wake_up_klogd_work_func+0x90/0x90 [ 29.348087][ T773] ? kernel_text_address+0x149/0x170 [ 29.348090][ T773] ? __kernel_text_address+0x12/0x30 [ 29.348091][ T773] ? write_profile+0xf0/0xf0 [ 29.348094][ T773] ? unwind_get_return_address+0x67/0xd0 [ 29.348099][ T773] _printk+0xc7/0x100 [ 29.348102][ T773] ? snapshot_read.cold+0x21/0x21 [ 29.348108][ T773] ? mark_usage+0x61/0x170 [ 29.348110][ T773] ? netdev_name+0x43/0x60 [ 29.348113][ T773] ? __netdev_printk+0x17f/0x1d0 [ 29.348116][ T773] netdev_info+0xe2/0x116 [ 29.348118][ T773] ? netdev_notice+0x120/0x120 [ 29.348120][ T773] ? find_held_lock+0x2b/0x80 [ 29.348123][ T773] ? mark_usage+0x61/0x170 [ 29.348125][ T773] ? __lock_acquire+0x518/0xc20 [ 29.348131][ T773] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 29.348136][ T773] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 29.348139][ T773] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 29.348145][ T773] ovpn_peer_remove+0x394/0x640 [ovpn] [ 29.348148][ T773] ? do_raw_spin_lock+0x131/0x280 [ 29.348151][ T773] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 29.348157][ T773] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 29.348161][ T773] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 29.348167][ T773] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 29.348170][ T773] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 29.348174][ T773] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 29.348176][ T773] ? ref_tracker_alloc+0x28d/0x430 [ 29.348187][ T773] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 29.348191][ T773] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 29.348197][ T773] genl_family_rcv_msg_doit+0x206/0x300 [ 29.348200][ T773] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 29.348202][ T773] ? __lock_release.isra.0+0x69/0x1a0 [ 29.348208][ T773] ? rcu_is_watching+0x16/0xd0 [ 29.348210][ T773] ? cap_capable+0x1d7/0x3d0 [ 29.348214][ T773] ? write_profile+0xf0/0xf0 [ 29.348215][ T773] ? unwind_get_return_address+0x67/0xd0 [ 29.348218][ T773] genl_family_rcv_msg+0x3a4/0x640 [ 29.348226][ T773] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 29.348228][ T773] ? rcu_read_lock_any_held+0x3c/0x90 [ 29.348231][ T773] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 29.348233][ T773] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 29.348236][ T773] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 29.348239][ T773] ? __lock_acquire+0x518/0xc20 [ 29.348244][ T773] genl_rcv_msg+0xbb/0x160 [ 29.348248][ T773] netlink_rcv_skb+0x14e/0x3a0 [ 29.348250][ T773] ? genl_family_rcv_msg+0x640/0x640 [ 29.348253][ T773] ? netlink_ack+0xcf0/0xcf0 [ 29.348260][ T773] ? netlink_deliver_tap+0xc5/0x330 [ 29.348261][ T773] ? netlink_deliver_tap+0x13c/0x330 [ 29.348265][ T773] genl_rcv+0x28/0x40 [ 29.348268][ T773] netlink_unicast+0x486/0x750 [ 29.348272][ T773] ? netlink_attachskb+0x810/0x810 [ 29.348275][ T773] ? __lock_acquire+0x518/0xc20 [ 29.348279][ T773] netlink_sendmsg+0x735/0xc60 [ 29.348283][ T773] ? netlink_unicast+0x750/0x750 [ 29.348287][ T773] ? __might_fault+0x97/0x140 [ 29.348292][ T773] ____sys_sendmsg+0x415/0x880 [ 29.348296][ T773] ? copy_msghdr_from_user+0x279/0x420 [ 29.348298][ T773] ? get_timestamp.constprop.0+0x390/0x390 [ 29.348300][ T773] ? move_addr_to_kernel+0x40/0x40 [ 29.348307][ T773] ___sys_sendmsg+0x14e/0x1d0 [ 29.348310][ T773] ? copy_msghdr_from_user+0x420/0x420 [ 29.348311][ T773] ? kfree+0x22/0x590 [ 29.348326][ T773] __sys_sendmsg+0x12c/0x1d0 [ 29.348329][ T773] ? __sys_sendmsg_sock+0x20/0x20 [ 29.348335][ T773] ? rcu_is_watching+0x16/0xd0 [ 29.348337][ T773] ? rcu_is_watching+0x16/0xd0 [ 29.348341][ T773] do_syscall_64+0xff/0x530 [ 29.348344][ T773] ? exc_page_fault+0xee/0x100 [ 29.348347][ T773] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 29.348349][ T773] RIP: 0033:0x7f61451ef54e [ 29.348351][ 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 [ 29.348353][ T773] RSP: 002b:00007ffc30847620 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 29.348355][ T773] RAX: ffffffffffffffda RBX: 000000001a86e130 RCX: 00007f61451ef54e [ 29.348357][ T773] RDX: 0000000000000000 RSI: 00007ffc308476c0 RDI: 0000000000000005 [ 29.348358][ T773] RBP: 00007ffc30847630 R08: 0000000000000000 R09: 0000000000000000 [ 29.348359][ T773] R10: 0000000000000000 R11: 0000000000000202 R12: 000000001a86e200 [ 29.348359][ T773] R13: 00007ffc308476c0 R14: 000000001a86f260 R15: 000000000040bda8 [ 29.348366][ T773] [ 29.471619][ T777] tun1: deleting peer with id 10, reason 1 [ 32.321138][ T826] tun0: deleting peer with id 2, reason 1 [ 32.321158][ T826] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 32.321160][ T826] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 826, name: ovpn-cli [ 32.321162][ T826] preempt_count: 202, expected: 0 [ 32.321163][ T826] RCU nest depth: 0, expected: 0 [ 32.321164][ T826] locks held by ovpn-cli/826: 6, last CPU#2: [ 32.321166][ T826] #0: ffffffff88d44ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 32.321177][ T826] #1: ff11000009dd4e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 32.321185][ T826] #2: ffffffff88579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 32.321191][ T826] #3: ffffffff88579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 32.321195][ T826] #4: ffffffff88499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 32.321199][ T826] #5: ffffffff88499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 32.321202][ T826] irq event stamp: 27123 [ 32.321203][ T826] hardirqs last enabled at (27122): [] __down_trylock_console_sem+0x86/0xa0 [ 32.321206][ T826] hardirqs last disabled at (27123): [] console_emit_next_record+0x3d4/0x4c0 [ 32.321208][ T826] softirqs last enabled at (27108): [] handle_softirqs+0x67c/0x900 [ 32.321211][ T826] softirqs last disabled at (27118): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 32.321214][ T826] Preemption disabled at: [ 32.321215][ T826] [<0000000000000000>] 0x0 [ 32.321222][ T826] CPU: 2 UID: 0 PID: 826 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 32.321225][ T826] Tainted: [W]=WARN [ 32.321226][ T826] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 32.321228][ T826] Call Trace: [ 32.321229][ T826] [ 32.321231][ T826] dump_stack_lvl+0x6f/0xa0 [ 32.321241][ T826] __might_resched.cold+0x1fe/0x2c1 [ 32.321246][ T826] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 32.321250][ T826] ? __kmalloc_noprof+0xdb/0x760 [ 32.321255][ T826] __kmalloc_noprof+0x443/0x760 [ 32.321257][ T826] ? alloc_buf.isra.0+0x4b/0x260 [ 32.321263][ T826] ? do_raw_spin_unlock+0x59/0x250 [ 32.321265][ T826] alloc_buf.isra.0+0x4b/0x260 [ 32.321269][ T826] put_chars+0x1e1/0x2f0 [ 32.321272][ T826] ? __send_to_port+0x420/0x420 [ 32.321275][ T826] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 32.321279][ T826] ? rcu_read_lock_any_held+0x3c/0x90 [ 32.321281][ T826] ? validate_chain+0x38b/0xc20 [ 32.321285][ T826] hvc_console_print+0x292/0x780 [ 32.321287][ T826] ? mark_usage+0x61/0x170 [ 32.321289][ T826] ? __lock_acquire+0x518/0xc20 [ 32.321291][ T826] ? __lock_acquire+0x518/0xc20 [ 32.321295][ T826] ? hvc_write+0x3a0/0x3a0 [ 32.321296][ T826] ? lock_acquire.part.0+0xd4/0x280 [ 32.321300][ T826] ? lock_acquire+0x13c/0x160 [ 32.321304][ T826] console_emit_next_record+0x22f/0x4c0 [ 32.321308][ T826] ? devkmsg_read+0x4b0/0x4b0 [ 32.321310][ T826] ? console_flush_one_record+0x106/0x710 [ 32.321313][ T826] ? rcu_is_watching+0x16/0xd0 [ 32.321315][ T826] ? lock_acquire+0x13c/0x160 [ 32.321319][ T826] console_flush_one_record+0x46f/0x710 [ 32.321323][ T826] ? console_emit_next_record+0x4c0/0x4c0 [ 32.321325][ T826] ? __lock_acquire+0x518/0xc20 [ 32.321330][ T826] console_unlock+0xee/0x1f0 [ 32.321332][ T826] ? console_flush_one_record+0x710/0x710 [ 32.321334][ T826] ? rcu_is_watching+0x16/0xd0 [ 32.321336][ T826] ? lock_acquire+0x60/0x160 [ 32.321340][ T826] ? __down_trylock_console_sem+0x5e/0xa0 [ 32.321342][ T826] ? vprintk_emit+0x320/0x3e0 [ 32.321345][ T826] vprintk_emit+0x37c/0x3e0 [ 32.321349][ T826] ? wake_up_klogd_work_func+0x90/0x90 [ 32.321350][ T826] ? kernel_text_address+0x149/0x170 [ 32.321353][ T826] ? __kernel_text_address+0x12/0x30 [ 32.321355][ T826] ? write_profile+0xf0/0xf0 [ 32.321357][ T826] ? unwind_get_return_address+0x67/0xd0 [ 32.321362][ T826] _printk+0xc7/0x100 [ 32.321365][ T826] ? snapshot_read.cold+0x21/0x21 [ 32.321369][ T826] ? mark_usage+0x61/0x170 [ 32.321371][ T826] ? netdev_name+0x43/0x60 [ 32.321374][ T826] ? __netdev_printk+0x17f/0x1d0 [ 32.321377][ T826] netdev_info+0xe2/0x116 [ 32.321379][ T826] ? netdev_notice+0x120/0x120 [ 32.321381][ T826] ? find_held_lock+0x2b/0x80 [ 32.321383][ T826] ? mark_usage+0x61/0x170 [ 32.321386][ T826] ? __lock_acquire+0x518/0xc20 [ 32.321391][ T826] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 32.321396][ T826] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 32.321400][ T826] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 32.321405][ T826] ovpn_peer_remove+0x394/0x640 [ovpn] [ 32.321409][ T826] ? do_raw_spin_lock+0x131/0x280 [ 32.321412][ T826] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 32.321418][ T826] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 32.321422][ T826] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 32.321428][ T826] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 32.321431][ T826] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 32.321435][ T826] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 32.321437][ T826] ? ref_tracker_alloc+0x28d/0x430 [ 32.321447][ T826] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 32.321452][ T826] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 32.321458][ T826] genl_family_rcv_msg_doit+0x206/0x300 [ 32.321461][ T826] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 32.321463][ T826] ? __lock_release.isra.0+0x69/0x1a0 [ 32.321468][ T826] ? rcu_is_watching+0x16/0xd0 [ 32.321471][ T826] ? cap_capable+0x1d7/0x3d0 [ 32.321474][ T826] ? write_profile+0xf0/0xf0 [ 32.321476][ T826] ? unwind_get_return_address+0x67/0xd0 [ 32.321479][ T826] genl_family_rcv_msg+0x3a4/0x640 [ 32.321483][ T826] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 32.321485][ T826] ? rcu_read_lock_any_held+0x3c/0x90 [ 32.321487][ T826] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 32.321489][ T826] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 32.321492][ T826] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 32.321495][ T826] ? __lock_acquire+0x518/0xc20 [ 32.321500][ T826] genl_rcv_msg+0xbb/0x160 [ 32.321504][ T826] netlink_rcv_skb+0x14e/0x3a0 [ 32.321506][ T826] ? genl_family_rcv_msg+0x640/0x640 [ 32.321509][ T826] ? netlink_ack+0xcf0/0xcf0 [ 32.321516][ T826] ? netlink_deliver_tap+0xc5/0x330 [ 32.321518][ T826] ? netlink_deliver_tap+0x13c/0x330 [ 32.321522][ T826] genl_rcv+0x28/0x40 [ 32.321524][ T826] netlink_unicast+0x486/0x750 [ 32.321528][ T826] ? netlink_attachskb+0x810/0x810 [ 32.321530][ T826] ? __lock_acquire+0x518/0xc20 [ 32.321534][ T826] netlink_sendmsg+0x735/0xc60 [ 32.321538][ T826] ? netlink_unicast+0x750/0x750 [ 32.321542][ T826] ? __might_fault+0x97/0x140 [ 32.321547][ T826] ____sys_sendmsg+0x415/0x880 [ 32.321551][ T826] ? copy_msghdr_from_user+0x279/0x420 [ 32.321554][ T826] ? get_timestamp.constprop.0+0x390/0x390 [ 32.321556][ T826] ? move_addr_to_kernel+0x40/0x40 [ 32.321563][ T826] ___sys_sendmsg+0x14e/0x1d0 [ 32.321565][ T826] ? copy_msghdr_from_user+0x420/0x420 [ 32.321567][ T826] ? kfree+0x22/0x590 [ 32.321582][ T826] __sys_sendmsg+0x12c/0x1d0 [ 32.321585][ T826] ? __sys_sendmsg_sock+0x20/0x20 [ 32.321590][ T826] ? rcu_is_watching+0x16/0xd0 [ 32.321593][ T826] ? rcu_is_watching+0x16/0xd0 [ 32.321596][ T826] do_syscall_64+0xff/0x530 [ 32.321599][ T826] ? exc_page_fault+0xee/0x100 [ 32.321602][ T826] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 32.321604][ T826] RIP: 0033:0x7f5f7572654e [ 32.321606][ 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 [ 32.321608][ T826] RSP: 002b:00007ffe2d16e390 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 32.321611][ T826] RAX: ffffffffffffffda RBX: 000000002e62c130 RCX: 00007f5f7572654e [ 32.321612][ T826] RDX: 0000000000000000 RSI: 00007ffe2d16e430 RDI: 0000000000000005 [ 32.321613][ T826] RBP: 00007ffe2d16e3a0 R08: 0000000000000000 R09: 0000000000000000 [ 32.321614][ T826] R10: 0000000000000000 R11: 0000000000000202 R12: 000000002e62c200 [ 32.321615][ T826] R13: 00007ffe2d16e430 R14: 000000002e62d260 R15: 000000000040bda8 [ 32.321621][ T826] [ 32.435540][ T830] tun2: deleting peer with id 11, reason 1 [ 37.418292][ T68] tun0: deleting peer with id 3, reason 2 [ 37.418355][ T68] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 37.418357][ T68] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 68, name: kworker/2:2 [ 37.418359][ T68] preempt_count: 202, expected: 0 [ 37.418360][ T68] RCU nest depth: 0, expected: 0 [ 37.418361][ T68] locks held by kworker/2:2/68: 7, last CPU#2: [ 37.418363][ T68] #0: ff1100000c9e3340 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 37.418374][ T68] #1: ffa0000000497d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 37.418378][ T68] #2: ff11000009dd4e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 37.418385][ T68] #3: ffffffff88579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 37.418390][ T68] #4: ffffffff88579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 37.418394][ T68] #5: ffffffff88499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 37.418397][ T68] #6: ffffffff88499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 37.418401][ T68] irq event stamp: 22615 [ 37.418402][ T68] hardirqs last enabled at (22614): [] __down_trylock_console_sem+0x86/0xa0 [ 37.418404][ T68] hardirqs last disabled at (22615): [] console_emit_next_record+0x3d4/0x4c0 [ 37.418406][ T68] softirqs last enabled at (22090): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 37.418410][ T68] softirqs last disabled at (22606): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 37.418413][ T68] Preemption disabled at: [ 37.418414][ T68] [<0000000000000000>] 0x0 [ 37.418421][ T68] CPU: 2 UID: 0 PID: 68 Comm: kworker/2:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 37.418424][ T68] Tainted: [W]=WARN [ 37.418425][ T68] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 37.418427][ T68] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 37.418431][ T68] Call Trace: [ 37.418433][ T68] [ 37.418434][ T68] dump_stack_lvl+0x6f/0xa0 [ 37.418440][ T68] __might_resched.cold+0x1fe/0x2c1 [ 37.418445][ T68] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 37.418449][ T68] ? __kmalloc_noprof+0xdb/0x760 [ 37.418454][ T68] __kmalloc_noprof+0x443/0x760 [ 37.418456][ T68] ? alloc_buf.isra.0+0x4b/0x260 [ 37.418462][ T68] ? do_raw_spin_unlock+0x59/0x250 [ 37.418464][ T68] alloc_buf.isra.0+0x4b/0x260 [ 37.418468][ T68] put_chars+0x1e1/0x2f0 [ 37.418471][ T68] ? __send_to_port+0x420/0x420 [ 37.418475][ T68] ? validate_chain+0x34a/0xc20 [ 37.418479][ T68] hvc_console_print+0x292/0x780 [ 37.418482][ T68] ? mark_usage+0x61/0x170 [ 37.418484][ T68] ? __lock_acquire+0x518/0xc20 [ 37.418485][ T68] ? __lock_acquire+0x518/0xc20 [ 37.418489][ T68] ? hvc_write+0x3a0/0x3a0 [ 37.418491][ T68] ? console_emit_next_record+0x1df/0x4c0 [ 37.418495][ T68] ? rcu_is_watching+0x16/0xd0 [ 37.418499][ T68] ? lock_acquire+0x13c/0x160 [ 37.418502][ T68] console_emit_next_record+0x22f/0x4c0 [ 37.418506][ T68] ? devkmsg_read+0x4b0/0x4b0 [ 37.418508][ T68] ? console_flush_one_record+0x106/0x710 [ 37.418511][ T68] ? rcu_is_watching+0x16/0xd0 [ 37.418513][ T68] ? lock_acquire+0x13c/0x160 [ 37.418517][ T68] console_flush_one_record+0x46f/0x710 [ 37.418521][ T68] ? console_emit_next_record+0x4c0/0x4c0 [ 37.418523][ T68] ? __lock_acquire+0x518/0xc20 [ 37.418528][ T68] console_unlock+0xee/0x1f0 [ 37.418531][ T68] ? console_flush_one_record+0x710/0x710 [ 37.418533][ T68] ? rcu_is_watching+0x16/0xd0 [ 37.418535][ T68] ? lock_acquire+0x60/0x160 [ 37.418538][ T68] ? __down_trylock_console_sem+0x5e/0xa0 [ 37.418540][ T68] ? vprintk_emit+0x320/0x3e0 [ 37.418543][ T68] vprintk_emit+0x37c/0x3e0 [ 37.418547][ T68] ? wake_up_klogd_work_func+0x90/0x90 [ 37.418550][ T68] ? __lock_release.isra.0+0x69/0x1a0 [ 37.418552][ T68] ? rcu_is_watching+0x16/0xd0 [ 37.418555][ T68] _printk+0xc7/0x100 [ 37.418559][ T68] ? snapshot_read.cold+0x21/0x21 [ 37.418562][ T68] ? __add_to_free_list+0x81/0x5c0 [ 37.418565][ T68] ? __mod_zone_page_state+0xe1/0x190 [ 37.418568][ T68] ? netdev_name+0x43/0x60 [ 37.418571][ T68] ? __netdev_printk+0x17f/0x1d0 [ 37.418574][ T68] netdev_info+0xe2/0x116 [ 37.418577][ T68] ? netdev_notice+0x120/0x120 [ 37.418578][ T68] ? rcu_read_lock_any_held+0x3c/0x90 [ 37.418583][ T68] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 37.418586][ T68] ? rcu_read_lock_any_held+0x3c/0x90 [ 37.418590][ T68] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 37.418595][ T68] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 37.418602][ T68] ovpn_peer_remove+0x394/0x640 [ovpn] [ 37.418606][ T68] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 37.418608][ T68] ? __rwlock_init+0x150/0x150 [ 37.418611][ T68] ? mark_held_locks+0x40/0x70 [ 37.418615][ T68] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 37.418619][ T68] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 37.418622][ T68] ? __rwlock_init+0x150/0x150 [ 37.418627][ T68] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 37.418631][ T68] ? process_one_work+0xdfc/0x1560 [ 37.418634][ T68] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 37.418637][ T68] ? rcu_is_watching+0x16/0xd0 [ 37.418639][ T68] ? lock_acquire+0x13c/0x160 [ 37.418640][ T68] ? rcu_is_watching+0x16/0xd0 [ 37.418644][ T68] process_one_work+0xe3e/0x1560 [ 37.418651][ T68] ? __queue_delayed_work+0x470/0x470 [ 37.418653][ T68] ? lock_acquire.part.0+0xd4/0x280 [ 37.418661][ T68] worker_thread+0x4f1/0xd60 [ 37.418665][ T68] ? rescuer_thread+0x1340/0x1340 [ 37.418667][ T68] ? __kthread_parkme+0xbd/0x210 [ 37.418670][ T68] ? rescuer_thread+0x1340/0x1340 [ 37.418673][ T68] ? rescuer_thread+0x1340/0x1340 [ 37.418675][ T68] kthread+0x367/0x460 [ 37.418677][ T68] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 37.418680][ T68] ? kthread_affine_preferred+0x4c0/0x4c0 [ 37.418682][ T68] ret_from_fork+0x474/0x6b0 [ 37.418686][ T68] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 37.418689][ T68] ? __switch_to+0x5a3/0xe00 [ 37.418692][ T68] ? kthread_affine_preferred+0x4c0/0x4c0 [ 37.418695][ T68] ret_from_fork_asm+0x11/0x20 [ 37.418703][ T68] [ 38.507118][ T68] tun0: deleting peer with id 4, reason 2 [ 38.507128][ T68] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 38.507130][ T68] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 68, name: kworker/2:2 [ 38.507131][ T68] preempt_count: 202, expected: 0 [ 38.507132][ T68] RCU nest depth: 0, expected: 0 [ 38.507133][ T68] locks held by kworker/2:2/68: 7, last CPU#2: [ 38.507134][ T68] #0: ff1100000c9e3340 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 38.507144][ T68] #1: ffa0000000497d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 38.507147][ T68] #2: ff11000009dd4e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 38.507154][ T68] #3: ffffffff88579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 38.507159][ T68] #4: ffffffff88579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 38.507162][ T68] #5: ffffffff88499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 38.507166][ T68] #6: ffffffff88499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 38.507169][ T68] irq event stamp: 23681 [ 38.507170][ T68] hardirqs last enabled at (23680): [] __down_trylock_console_sem+0x86/0xa0 [ 38.507172][ T68] hardirqs last disabled at (23681): [] console_emit_next_record+0x3d4/0x4c0 [ 38.507174][ T68] softirqs last enabled at (23282): [] ovpn_peer_release+0x37/0xe0 [ovpn] [ 38.507178][ T68] softirqs last disabled at (23674): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 38.507181][ T68] Preemption disabled at: [ 38.507182][ T68] [<0000000000000000>] 0x0 [ 38.507187][ T68] CPU: 2 UID: 0 PID: 68 Comm: kworker/2:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 38.507190][ T68] Tainted: [W]=WARN [ 38.507191][ T68] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 38.507192][ T68] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 38.507196][ T68] Call Trace: [ 38.507198][ T68] [ 38.507200][ T68] dump_stack_lvl+0x6f/0xa0 [ 38.507205][ T68] __might_resched.cold+0x1fe/0x2c1 [ 38.507209][ T68] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 38.507213][ T68] ? __kmalloc_noprof+0xdb/0x760 [ 38.507217][ T68] __kmalloc_noprof+0x443/0x760 [ 38.507220][ T68] ? alloc_buf.isra.0+0x4b/0x260 [ 38.507225][ T68] ? do_raw_spin_unlock+0x59/0x250 [ 38.507227][ T68] alloc_buf.isra.0+0x4b/0x260 [ 38.507230][ T68] put_chars+0x1e1/0x2f0 [ 38.507231][ T68] ? prb_final_commit+0x50/0x50 [ 38.507234][ T68] ? __send_to_port+0x420/0x420 [ 38.507237][ T68] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 38.507241][ T68] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.507243][ T68] ? validate_chain+0x38b/0xc20 [ 38.507246][ T68] hvc_console_print+0x292/0x780 [ 38.507249][ T68] ? mark_usage+0x61/0x170 [ 38.507251][ T68] ? __lock_acquire+0x518/0xc20 [ 38.507252][ T68] ? __lock_acquire+0x518/0xc20 [ 38.507256][ T68] ? hvc_write+0x3a0/0x3a0 [ 38.507258][ T68] ? console_emit_next_record+0x1df/0x4c0 [ 38.507261][ T68] ? rcu_is_watching+0x16/0xd0 [ 38.507264][ T68] ? lock_acquire+0x13c/0x160 [ 38.507267][ T68] console_emit_next_record+0x22f/0x4c0 [ 38.507271][ T68] ? devkmsg_read+0x4b0/0x4b0 [ 38.507277][ T68] ? console_flush_one_record+0x106/0x710 [ 38.507280][ T68] ? rcu_is_watching+0x16/0xd0 [ 38.507283][ T68] ? lock_acquire+0x13c/0x160 [ 38.507286][ T68] console_flush_one_record+0x46f/0x710 [ 38.507291][ T68] ? console_emit_next_record+0x4c0/0x4c0 [ 38.507292][ T68] ? __lock_acquire+0x518/0xc20 [ 38.507297][ T68] console_unlock+0xee/0x1f0 [ 38.507300][ T68] ? console_flush_one_record+0x710/0x710 [ 38.507302][ T68] ? rcu_is_watching+0x16/0xd0 [ 38.507304][ T68] ? lock_acquire+0x60/0x160 [ 38.507308][ T68] ? __down_trylock_console_sem+0x5e/0xa0 [ 38.507309][ T68] ? vprintk_emit+0x320/0x3e0 [ 38.507312][ T68] vprintk_emit+0x37c/0x3e0 [ 38.507316][ T68] ? wake_up_klogd_work_func+0x90/0x90 [ 38.507319][ T68] ? __lock_release.isra.0+0x69/0x1a0 [ 38.507321][ T68] ? rcu_is_watching+0x16/0xd0 [ 38.507324][ T68] _printk+0xc7/0x100 [ 38.507328][ T68] ? snapshot_read.cold+0x21/0x21 [ 38.507331][ T68] ? __add_to_free_list+0x81/0x5c0 [ 38.507333][ T68] ? __mod_zone_page_state+0xe1/0x190 [ 38.507336][ T68] ? netdev_name+0x43/0x60 [ 38.507338][ T68] ? __netdev_printk+0x17f/0x1d0 [ 38.507342][ T68] netdev_info+0xe2/0x116 [ 38.507344][ T68] ? netdev_notice+0x120/0x120 [ 38.507345][ T68] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.507350][ T68] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 38.507352][ T68] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.507356][ T68] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 38.507361][ T68] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 38.507367][ T68] ovpn_peer_remove+0x394/0x640 [ovpn] [ 38.507371][ T68] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 38.507374][ T68] ? __rwlock_init+0x150/0x150 [ 38.507376][ T68] ? mark_held_locks+0x40/0x70 [ 38.507380][ T68] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 38.507384][ T68] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 38.507387][ T68] ? __rwlock_init+0x150/0x150 [ 38.507392][ T68] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 38.507396][ T68] ? process_one_work+0xdfc/0x1560 [ 38.507399][ T68] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 38.507402][ T68] ? rcu_is_watching+0x16/0xd0 [ 38.507404][ T68] ? lock_acquire+0x13c/0x160 [ 38.507406][ T68] ? rcu_is_watching+0x16/0xd0 [ 38.507410][ T68] process_one_work+0xe3e/0x1560 [ 38.507416][ T68] ? __queue_delayed_work+0x470/0x470 [ 38.507419][ T68] ? lock_acquire.part.0+0xd4/0x280 [ 38.507426][ T68] worker_thread+0x4f1/0xd60 [ 38.507430][ T68] ? rescuer_thread+0x1340/0x1340 [ 38.507432][ T68] ? __kthread_parkme+0xbd/0x210 [ 38.507435][ T68] ? rescuer_thread+0x1340/0x1340 [ 38.507437][ T68] ? rescuer_thread+0x1340/0x1340 [ 38.507439][ T68] kthread+0x367/0x460 [ 38.507441][ T68] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 38.507444][ T68] ? kthread_affine_preferred+0x4c0/0x4c0 [ 38.507447][ T68] ret_from_fork+0x474/0x6b0 [ 38.507450][ T68] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 38.507453][ T68] ? __switch_to+0x5a3/0xe00 [ 38.507456][ T68] ? kthread_affine_preferred+0x4c0/0x4c0 [ 38.507459][ T68] ret_from_fork_asm+0x11/0x20 [ 38.507467][ T68] [ 38.537019][ T68] tun0: deleting peer with id 5, reason 2 [ 38.537424][ T68] tun0: deleting peer with id 6, reason 2 [ 43.562349][ T9] tun3: deleting peer with id 12, reason 2 [ 43.562365][ T9] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 43.562367][ T9] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 9, name: kworker/0:0 [ 43.562369][ T9] preempt_count: 202, expected: 0 [ 43.562369][ T9] RCU nest depth: 0, expected: 0 [ 43.562370][ T9] locks held by kworker/0:0/9: 7, last CPU#0: [ 43.562372][ T9] #0: ff1100000c9e3340 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 43.562382][ T9] #1: ffa0000000097d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 43.562386][ T9] #2: ff11000008689e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 43.562393][ T9] #3: ffffffff88579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 43.562397][ T9] #4: ffffffff88579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 43.562401][ T9] #5: ffffffff88499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 43.562404][ T9] #6: ffffffff88499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 43.562408][ T9] irq event stamp: 25975 [ 43.562409][ T9] hardirqs last enabled at (25974): [] __down_trylock_console_sem+0x86/0xa0 [ 43.562411][ T9] hardirqs last disabled at (25975): [] console_emit_next_record+0x3d4/0x4c0 [ 43.562413][ T9] softirqs last enabled at (25932): [] process_one_work+0xe3e/0x1560 [ 43.562415][ T9] softirqs last disabled at (25964): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 43.562418][ T9] Preemption disabled at: [ 43.562419][ T9] [<0000000000000000>] 0x0 [ 43.562424][ T9] CPU: 0 UID: 0 PID: 9 Comm: kworker/0:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 43.562427][ T9] Tainted: [W]=WARN [ 43.562428][ T9] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 43.562430][ T9] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 43.562434][ T9] Call Trace: [ 43.562435][ T9] [ 43.562437][ T9] dump_stack_lvl+0x6f/0xa0 [ 43.562442][ T9] __might_resched.cold+0x1fe/0x2c1 [ 43.562446][ T9] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 43.562450][ T9] ? __kmalloc_noprof+0xdb/0x760 [ 43.562455][ T9] __kmalloc_noprof+0x443/0x760 [ 43.562457][ T9] ? alloc_buf.isra.0+0x4b/0x260 [ 43.562462][ T9] ? do_raw_spin_unlock+0x59/0x250 [ 43.562465][ T9] alloc_buf.isra.0+0x4b/0x260 [ 43.562468][ T9] put_chars+0x1e1/0x2f0 [ 43.562470][ T9] ? prb_final_commit+0x50/0x50 [ 43.562472][ T9] ? __send_to_port+0x420/0x420 [ 43.562475][ T9] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 43.562479][ T9] ? rcu_read_lock_any_held+0x3c/0x90 [ 43.562481][ T9] ? validate_chain+0x38b/0xc20 [ 43.562485][ T9] hvc_console_print+0x292/0x780 [ 43.562488][ T9] ? mark_usage+0x61/0x170 [ 43.562490][ T9] ? __lock_acquire+0x518/0xc20 [ 43.562491][ T9] ? __lock_acquire+0x518/0xc20 [ 43.562495][ T9] ? hvc_write+0x3a0/0x3a0 [ 43.562497][ T9] ? console_emit_next_record+0x1df/0x4c0 [ 43.562500][ T9] ? rcu_is_watching+0x16/0xd0 [ 43.562503][ T9] ? lock_acquire+0x13c/0x160 [ 43.562507][ T9] console_emit_next_record+0x22f/0x4c0 [ 43.562510][ T9] ? devkmsg_read+0x4b0/0x4b0 [ 43.562512][ T9] ? console_flush_one_record+0x106/0x710 [ 43.562516][ T9] ? rcu_is_watching+0x16/0xd0 [ 43.562518][ T9] ? lock_acquire+0x13c/0x160 [ 43.562522][ T9] console_flush_one_record+0x46f/0x710 [ 43.562526][ T9] ? console_emit_next_record+0x4c0/0x4c0 [ 43.562527][ T9] ? __lock_acquire+0x518/0xc20 [ 43.562532][ T9] console_unlock+0xee/0x1f0 [ 43.562535][ T9] ? console_flush_one_record+0x710/0x710 [ 43.562537][ T9] ? rcu_is_watching+0x16/0xd0 [ 43.562539][ T9] ? lock_acquire+0x60/0x160 [ 43.562543][ T9] ? __down_trylock_console_sem+0x5e/0xa0 [ 43.562545][ T9] ? vprintk_emit+0x320/0x3e0 [ 43.562548][ T9] vprintk_emit+0x37c/0x3e0 [ 43.562551][ T9] ? wake_up_klogd_work_func+0x90/0x90 [ 43.562554][ T9] ? __lock_release.isra.0+0x69/0x1a0 [ 43.562558][ T9] _printk+0xc7/0x100 [ 43.562562][ T9] ? snapshot_read.cold+0x21/0x21 [ 43.562563][ T9] ? try_to_wake_up+0x153/0x1130 [ 43.562566][ T9] ? select_fallback_rq+0x510/0x510 [ 43.562568][ T9] ? netdev_name+0x43/0x60 [ 43.562572][ T9] ? __netdev_printk+0x17f/0x1d0 [ 43.562575][ T9] netdev_info+0xe2/0x116 [ 43.562577][ T9] ? netdev_notice+0x120/0x120 [ 43.562582][ T9] ? __queue_work+0x3ab/0xd30 [ 43.562588][ T9] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 43.562593][ T9] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 43.562596][ T9] ? mark_held_locks+0x40/0x70 [ 43.562598][ T9] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 43.562600][ T9] ? lockdep_hardirqs_on+0x91/0x130 [ 43.562605][ T9] ovpn_peer_remove+0x394/0x640 [ovpn] [ 43.562610][ T9] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 43.562612][ T9] ? __rwlock_init+0x150/0x150 [ 43.562614][ T9] ? mark_held_locks+0x40/0x70 [ 43.562619][ T9] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 43.562622][ T9] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 43.562625][ T9] ? __rwlock_init+0x150/0x150 [ 43.562630][ T9] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 43.562634][ T9] ? process_one_work+0xdfc/0x1560 [ 43.562637][ T9] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 43.562640][ T9] ? rcu_is_watching+0x16/0xd0 [ 43.562642][ T9] ? lock_acquire+0x13c/0x160 [ 43.562644][ T9] ? rcu_is_watching+0x16/0xd0 [ 43.562647][ T9] ? process_one_work+0xdfc/0x1560 [ 43.562649][ T9] process_one_work+0xe3e/0x1560 [ 43.562655][ T9] ? __queue_delayed_work+0x470/0x470 [ 43.562658][ T9] ? lock_acquire.part.0+0xd4/0x280 [ 43.562665][ T9] worker_thread+0x4f1/0xd60 [ 43.562672][ T9] ? rescuer_thread+0x1340/0x1340 [ 43.562674][ T9] kthread+0x367/0x460 [ 43.562677][ T9] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 43.562679][ T9] ? kthread_affine_preferred+0x4c0/0x4c0 [ 43.562682][ T9] ret_from_fork+0x474/0x6b0 [ 43.562686][ T9] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 43.562689][ T9] ? __switch_to+0x5a3/0xe00 [ 43.562692][ T9] ? kthread_affine_preferred+0x4c0/0x4c0 [ 43.562694][ T9] ret_from_fork_asm+0x11/0x20 [ 43.562703][ T9] [ 43.626150][ T68] tun4: deleting peer with id 13, reason 2 [ 43.690137][ T9] tun5: deleting peer with id 14, reason 2 [ 43.754130][ T9] tun6: deleting peer with id 15, reason 2