[ 29.425356][ T680] iperf3 (680) used greatest stack depth: 22864 bytes left [ 29.425375][ T680] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 29.425377][ T680] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 680, name: iperf3 [ 29.425379][ T680] preempt_count: 2, expected: 0 [ 29.425380][ T680] RCU nest depth: 0, expected: 0 [ 29.425381][ T680] locks held by iperf3/680: 5, last CPU#2: [ 29.425383][ T680] #0: ffffffff980127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 29.425394][ T680] #1: ffffffff98179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 29.425400][ T680] #2: ffffffff98179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 29.425404][ T680] #3: ffffffff98099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 29.425408][ T680] #4: ffffffff98099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 29.425411][ T680] irq event stamp: 5378622 [ 29.425412][ T680] hardirqs last enabled at (5378621): [] __down_trylock_console_sem+0x86/0xa0 [ 29.425415][ T680] hardirqs last disabled at (5378622): [] console_emit_next_record+0x3d4/0x4c0 [ 29.425417][ T680] softirqs last enabled at (5377258): [] handle_softirqs+0x67c/0x900 [ 29.425419][ T680] softirqs last disabled at (5376277): [] __irq_exit_rcu+0x145/0x1c0 [ 29.425421][ T680] Preemption disabled at: [ 29.425422][ T680] [<0000000000000000>] 0x0 [ 29.425429][ T680] CPU: 2 UID: 0 PID: 680 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 29.425432][ T680] Tainted: [W]=WARN [ 29.425433][ T680] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.425434][ T680] Call Trace: [ 29.425436][ T680] [ 29.425437][ T680] dump_stack_lvl+0x6f/0xa0 [ 29.425444][ T680] __might_resched.cold+0x1fe/0x2c1 [ 29.425449][ T680] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 29.425453][ T680] ? __kmalloc_noprof+0xdb/0x760 [ 29.425457][ T680] __kmalloc_noprof+0x443/0x760 [ 29.425460][ T680] ? alloc_buf.isra.0+0x4b/0x260 [ 29.425465][ T680] ? do_raw_spin_unlock+0x59/0x250 [ 29.425468][ T680] alloc_buf.isra.0+0x4b/0x260 [ 29.425471][ T680] put_chars+0x1e1/0x2f0 [ 29.425473][ T680] ? prb_final_commit+0x50/0x50 [ 29.425476][ T680] ? __send_to_port+0x420/0x420 [ 29.425479][ T680] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 29.425483][ T680] ? rcu_read_lock_any_held+0x3c/0x90 [ 29.425485][ T680] ? validate_chain+0x38b/0xc20 [ 29.425489][ T680] hvc_console_print+0x292/0x780 [ 29.425492][ T680] ? mark_usage+0x61/0x170 [ 29.425494][ T680] ? __lock_acquire+0x518/0xc20 [ 29.425495][ T680] ? __lock_acquire+0x518/0xc20 [ 29.425499][ T680] ? hvc_write+0x3a0/0x3a0 [ 29.425501][ T680] ? console_emit_next_record+0x1df/0x4c0 [ 29.425504][ T680] ? rcu_is_watching+0x16/0xd0 [ 29.425506][ T680] ? lock_acquire+0x13c/0x160 [ 29.425510][ T680] console_emit_next_record+0x22f/0x4c0 [ 29.425514][ T680] ? devkmsg_read+0x4b0/0x4b0 [ 29.425515][ T680] ? console_flush_one_record+0x106/0x710 [ 29.425518][ T680] ? rcu_is_watching+0x16/0xd0 [ 29.425521][ T680] ? lock_acquire+0x13c/0x160 [ 29.425524][ T680] console_flush_one_record+0x46f/0x710 [ 29.425528][ T680] ? console_emit_next_record+0x4c0/0x4c0 [ 29.425530][ T680] ? __lock_acquire+0x518/0xc20 [ 29.425535][ T680] console_unlock+0xee/0x1f0 [ 29.425538][ T680] ? console_flush_one_record+0x710/0x710 [ 29.425540][ T680] ? rcu_is_watching+0x16/0xd0 [ 29.425542][ T680] ? lock_acquire+0x60/0x160 [ 29.425545][ T680] ? __down_trylock_console_sem+0x5e/0xa0 [ 29.425547][ T680] ? vprintk_emit+0x320/0x3e0 [ 29.425550][ T680] vprintk_emit+0x37c/0x3e0 [ 29.425554][ T680] ? wake_up_klogd_work_func+0x90/0x90 [ 29.425557][ T680] ? __lock_acquire+0x518/0xc20 [ 29.425561][ T680] _printk+0xc7/0x100 [ 29.425564][ T680] ? snapshot_read.cold+0x21/0x21 [ 29.425567][ T680] ? do_raw_spin_lock+0x131/0x280 [ 29.425569][ T680] ? __rwlock_init+0x150/0x150 [ 29.425573][ T680] ? do_raw_spin_lock+0x131/0x280 [ 29.425575][ T680] do_exit.cold+0x82/0x9c [ 29.425579][ T680] ? exit_notify+0x890/0x890 [ 29.425584][ T680] __x64_sys_exit+0x42/0x50 [ 29.425585][ T680] x64_sys_call+0x156c/0x1570 [ 29.425588][ T680] do_syscall_64+0xff/0x530 [ 29.425592][ T680] ? exc_page_fault+0xee/0x100 [ 29.425595][ T680] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 29.425597][ T680] RIP: 0033:0x7f08903f8c49 [ 29.425599][ T680] Code: Unable to access opcode bytes at 0x7f08903f8c1f. [ 29.425600][ T680] RSP: 002b:00007f088fbb7e60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 29.425602][ T680] RAX: ffffffffffffffda RBX: 00007f088fbb86c0 RCX: 00007f08903f8c49 [ 29.425604][ T680] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 29.425605][ T680] RBP: 00007f088fbb7f70 R08: 0000000000000001 R09: 00007f088fbb86c0 [ 29.425606][ T680] R10: 0000000000000008 R11: 0000000000000246 R12: 00007f088f3b8000 [ 29.425606][ T680] R13: 00007ffca29ea9c0 R14: 0000000000000002 R15: 00007ffca29eaac7 [ 29.425613][ T680] [ 31.183266][ T775] tun0: deleting peer with id 1, reason 1 [ 31.183339][ T775] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 31.183341][ T775] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 775, name: ovpn-cli [ 31.183342][ T775] preempt_count: 202, expected: 0 [ 31.183343][ T775] RCU nest depth: 0, expected: 0 [ 31.183344][ T775] locks held by ovpn-cli/775: 6, last CPU#3: [ 31.183346][ T775] #0: ffffffff98944b68 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 31.183358][ T775] #1: ff110000130c4e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 31.183366][ T775] #2: ffffffff98179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 31.183371][ T775] #3: ffffffff98179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 31.183375][ T775] #4: ffffffff98099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 31.183378][ T775] #5: ffffffff98099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 31.183382][ T775] irq event stamp: 35691 [ 31.183383][ T775] hardirqs last enabled at (35690): [] __down_trylock_console_sem+0x86/0xa0 [ 31.183385][ T775] hardirqs last disabled at (35691): [] console_emit_next_record+0x3d4/0x4c0 [ 31.183388][ T775] softirqs last enabled at (35672): [] handle_softirqs+0x67c/0x900 [ 31.183391][ T775] softirqs last disabled at (35686): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 31.183394][ T775] Preemption disabled at: [ 31.183395][ T775] [<0000000000000000>] 0x0 [ 31.183401][ T775] CPU: 3 UID: 0 PID: 775 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 31.183404][ T775] Tainted: [W]=WARN [ 31.183405][ T775] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 31.183407][ T775] Call Trace: [ 31.183408][ T775] [ 31.183410][ T775] dump_stack_lvl+0x6f/0xa0 [ 31.183416][ T775] __might_resched.cold+0x1fe/0x2c1 [ 31.183420][ T775] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 31.183424][ T775] ? __kmalloc_noprof+0xdb/0x760 [ 31.183429][ T775] __kmalloc_noprof+0x443/0x760 [ 31.183431][ T775] ? alloc_buf.isra.0+0x4b/0x260 [ 31.183436][ T775] ? do_raw_spin_unlock+0x59/0x250 [ 31.183439][ T775] alloc_buf.isra.0+0x4b/0x260 [ 31.183442][ T775] put_chars+0x1e1/0x2f0 [ 31.183445][ T775] ? __send_to_port+0x420/0x420 [ 31.183447][ T775] ? check_prev_add+0x316/0xe90 [ 31.183451][ T775] ? validate_chain+0x34a/0xc20 [ 31.183454][ T775] hvc_console_print+0x292/0x780 [ 31.183457][ T775] ? mark_usage+0x61/0x170 [ 31.183459][ T775] ? __lock_acquire+0x518/0xc20 [ 31.183461][ T775] ? __lock_acquire+0x518/0xc20 [ 31.183465][ T775] ? hvc_write+0x3a0/0x3a0 [ 31.183466][ T775] ? lock_acquire.part.0+0xd4/0x280 [ 31.183470][ T775] ? lock_acquire+0x13c/0x160 [ 31.183474][ T775] console_emit_next_record+0x22f/0x4c0 [ 31.183478][ T775] ? devkmsg_read+0x4b0/0x4b0 [ 31.183479][ T775] ? console_flush_one_record+0x106/0x710 [ 31.183483][ T775] ? rcu_is_watching+0x16/0xd0 [ 31.183486][ T775] ? lock_acquire+0x13c/0x160 [ 31.183490][ T775] console_flush_one_record+0x46f/0x710 [ 31.183494][ T775] ? console_emit_next_record+0x4c0/0x4c0 [ 31.183496][ T775] ? __lock_acquire+0x518/0xc20 [ 31.183501][ T775] console_unlock+0xee/0x1f0 [ 31.183504][ T775] ? console_flush_one_record+0x710/0x710 [ 31.183505][ T775] ? rcu_is_watching+0x16/0xd0 [ 31.183508][ T775] ? lock_acquire+0x60/0x160 [ 31.183511][ T775] ? __down_trylock_console_sem+0x5e/0xa0 [ 31.183513][ T775] ? vprintk_emit+0x320/0x3e0 [ 31.183516][ T775] vprintk_emit+0x37c/0x3e0 [ 31.183520][ T775] ? wake_up_klogd_work_func+0x90/0x90 [ 31.183521][ T775] ? kernel_text_address+0x149/0x170 [ 31.183524][ T775] ? __kernel_text_address+0x12/0x30 [ 31.183526][ T775] ? write_profile+0xf0/0xf0 [ 31.183528][ T775] ? unwind_get_return_address+0x67/0xd0 [ 31.183532][ T775] _printk+0xc7/0x100 [ 31.183536][ T775] ? snapshot_read.cold+0x21/0x21 [ 31.183540][ T775] ? mark_usage+0x61/0x170 [ 31.183541][ T775] ? netdev_name+0x43/0x60 [ 31.183544][ T775] ? __netdev_printk+0x17f/0x1d0 [ 31.183547][ T775] netdev_info+0xe2/0x116 [ 31.183549][ T775] ? netdev_notice+0x120/0x120 [ 31.183551][ T775] ? find_held_lock+0x2b/0x80 [ 31.183553][ T775] ? mark_usage+0x61/0x170 [ 31.183556][ T775] ? __lock_acquire+0x518/0xc20 [ 31.183561][ T775] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 31.183566][ T775] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 31.183570][ T775] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 31.183575][ T775] ovpn_peer_remove+0x394/0x640 [ovpn] [ 31.183579][ T775] ? do_raw_spin_lock+0x131/0x280 [ 31.183581][ T775] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 31.183587][ T775] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 31.183591][ T775] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 31.183597][ T775] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 31.183601][ T775] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 31.183604][ T775] ? __lock_release.isra.0+0x69/0x1a0 [ 31.183614][ T775] ? __rcu_read_unlock+0xc9/0x110 [ 31.183615][ T775] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 31.183621][ T775] genl_family_rcv_msg_doit+0x206/0x300 [ 31.183624][ T775] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 31.183626][ T775] ? __lock_release.isra.0+0x69/0x1a0 [ 31.183632][ T775] ? rcu_is_watching+0x16/0xd0 [ 31.183634][ T775] ? cap_capable+0x1d7/0x3d0 [ 31.183637][ T775] ? write_profile+0xf0/0xf0 [ 31.183639][ T775] ? unwind_get_return_address+0x67/0xd0 [ 31.183642][ T775] genl_family_rcv_msg+0x3a4/0x640 [ 31.183646][ T775] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 31.183648][ T775] ? rcu_read_lock_any_held+0x3c/0x90 [ 31.183650][ T775] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 31.183653][ T775] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 31.183655][ T775] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 31.183658][ T775] ? __lock_acquire+0x518/0xc20 [ 31.183663][ T775] genl_rcv_msg+0xbb/0x160 [ 31.183667][ T775] netlink_rcv_skb+0x14e/0x3a0 [ 31.183669][ T775] ? genl_family_rcv_msg+0x640/0x640 [ 31.183672][ T775] ? netlink_ack+0xcf0/0xcf0 [ 31.183679][ T775] ? netlink_deliver_tap+0xc5/0x330 [ 31.183681][ T775] ? netlink_deliver_tap+0x13c/0x330 [ 31.183684][ T775] genl_rcv+0x28/0x40 [ 31.183687][ T775] netlink_unicast+0x486/0x750 [ 31.183690][ T775] ? netlink_attachskb+0x810/0x810 [ 31.183693][ T775] ? __lock_acquire+0x518/0xc20 [ 31.183697][ T775] netlink_sendmsg+0x735/0xc60 [ 31.183701][ T775] ? netlink_unicast+0x750/0x750 [ 31.183705][ T775] ? __might_fault+0x97/0x140 [ 31.183710][ T775] ____sys_sendmsg+0x415/0x880 [ 31.183714][ T775] ? copy_msghdr_from_user+0x279/0x420 [ 31.183716][ T775] ? get_timestamp.constprop.0+0x390/0x390 [ 31.183718][ T775] ? move_addr_to_kernel+0x40/0x40 [ 31.183725][ T775] ___sys_sendmsg+0x14e/0x1d0 [ 31.183728][ T775] ? copy_msghdr_from_user+0x420/0x420 [ 31.183730][ T775] ? kfree+0x22/0x590 [ 31.183745][ T775] __sys_sendmsg+0x12c/0x1d0 [ 31.183748][ T775] ? __sys_sendmsg_sock+0x20/0x20 [ 31.183753][ T775] ? rcu_is_watching+0x16/0xd0 [ 31.183756][ T775] ? rcu_is_watching+0x16/0xd0 [ 31.183759][ T775] do_syscall_64+0xff/0x530 [ 31.183762][ T775] ? exc_page_fault+0xee/0x100 [ 31.183765][ T775] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 31.183767][ T775] RIP: 0033:0x7efd0c85e54e [ 31.183769][ T775] 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.183771][ T775] RSP: 002b:00007ffd4b8f2530 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 31.183773][ T775] RAX: ffffffffffffffda RBX: 000000003ba9b130 RCX: 00007efd0c85e54e [ 31.183775][ T775] RDX: 0000000000000000 RSI: 00007ffd4b8f25d0 RDI: 0000000000000005 [ 31.183776][ T775] RBP: 00007ffd4b8f2540 R08: 0000000000000000 R09: 0000000000000000 [ 31.183777][ T775] R10: 0000000000000000 R11: 0000000000000202 R12: 000000003ba9b200 [ 31.183777][ T775] R13: 00007ffd4b8f25d0 R14: 000000003ba9c260 R15: 000000000040bda8 [ 31.183784][ T775] [ 31.321164][ T779] tun1: deleting peer with id 10, reason 1 [ 34.186858][ T827] tun0: deleting peer with id 2, reason 1 [ 34.186878][ T827] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 34.186880][ T827] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 827, name: ovpn-cli [ 34.186882][ T827] preempt_count: 202, expected: 0 [ 34.186883][ T827] RCU nest depth: 0, expected: 0 [ 34.186883][ T827] locks held by ovpn-cli/827: 6, last CPU#3: [ 34.186885][ T827] #0: ffffffff98944b68 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 34.186897][ T827] #1: ff110000130c4e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 34.186905][ T827] #2: ffffffff98179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 34.186911][ T827] #3: ffffffff98179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 34.186914][ T827] #4: ffffffff98099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 34.186918][ T827] #5: ffffffff98099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 34.186922][ T827] irq event stamp: 25823 [ 34.186922][ T827] hardirqs last enabled at (25822): [] __down_trylock_console_sem+0x86/0xa0 [ 34.186925][ T827] hardirqs last disabled at (25823): [] console_emit_next_record+0x3d4/0x4c0 [ 34.186927][ T827] softirqs last enabled at (25790): [] __alloc_skb+0x4c2/0x5f0 [ 34.186930][ T827] softirqs last disabled at (25818): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 34.186934][ T827] Preemption disabled at: [ 34.186935][ T827] [<0000000000000000>] 0x0 [ 34.186941][ T827] CPU: 3 UID: 0 PID: 827 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 34.186945][ T827] Tainted: [W]=WARN [ 34.186946][ T827] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 34.186947][ T827] Call Trace: [ 34.186949][ T827] [ 34.186950][ T827] dump_stack_lvl+0x6f/0xa0 [ 34.186956][ T827] __might_resched.cold+0x1fe/0x2c1 [ 34.186961][ T827] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 34.186965][ T827] ? __kmalloc_noprof+0xdb/0x760 [ 34.186970][ T827] __kmalloc_noprof+0x443/0x760 [ 34.186972][ T827] ? alloc_buf.isra.0+0x4b/0x260 [ 34.186977][ T827] ? do_raw_spin_unlock+0x59/0x250 [ 34.186980][ T827] alloc_buf.isra.0+0x4b/0x260 [ 34.186983][ T827] put_chars+0x1e1/0x2f0 [ 34.186986][ T827] ? __send_to_port+0x420/0x420 [ 34.186989][ T827] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 34.186993][ T827] ? rcu_read_lock_any_held+0x3c/0x90 [ 34.186995][ T827] ? validate_chain+0x38b/0xc20 [ 34.186999][ T827] hvc_console_print+0x292/0x780 [ 34.187002][ T827] ? mark_usage+0x61/0x170 [ 34.187005][ T827] ? __lock_acquire+0x518/0xc20 [ 34.187006][ T827] ? __lock_acquire+0x518/0xc20 [ 34.187010][ T827] ? hvc_write+0x3a0/0x3a0 [ 34.187011][ T827] ? lock_acquire.part.0+0xd4/0x280 [ 34.187016][ T827] ? lock_acquire+0x13c/0x160 [ 34.187019][ T827] console_emit_next_record+0x22f/0x4c0 [ 34.187023][ T827] ? devkmsg_read+0x4b0/0x4b0 [ 34.187025][ T827] ? console_flush_one_record+0x106/0x710 [ 34.187028][ T827] ? rcu_is_watching+0x16/0xd0 [ 34.187030][ T827] ? lock_acquire+0x13c/0x160 [ 34.187034][ T827] console_flush_one_record+0x46f/0x710 [ 34.187044][ T827] ? console_emit_next_record+0x4c0/0x4c0 [ 34.187046][ T827] ? __lock_acquire+0x518/0xc20 [ 34.187051][ T827] console_unlock+0xee/0x1f0 [ 34.187053][ T827] ? console_flush_one_record+0x710/0x710 [ 34.187055][ T827] ? rcu_is_watching+0x16/0xd0 [ 34.187057][ T827] ? lock_acquire+0x60/0x160 [ 34.187061][ T827] ? __down_trylock_console_sem+0x5e/0xa0 [ 34.187063][ T827] ? vprintk_emit+0x320/0x3e0 [ 34.187066][ T827] vprintk_emit+0x37c/0x3e0 [ 34.187070][ T827] ? wake_up_klogd_work_func+0x90/0x90 [ 34.187072][ T827] ? kernel_text_address+0x149/0x170 [ 34.187075][ T827] ? __kernel_text_address+0x12/0x30 [ 34.187076][ T827] ? write_profile+0xf0/0xf0 [ 34.187079][ T827] ? unwind_get_return_address+0x67/0xd0 [ 34.187083][ T827] _printk+0xc7/0x100 [ 34.187087][ T827] ? snapshot_read.cold+0x21/0x21 [ 34.187091][ T827] ? mark_usage+0x61/0x170 [ 34.187093][ T827] ? netdev_name+0x43/0x60 [ 34.187096][ T827] ? __netdev_printk+0x17f/0x1d0 [ 34.187099][ T827] netdev_info+0xe2/0x116 [ 34.187101][ T827] ? netdev_notice+0x120/0x120 [ 34.187103][ T827] ? find_held_lock+0x2b/0x80 [ 34.187105][ T827] ? mark_usage+0x61/0x170 [ 34.187108][ T827] ? __lock_acquire+0x518/0xc20 [ 34.187113][ T827] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 34.187118][ T827] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 34.187122][ T827] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 34.187127][ T827] ovpn_peer_remove+0x394/0x640 [ovpn] [ 34.187131][ T827] ? do_raw_spin_lock+0x131/0x280 [ 34.187134][ T827] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 34.187140][ T827] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 34.187144][ T827] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 34.187150][ T827] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 34.187153][ T827] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 34.187157][ T827] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 34.187160][ T827] ? ref_tracker_alloc+0x28d/0x430 [ 34.187170][ T827] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 34.187175][ T827] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 34.187181][ T827] genl_family_rcv_msg_doit+0x206/0x300 [ 34.187186][ T827] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 34.187188][ T827] ? __lock_release.isra.0+0x69/0x1a0 [ 34.187193][ T827] ? rcu_is_watching+0x16/0xd0 [ 34.187196][ T827] ? cap_capable+0x1d7/0x3d0 [ 34.187199][ T827] ? write_profile+0xf0/0xf0 [ 34.187200][ T827] ? unwind_get_return_address+0x67/0xd0 [ 34.187204][ T827] genl_family_rcv_msg+0x3a4/0x640 [ 34.187208][ T827] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 34.187210][ T827] ? rcu_read_lock_any_held+0x3c/0x90 [ 34.187212][ T827] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 34.187215][ T827] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 34.187217][ T827] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 34.187220][ T827] ? __lock_acquire+0x518/0xc20 [ 34.187225][ T827] genl_rcv_msg+0xbb/0x160 [ 34.187229][ T827] netlink_rcv_skb+0x14e/0x3a0 [ 34.187231][ T827] ? genl_family_rcv_msg+0x640/0x640 [ 34.187234][ T827] ? netlink_ack+0xcf0/0xcf0 [ 34.187241][ T827] ? netlink_deliver_tap+0xc5/0x330 [ 34.187243][ T827] ? netlink_deliver_tap+0x13c/0x330 [ 34.187247][ T827] genl_rcv+0x28/0x40 [ 34.187249][ T827] netlink_unicast+0x486/0x750 [ 34.187253][ T827] ? netlink_attachskb+0x810/0x810 [ 34.187256][ T827] ? __lock_acquire+0x518/0xc20 [ 34.187260][ T827] netlink_sendmsg+0x735/0xc60 [ 34.187264][ T827] ? netlink_unicast+0x750/0x750 [ 34.187268][ T827] ? __might_fault+0x97/0x140 [ 34.187273][ T827] ____sys_sendmsg+0x415/0x880 [ 34.187277][ T827] ? copy_msghdr_from_user+0x279/0x420 [ 34.187279][ T827] ? get_timestamp.constprop.0+0x390/0x390 [ 34.187281][ T827] ? move_addr_to_kernel+0x40/0x40 [ 34.187288][ T827] ___sys_sendmsg+0x14e/0x1d0 [ 34.187291][ T827] ? copy_msghdr_from_user+0x420/0x420 [ 34.187293][ T827] ? kfree+0x22/0x590 [ 34.187308][ T827] __sys_sendmsg+0x12c/0x1d0 [ 34.187311][ T827] ? __sys_sendmsg_sock+0x20/0x20 [ 34.187316][ T827] ? rcu_is_watching+0x16/0xd0 [ 34.187319][ T827] ? rcu_is_watching+0x16/0xd0 [ 34.187322][ T827] do_syscall_64+0xff/0x530 [ 34.187325][ T827] ? exc_page_fault+0xee/0x100 [ 34.187328][ T827] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 34.187330][ T827] RIP: 0033:0x7f097d01954e [ 34.187332][ T827] 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.187334][ T827] RSP: 002b:00007fff50b2fe40 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 34.187337][ T827] RAX: ffffffffffffffda RBX: 00000000128dc130 RCX: 00007f097d01954e [ 34.187338][ T827] RDX: 0000000000000000 RSI: 00007fff50b2fee0 RDI: 0000000000000005 [ 34.187339][ T827] RBP: 00007fff50b2fe50 R08: 0000000000000000 R09: 0000000000000000 [ 34.187340][ T827] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000128dc200 [ 34.187341][ T827] R13: 00007fff50b2fee0 R14: 00000000128dd260 R15: 000000000040bda8 [ 34.187347][ T827] [ 34.334765][ T831] tun2: deleting peer with id 11, reason 1 [ 39.332433][ T63] tun0: deleting peer with id 4, reason 2 [ 39.332499][ T63] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 39.332501][ T63] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 63, name: kworker/2:2 [ 39.332503][ T63] preempt_count: 202, expected: 0 [ 39.332504][ T63] RCU nest depth: 0, expected: 0 [ 39.332505][ T63] locks held by kworker/2:2/63: 7, last CPU#2: [ 39.332507][ T63] #0: ff110000027e2d40 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 39.332519][ T63] #1: ffa0000000447d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 39.332522][ T63] #2: ff110000130c4e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 39.332530][ T63] #3: ffffffff98179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 39.332535][ T63] #4: ffffffff98179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 39.332538][ T63] #5: ffffffff98099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 39.332542][ T63] #6: ffffffff98099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 39.332546][ T63] irq event stamp: 20055 [ 39.332546][ T63] hardirqs last enabled at (20054): [] __down_trylock_console_sem+0x86/0xa0 [ 39.332549][ T63] hardirqs last disabled at (20055): [] console_emit_next_record+0x3d4/0x4c0 [ 39.332551][ T63] softirqs last enabled at (19860): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 39.332554][ T63] softirqs last disabled at (20048): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 39.332558][ T63] Preemption disabled at: [ 39.332558][ T63] [<0000000000000000>] 0x0 [ 39.332565][ T63] CPU: 2 UID: 0 PID: 63 Comm: kworker/2:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 39.332569][ T63] Tainted: [W]=WARN [ 39.332569][ T63] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 39.332571][ T63] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 39.332576][ T63] Call Trace: [ 39.332577][ T63] [ 39.332579][ T63] dump_stack_lvl+0x6f/0xa0 [ 39.332586][ T63] __might_resched.cold+0x1fe/0x2c1 [ 39.332590][ T63] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 39.332594][ T63] ? __kmalloc_noprof+0xdb/0x760 [ 39.332599][ T63] __kmalloc_noprof+0x443/0x760 [ 39.332601][ T63] ? alloc_buf.isra.0+0x4b/0x260 [ 39.332607][ T63] ? do_raw_spin_unlock+0x59/0x250 [ 39.332610][ T63] alloc_buf.isra.0+0x4b/0x260 [ 39.332613][ T63] put_chars+0x1e1/0x2f0 [ 39.332616][ T63] ? __send_to_port+0x420/0x420 [ 39.332621][ T63] ? validate_chain+0x34a/0xc20 [ 39.332624][ T63] hvc_console_print+0x292/0x780 [ 39.332628][ T63] ? mark_usage+0x61/0x170 [ 39.332629][ T63] ? __lock_acquire+0x518/0xc20 [ 39.332631][ T63] ? __lock_acquire+0x518/0xc20 [ 39.332635][ T63] ? hvc_write+0x3a0/0x3a0 [ 39.332637][ T63] ? console_emit_next_record+0x1df/0x4c0 [ 39.332640][ T63] ? rcu_is_watching+0x16/0xd0 [ 39.332644][ T63] ? lock_acquire+0x13c/0x160 [ 39.332648][ T63] console_emit_next_record+0x22f/0x4c0 [ 39.332652][ T63] ? devkmsg_read+0x4b0/0x4b0 [ 39.332654][ T63] ? console_flush_one_record+0x106/0x710 [ 39.332657][ T63] ? rcu_is_watching+0x16/0xd0 [ 39.332659][ T63] ? lock_acquire+0x13c/0x160 [ 39.332663][ T63] console_flush_one_record+0x46f/0x710 [ 39.332667][ T63] ? console_emit_next_record+0x4c0/0x4c0 [ 39.332669][ T63] ? __lock_acquire+0x518/0xc20 [ 39.332674][ T63] console_unlock+0xee/0x1f0 [ 39.332676][ T63] ? console_flush_one_record+0x710/0x710 [ 39.332678][ T63] ? rcu_is_watching+0x16/0xd0 [ 39.332681][ T63] ? lock_acquire+0x60/0x160 [ 39.332684][ T63] ? __down_trylock_console_sem+0x5e/0xa0 [ 39.332686][ T63] ? vprintk_emit+0x320/0x3e0 [ 39.332689][ T63] vprintk_emit+0x37c/0x3e0 [ 39.332693][ T63] ? wake_up_klogd_work_func+0x90/0x90 [ 39.332696][ T63] ? __lock_release.isra.0+0x69/0x1a0 [ 39.332698][ T63] ? rcu_is_watching+0x16/0xd0 [ 39.332701][ T63] _printk+0xc7/0x100 [ 39.332705][ T63] ? snapshot_read.cold+0x21/0x21 [ 39.332709][ T63] ? find_held_lock+0x2b/0x80 [ 39.332711][ T63] ? netdev_name+0x43/0x60 [ 39.332714][ T63] ? __netdev_printk+0x17f/0x1d0 [ 39.332717][ T63] netdev_info+0xe2/0x116 [ 39.332720][ T63] ? netdev_notice+0x120/0x120 [ 39.332724][ T63] ? debug_object_free+0x530/0x530 [ 39.332728][ T63] ? validate_chain+0x38b/0xc20 [ 39.332730][ T63] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 39.332733][ T63] ? rcu_read_lock_any_held+0x3c/0x90 [ 39.332737][ T63] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 39.332743][ T63] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 39.332749][ T63] ovpn_peer_remove+0x394/0x640 [ovpn] [ 39.332753][ T63] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 39.332756][ T63] ? __rwlock_init+0x150/0x150 [ 39.332758][ T63] ? mark_held_locks+0x40/0x70 [ 39.332762][ T63] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 39.332766][ T63] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 39.332769][ T63] ? __rwlock_init+0x150/0x150 [ 39.332774][ T63] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 39.332779][ T63] ? process_one_work+0xdfc/0x1560 [ 39.332781][ T63] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 39.332784][ T63] ? rcu_is_watching+0x16/0xd0 [ 39.332786][ T63] ? lock_acquire+0x13c/0x160 [ 39.332788][ T63] ? rcu_is_watching+0x16/0xd0 [ 39.332792][ T63] process_one_work+0xe3e/0x1560 [ 39.332798][ T63] ? __queue_delayed_work+0x470/0x470 [ 39.332801][ T63] ? lock_acquire.part.0+0xd4/0x280 [ 39.332809][ T63] worker_thread+0x4f1/0xd60 [ 39.332813][ T63] ? rescuer_thread+0x1340/0x1340 [ 39.332815][ T63] ? __kthread_parkme+0xbd/0x210 [ 39.332818][ T63] ? rescuer_thread+0x1340/0x1340 [ 39.332821][ T63] ? rescuer_thread+0x1340/0x1340 [ 39.332823][ T63] kthread+0x367/0x460 [ 39.332825][ T63] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 39.332828][ T63] ? kthread_affine_preferred+0x4c0/0x4c0 [ 39.332831][ T63] ret_from_fork+0x474/0x6b0 [ 39.332835][ T63] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 39.332838][ T63] ? __switch_to+0x5a3/0xe00 [ 39.332841][ T63] ? kthread_affine_preferred+0x4c0/0x4c0 [ 39.332844][ T63] ret_from_fork_asm+0x11/0x20 [ 39.332852][ T63] [ 39.369973][ T63] tun0: deleting peer with id 3, reason 2 [ 40.420205][ T63] tun0: deleting peer with id 5, reason 2 [ 40.420227][ T63] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 40.420230][ T63] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 63, name: kworker/2:2 [ 40.420231][ T63] preempt_count: 202, expected: 0 [ 40.420232][ T63] RCU nest depth: 0, expected: 0 [ 40.420233][ T63] locks held by kworker/2:2/63: 7, last CPU#2: [ 40.420235][ T63] #0: ff110000027e2d40 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 40.420247][ T63] #1: ffa0000000447d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 40.420251][ T63] #2: ff110000130c4e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 40.420258][ T63] #3: ffffffff98179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 40.420264][ T63] #4: ffffffff98179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 40.420267][ T63] #5: ffffffff98099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 40.420271][ T63] #6: ffffffff98099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 40.420274][ T63] irq event stamp: 21027 [ 40.420275][ T63] hardirqs last enabled at (21026): [] __down_trylock_console_sem+0x86/0xa0 [ 40.420278][ T63] hardirqs last disabled at (21027): [] console_emit_next_record+0x3d4/0x4c0 [ 40.420280][ T63] softirqs last enabled at (20802): [] ovpn_peer_release+0x37/0xe0 [ovpn] [ 40.420283][ T63] softirqs last disabled at (21020): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 40.420287][ T63] Preemption disabled at: [ 40.420288][ T63] [<0000000000000000>] 0x0 [ 40.420294][ T63] CPU: 2 UID: 0 PID: 63 Comm: kworker/2:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 40.420297][ T63] Tainted: [W]=WARN [ 40.420298][ T63] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 40.420300][ T63] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 40.420304][ T63] Call Trace: [ 40.420306][ T63] [ 40.420308][ T63] dump_stack_lvl+0x6f/0xa0 [ 40.420314][ T63] __might_resched.cold+0x1fe/0x2c1 [ 40.420319][ T63] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 40.420323][ T63] ? __kmalloc_noprof+0xdb/0x760 [ 40.420328][ T63] __kmalloc_noprof+0x443/0x760 [ 40.420330][ T63] ? alloc_buf.isra.0+0x4b/0x260 [ 40.420337][ T63] ? do_raw_spin_unlock+0x59/0x250 [ 40.420339][ T63] alloc_buf.isra.0+0x4b/0x260 [ 40.420343][ T63] put_chars+0x1e1/0x2f0 [ 40.420345][ T63] ? prb_final_commit+0x50/0x50 [ 40.420348][ T63] ? __send_to_port+0x420/0x420 [ 40.420351][ T63] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 40.420355][ T63] ? rcu_read_lock_any_held+0x3c/0x90 [ 40.420357][ T63] ? validate_chain+0x38b/0xc20 [ 40.420361][ T63] hvc_console_print+0x292/0x780 [ 40.420365][ T63] ? mark_usage+0x61/0x170 [ 40.420366][ T63] ? __lock_acquire+0x518/0xc20 [ 40.420368][ T63] ? __lock_acquire+0x518/0xc20 [ 40.420372][ T63] ? hvc_write+0x3a0/0x3a0 [ 40.420374][ T63] ? console_emit_next_record+0x1df/0x4c0 [ 40.420377][ T63] ? rcu_is_watching+0x16/0xd0 [ 40.420379][ T63] ? lock_acquire+0x13c/0x160 [ 40.420383][ T63] console_emit_next_record+0x22f/0x4c0 [ 40.420387][ T63] ? devkmsg_read+0x4b0/0x4b0 [ 40.420389][ T63] ? console_flush_one_record+0x106/0x710 [ 40.420392][ T63] ? rcu_is_watching+0x16/0xd0 [ 40.420394][ T63] ? lock_acquire+0x13c/0x160 [ 40.420398][ T63] console_flush_one_record+0x46f/0x710 [ 40.420402][ T63] ? console_emit_next_record+0x4c0/0x4c0 [ 40.420404][ T63] ? __lock_acquire+0x518/0xc20 [ 40.420409][ T63] console_unlock+0xee/0x1f0 [ 40.420412][ T63] ? console_flush_one_record+0x710/0x710 [ 40.420413][ T63] ? rcu_is_watching+0x16/0xd0 [ 40.420416][ T63] ? lock_acquire+0x60/0x160 [ 40.420419][ T63] ? __down_trylock_console_sem+0x5e/0xa0 [ 40.420421][ T63] ? vprintk_emit+0x320/0x3e0 [ 40.420424][ T63] vprintk_emit+0x37c/0x3e0 [ 40.420428][ T63] ? wake_up_klogd_work_func+0x90/0x90 [ 40.420430][ T63] ? unwind_next_frame+0x69b/0x1ea0 [ 40.420433][ T63] ? ret_from_fork_asm+0x11/0x20 [ 40.420438][ T63] _printk+0xc7/0x100 [ 40.420442][ T63] ? snapshot_read.cold+0x21/0x21 [ 40.420445][ T63] ? __unwind_start+0x42e/0x900 [ 40.420447][ T63] ? write_profile+0xf0/0xf0 [ 40.420449][ T63] ? netdev_name+0x43/0x60 [ 40.420452][ T63] ? __netdev_printk+0x17f/0x1d0 [ 40.420456][ T63] netdev_info+0xe2/0x116 [ 40.420458][ T63] ? netdev_notice+0x120/0x120 [ 40.420459][ T63] ? rcu_read_lock_any_held+0x3c/0x90 [ 40.420464][ T63] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 40.420467][ T63] ? rcu_read_lock_any_held+0x3c/0x90 [ 40.420471][ T63] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 40.420476][ T63] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 40.420483][ T63] ovpn_peer_remove+0x394/0x640 [ovpn] [ 40.420487][ T63] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 40.420489][ T63] ? __rwlock_init+0x150/0x150 [ 40.420492][ T63] ? mark_held_locks+0x40/0x70 [ 40.420496][ T63] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 40.420500][ T63] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 40.420503][ T63] ? __rwlock_init+0x150/0x150 [ 40.420508][ T63] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 40.420512][ T63] ? process_one_work+0xdfc/0x1560 [ 40.420515][ T63] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 40.420518][ T63] ? rcu_is_watching+0x16/0xd0 [ 40.420520][ T63] ? lock_acquire+0x13c/0x160 [ 40.420522][ T63] ? rcu_is_watching+0x16/0xd0 [ 40.420525][ T63] process_one_work+0xe3e/0x1560 [ 40.420532][ T63] ? __queue_delayed_work+0x470/0x470 [ 40.420535][ T63] ? lock_acquire.part.0+0xd4/0x280 [ 40.420542][ T63] worker_thread+0x4f1/0xd60 [ 40.420546][ T63] ? rescuer_thread+0x1340/0x1340 [ 40.420548][ T63] ? __kthread_parkme+0xbd/0x210 [ 40.420551][ T63] ? rescuer_thread+0x1340/0x1340 [ 40.420554][ T63] ? rescuer_thread+0x1340/0x1340 [ 40.420556][ T63] kthread+0x367/0x460 [ 40.420558][ T63] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 40.420561][ T63] ? kthread_affine_preferred+0x4c0/0x4c0 [ 40.420564][ T63] ret_from_fork+0x474/0x6b0 [ 40.420567][ T63] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 40.420570][ T63] ? __switch_to+0x5a3/0xe00 [ 40.420573][ T63] ? kthread_affine_preferred+0x4c0/0x4c0 [ 40.420576][ T63] ret_from_fork_asm+0x11/0x20 [ 40.420583][ T63] [ 40.449660][ T63] tun0: deleting peer with id 6, reason 2 [ 45.539733][ T10] tun3: deleting peer with id 12, reason 2 [ 45.539755][ T10] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 45.539758][ T10] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 [ 45.539760][ T10] preempt_count: 202, expected: 0 [ 45.539760][ T10] RCU nest depth: 0, expected: 0 [ 45.539761][ T10] locks held by kworker/0:1/10: 7, last CPU#0: [ 45.539764][ T10] #0: ff110000027e2d40 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 45.539776][ T10] #1: ffa00000000a7d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 45.539780][ T10] #2: ff1100001d271e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 45.539787][ T10] #3: ffffffff98179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 45.539792][ T10] #4: ffffffff98179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 45.539796][ T10] #5: ffffffff98099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 45.539799][ T10] #6: ffffffff98099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 45.539803][ T10] irq event stamp: 27315 [ 45.539804][ T10] hardirqs last enabled at (27314): [] __down_trylock_console_sem+0x86/0xa0 [ 45.539806][ T10] hardirqs last disabled at (27315): [] console_emit_next_record+0x3d4/0x4c0 [ 45.539808][ T10] softirqs last enabled at (27142): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 45.539812][ T10] softirqs last disabled at (27304): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 45.539815][ T10] Preemption disabled at: [ 45.539816][ T10] [<0000000000000000>] 0x0 [ 45.539823][ T10] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 45.539826][ T10] Tainted: [W]=WARN [ 45.539827][ T10] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 45.539829][ T10] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 45.539834][ T10] Call Trace: [ 45.539836][ T10] [ 45.539837][ T10] dump_stack_lvl+0x6f/0xa0 [ 45.539844][ T10] __might_resched.cold+0x1fe/0x2c1 [ 45.539848][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 45.539853][ T10] ? __kmalloc_noprof+0xdb/0x760 [ 45.539858][ T10] __kmalloc_noprof+0x443/0x760 [ 45.539860][ T10] ? alloc_buf.isra.0+0x4b/0x260 [ 45.539866][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 45.539869][ T10] alloc_buf.isra.0+0x4b/0x260 [ 45.539872][ T10] put_chars+0x1e1/0x2f0 [ 45.539874][ T10] ? prb_final_commit+0x50/0x50 [ 45.539877][ T10] ? __send_to_port+0x420/0x420 [ 45.539880][ T10] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 45.539884][ T10] ? rcu_read_lock_any_held+0x3c/0x90 [ 45.539887][ T10] ? validate_chain+0x38b/0xc20 [ 45.539890][ T10] hvc_console_print+0x292/0x780 [ 45.539894][ T10] ? mark_usage+0x61/0x170 [ 45.539896][ T10] ? __lock_acquire+0x518/0xc20 [ 45.539897][ T10] ? __lock_acquire+0x518/0xc20 [ 45.539901][ T10] ? hvc_write+0x3a0/0x3a0 [ 45.539903][ T10] ? console_emit_next_record+0x1df/0x4c0 [ 45.539906][ T10] ? rcu_is_watching+0x16/0xd0 [ 45.539909][ T10] ? lock_acquire+0x13c/0x160 [ 45.539912][ T10] console_emit_next_record+0x22f/0x4c0 [ 45.539916][ T10] ? devkmsg_read+0x4b0/0x4b0 [ 45.539918][ T10] ? console_flush_one_record+0x106/0x710 [ 45.539921][ T10] ? rcu_is_watching+0x16/0xd0 [ 45.539923][ T10] ? lock_acquire+0x13c/0x160 [ 45.539927][ T10] console_flush_one_record+0x46f/0x710 [ 45.539932][ T10] ? console_emit_next_record+0x4c0/0x4c0 [ 45.539934][ T10] ? __lock_acquire+0x518/0xc20 [ 45.539939][ T10] console_unlock+0xee/0x1f0 [ 45.539941][ T10] ? console_flush_one_record+0x710/0x710 [ 45.539943][ T10] ? rcu_is_watching+0x16/0xd0 [ 45.539946][ T10] ? lock_acquire+0x60/0x160 [ 45.539949][ T10] ? __down_trylock_console_sem+0x5e/0xa0 [ 45.539951][ T10] ? vprintk_emit+0x320/0x3e0 [ 45.539954][ T10] vprintk_emit+0x37c/0x3e0 [ 45.539958][ T10] ? wake_up_klogd_work_func+0x90/0x90 [ 45.539961][ T10] ? __lock_release.isra.0+0x69/0x1a0 [ 45.539965][ T10] _printk+0xc7/0x100 [ 45.539968][ T10] ? snapshot_read.cold+0x21/0x21 [ 45.539970][ T10] ? try_to_wake_up+0x153/0x1130 [ 45.539973][ T10] ? select_fallback_rq+0x510/0x510 [ 45.539975][ T10] ? netdev_name+0x43/0x60 [ 45.539979][ T10] ? __netdev_printk+0x17f/0x1d0 [ 45.539982][ T10] netdev_info+0xe2/0x116 [ 45.539985][ T10] ? netdev_notice+0x120/0x120 [ 45.539990][ T10] ? __queue_work+0x3ab/0xd30 [ 45.539995][ T10] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 45.540000][ T10] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 45.540003][ T10] ? mark_held_locks+0x40/0x70 [ 45.540006][ T10] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 45.540007][ T10] ? lockdep_hardirqs_on+0x91/0x130 [ 45.540013][ T10] ovpn_peer_remove+0x394/0x640 [ovpn] [ 45.540016][ T10] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 45.540019][ T10] ? __rwlock_init+0x150/0x150 [ 45.540021][ T10] ? mark_held_locks+0x40/0x70 [ 45.540025][ T10] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 45.540029][ T10] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 45.540032][ T10] ? __rwlock_init+0x150/0x150 [ 45.540037][ T10] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 45.540041][ T10] ? process_one_work+0xdfc/0x1560 [ 45.540044][ T10] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 45.540047][ T10] ? rcu_is_watching+0x16/0xd0 [ 45.540049][ T10] ? lock_acquire+0x13c/0x160 [ 45.540051][ T10] ? rcu_is_watching+0x16/0xd0 [ 45.540055][ T10] ? process_one_work+0xdfc/0x1560 [ 45.540056][ T10] process_one_work+0xe3e/0x1560 [ 45.540063][ T10] ? __queue_delayed_work+0x470/0x470 [ 45.540065][ T10] ? lock_acquire.part.0+0xd4/0x280 [ 45.540073][ T10] worker_thread+0x4f1/0xd60 [ 45.540083][ T10] ? rescuer_thread+0x1340/0x1340 [ 45.540085][ T10] ? __kthread_parkme+0xbd/0x210 [ 45.540088][ T10] ? rescuer_thread+0x1340/0x1340 [ 45.540090][ T10] ? rescuer_thread+0x1340/0x1340 [ 45.540092][ T10] kthread+0x367/0x460 [ 45.540094][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 45.540097][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 45.540100][ T10] ret_from_fork+0x474/0x6b0 [ 45.540104][ T10] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 45.540107][ T10] ? __switch_to+0x5a3/0xe00 [ 45.540110][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 45.540113][ T10] ret_from_fork_asm+0x11/0x20 [ 45.540122][ T10] [ 45.604237][ T63] tun4: deleting peer with id 13, reason 2 [ 45.668231][ T50] tun5: deleting peer with id 14, reason 2 [ 45.731220][ T10] tun6: deleting peer with id 15, reason 2