[ 27.253603][ T674] iperf3 (674) used greatest stack depth: 23488 bytes left [ 27.253622][ T674] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 27.253624][ T674] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 674, name: iperf3 [ 27.253625][ T674] preempt_count: 2, expected: 0 [ 27.253626][ T674] RCU nest depth: 0, expected: 0 [ 27.253627][ T674] locks held by iperf3/674: 5, last CPU#1: [ 27.253629][ T674] #0: ffffffff86c127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 27.253641][ T674] #1: ffffffff86d79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 27.253646][ T674] #2: ffffffff86d79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 27.253650][ T674] #3: ffffffff86c99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 27.253654][ T674] #4: ffffffff86c99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 27.253658][ T674] irq event stamp: 7687090 [ 27.253658][ T674] hardirqs last enabled at (7687089): [] __down_trylock_console_sem+0x86/0xa0 [ 27.253661][ T674] hardirqs last disabled at (7687090): [] console_emit_next_record+0x3d4/0x4c0 [ 27.253663][ T674] softirqs last enabled at (7686768): [] handle_softirqs+0x67c/0x900 [ 27.253665][ T674] softirqs last disabled at (7686677): [] __irq_exit_rcu+0x145/0x1c0 [ 27.253667][ T674] Preemption disabled at: [ 27.253668][ T674] [<0000000000000000>] 0x0 [ 27.253675][ T674] CPU: 1 UID: 0 PID: 674 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 27.253678][ T674] Tainted: [W]=WARN [ 27.253679][ T674] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 27.253681][ T674] Call Trace: [ 27.253682][ T674] [ 27.253684][ T674] dump_stack_lvl+0x6f/0xa0 [ 27.253690][ T674] __might_resched.cold+0x1fe/0x2c1 [ 27.253694][ T674] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 27.253698][ T674] ? __kmalloc_noprof+0xdb/0x760 [ 27.253703][ T674] __kmalloc_noprof+0x443/0x760 [ 27.253706][ T674] ? alloc_buf.isra.0+0x4b/0x260 [ 27.253712][ T674] ? do_raw_spin_unlock+0x59/0x250 [ 27.253715][ T674] alloc_buf.isra.0+0x4b/0x260 [ 27.253718][ T674] put_chars+0x1e1/0x2f0 [ 27.253720][ T674] ? prb_final_commit+0x50/0x50 [ 27.253722][ T674] ? __send_to_port+0x420/0x420 [ 27.253725][ T674] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 27.253730][ T674] ? rcu_read_lock_any_held+0x3c/0x90 [ 27.253732][ T674] ? validate_chain+0x38b/0xc20 [ 27.253736][ T674] hvc_console_print+0x292/0x780 [ 27.253739][ T674] ? mark_usage+0x61/0x170 [ 27.253741][ T674] ? __lock_acquire+0x518/0xc20 [ 27.253742][ T674] ? __lock_acquire+0x518/0xc20 [ 27.253746][ T674] ? hvc_write+0x3a0/0x3a0 [ 27.253748][ T674] ? console_emit_next_record+0x1df/0x4c0 [ 27.253751][ T674] ? rcu_is_watching+0x16/0xd0 [ 27.253754][ T674] ? lock_acquire+0x13c/0x160 [ 27.253757][ T674] console_emit_next_record+0x22f/0x4c0 [ 27.253761][ T674] ? devkmsg_read+0x4b0/0x4b0 [ 27.253763][ T674] ? console_flush_one_record+0x106/0x710 [ 27.253766][ T674] ? rcu_is_watching+0x16/0xd0 [ 27.253768][ T674] ? lock_acquire+0x13c/0x160 [ 27.253772][ T674] console_flush_one_record+0x46f/0x710 [ 27.253776][ T674] ? console_emit_next_record+0x4c0/0x4c0 [ 27.253778][ T674] ? __lock_acquire+0x518/0xc20 [ 27.253783][ T674] console_unlock+0xee/0x1f0 [ 27.253786][ T674] ? console_flush_one_record+0x710/0x710 [ 27.253787][ T674] ? rcu_is_watching+0x16/0xd0 [ 27.253790][ T674] ? lock_acquire+0x60/0x160 [ 27.253793][ T674] ? __down_trylock_console_sem+0x5e/0xa0 [ 27.253795][ T674] ? vprintk_emit+0x320/0x3e0 [ 27.253798][ T674] vprintk_emit+0x37c/0x3e0 [ 27.253802][ T674] ? wake_up_klogd_work_func+0x90/0x90 [ 27.253805][ T674] ? __lock_acquire+0x518/0xc20 [ 27.253809][ T674] _printk+0xc7/0x100 [ 27.253812][ T674] ? snapshot_read.cold+0x21/0x21 [ 27.253815][ T674] ? do_raw_spin_lock+0x131/0x280 [ 27.253817][ T674] ? __rwlock_init+0x150/0x150 [ 27.253821][ T674] ? do_raw_spin_lock+0x131/0x280 [ 27.253824][ T674] do_exit.cold+0x82/0x9c [ 27.253827][ T674] ? exit_notify+0x890/0x890 [ 27.253832][ T674] __x64_sys_exit+0x42/0x50 [ 27.253834][ T674] x64_sys_call+0x156c/0x1570 [ 27.253837][ T674] do_syscall_64+0xff/0x530 [ 27.253840][ T674] ? exc_page_fault+0xee/0x100 [ 27.253843][ T674] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 27.253845][ T674] RIP: 0033:0x7f9e2db23c49 [ 27.253848][ T674] Code: Unable to access opcode bytes at 0x7f9e2db23c1f. [ 27.253849][ T674] RSP: 002b:00007f9e2d2e2e60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 27.253851][ T674] RAX: ffffffffffffffda RBX: 00007f9e2d2e36c0 RCX: 00007f9e2db23c49 [ 27.253852][ T674] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 27.253854][ T674] RBP: 00007f9e2d2e2f70 R08: 0000000000000001 R09: 00007f9e2d2e36c0 [ 27.253854][ T674] R10: 0000000000000008 R11: 0000000000000246 R12: 00007f9e2cae3000 [ 27.253855][ T674] R13: 00007fff66567e00 R14: 0000000000000002 R15: 00007fff66567f07 [ 27.253862][ T674] [ 28.965711][ T770] tun0: deleting peer with id 1, reason 1 [ 28.965855][ T770] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 28.965857][ T770] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 770, name: ovpn-cli [ 28.965859][ T770] preempt_count: 202, expected: 0 [ 28.965860][ T770] RCU nest depth: 0, expected: 0 [ 28.965861][ T770] locks held by ovpn-cli/770: 6, last CPU#0: [ 28.965863][ T770] #0: ffffffff87544ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 28.965874][ T770] #1: ff1100000f4d4e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 28.965883][ T770] #2: ffffffff86d79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 28.965889][ T770] #3: ffffffff86d79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 28.965892][ T770] #4: ffffffff86c99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 28.965896][ T770] #5: ffffffff86c99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 28.965901][ T770] irq event stamp: 41597 [ 28.965901][ T770] hardirqs last enabled at (41596): [] __down_trylock_console_sem+0x86/0xa0 [ 28.965904][ T770] hardirqs last disabled at (41597): [] console_emit_next_record+0x3d4/0x4c0 [ 28.965906][ T770] softirqs last enabled at (41564): [] __alloc_skb+0x4c2/0x5f0 [ 28.965910][ T770] softirqs last disabled at (41592): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 28.965913][ T770] Preemption disabled at: [ 28.965914][ T770] [<0000000000000000>] 0x0 [ 28.965920][ T770] CPU: 0 UID: 0 PID: 770 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 28.965924][ T770] Tainted: [W]=WARN [ 28.965925][ T770] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 28.965926][ T770] Call Trace: [ 28.965928][ T770] [ 28.965930][ T770] dump_stack_lvl+0x6f/0xa0 [ 28.965936][ T770] __might_resched.cold+0x1fe/0x2c1 [ 28.965941][ T770] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 28.965945][ T770] ? __kmalloc_noprof+0xdb/0x760 [ 28.965950][ T770] __kmalloc_noprof+0x443/0x760 [ 28.965952][ T770] ? alloc_buf.isra.0+0x4b/0x260 [ 28.965958][ T770] ? do_raw_spin_unlock+0x59/0x250 [ 28.965960][ T770] alloc_buf.isra.0+0x4b/0x260 [ 28.965964][ T770] put_chars+0x1e1/0x2f0 [ 28.965966][ T770] ? __send_to_port+0x420/0x420 [ 28.965968][ T770] ? check_prev_add+0x316/0xe90 [ 28.965972][ T770] ? validate_chain+0x34a/0xc20 [ 28.965976][ T770] hvc_console_print+0x292/0x780 [ 28.965979][ T770] ? mark_usage+0x61/0x170 [ 28.965981][ T770] ? __lock_acquire+0x518/0xc20 [ 28.965983][ T770] ? __lock_acquire+0x518/0xc20 [ 28.965987][ T770] ? hvc_write+0x3a0/0x3a0 [ 28.965988][ T770] ? lock_acquire.part.0+0xd4/0x280 [ 28.965993][ T770] ? lock_acquire+0x13c/0x160 [ 28.965997][ T770] console_emit_next_record+0x22f/0x4c0 [ 28.966000][ T770] ? devkmsg_read+0x4b0/0x4b0 [ 28.966002][ T770] ? console_flush_one_record+0x106/0x710 [ 28.966005][ T770] ? rcu_is_watching+0x16/0xd0 [ 28.966010][ T770] ? lock_acquire+0x13c/0x160 [ 28.966014][ T770] console_flush_one_record+0x46f/0x710 [ 28.966018][ T770] ? console_emit_next_record+0x4c0/0x4c0 [ 28.966020][ T770] ? __lock_acquire+0x518/0xc20 [ 28.966025][ T770] console_unlock+0xee/0x1f0 [ 28.966028][ T770] ? console_flush_one_record+0x710/0x710 [ 28.966030][ T770] ? rcu_is_watching+0x16/0xd0 [ 28.966032][ T770] ? lock_acquire+0x60/0x160 [ 28.966036][ T770] ? __down_trylock_console_sem+0x5e/0xa0 [ 28.966038][ T770] ? vprintk_emit+0x320/0x3e0 [ 28.966041][ T770] vprintk_emit+0x37c/0x3e0 [ 28.966045][ T770] ? wake_up_klogd_work_func+0x90/0x90 [ 28.966046][ T770] ? kernel_text_address+0x149/0x170 [ 28.966050][ T770] ? __kernel_text_address+0x12/0x30 [ 28.966051][ T770] ? write_profile+0xf0/0xf0 [ 28.966053][ T770] ? unwind_get_return_address+0x67/0xd0 [ 28.966058][ T770] _printk+0xc7/0x100 [ 28.966062][ T770] ? snapshot_read.cold+0x21/0x21 [ 28.966066][ T770] ? mark_usage+0x61/0x170 [ 28.966067][ T770] ? netdev_name+0x43/0x60 [ 28.966070][ T770] ? __netdev_printk+0x17f/0x1d0 [ 28.966074][ T770] netdev_info+0xe2/0x116 [ 28.966076][ T770] ? netdev_notice+0x120/0x120 [ 28.966077][ T770] ? find_held_lock+0x2b/0x80 [ 28.966080][ T770] ? mark_usage+0x61/0x170 [ 28.966083][ T770] ? __lock_acquire+0x518/0xc20 [ 28.966089][ T770] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 28.966094][ T770] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 28.966098][ T770] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 28.966103][ T770] ovpn_peer_remove+0x394/0x640 [ovpn] [ 28.966107][ T770] ? do_raw_spin_lock+0x131/0x280 [ 28.966110][ T770] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 28.966116][ T770] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 28.966120][ T770] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 28.966127][ T770] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 28.966130][ T770] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 28.966134][ T770] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 28.966136][ T770] ? ref_tracker_alloc+0x28d/0x430 [ 28.966147][ T770] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 28.966151][ T770] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 28.966157][ T770] genl_family_rcv_msg_doit+0x206/0x300 [ 28.966161][ T770] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 28.966163][ T770] ? __lock_release.isra.0+0x69/0x1a0 [ 28.966168][ T770] ? rcu_is_watching+0x16/0xd0 [ 28.966171][ T770] ? cap_capable+0x1d7/0x3d0 [ 28.966174][ T770] ? write_profile+0xf0/0xf0 [ 28.966176][ T770] ? unwind_get_return_address+0x67/0xd0 [ 28.966179][ T770] genl_family_rcv_msg+0x3a4/0x640 [ 28.966183][ T770] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 28.966186][ T770] ? rcu_read_lock_any_held+0x3c/0x90 [ 28.966188][ T770] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 28.966190][ T770] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 28.966193][ T770] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 28.966196][ T770] ? __lock_acquire+0x518/0xc20 [ 28.966202][ T770] genl_rcv_msg+0xbb/0x160 [ 28.966205][ T770] netlink_rcv_skb+0x14e/0x3a0 [ 28.966208][ T770] ? genl_family_rcv_msg+0x640/0x640 [ 28.966211][ T770] ? netlink_ack+0xcf0/0xcf0 [ 28.966218][ T770] ? netlink_deliver_tap+0xc5/0x330 [ 28.966220][ T770] ? netlink_deliver_tap+0x13c/0x330 [ 28.966224][ T770] genl_rcv+0x28/0x40 [ 28.966227][ T770] netlink_unicast+0x486/0x750 [ 28.966231][ T770] ? netlink_attachskb+0x810/0x810 [ 28.966234][ T770] ? __lock_acquire+0x518/0xc20 [ 28.966243][ T770] netlink_sendmsg+0x735/0xc60 [ 28.966247][ T770] ? netlink_unicast+0x750/0x750 [ 28.966251][ T770] ? __might_fault+0x97/0x140 [ 28.966257][ T770] ____sys_sendmsg+0x415/0x880 [ 28.966260][ T770] ? copy_msghdr_from_user+0x279/0x420 [ 28.966263][ T770] ? get_timestamp.constprop.0+0x390/0x390 [ 28.966264][ T770] ? move_addr_to_kernel+0x40/0x40 [ 28.966272][ T770] ___sys_sendmsg+0x14e/0x1d0 [ 28.966275][ T770] ? copy_msghdr_from_user+0x420/0x420 [ 28.966277][ T770] ? kfree+0x22/0x590 [ 28.966293][ T770] __sys_sendmsg+0x12c/0x1d0 [ 28.966296][ T770] ? __sys_sendmsg_sock+0x20/0x20 [ 28.966301][ T770] ? rcu_is_watching+0x16/0xd0 [ 28.966304][ T770] ? rcu_is_watching+0x16/0xd0 [ 28.966308][ T770] do_syscall_64+0xff/0x530 [ 28.966311][ T770] ? exc_page_fault+0xee/0x100 [ 28.966313][ T770] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 28.966316][ T770] RIP: 0033:0x7fcbdfff854e [ 28.966318][ T770] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 28.966320][ T770] RSP: 002b:00007ffc75f2b660 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 28.966322][ T770] RAX: ffffffffffffffda RBX: 0000000037c0d130 RCX: 00007fcbdfff854e [ 28.966324][ T770] RDX: 0000000000000000 RSI: 00007ffc75f2b700 RDI: 0000000000000005 [ 28.966325][ T770] RBP: 00007ffc75f2b670 R08: 0000000000000000 R09: 0000000000000000 [ 28.966326][ T770] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000037c0d200 [ 28.966327][ T770] R13: 00007ffc75f2b700 R14: 0000000037c0e260 R15: 000000000040bda8 [ 28.966334][ T770] [ 29.085927][ T774] tun1: deleting peer with id 10, reason 1 [ 31.946037][ T822] tun0: deleting peer with id 2, reason 1 [ 31.946055][ T822] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 31.946057][ T822] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 822, name: ovpn-cli [ 31.946059][ T822] preempt_count: 202, expected: 0 [ 31.946060][ T822] RCU nest depth: 0, expected: 0 [ 31.946061][ T822] locks held by ovpn-cli/822: 6, last CPU#0: [ 31.946063][ T822] #0: ffffffff87544ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 31.946074][ T822] #1: ff1100000f4d4e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 31.946082][ T822] #2: ffffffff86d79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 31.946088][ T822] #3: ffffffff86d79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 31.946092][ T822] #4: ffffffff86c99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 31.946095][ T822] #5: ffffffff86c99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 31.946099][ T822] irq event stamp: 34007 [ 31.946100][ T822] hardirqs last enabled at (34006): [] __down_trylock_console_sem+0x86/0xa0 [ 31.946103][ T822] hardirqs last disabled at (34007): [] console_emit_next_record+0x3d4/0x4c0 [ 31.946105][ T822] softirqs last enabled at (33974): [] __alloc_skb+0x4c2/0x5f0 [ 31.946108][ T822] softirqs last disabled at (34002): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 31.946111][ T822] Preemption disabled at: [ 31.946112][ T822] [<0000000000000000>] 0x0 [ 31.946118][ T822] CPU: 0 UID: 0 PID: 822 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 31.946122][ T822] Tainted: [W]=WARN [ 31.946122][ T822] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 31.946124][ T822] Call Trace: [ 31.946126][ T822] [ 31.946127][ T822] dump_stack_lvl+0x6f/0xa0 [ 31.946134][ T822] __might_resched.cold+0x1fe/0x2c1 [ 31.946138][ T822] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 31.946142][ T822] ? __kmalloc_noprof+0xdb/0x760 [ 31.946147][ T822] __kmalloc_noprof+0x443/0x760 [ 31.946149][ T822] ? alloc_buf.isra.0+0x4b/0x260 [ 31.946155][ T822] ? do_raw_spin_unlock+0x59/0x250 [ 31.946158][ T822] alloc_buf.isra.0+0x4b/0x260 [ 31.946161][ T822] put_chars+0x1e1/0x2f0 [ 31.946164][ T822] ? __send_to_port+0x420/0x420 [ 31.946166][ T822] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 31.946171][ T822] ? rcu_read_lock_any_held+0x3c/0x90 [ 31.946173][ T822] ? validate_chain+0x38b/0xc20 [ 31.946177][ T822] hvc_console_print+0x292/0x780 [ 31.946180][ T822] ? mark_usage+0x61/0x170 [ 31.946182][ T822] ? __lock_acquire+0x518/0xc20 [ 31.946183][ T822] ? __lock_acquire+0x518/0xc20 [ 31.946187][ T822] ? hvc_write+0x3a0/0x3a0 [ 31.946189][ T822] ? lock_acquire.part.0+0xd4/0x280 [ 31.946193][ T822] ? lock_acquire+0x13c/0x160 [ 31.946197][ T822] console_emit_next_record+0x22f/0x4c0 [ 31.946201][ T822] ? devkmsg_read+0x4b0/0x4b0 [ 31.946202][ T822] ? console_flush_one_record+0x106/0x710 [ 31.946205][ T822] ? rcu_is_watching+0x16/0xd0 [ 31.946208][ T822] ? lock_acquire+0x13c/0x160 [ 31.946212][ T822] console_flush_one_record+0x46f/0x710 [ 31.946215][ T822] ? console_emit_next_record+0x4c0/0x4c0 [ 31.946217][ T822] ? __lock_acquire+0x518/0xc20 [ 31.946222][ T822] console_unlock+0xee/0x1f0 [ 31.946225][ T822] ? console_flush_one_record+0x710/0x710 [ 31.946227][ T822] ? rcu_is_watching+0x16/0xd0 [ 31.946229][ T822] ? lock_acquire+0x60/0x160 [ 31.946232][ T822] ? __down_trylock_console_sem+0x5e/0xa0 [ 31.946234][ T822] ? vprintk_emit+0x320/0x3e0 [ 31.946237][ T822] vprintk_emit+0x37c/0x3e0 [ 31.946241][ T822] ? wake_up_klogd_work_func+0x90/0x90 [ 31.946243][ T822] ? kernel_text_address+0x149/0x170 [ 31.946246][ T822] ? __kernel_text_address+0x12/0x30 [ 31.946247][ T822] ? write_profile+0xf0/0xf0 [ 31.946255][ T822] ? unwind_get_return_address+0x67/0xd0 [ 31.946260][ T822] _printk+0xc7/0x100 [ 31.946263][ T822] ? snapshot_read.cold+0x21/0x21 [ 31.946267][ T822] ? mark_usage+0x61/0x170 [ 31.946269][ T822] ? netdev_name+0x43/0x60 [ 31.946272][ T822] ? __netdev_printk+0x17f/0x1d0 [ 31.946275][ T822] netdev_info+0xe2/0x116 [ 31.946277][ T822] ? netdev_notice+0x120/0x120 [ 31.946279][ T822] ? find_held_lock+0x2b/0x80 [ 31.946281][ T822] ? mark_usage+0x61/0x170 [ 31.946284][ T822] ? __lock_acquire+0x518/0xc20 [ 31.946289][ T822] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 31.946294][ T822] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 31.946298][ T822] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 31.946303][ T822] ovpn_peer_remove+0x394/0x640 [ovpn] [ 31.946307][ T822] ? do_raw_spin_lock+0x131/0x280 [ 31.946309][ T822] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 31.946316][ T822] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 31.946320][ T822] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 31.946326][ T822] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 31.946329][ T822] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 31.946333][ T822] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 31.946335][ T822] ? ref_tracker_alloc+0x28d/0x430 [ 31.946345][ T822] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 31.946350][ T822] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 31.946355][ T822] genl_family_rcv_msg_doit+0x206/0x300 [ 31.946359][ T822] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 31.946361][ T822] ? __lock_release.isra.0+0x69/0x1a0 [ 31.946366][ T822] ? rcu_is_watching+0x16/0xd0 [ 31.946369][ T822] ? cap_capable+0x1d7/0x3d0 [ 31.946372][ T822] ? write_profile+0xf0/0xf0 [ 31.946373][ T822] ? unwind_get_return_address+0x67/0xd0 [ 31.946377][ T822] genl_family_rcv_msg+0x3a4/0x640 [ 31.946380][ T822] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 31.946383][ T822] ? rcu_read_lock_any_held+0x3c/0x90 [ 31.946384][ T822] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 31.946387][ T822] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 31.946390][ T822] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 31.946393][ T822] ? __lock_acquire+0x518/0xc20 [ 31.946398][ T822] genl_rcv_msg+0xbb/0x160 [ 31.946401][ T822] netlink_rcv_skb+0x14e/0x3a0 [ 31.946403][ T822] ? genl_family_rcv_msg+0x640/0x640 [ 31.946407][ T822] ? netlink_ack+0xcf0/0xcf0 [ 31.946413][ T822] ? netlink_deliver_tap+0xc5/0x330 [ 31.946415][ T822] ? netlink_deliver_tap+0x13c/0x330 [ 31.946419][ T822] genl_rcv+0x28/0x40 [ 31.946421][ T822] netlink_unicast+0x486/0x750 [ 31.946425][ T822] ? netlink_attachskb+0x810/0x810 [ 31.946428][ T822] ? __lock_acquire+0x518/0xc20 [ 31.946432][ T822] netlink_sendmsg+0x735/0xc60 [ 31.946436][ T822] ? netlink_unicast+0x750/0x750 [ 31.946440][ T822] ? __might_fault+0x97/0x140 [ 31.946445][ T822] ____sys_sendmsg+0x415/0x880 [ 31.946449][ T822] ? copy_msghdr_from_user+0x279/0x420 [ 31.946451][ T822] ? get_timestamp.constprop.0+0x390/0x390 [ 31.946453][ T822] ? move_addr_to_kernel+0x40/0x40 [ 31.946460][ T822] ___sys_sendmsg+0x14e/0x1d0 [ 31.946463][ T822] ? copy_msghdr_from_user+0x420/0x420 [ 31.946465][ T822] ? kfree+0x22/0x590 [ 31.946481][ T822] __sys_sendmsg+0x12c/0x1d0 [ 31.946485][ T822] ? __sys_sendmsg_sock+0x20/0x20 [ 31.946490][ T822] ? rcu_is_watching+0x16/0xd0 [ 31.946492][ T822] ? rcu_is_watching+0x16/0xd0 [ 31.946496][ T822] do_syscall_64+0xff/0x530 [ 31.946499][ T822] ? exc_page_fault+0xee/0x100 [ 31.946502][ T822] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 31.946504][ T822] RIP: 0033:0x7fe15a53e54e [ 31.946506][ T822] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 31.946508][ T822] RSP: 002b:00007ffd73f55940 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 31.946511][ T822] RAX: ffffffffffffffda RBX: 0000000012dcd130 RCX: 00007fe15a53e54e [ 31.946512][ T822] RDX: 0000000000000000 RSI: 00007ffd73f559e0 RDI: 0000000000000005 [ 31.946513][ T822] RBP: 00007ffd73f55950 R08: 0000000000000000 R09: 0000000000000000 [ 31.946514][ T822] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000012dcd200 [ 31.946515][ T822] R13: 00007ffd73f559e0 R14: 0000000012dce260 R15: 000000000040bda8 [ 31.946521][ T822] [ 32.072462][ T826] tun2: deleting peer with id 11, reason 1 [ 37.089706][ T10] tun0: deleting peer with id 4, reason 2 [ 37.089768][ T10] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 37.089770][ T10] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 [ 37.089772][ T10] preempt_count: 202, expected: 0 [ 37.089773][ T10] RCU nest depth: 0, expected: 0 [ 37.089774][ T10] locks held by kworker/0:1/10: 7, last CPU#0: [ 37.089776][ T10] #0: ff1100000ad2a140 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 37.089788][ T10] #1: ffa00000000a7d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 37.089792][ T10] #2: ff1100000f4d4e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 37.089799][ T10] #3: ffffffff86d79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 37.089804][ T10] #4: ffffffff86d79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 37.089807][ T10] #5: ffffffff86c99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 37.089811][ T10] #6: ffffffff86c99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 37.089815][ T10] irq event stamp: 54831 [ 37.089816][ T10] hardirqs last enabled at (54830): [] __down_trylock_console_sem+0x86/0xa0 [ 37.089818][ T10] hardirqs last disabled at (54831): [] console_emit_next_record+0x3d4/0x4c0 [ 37.089820][ T10] softirqs last enabled at (54814): [] process_one_work+0xe3e/0x1560 [ 37.089822][ T10] softirqs last disabled at (54824): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 37.089825][ T10] Preemption disabled at: [ 37.089826][ T10] [<0000000000000000>] 0x0 [ 37.089832][ T10] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 37.089836][ T10] Tainted: [W]=WARN [ 37.089837][ T10] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 37.089838][ T10] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 37.089843][ T10] Call Trace: [ 37.089844][ T10] [ 37.089846][ T10] dump_stack_lvl+0x6f/0xa0 [ 37.089852][ T10] __might_resched.cold+0x1fe/0x2c1 [ 37.089857][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 37.089861][ T10] ? __kmalloc_noprof+0xdb/0x760 [ 37.089866][ T10] __kmalloc_noprof+0x443/0x760 [ 37.089868][ T10] ? alloc_buf.isra.0+0x4b/0x260 [ 37.089874][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 37.089877][ T10] alloc_buf.isra.0+0x4b/0x260 [ 37.089880][ T10] put_chars+0x1e1/0x2f0 [ 37.089883][ T10] ? __send_to_port+0x420/0x420 [ 37.089888][ T10] ? validate_chain+0x34a/0xc20 [ 37.089891][ T10] hvc_console_print+0x292/0x780 [ 37.089895][ T10] ? mark_usage+0x61/0x170 [ 37.089896][ T10] ? __lock_acquire+0x518/0xc20 [ 37.089898][ T10] ? __lock_acquire+0x518/0xc20 [ 37.089902][ T10] ? hvc_write+0x3a0/0x3a0 [ 37.089904][ T10] ? console_emit_next_record+0x1df/0x4c0 [ 37.089907][ T10] ? rcu_is_watching+0x16/0xd0 [ 37.089912][ T10] ? lock_acquire+0x13c/0x160 [ 37.089916][ T10] console_emit_next_record+0x22f/0x4c0 [ 37.089919][ T10] ? devkmsg_read+0x4b0/0x4b0 [ 37.089921][ T10] ? console_flush_one_record+0x106/0x710 [ 37.089924][ T10] ? rcu_is_watching+0x16/0xd0 [ 37.089927][ T10] ? lock_acquire+0x13c/0x160 [ 37.089930][ T10] console_flush_one_record+0x46f/0x710 [ 37.089935][ T10] ? console_emit_next_record+0x4c0/0x4c0 [ 37.089936][ T10] ? __lock_acquire+0x518/0xc20 [ 37.089941][ T10] console_unlock+0xee/0x1f0 [ 37.089944][ T10] ? console_flush_one_record+0x710/0x710 [ 37.089946][ T10] ? rcu_is_watching+0x16/0xd0 [ 37.089948][ T10] ? lock_acquire+0x60/0x160 [ 37.089952][ T10] ? __down_trylock_console_sem+0x5e/0xa0 [ 37.089954][ T10] ? vprintk_emit+0x320/0x3e0 [ 37.089957][ T10] vprintk_emit+0x37c/0x3e0 [ 37.089960][ T10] ? wake_up_klogd_work_func+0x90/0x90 [ 37.089966][ T10] _printk+0xc7/0x100 [ 37.089970][ T10] ? snapshot_read.cold+0x21/0x21 [ 37.089974][ T10] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 37.089976][ T10] ? netdev_name+0x43/0x60 [ 37.089979][ T10] ? __netdev_printk+0x17f/0x1d0 [ 37.089982][ T10] netdev_info+0xe2/0x116 [ 37.089985][ T10] ? netdev_notice+0x120/0x120 [ 37.089986][ T10] ? __lock_acquire+0x518/0xc20 [ 37.089991][ T10] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 37.089993][ T10] ? rcu_read_lock_any_held+0x3c/0x90 [ 37.089998][ T10] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 37.090003][ T10] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 37.090010][ T10] ovpn_peer_remove+0x394/0x640 [ovpn] [ 37.090014][ T10] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 37.090017][ T10] ? __rwlock_init+0x150/0x150 [ 37.090019][ T10] ? mark_held_locks+0x40/0x70 [ 37.090024][ T10] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 37.090028][ T10] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 37.090031][ T10] ? __rwlock_init+0x150/0x150 [ 37.090036][ T10] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 37.090040][ T10] ? process_one_work+0xdfc/0x1560 [ 37.090043][ T10] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 37.090046][ T10] ? rcu_is_watching+0x16/0xd0 [ 37.090048][ T10] ? lock_acquire+0x13c/0x160 [ 37.090050][ T10] ? rcu_is_watching+0x16/0xd0 [ 37.090054][ T10] process_one_work+0xe3e/0x1560 [ 37.090060][ T10] ? __queue_delayed_work+0x470/0x470 [ 37.090063][ T10] ? lock_acquire.part.0+0xd4/0x280 [ 37.090070][ T10] worker_thread+0x4f1/0xd60 [ 37.090074][ T10] ? rescuer_thread+0x1340/0x1340 [ 37.090077][ T10] ? __kthread_parkme+0xbd/0x210 [ 37.090080][ T10] ? rescuer_thread+0x1340/0x1340 [ 37.090083][ T10] ? rescuer_thread+0x1340/0x1340 [ 37.090085][ T10] kthread+0x367/0x460 [ 37.090086][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 37.090090][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 37.090092][ T10] ret_from_fork+0x474/0x6b0 [ 37.090096][ T10] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 37.090100][ T10] ? __switch_to+0x5a3/0xe00 [ 37.090103][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 37.090105][ T10] ret_from_fork_asm+0x11/0x20 [ 37.090114][ T10] [ 37.113555][ T10] tun0: deleting peer with id 3, reason 2 [ 37.113891][ T10] tun0: deleting peer with id 5, reason 2 [ 38.177486][ T897] tun0: deleting peer with id 6, reason 2 [ 38.177493][ T897] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 38.177495][ T897] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 897, name: kworker/0:2 [ 38.177496][ T897] preempt_count: 202, expected: 0 [ 38.177497][ T897] RCU nest depth: 0, expected: 0 [ 38.177498][ T897] locks held by kworker/0:2/897: 7, last CPU#0: [ 38.177499][ T897] #0: ff1100000ad2a140 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 38.177506][ T897] #1: ffa000000324fd10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 38.177510][ T897] #2: ff1100000f4d4e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 38.177517][ T897] #3: ffffffff86d79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 38.177521][ T897] #4: ffffffff86d79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 38.177524][ T897] #5: ffffffff86c99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 38.177528][ T897] #6: ffffffff86c99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 38.177531][ T897] irq event stamp: 537 [ 38.177532][ T897] hardirqs last enabled at (536): [] __down_trylock_console_sem+0x86/0xa0 [ 38.177534][ T897] hardirqs last disabled at (537): [] console_emit_next_record+0x3d4/0x4c0 [ 38.177536][ T897] softirqs last enabled at (322): [] handle_softirqs+0x67c/0x900 [ 38.177539][ T897] softirqs last disabled at (530): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 38.177542][ T897] Preemption disabled at: [ 38.177542][ T897] [<0000000000000000>] 0x0 [ 38.177546][ T897] CPU: 0 UID: 0 PID: 897 Comm: kworker/0:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 38.177549][ T897] Tainted: [W]=WARN [ 38.177550][ T897] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 38.177551][ T897] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 38.177554][ T897] Call Trace: [ 38.177555][ T897] [ 38.177556][ T897] dump_stack_lvl+0x6f/0xa0 [ 38.177561][ T897] __might_resched.cold+0x1fe/0x2c1 [ 38.177565][ T897] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 38.177568][ T897] ? __kmalloc_noprof+0xdb/0x760 [ 38.177573][ T897] __kmalloc_noprof+0x443/0x760 [ 38.177575][ T897] ? alloc_buf.isra.0+0x4b/0x260 [ 38.177580][ T897] ? do_raw_spin_unlock+0x59/0x250 [ 38.177582][ T897] alloc_buf.isra.0+0x4b/0x260 [ 38.177585][ T897] put_chars+0x1e1/0x2f0 [ 38.177587][ T897] ? prb_final_commit+0x50/0x50 [ 38.177589][ T897] ? __send_to_port+0x420/0x420 [ 38.177592][ T897] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 38.177596][ T897] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.177598][ T897] ? validate_chain+0x38b/0xc20 [ 38.177601][ T897] hvc_console_print+0x292/0x780 [ 38.177604][ T897] ? mark_usage+0x61/0x170 [ 38.177605][ T897] ? __lock_acquire+0x518/0xc20 [ 38.177607][ T897] ? __lock_acquire+0x518/0xc20 [ 38.177611][ T897] ? hvc_write+0x3a0/0x3a0 [ 38.177613][ T897] ? console_emit_next_record+0x1df/0x4c0 [ 38.177616][ T897] ? rcu_is_watching+0x16/0xd0 [ 38.177619][ T897] ? lock_acquire+0x13c/0x160 [ 38.177622][ T897] console_emit_next_record+0x22f/0x4c0 [ 38.177626][ T897] ? devkmsg_read+0x4b0/0x4b0 [ 38.177628][ T897] ? console_flush_one_record+0x106/0x710 [ 38.177631][ T897] ? rcu_is_watching+0x16/0xd0 [ 38.177633][ T897] ? lock_acquire+0x13c/0x160 [ 38.177637][ T897] console_flush_one_record+0x46f/0x710 [ 38.177641][ T897] ? console_emit_next_record+0x4c0/0x4c0 [ 38.177643][ T897] ? __lock_acquire+0x518/0xc20 [ 38.177648][ T897] console_unlock+0xee/0x1f0 [ 38.177650][ T897] ? console_flush_one_record+0x710/0x710 [ 38.177652][ T897] ? rcu_is_watching+0x16/0xd0 [ 38.177654][ T897] ? lock_acquire+0x60/0x160 [ 38.177658][ T897] ? __down_trylock_console_sem+0x5e/0xa0 [ 38.177660][ T897] ? vprintk_emit+0x320/0x3e0 [ 38.177663][ T897] vprintk_emit+0x37c/0x3e0 [ 38.177666][ T897] ? wake_up_klogd_work_func+0x90/0x90 [ 38.177669][ T897] ? arch_stack_walk+0xd7/0x130 [ 38.177674][ T897] _printk+0xc7/0x100 [ 38.177677][ T897] ? snapshot_read.cold+0x21/0x21 [ 38.177681][ T897] ? netdev_name+0x43/0x60 [ 38.177684][ T897] ? __netdev_printk+0x17f/0x1d0 [ 38.177687][ T897] netdev_info+0xe2/0x116 [ 38.177689][ T897] ? netdev_notice+0x120/0x120 [ 38.177691][ T897] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.177694][ T897] ? __lock_acquire+0x518/0xc20 [ 38.177697][ T897] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 38.177699][ T897] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.177703][ T897] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 38.177708][ T897] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 38.177715][ T897] ovpn_peer_remove+0x394/0x640 [ovpn] [ 38.177719][ T897] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 38.177722][ T897] ? __rwlock_init+0x150/0x150 [ 38.177724][ T897] ? mark_held_locks+0x40/0x70 [ 38.177729][ T897] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 38.177733][ T897] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 38.177736][ T897] ? __rwlock_init+0x150/0x150 [ 38.177741][ T897] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 38.177745][ T897] ? process_one_work+0xdfc/0x1560 [ 38.177748][ T897] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 38.177751][ T897] ? rcu_is_watching+0x16/0xd0 [ 38.177753][ T897] ? lock_acquire+0x13c/0x160 [ 38.177755][ T897] ? rcu_is_watching+0x16/0xd0 [ 38.177759][ T897] process_one_work+0xe3e/0x1560 [ 38.177765][ T897] ? __queue_delayed_work+0x470/0x470 [ 38.177768][ T897] ? lock_acquire.part.0+0xd4/0x280 [ 38.177776][ T897] worker_thread+0x4f1/0xd60 [ 38.177780][ T897] ? rescuer_thread+0x1340/0x1340 [ 38.177782][ T897] ? __kthread_parkme+0xbd/0x210 [ 38.177784][ T897] ? rescuer_thread+0x1340/0x1340 [ 38.177787][ T897] ? rescuer_thread+0x1340/0x1340 [ 38.177789][ T897] kthread+0x367/0x460 [ 38.177791][ T897] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 38.177793][ T897] ? kthread_affine_preferred+0x4c0/0x4c0 [ 38.177796][ T897] ret_from_fork+0x474/0x6b0 [ 38.177798][ T897] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 38.177801][ T897] ? __switch_to+0x5a3/0xe00 [ 38.177804][ T897] ? kthread_affine_preferred+0x4c0/0x4c0 [ 38.177807][ T897] ret_from_fork_asm+0x11/0x20 [ 38.177814][ T897] [ 43.298976][ T50] tun3: deleting peer with id 12, reason 2 [ 43.298998][ T50] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 43.299000][ T50] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 50, name: kworker/3:1 [ 43.299002][ T50] preempt_count: 202, expected: 0 [ 43.299003][ T50] RCU nest depth: 0, expected: 0 [ 43.299004][ T50] locks held by kworker/3:1/50: 7, last CPU#3: [ 43.299006][ T50] #0: ff1100000ad2a140 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 43.299018][ T50] #1: ffa000000036fd10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 43.299022][ T50] #2: ff110000085e1e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 43.299030][ T50] #3: ffffffff86d79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 43.299035][ T50] #4: ffffffff86d79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 43.299039][ T50] #5: ffffffff86c99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 43.299043][ T50] #6: ffffffff86c99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 43.299046][ T50] irq event stamp: 25257 [ 43.299047][ T50] hardirqs last enabled at (25256): [] __down_trylock_console_sem+0x86/0xa0 [ 43.299050][ T50] hardirqs last disabled at (25257): [] console_emit_next_record+0x3d4/0x4c0 [ 43.299052][ T50] softirqs last enabled at (25120): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 43.299056][ T50] softirqs last disabled at (25246): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 43.299059][ T50] Preemption disabled at: [ 43.299060][ T50] [<0000000000000000>] 0x0 [ 43.299067][ T50] CPU: 3 UID: 0 PID: 50 Comm: kworker/3:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 43.299071][ T50] Tainted: [W]=WARN [ 43.299071][ T50] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 43.299073][ T50] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 43.299077][ T50] Call Trace: [ 43.299079][ T50] [ 43.299081][ T50] dump_stack_lvl+0x6f/0xa0 [ 43.299087][ T50] __might_resched.cold+0x1fe/0x2c1 [ 43.299091][ T50] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 43.299095][ T50] ? __kmalloc_noprof+0xdb/0x760 [ 43.299101][ T50] __kmalloc_noprof+0x443/0x760 [ 43.299103][ T50] ? alloc_buf.isra.0+0x4b/0x260 [ 43.299109][ T50] ? do_raw_spin_unlock+0x59/0x250 [ 43.299112][ T50] alloc_buf.isra.0+0x4b/0x260 [ 43.299115][ T50] put_chars+0x1e1/0x2f0 [ 43.299117][ T50] ? prb_final_commit+0x50/0x50 [ 43.299119][ T50] ? __send_to_port+0x420/0x420 [ 43.299122][ T50] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 43.299127][ T50] ? rcu_read_lock_any_held+0x3c/0x90 [ 43.299129][ T50] ? validate_chain+0x38b/0xc20 [ 43.299133][ T50] hvc_console_print+0x292/0x780 [ 43.299136][ T50] ? mark_usage+0x61/0x170 [ 43.299138][ T50] ? __lock_acquire+0x518/0xc20 [ 43.299140][ T50] ? __lock_acquire+0x518/0xc20 [ 43.299143][ T50] ? hvc_write+0x3a0/0x3a0 [ 43.299146][ T50] ? console_emit_next_record+0x1df/0x4c0 [ 43.299149][ T50] ? rcu_is_watching+0x16/0xd0 [ 43.299151][ T50] ? lock_acquire+0x13c/0x160 [ 43.299155][ T50] console_emit_next_record+0x22f/0x4c0 [ 43.299159][ T50] ? devkmsg_read+0x4b0/0x4b0 [ 43.299161][ T50] ? console_flush_one_record+0x106/0x710 [ 43.299164][ T50] ? rcu_is_watching+0x16/0xd0 [ 43.299166][ T50] ? lock_acquire+0x13c/0x160 [ 43.299170][ T50] console_flush_one_record+0x46f/0x710 [ 43.299174][ T50] ? console_emit_next_record+0x4c0/0x4c0 [ 43.299176][ T50] ? __lock_acquire+0x518/0xc20 [ 43.299181][ T50] console_unlock+0xee/0x1f0 [ 43.299184][ T50] ? console_flush_one_record+0x710/0x710 [ 43.299186][ T50] ? rcu_is_watching+0x16/0xd0 [ 43.299188][ T50] ? lock_acquire+0x60/0x160 [ 43.299192][ T50] ? __down_trylock_console_sem+0x5e/0xa0 [ 43.299193][ T50] ? vprintk_emit+0x320/0x3e0 [ 43.299197][ T50] vprintk_emit+0x37c/0x3e0 [ 43.299201][ T50] ? wake_up_klogd_work_func+0x90/0x90 [ 43.299203][ T50] ? __lock_release.isra.0+0x69/0x1a0 [ 43.299208][ T50] _printk+0xc7/0x100 [ 43.299211][ T50] ? snapshot_read.cold+0x21/0x21 [ 43.299213][ T50] ? try_to_wake_up+0x153/0x1130 [ 43.299216][ T50] ? select_fallback_rq+0x510/0x510 [ 43.299218][ T50] ? netdev_name+0x43/0x60 [ 43.299221][ T50] ? __netdev_printk+0x17f/0x1d0 [ 43.299225][ T50] netdev_info+0xe2/0x116 [ 43.299227][ T50] ? netdev_notice+0x120/0x120 [ 43.299232][ T50] ? __queue_work+0x3ab/0xd30 [ 43.299235][ T50] ? kthread+0x367/0x460 [ 43.299240][ T50] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 43.299245][ T50] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 43.299248][ T50] ? mark_held_locks+0x40/0x70 [ 43.299251][ T50] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 43.299253][ T50] ? lockdep_hardirqs_on+0x91/0x130 [ 43.299258][ T50] ovpn_peer_remove+0x394/0x640 [ovpn] [ 43.299261][ T50] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 43.299264][ T50] ? __rwlock_init+0x150/0x150 [ 43.299266][ T50] ? mark_held_locks+0x40/0x70 [ 43.299270][ T50] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 43.299274][ T50] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 43.299277][ T50] ? __rwlock_init+0x150/0x150 [ 43.299282][ T50] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 43.299286][ T50] ? process_one_work+0xdfc/0x1560 [ 43.299289][ T50] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 43.299292][ T50] ? rcu_is_watching+0x16/0xd0 [ 43.299294][ T50] ? lock_acquire+0x13c/0x160 [ 43.299296][ T50] ? rcu_is_watching+0x16/0xd0 [ 43.299304][ T50] ? process_one_work+0xdfc/0x1560 [ 43.299306][ T50] process_one_work+0xe3e/0x1560 [ 43.299312][ T50] ? __queue_delayed_work+0x470/0x470 [ 43.299315][ T50] ? lock_acquire.part.0+0xd4/0x280 [ 43.299323][ T50] worker_thread+0x4f1/0xd60 [ 43.299327][ T50] ? rescuer_thread+0x1340/0x1340 [ 43.299329][ T50] ? __kthread_parkme+0xbd/0x210 [ 43.299331][ T50] ? rescuer_thread+0x1340/0x1340 [ 43.299334][ T50] ? rescuer_thread+0x1340/0x1340 [ 43.299336][ T50] kthread+0x367/0x460 [ 43.299338][ T50] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 43.299340][ T50] ? kthread_affine_preferred+0x4c0/0x4c0 [ 43.299343][ T50] ret_from_fork+0x474/0x6b0 [ 43.299347][ T50] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 43.299350][ T50] ? __switch_to+0x5a3/0xe00 [ 43.299353][ T50] ? kthread_affine_preferred+0x4c0/0x4c0 [ 43.299356][ T50] ret_from_fork_asm+0x11/0x20 [ 43.299364][ T50] [ 43.361525][ T897] tun4: deleting peer with id 13, reason 2 [ 43.425510][ T67] tun5: deleting peer with id 14, reason 2 [ 43.490500][ T50] tun6: deleting peer with id 15, reason 2