[ 17.330098][ T302] ip (302) used greatest stack depth: 24144 bytes left [ 17.330114][ T302] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.330116][ T302] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 302, name: ip [ 17.330118][ T302] preempt_count: 2, expected: 0 [ 17.330119][ T302] RCU nest depth: 0, expected: 0 [ 17.330120][ T302] locks held by ip/302: 5, last CPU#0: [ 17.330122][ T302] #0: ffffffffaec127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 17.330134][ T302] #1: ffffffffaed79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.330140][ T302] #2: ffffffffaed79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.330144][ T302] #3: ffffffffaec99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.330148][ T302] #4: ffffffffaec99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.330152][ T302] irq event stamp: 42328 [ 17.330153][ T302] hardirqs last enabled at (42327): [] __down_trylock_console_sem+0x86/0xa0 [ 17.330155][ T302] hardirqs last disabled at (42328): [] console_emit_next_record+0x3d4/0x4c0 [ 17.330158][ T302] softirqs last enabled at (41336): [] handle_softirqs+0x67c/0x900 [ 17.330160][ T302] softirqs last disabled at (41331): [] __irq_exit_rcu+0x145/0x1c0 [ 17.330163][ T302] Preemption disabled at: [ 17.330164][ T302] [<0000000000000000>] 0x0 [ 17.330172][ T302] CPU: 0 UID: 0 PID: 302 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.330177][ T302] Tainted: [W]=WARN [ 17.330178][ T302] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.330179][ T302] Call Trace: [ 17.330181][ T302] [ 17.330183][ T302] dump_stack_lvl+0x6f/0xa0 [ 17.330190][ T302] __might_resched.cold+0x1fe/0x2c1 [ 17.330195][ T302] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.330200][ T302] ? __kmalloc_noprof+0xdb/0x760 [ 17.330211][ T302] __kmalloc_noprof+0x443/0x760 [ 17.330214][ T302] ? alloc_buf.isra.0+0x4b/0x260 [ 17.330220][ T302] ? do_raw_spin_unlock+0x59/0x250 [ 17.330223][ T302] alloc_buf.isra.0+0x4b/0x260 [ 17.330226][ T302] put_chars+0x1e1/0x2f0 [ 17.330229][ T302] ? __send_to_port+0x420/0x420 [ 17.330231][ T302] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 17.330236][ T302] ? validate_chain+0x38b/0xc20 [ 17.330242][ T302] hvc_console_print+0x292/0x780 [ 17.330248][ T302] ? hvc_write+0x3a0/0x3a0 [ 17.330251][ T302] ? rcu_is_watching+0x16/0xd0 [ 17.330254][ T302] ? lock_acquire+0x13c/0x160 [ 17.330258][ T302] console_emit_next_record+0x22f/0x4c0 [ 17.330262][ T302] ? devkmsg_read+0x4b0/0x4b0 [ 17.330264][ T302] ? console_flush_one_record+0x106/0x710 [ 17.330267][ T302] ? rcu_is_watching+0x16/0xd0 [ 17.330269][ T302] ? lock_acquire+0x13c/0x160 [ 17.330274][ T302] console_flush_one_record+0x46f/0x710 [ 17.330278][ T302] ? console_emit_next_record+0x4c0/0x4c0 [ 17.330280][ T302] ? __lock_acquire+0x518/0xc20 [ 17.330286][ T302] console_unlock+0xee/0x1f0 [ 17.330289][ T302] ? console_flush_one_record+0x710/0x710 [ 17.330291][ T302] ? rcu_is_watching+0x16/0xd0 [ 17.330293][ T302] ? lock_acquire+0x60/0x160 [ 17.330297][ T302] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.330299][ T302] ? vprintk_emit+0x320/0x3e0 [ 17.330303][ T302] vprintk_emit+0x37c/0x3e0 [ 17.330307][ T302] ? wake_up_klogd_work_func+0x90/0x90 [ 17.330310][ T302] ? __lock_acquire+0x518/0xc20 [ 17.330314][ T302] _printk+0xc7/0x100 [ 17.330318][ T302] ? snapshot_read.cold+0x21/0x21 [ 17.330321][ T302] ? do_raw_spin_lock+0x131/0x280 [ 17.330323][ T302] ? __rwlock_init+0x150/0x150 [ 17.330327][ T302] ? do_raw_spin_lock+0x131/0x280 [ 17.330330][ T302] do_exit.cold+0x82/0x9c [ 17.330334][ T302] ? exit_notify+0x890/0x890 [ 17.330335][ T302] ? __lock_release.isra.0+0x69/0x1a0 [ 17.330338][ T302] ? rcu_is_watching+0x16/0xd0 [ 17.330342][ T302] do_group_exit+0xb8/0x370 [ 17.330345][ T302] __x64_sys_exit_group+0x3c/0x50 [ 17.330347][ T302] x64_sys_call+0x1567/0x1570 [ 17.330350][ T302] do_syscall_64+0xff/0x530 [ 17.330354][ T302] ? exc_page_fault+0xee/0x100 [ 17.330357][ T302] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.330360][ T302] RIP: 0033:0x7fb0439581b8 [ 17.330362][ T302] Code: Unable to access opcode bytes at 0x7fb04395818e. [ 17.330363][ T302] RSP: 002b:00007ffe32d4aee8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 17.330365][ T302] RAX: ffffffffffffffda RBX: 00007fb043a88f88 RCX: 00007fb0439581b8 [ 17.330367][ T302] RDX: 00007fb0436a2fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 17.330368][ T302] RBP: 00007ffe32d4af40 R08: 0000000000000000 R09: 0000000000000000 [ 17.330369][ T302] R10: 00007ffe32d4ad00 R11: 0000000000000246 R12: 0000000000000001 [ 17.330370][ T302] R13: 0000000000000000 R14: 00007fb043a87680 R15: 00007fb043a88fa0 [ 17.330377][ T302] [ 18.180597][ T322] ip (322) used greatest stack depth: 23880 bytes left [ 32.957595][ T683] iperf3 (683) used greatest stack depth: 22744 bytes left [ 32.957615][ T683] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 32.957617][ T683] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 683, name: iperf3 [ 32.957619][ T683] preempt_count: 2, expected: 0 [ 32.957619][ T683] RCU nest depth: 0, expected: 0 [ 32.957621][ T683] locks held by iperf3/683: 5, last CPU#1: [ 32.957623][ T683] #0: ffffffffaec127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 32.957635][ T683] #1: ffffffffaed79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 32.957642][ T683] #2: ffffffffaed79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 32.957646][ T683] #3: ffffffffaec99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 32.957650][ T683] #4: ffffffffaec99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 32.957654][ T683] irq event stamp: 4732134 [ 32.957655][ T683] hardirqs last enabled at (4732133): [] __down_trylock_console_sem+0x86/0xa0 [ 32.957657][ T683] hardirqs last disabled at (4732134): [] console_emit_next_record+0x3d4/0x4c0 [ 32.957659][ T683] softirqs last enabled at (4732028): [] tcp_sendmsg+0x39/0x50 [ 32.957663][ T683] softirqs last disabled at (4732026): [] __release_sock+0x205/0x3a0 [ 32.957667][ T683] Preemption disabled at: [ 32.957668][ T683] [<0000000000000000>] 0x0 [ 32.957675][ T683] CPU: 1 UID: 0 PID: 683 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 32.957679][ T683] Tainted: [W]=WARN [ 32.957680][ T683] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 32.957682][ T683] Call Trace: [ 32.957683][ T683] [ 32.957685][ T683] dump_stack_lvl+0x6f/0xa0 [ 32.957691][ T683] __might_resched.cold+0x1fe/0x2c1 [ 32.957695][ T683] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 32.957700][ T683] ? __kmalloc_noprof+0xdb/0x760 [ 32.957705][ T683] __kmalloc_noprof+0x443/0x760 [ 32.957707][ T683] ? alloc_buf.isra.0+0x4b/0x260 [ 32.957713][ T683] ? do_raw_spin_unlock+0x59/0x250 [ 32.957716][ T683] alloc_buf.isra.0+0x4b/0x260 [ 32.957720][ T683] put_chars+0x1e1/0x2f0 [ 32.957722][ T683] ? prb_final_commit+0x50/0x50 [ 32.957724][ T683] ? __send_to_port+0x420/0x420 [ 32.957727][ T683] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 32.957732][ T683] ? rcu_read_lock_any_held+0x3c/0x90 [ 32.957734][ T683] ? validate_chain+0x38b/0xc20 [ 32.957738][ T683] hvc_console_print+0x292/0x780 [ 32.957741][ T683] ? mark_usage+0x61/0x170 [ 32.957743][ T683] ? __lock_acquire+0x518/0xc20 [ 32.957745][ T683] ? __lock_acquire+0x518/0xc20 [ 32.957749][ T683] ? hvc_write+0x3a0/0x3a0 [ 32.957751][ T683] ? console_emit_next_record+0x1df/0x4c0 [ 32.957755][ T683] ? rcu_is_watching+0x16/0xd0 [ 32.957757][ T683] ? lock_acquire+0x13c/0x160 [ 32.957761][ T683] console_emit_next_record+0x22f/0x4c0 [ 32.957765][ T683] ? devkmsg_read+0x4b0/0x4b0 [ 32.957767][ T683] ? console_flush_one_record+0x106/0x710 [ 32.957770][ T683] ? rcu_is_watching+0x16/0xd0 [ 32.957773][ T683] ? lock_acquire+0x13c/0x160 [ 32.957777][ T683] console_flush_one_record+0x46f/0x710 [ 32.957781][ T683] ? console_emit_next_record+0x4c0/0x4c0 [ 32.957783][ T683] ? __lock_acquire+0x518/0xc20 [ 32.957788][ T683] console_unlock+0xee/0x1f0 [ 32.957791][ T683] ? console_flush_one_record+0x710/0x710 [ 32.957793][ T683] ? rcu_is_watching+0x16/0xd0 [ 32.957796][ T683] ? lock_acquire+0x60/0x160 [ 32.957799][ T683] ? __down_trylock_console_sem+0x5e/0xa0 [ 32.957801][ T683] ? vprintk_emit+0x320/0x3e0 [ 32.957805][ T683] vprintk_emit+0x37c/0x3e0 [ 32.957809][ T683] ? wake_up_klogd_work_func+0x90/0x90 [ 32.957812][ T683] ? __lock_acquire+0x518/0xc20 [ 32.957816][ T683] _printk+0xc7/0x100 [ 32.957819][ T683] ? snapshot_read.cold+0x21/0x21 [ 32.957822][ T683] ? do_raw_spin_lock+0x131/0x280 [ 32.957825][ T683] ? __rwlock_init+0x150/0x150 [ 32.957829][ T683] ? do_raw_spin_lock+0x131/0x280 [ 32.957832][ T683] do_exit.cold+0x82/0x9c [ 32.957835][ T683] ? exit_notify+0x890/0x890 [ 32.957841][ T683] __x64_sys_exit+0x42/0x50 [ 32.957842][ T683] x64_sys_call+0x156c/0x1570 [ 32.957845][ T683] do_syscall_64+0xff/0x530 [ 32.957849][ T683] ? exc_page_fault+0xee/0x100 [ 32.957852][ T683] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 32.957854][ T683] RIP: 0033:0x7f058ad5cc49 [ 32.957856][ T683] Code: Unable to access opcode bytes at 0x7f058ad5cc1f. [ 32.957858][ T683] RSP: 002b:00007f058a51be60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 32.957860][ T683] RAX: ffffffffffffffda RBX: 00007f058a51c6c0 RCX: 00007f058ad5cc49 [ 32.957862][ T683] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 32.957863][ T683] RBP: 00007f058a51bf70 R08: 0000000000000001 R09: 00007f058a51c6c0 [ 32.957864][ T683] R10: 0000000000000008 R11: 0000000000000246 R12: 00007f0589d1c000 [ 32.957864][ T683] R13: 00007fffac12c730 R14: 0000000000000002 R15: 00007fffac12c837 [ 32.957871][ T683] [ 35.027036][ T777] tun0: deleting peer with id 1, reason 1 [ 35.027195][ T777] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 35.027197][ T777] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 777, name: ovpn-cli [ 35.027200][ T777] preempt_count: 202, expected: 0 [ 35.027201][ T777] RCU nest depth: 0, expected: 0 [ 35.027203][ T777] locks held by ovpn-cli/777: 6, last CPU#3: [ 35.027206][ T777] #0: ffffffffaf544ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 35.027222][ T777] #1: ff1100001a09ce68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 35.027233][ T777] #2: ffffffffaed79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 35.027242][ T777] #3: ffffffffaed79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 35.027248][ T777] #4: ffffffffaec99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 35.027254][ T777] #5: ffffffffaec99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 35.027261][ T777] irq event stamp: 35551 [ 35.027262][ T777] hardirqs last enabled at (35550): [] __down_trylock_console_sem+0x86/0xa0 [ 35.027266][ T777] hardirqs last disabled at (35551): [] console_emit_next_record+0x3d4/0x4c0 [ 35.027269][ T777] softirqs last enabled at (35518): [] __alloc_skb+0x4c2/0x5f0 [ 35.027274][ T777] softirqs last disabled at (35546): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 35.027280][ T777] Preemption disabled at: [ 35.027281][ T777] [<0000000000000000>] 0x0 [ 35.027289][ T777] CPU: 3 UID: 0 PID: 777 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 35.027294][ T777] Tainted: [W]=WARN [ 35.027296][ T777] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 35.027298][ T777] Call Trace: [ 35.027300][ T777] [ 35.027303][ T777] dump_stack_lvl+0x6f/0xa0 [ 35.027311][ T777] __might_resched.cold+0x1fe/0x2c1 [ 35.027317][ T777] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 35.027323][ T777] ? __kmalloc_noprof+0xdb/0x760 [ 35.027337][ T777] __kmalloc_noprof+0x443/0x760 [ 35.027340][ T777] ? alloc_buf.isra.0+0x4b/0x260 [ 35.027349][ T777] ? do_raw_spin_unlock+0x59/0x250 [ 35.027353][ T777] alloc_buf.isra.0+0x4b/0x260 [ 35.027358][ T777] put_chars+0x1e1/0x2f0 [ 35.027363][ T777] ? __send_to_port+0x420/0x420 [ 35.027365][ T777] ? check_prev_add+0x316/0xe90 [ 35.027372][ T777] ? validate_chain+0x34a/0xc20 [ 35.027378][ T777] hvc_console_print+0x292/0x780 [ 35.027382][ T777] ? mark_usage+0x61/0x170 [ 35.027385][ T777] ? __lock_acquire+0x518/0xc20 [ 35.027390][ T777] ? __lock_acquire+0x518/0xc20 [ 35.027398][ T777] ? hvc_write+0x3a0/0x3a0 [ 35.027400][ T777] ? lock_acquire.part.0+0xd4/0x280 [ 35.027408][ T777] ? lock_acquire+0x13c/0x160 [ 35.027415][ T777] console_emit_next_record+0x22f/0x4c0 [ 35.027421][ T777] ? devkmsg_read+0x4b0/0x4b0 [ 35.027424][ T777] ? console_flush_one_record+0x106/0x710 [ 35.027429][ T777] ? rcu_is_watching+0x16/0xd0 [ 35.027435][ T777] ? lock_acquire+0x13c/0x160 [ 35.027442][ T777] console_flush_one_record+0x46f/0x710 [ 35.027450][ T777] ? console_emit_next_record+0x4c0/0x4c0 [ 35.027453][ T777] ? __lock_acquire+0x518/0xc20 [ 35.027462][ T777] console_unlock+0xee/0x1f0 [ 35.027466][ T777] ? console_flush_one_record+0x710/0x710 [ 35.027469][ T777] ? rcu_is_watching+0x16/0xd0 [ 35.027472][ T777] ? lock_acquire+0x60/0x160 [ 35.027479][ T777] ? __down_trylock_console_sem+0x5e/0xa0 [ 35.027481][ T777] ? vprintk_emit+0x320/0x3e0 [ 35.027487][ T777] vprintk_emit+0x37c/0x3e0 [ 35.027493][ T777] ? wake_up_klogd_work_func+0x90/0x90 [ 35.027495][ T777] ? kernel_text_address+0x149/0x170 [ 35.027500][ T777] ? __kernel_text_address+0x12/0x30 [ 35.027502][ T777] ? write_profile+0xf0/0xf0 [ 35.027505][ T777] ? unwind_get_return_address+0x67/0xd0 [ 35.027513][ T777] _printk+0xc7/0x100 [ 35.027517][ T777] ? snapshot_read.cold+0x21/0x21 [ 35.027524][ T777] ? mark_usage+0x61/0x170 [ 35.027527][ T777] ? netdev_name+0x43/0x60 [ 35.027531][ T777] ? __netdev_printk+0x17f/0x1d0 [ 35.027538][ T777] netdev_info+0xe2/0x116 [ 35.027541][ T777] ? netdev_notice+0x120/0x120 [ 35.027544][ T777] ? find_held_lock+0x2b/0x80 [ 35.027548][ T777] ? mark_usage+0x61/0x170 [ 35.027553][ T777] ? __lock_acquire+0x518/0xc20 [ 35.027564][ T777] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 35.027572][ T777] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 35.027579][ T777] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 35.027589][ T777] ovpn_peer_remove+0x394/0x640 [ovpn] [ 35.027594][ T777] ? do_raw_spin_lock+0x131/0x280 [ 35.027598][ T777] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 35.027610][ T777] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 35.027617][ T777] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 35.027628][ T777] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 35.027634][ T777] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 35.027639][ T777] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 35.027644][ T777] ? ref_tracker_alloc+0x28d/0x430 [ 35.027663][ T777] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 35.027672][ T777] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 35.027683][ T777] genl_family_rcv_msg_doit+0x206/0x300 [ 35.027689][ T777] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 35.027692][ T777] ? __lock_release.isra.0+0x69/0x1a0 [ 35.027703][ T777] ? rcu_is_watching+0x16/0xd0 [ 35.027707][ T777] ? cap_capable+0x1d7/0x3d0 [ 35.027711][ T777] ? write_profile+0xf0/0xf0 [ 35.027714][ T777] ? unwind_get_return_address+0x67/0xd0 [ 35.027720][ T777] genl_family_rcv_msg+0x3a4/0x640 [ 35.027726][ T777] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 35.027730][ T777] ? rcu_read_lock_any_held+0x3c/0x90 [ 35.027733][ T777] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 35.027738][ T777] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 35.027742][ T777] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 35.027748][ T777] ? __lock_acquire+0x518/0xc20 [ 35.027757][ T777] genl_rcv_msg+0xbb/0x160 [ 35.027763][ T777] netlink_rcv_skb+0x14e/0x3a0 [ 35.027766][ T777] ? genl_family_rcv_msg+0x640/0x640 [ 35.027772][ T777] ? netlink_ack+0xcf0/0xcf0 [ 35.027784][ T777] ? netlink_deliver_tap+0xc5/0x330 [ 35.027787][ T777] ? netlink_deliver_tap+0x13c/0x330 [ 35.027794][ T777] genl_rcv+0x28/0x40 [ 35.027798][ T777] netlink_unicast+0x486/0x750 [ 35.027805][ T777] ? netlink_attachskb+0x810/0x810 [ 35.027810][ T777] ? __lock_acquire+0x518/0xc20 [ 35.027817][ T777] netlink_sendmsg+0x735/0xc60 [ 35.027825][ T777] ? netlink_unicast+0x750/0x750 [ 35.027832][ T777] ? __might_fault+0x97/0x140 [ 35.027841][ T777] ____sys_sendmsg+0x415/0x880 [ 35.027846][ T777] ? copy_msghdr_from_user+0x279/0x420 [ 35.027850][ T777] ? get_timestamp.constprop.0+0x390/0x390 [ 35.027853][ T777] ? move_addr_to_kernel+0x40/0x40 [ 35.027867][ T777] ___sys_sendmsg+0x14e/0x1d0 [ 35.027872][ T777] ? copy_msghdr_from_user+0x420/0x420 [ 35.027875][ T777] ? kfree+0x22/0x590 [ 35.027905][ T777] __sys_sendmsg+0x12c/0x1d0 [ 35.027910][ T777] ? __sys_sendmsg_sock+0x20/0x20 [ 35.027921][ T777] ? rcu_is_watching+0x16/0xd0 [ 35.027924][ T777] ? rcu_is_watching+0x16/0xd0 [ 35.027931][ T777] do_syscall_64+0xff/0x530 [ 35.027935][ T777] ? exc_page_fault+0xee/0x100 [ 35.027940][ T777] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 35.027944][ T777] RIP: 0033:0x7fbff2bb454e [ 35.027947][ T777] 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 [ 35.027950][ T777] RSP: 002b:00007fff3c4a5170 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 35.027954][ T777] RAX: ffffffffffffffda RBX: 0000000013ae1130 RCX: 00007fbff2bb454e [ 35.027956][ T777] RDX: 0000000000000000 RSI: 00007fff3c4a5210 RDI: 0000000000000005 [ 35.027958][ T777] RBP: 00007fff3c4a5180 R08: 0000000000000000 R09: 0000000000000000 [ 35.027959][ T777] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000013ae1200 [ 35.027961][ T777] R13: 00007fff3c4a5210 R14: 0000000013ae2260 R15: 000000000040bda8 [ 35.027974][ T777] [ 35.190009][ T781] tun1: deleting peer with id 10, reason 1 [ 38.375492][ T829] tun0: deleting peer with id 2, reason 1 [ 38.375513][ T829] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 38.375515][ T829] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 829, name: ovpn-cli [ 38.375516][ T829] preempt_count: 202, expected: 0 [ 38.375517][ T829] RCU nest depth: 0, expected: 0 [ 38.375518][ T829] locks held by ovpn-cli/829: 6, last CPU#2: [ 38.375520][ T829] #0: ffffffffaf544ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 38.375534][ T829] #1: ff1100001a09ce68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 38.375542][ T829] #2: ffffffffaed79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 38.375549][ T829] #3: ffffffffaed79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 38.375552][ T829] #4: ffffffffaec99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 38.375556][ T829] #5: ffffffffaec99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 38.375560][ T829] irq event stamp: 34861 [ 38.375561][ T829] hardirqs last enabled at (34860): [] __down_trylock_console_sem+0x86/0xa0 [ 38.375564][ T829] hardirqs last disabled at (34861): [] console_emit_next_record+0x3d4/0x4c0 [ 38.375566][ T829] softirqs last enabled at (34828): [] __alloc_skb+0x4c2/0x5f0 [ 38.375570][ T829] softirqs last disabled at (34856): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 38.375574][ T829] Preemption disabled at: [ 38.375574][ T829] [<0000000000000000>] 0x0 [ 38.375581][ T829] CPU: 2 UID: 0 PID: 829 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 38.375585][ T829] Tainted: [W]=WARN [ 38.375586][ T829] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 38.375587][ T829] Call Trace: [ 38.375589][ T829] [ 38.375591][ T829] dump_stack_lvl+0x6f/0xa0 [ 38.375597][ T829] __might_resched.cold+0x1fe/0x2c1 [ 38.375602][ T829] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 38.375606][ T829] ? __kmalloc_noprof+0xdb/0x760 [ 38.375611][ T829] __kmalloc_noprof+0x443/0x760 [ 38.375614][ T829] ? alloc_buf.isra.0+0x4b/0x260 [ 38.375620][ T829] ? do_raw_spin_unlock+0x59/0x250 [ 38.375623][ T829] alloc_buf.isra.0+0x4b/0x260 [ 38.375626][ T829] put_chars+0x1e1/0x2f0 [ 38.375630][ T829] ? __send_to_port+0x420/0x420 [ 38.375633][ T829] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 38.375637][ T829] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.375640][ T829] ? validate_chain+0x38b/0xc20 [ 38.375644][ T829] hvc_console_print+0x292/0x780 [ 38.375647][ T829] ? mark_usage+0x61/0x170 [ 38.375649][ T829] ? __lock_acquire+0x518/0xc20 [ 38.375651][ T829] ? __lock_acquire+0x518/0xc20 [ 38.375655][ T829] ? hvc_write+0x3a0/0x3a0 [ 38.375657][ T829] ? lock_acquire.part.0+0xd4/0x280 [ 38.375661][ T829] ? lock_acquire+0x13c/0x160 [ 38.375666][ T829] console_emit_next_record+0x22f/0x4c0 [ 38.375670][ T829] ? devkmsg_read+0x4b0/0x4b0 [ 38.375671][ T829] ? console_flush_one_record+0x106/0x710 [ 38.375675][ T829] ? rcu_is_watching+0x16/0xd0 [ 38.375678][ T829] ? lock_acquire+0x13c/0x160 [ 38.375682][ T829] console_flush_one_record+0x46f/0x710 [ 38.375686][ T829] ? console_emit_next_record+0x4c0/0x4c0 [ 38.375688][ T829] ? __lock_acquire+0x518/0xc20 [ 38.375694][ T829] console_unlock+0xee/0x1f0 [ 38.375697][ T829] ? console_flush_one_record+0x710/0x710 [ 38.375699][ T829] ? rcu_is_watching+0x16/0xd0 [ 38.375701][ T829] ? lock_acquire+0x60/0x160 [ 38.375705][ T829] ? __down_trylock_console_sem+0x5e/0xa0 [ 38.375707][ T829] ? vprintk_emit+0x320/0x3e0 [ 38.375710][ T829] vprintk_emit+0x37c/0x3e0 [ 38.375714][ T829] ? wake_up_klogd_work_func+0x90/0x90 [ 38.375716][ T829] ? kernel_text_address+0x149/0x170 [ 38.375719][ T829] ? __kernel_text_address+0x12/0x30 [ 38.375721][ T829] ? write_profile+0xf0/0xf0 [ 38.375724][ T829] ? unwind_get_return_address+0x67/0xd0 [ 38.375729][ T829] _printk+0xc7/0x100 [ 38.375732][ T829] ? snapshot_read.cold+0x21/0x21 [ 38.375737][ T829] ? mark_usage+0x61/0x170 [ 38.375738][ T829] ? netdev_name+0x43/0x60 [ 38.375742][ T829] ? __netdev_printk+0x17f/0x1d0 [ 38.375745][ T829] netdev_info+0xe2/0x116 [ 38.375748][ T829] ? netdev_notice+0x120/0x120 [ 38.375749][ T829] ? find_held_lock+0x2b/0x80 [ 38.375752][ T829] ? mark_usage+0x61/0x170 [ 38.375755][ T829] ? __lock_acquire+0x518/0xc20 [ 38.375761][ T829] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 38.375767][ T829] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 38.375771][ T829] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 38.375777][ T829] ovpn_peer_remove+0x394/0x640 [ovpn] [ 38.375781][ T829] ? do_raw_spin_lock+0x131/0x280 [ 38.375783][ T829] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 38.375790][ T829] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 38.375794][ T829] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 38.375801][ T829] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 38.375805][ T829] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 38.375809][ T829] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 38.375812][ T829] ? ref_tracker_alloc+0x28d/0x430 [ 38.375823][ T829] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 38.375828][ T829] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 38.375834][ T829] genl_family_rcv_msg_doit+0x206/0x300 [ 38.375837][ T829] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 38.375840][ T829] ? __lock_release.isra.0+0x69/0x1a0 [ 38.375846][ T829] ? rcu_is_watching+0x16/0xd0 [ 38.375848][ T829] ? cap_capable+0x1d7/0x3d0 [ 38.375852][ T829] ? write_profile+0xf0/0xf0 [ 38.375853][ T829] ? unwind_get_return_address+0x67/0xd0 [ 38.375857][ T829] genl_family_rcv_msg+0x3a4/0x640 [ 38.375861][ T829] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 38.375864][ T829] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.375866][ T829] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 38.375869][ T829] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 38.375871][ T829] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 38.375875][ T829] ? __lock_acquire+0x518/0xc20 [ 38.375880][ T829] genl_rcv_msg+0xbb/0x160 [ 38.375884][ T829] netlink_rcv_skb+0x14e/0x3a0 [ 38.375886][ T829] ? genl_family_rcv_msg+0x640/0x640 [ 38.375890][ T829] ? netlink_ack+0xcf0/0xcf0 [ 38.375897][ T829] ? netlink_deliver_tap+0xc5/0x330 [ 38.375899][ T829] ? netlink_deliver_tap+0x13c/0x330 [ 38.375904][ T829] genl_rcv+0x28/0x40 [ 38.375906][ T829] netlink_unicast+0x486/0x750 [ 38.375910][ T829] ? netlink_attachskb+0x810/0x810 [ 38.375913][ T829] ? __lock_acquire+0x518/0xc20 [ 38.375918][ T829] netlink_sendmsg+0x735/0xc60 [ 38.375922][ T829] ? netlink_unicast+0x750/0x750 [ 38.375927][ T829] ? __might_fault+0x97/0x140 [ 38.375932][ T829] ____sys_sendmsg+0x415/0x880 [ 38.375936][ T829] ? copy_msghdr_from_user+0x279/0x420 [ 38.375939][ T829] ? get_timestamp.constprop.0+0x390/0x390 [ 38.375941][ T829] ? move_addr_to_kernel+0x40/0x40 [ 38.375948][ T829] ___sys_sendmsg+0x14e/0x1d0 [ 38.375951][ T829] ? copy_msghdr_from_user+0x420/0x420 [ 38.375953][ T829] ? kfree+0x22/0x590 [ 38.375970][ T829] __sys_sendmsg+0x12c/0x1d0 [ 38.375973][ T829] ? __sys_sendmsg_sock+0x20/0x20 [ 38.375979][ T829] ? rcu_is_watching+0x16/0xd0 [ 38.375981][ T829] ? rcu_is_watching+0x16/0xd0 [ 38.375985][ T829] do_syscall_64+0xff/0x530 [ 38.375988][ T829] ? exc_page_fault+0xee/0x100 [ 38.375991][ T829] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 38.375994][ T829] RIP: 0033:0x7f6d5a0c954e [ 38.375996][ T829] 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 [ 38.375998][ T829] RSP: 002b:00007ffd8a6bfef0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 38.376001][ T829] RAX: ffffffffffffffda RBX: 0000000009ce0130 RCX: 00007f6d5a0c954e [ 38.376002][ T829] RDX: 0000000000000000 RSI: 00007ffd8a6bff90 RDI: 0000000000000005 [ 38.376003][ T829] RBP: 00007ffd8a6bff00 R08: 0000000000000000 R09: 0000000000000000 [ 38.376004][ T829] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000009ce0200 [ 38.376005][ T829] R13: 00007ffd8a6bff90 R14: 0000000009ce1260 R15: 000000000040bda8 [ 38.376012][ T829] [ 38.423528][ C0] clocksource: Watchdog remote CPU 2 read timed out [ 38.423563][ C0] [ 38.423565][ C0] ======================================================== [ 38.423566][ C0] WARNING: possible irq lock inversion dependency detected [ 38.423568][ C0] 7.2.0-virtme #1 Tainted: G W [ 38.423570][ C0] -------------------------------------------------------- [ 38.423571][ C0] swapper/0/0 just changed the state of lock: [ 38.423572][ C0] ffffffffaec99660 (console_owner){..-.}-{0:0}, at: console_trylock_spinning+0xa4/0x1e0 [ 38.423584][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 38.423585][ C0] (fs_reclaim){+.+.}-{0:0} [ 38.423587][ C0] [ 38.423587][ C0] [ 38.423587][ C0] and interrupts could create inverse lock ordering between them. [ 38.423587][ C0] [ 38.423588][ C0] [ 38.423588][ C0] other info that might help us debug this: [ 38.423588][ C0] Possible interrupt unsafe locking scenario: [ 38.423588][ C0] [ 38.423589][ C0] CPU0 CPU1 [ 38.423589][ C0] ---- ---- [ 38.423590][ C0] lock(fs_reclaim); [ 38.423591][ C0] local_irq_disable(); [ 38.423591][ C0] lock(console_owner); [ 38.423592][ C0] lock(fs_reclaim); [ 38.423593][ C0] [ 38.423593][ C0] lock(console_owner); [ 38.423594][ C0] [ 38.423594][ C0] *** DEADLOCK *** [ 38.423594][ C0] [ 38.423595][ C0] locks held by swapper/0/0: 2, last CPU#0: [ 38.423596][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 38.423602][ C0] #1: ffffffffaedde8b8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 38.423606][ C0] [ 38.423606][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 38.423611][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 38.423613][ C0] HARDIRQ-ON-W at: [ 38.423614][ C0] __lock_acquire+0x388/0xc20 [ 38.423618][ C0] lock_acquire.part.0+0xd4/0x280 [ 38.423619][ C0] fs_reclaim_acquire+0xd5/0x120 [ 38.423622][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 38.423625][ C0] kthread_create_worker_on_node+0xea/0x210 [ 38.423627][ C0] workqueue_init+0x2a/0x680 [ 38.423631][ C0] kernel_init_freeable+0x2fe/0x630 [ 38.423634][ C0] kernel_init+0x21/0x150 [ 38.423637][ C0] ret_from_fork+0x474/0x6b0 [ 38.423640][ C0] ret_from_fork_asm+0x11/0x20 [ 38.423643][ C0] SOFTIRQ-ON-W at: [ 38.423644][ C0] __lock_acquire+0x388/0xc20 [ 38.423646][ C0] lock_acquire.part.0+0xd4/0x280 [ 38.423647][ C0] fs_reclaim_acquire+0xd5/0x120 [ 38.423648][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 38.423649][ C0] kthread_create_worker_on_node+0xea/0x210 [ 38.423651][ C0] workqueue_init+0x2a/0x680 [ 38.423652][ C0] kernel_init_freeable+0x2fe/0x630 [ 38.423654][ C0] kernel_init+0x21/0x150 [ 38.423655][ C0] ret_from_fork+0x474/0x6b0 [ 38.423656][ C0] ret_from_fork_asm+0x11/0x20 [ 38.423658][ C0] INITIAL USE at: [ 38.423659][ C0] __lock_acquire+0x388/0xc20 [ 38.423660][ C0] lock_acquire.part.0+0xd4/0x280 [ 38.423662][ C0] fs_reclaim_acquire+0xd5/0x120 [ 38.423663][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 38.423664][ C0] kthread_create_worker_on_node+0xea/0x210 [ 38.423666][ C0] workqueue_init+0x2a/0x680 [ 38.423667][ C0] kernel_init_freeable+0x2fe/0x630 [ 38.423669][ C0] kernel_init+0x21/0x150 [ 38.423670][ C0] ret_from_fork+0x474/0x6b0 [ 38.423671][ C0] ret_from_fork_asm+0x11/0x20 [ 38.423673][ C0] } [ 38.423673][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 38.423677][ C0] ... acquired at: [ 38.423678][ C0] __lock_acquire+0x518/0xc20 [ 38.423679][ C0] lock_acquire.part.0+0xd4/0x280 [ 38.423681][ C0] fs_reclaim_acquire+0xd5/0x120 [ 38.423682][ C0] __kmalloc_noprof+0xd3/0x760 [ 38.423683][ C0] alloc_buf.isra.0+0x4b/0x260 [ 38.423687][ C0] put_chars+0x1e1/0x2f0 [ 38.423688][ C0] hvc_console_print+0x292/0x780 [ 38.423690][ C0] console_emit_next_record+0x22f/0x4c0 [ 38.423692][ C0] console_flush_one_record+0x46f/0x710 [ 38.423694][ C0] console_unlock+0xee/0x1f0 [ 38.423695][ C0] vprintk_emit+0x37c/0x3e0 [ 38.423697][ C0] _printk+0xc7/0x100 [ 38.423700][ C0] seg6_init+0x48/0x50 [ 38.423704][ C0] inet6_init+0x2c9/0x3c0 [ 38.423705][ C0] do_one_initcall+0x124/0x4f0 [ 38.423707][ C0] kernel_init_freeable+0x596/0x630 [ 38.423709][ C0] kernel_init+0x21/0x150 [ 38.423710][ C0] ret_from_fork+0x474/0x6b0 [ 38.423711][ C0] ret_from_fork_asm+0x11/0x20 [ 38.423713][ C0] [ 38.423713][ C0] -> (console_owner){..-.}-{0:0} { [ 38.423715][ C0] IN-SOFTIRQ-W at: [ 38.423716][ C0] __lock_acquire+0x388/0xc20 [ 38.423717][ C0] lock_acquire.part.0+0xd4/0x280 [ 38.423719][ C0] console_trylock_spinning+0xb5/0x1e0 [ 38.423720][ C0] vprintk_emit+0x320/0x3e0 [ 38.423722][ C0] _printk+0xc7/0x100 [ 38.423724][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 38.423726][ C0] call_timer_fn+0x160/0x4d0 [ 38.423728][ C0] __run_timers+0x68f/0xaa0 [ 38.423730][ C0] run_timer_softirq+0xf0/0x160 [ 38.423731][ C0] handle_softirqs+0x1d3/0x900 [ 38.423734][ C0] __irq_exit_rcu+0x145/0x1c0 [ 38.423735][ C0] irq_exit_rcu+0xe/0x30 [ 38.423737][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 38.423738][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 38.423740][ C0] pv_native_safe_halt+0xf/0x10 [ 38.423741][ C0] default_idle+0x9/0x10 [ 38.423743][ C0] default_idle_call+0x6e/0xb0 [ 38.423744][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 38.423746][ C0] do_idle+0xd8/0x190 [ 38.423748][ C0] cpu_startup_entry+0x53/0x70 [ 38.423749][ C0] rest_init+0x279/0x280 [ 38.423750][ C0] start_kernel+0x3af/0x3b0 [ 38.423752][ C0] x86_64_start_reservations+0x24/0x30 [ 38.423754][ C0] x86_64_start_kernel+0x12b/0x130 [ 38.423756][ C0] common_startup_64+0x13e/0x148 [ 38.423758][ C0] INITIAL USE at: [ 38.423759][ C0] } [ 38.423760][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 38.423763][ C0] ... acquired at: [ 38.423764][ C0] mark_lock+0x1d7/0xa00 [ 38.423765][ C0] mark_usage+0x42/0x170 [ 38.423767][ C0] __lock_acquire+0x388/0xc20 [ 38.423768][ C0] lock_acquire.part.0+0xd4/0x280 [ 38.423769][ C0] console_trylock_spinning+0xb5/0x1e0 [ 38.423771][ C0] vprintk_emit+0x320/0x3e0 [ 38.423773][ C0] _printk+0xc7/0x100 [ 38.423774][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 38.423775][ C0] call_timer_fn+0x160/0x4d0 [ 38.423777][ C0] __run_timers+0x68f/0xaa0 [ 38.423778][ C0] run_timer_softirq+0xf0/0x160 [ 38.423780][ C0] handle_softirqs+0x1d3/0x900 [ 38.423781][ C0] __irq_exit_rcu+0x145/0x1c0 [ 38.423782][ C0] irq_exit_rcu+0xe/0x30 [ 38.423784][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 38.423785][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 38.423786][ C0] pv_native_safe_halt+0xf/0x10 [ 38.423787][ C0] default_idle+0x9/0x10 [ 38.423788][ C0] default_idle_call+0x6e/0xb0 [ 38.423790][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 38.423791][ C0] do_idle+0xd8/0x190 [ 38.423792][ C0] cpu_startup_entry+0x53/0x70 [ 38.423793][ C0] rest_init+0x279/0x280 [ 38.423794][ C0] start_kernel+0x3af/0x3b0 [ 38.423796][ C0] x86_64_start_reservations+0x24/0x30 [ 38.423798][ C0] x86_64_start_kernel+0x12b/0x130 [ 38.423799][ C0] common_startup_64+0x13e/0x148 [ 38.423800][ C0] [ 38.423801][ C0] [ 38.423801][ C0] stack backtrace: [ 38.423803][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 38.423806][ C0] Tainted: [W]=WARN [ 38.423807][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 38.423809][ C0] Call Trace: [ 38.423810][ C0] [ 38.423811][ C0] dump_stack_lvl+0x6f/0xa0 [ 38.423815][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 38.423817][ C0] mark_lock_irq+0x989/0x9c0 [ 38.423819][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 38.423822][ C0] mark_lock+0x1d7/0xa00 [ 38.423824][ C0] mark_usage+0x42/0x170 [ 38.423826][ C0] __lock_acquire+0x388/0xc20 [ 38.423828][ C0] lock_acquire.part.0+0xd4/0x280 [ 38.423830][ C0] ? console_trylock_spinning+0xa4/0x1e0 [ 38.423832][ C0] ? rcu_is_watching+0x16/0xd0 [ 38.423835][ C0] ? lock_acquire+0x13c/0x160 [ 38.423837][ C0] console_trylock_spinning+0xb5/0x1e0 [ 38.423839][ C0] ? console_trylock_spinning+0xa4/0x1e0 [ 38.423841][ C0] vprintk_emit+0x320/0x3e0 [ 38.423843][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 38.423846][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 38.423847][ C0] _printk+0xc7/0x100 [ 38.423849][ C0] ? snapshot_read.cold+0x21/0x21 [ 38.423851][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 38.423853][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 38.423855][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 38.423857][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 38.423859][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 38.423860][ C0] call_timer_fn+0x160/0x4d0 [ 38.423862][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 38.423864][ C0] ? debug_object_active_state+0x430/0x430 [ 38.423868][ C0] ? find_held_lock+0x2b/0x80 [ 38.423870][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 38.423872][ C0] ? rcu_is_watching+0x16/0xd0 [ 38.423874][ C0] __run_timers+0x68f/0xaa0 [ 38.423876][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 38.423878][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 38.423880][ C0] ? __lock_acquire+0x518/0xc20 [ 38.423883][ C0] ? __rwlock_init+0x150/0x150 [ 38.423885][ C0] run_timer_softirq+0xf0/0x160 [ 38.423887][ C0] ? __run_timers+0xaa0/0xaa0 [ 38.423889][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 38.423892][ C0] ? rcu_is_watching+0x16/0xd0 [ 38.423893][ C0] handle_softirqs+0x1d3/0x900 [ 38.423895][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 38.423897][ C0] ? _local_bh_enable+0xc0/0xc0 [ 38.423899][ C0] __irq_exit_rcu+0x145/0x1c0 [ 38.423901][ C0] irq_exit_rcu+0xe/0x30 [ 38.423902][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 38.423904][ C0] [ 38.423904][ C0] [ 38.423905][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 38.423907][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 38.423908][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 38.423910][ C0] Code: 48 8b 3d 94 12 06 02 e8 1f 00 00 00 48 2b 05 58 13 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 b6 17 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 38.423912][ C0] RSP: 0018:ffffffffaea07cf8 EFLAGS: 00000296 [ 38.423914][ C0] RAX: 000000000016186f RBX: ffffffffaea2c600 RCX: ffffffffab8fa307 [ 38.423916][ C0] RDX: ffffffffaea2c600 RSI: ffffffffae878e7e RDI: ffffffffae28dce0 [ 38.423917][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 38.423918][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff5d40fa2 [ 38.423918][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 38.423920][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 38.423922][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 38.423924][ C0] default_idle+0x9/0x10 [ 38.423925][ C0] default_idle_call+0x6e/0xb0 [ 38.423927][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 38.423928][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 38.423930][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 38.423933][ C0] ? rcu_is_watching+0x16/0xd0 [ 38.423935][ C0] do_idle+0xd8/0x190 [ 38.423936][ C0] cpu_startup_entry+0x53/0x70 [ 38.423938][ C0] rest_init+0x279/0x280 [ 38.423939][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 38.423942][ C0] ? rest_init+0x280/0x280 [ 38.423943][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 38.423946][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 38.423949][ C0] ? acpi_enable+0x1e4/0x330 [ 38.423952][ C0] start_kernel+0x3af/0x3b0 [ 38.423954][ C0] x86_64_start_reservations+0x24/0x30 [ 38.423956][ C0] x86_64_start_kernel+0x12b/0x130 [ 38.423958][ C0] common_startup_64+0x13e/0x148 [ 38.423961][ C0] [ 38.525409][ T833] tun2: deleting peer with id 11, reason 1 [ 43.263444][ T50] tun0: deleting peer with id 4, reason 2 [ 43.263466][ T50] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 43.263469][ T50] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 50, name: kworker/1:1 [ 43.263471][ T50] preempt_count: 202, expected: 0 [ 43.263472][ T50] RCU nest depth: 0, expected: 0 [ 43.263473][ T50] INFO: lockdep is turned off. [ 43.263474][ T50] irq event stamp: 1700898 [ 43.263475][ T50] hardirqs last enabled at (1700897): [] _raw_spin_unlock_irq+0x28/0x50 [ 43.263483][ T50] hardirqs last disabled at (1700898): [] __schedule+0x1246/0x20e0 [ 43.263486][ T50] softirqs last enabled at (1700796): [] handle_softirqs+0x67c/0x900 [ 43.263490][ T50] softirqs last disabled at (1700575): [] __irq_exit_rcu+0x145/0x1c0 [ 43.263492][ T50] Preemption disabled at: [ 43.263493][ T50] [<0000000000000000>] 0x0 [ 43.263501][ T50] CPU: 1 UID: 0 PID: 50 Comm: kworker/1:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 43.263505][ T50] Tainted: [W]=WARN [ 43.263506][ T50] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 43.263508][ T50] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 43.263518][ T50] Call Trace: [ 43.263520][ T50] [ 43.263522][ T50] dump_stack_lvl+0x6f/0xa0 [ 43.263528][ T50] __might_resched.cold+0x1fe/0x2c1 [ 43.263532][ T50] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 43.263536][ T50] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 43.263538][ T50] ? rcu_is_watching+0x16/0xd0 [ 43.263542][ T50] __kmalloc_noprof+0x443/0x760 [ 43.263546][ T50] ? __rwlock_init+0x150/0x150 [ 43.263549][ T50] ? alloc_buf.isra.0+0x4b/0x260 [ 43.263553][ T50] ? do_raw_spin_unlock+0x59/0x250 [ 43.263554][ T50] alloc_buf.isra.0+0x4b/0x260 [ 43.263557][ T50] put_chars+0x1e1/0x2f0 [ 43.263559][ T50] ? prb_final_commit+0x50/0x50 [ 43.263560][ T50] ? __send_to_port+0x420/0x420 [ 43.263562][ T50] ? printk_get_next_message+0x240/0x650 [ 43.263565][ T50] hvc_console_print+0x292/0x780 [ 43.263569][ T50] ? hvc_write+0x3a0/0x3a0 [ 43.263571][ T50] ? do_raw_spin_lock+0x131/0x280 [ 43.263572][ T50] ? vsnprintf+0x527/0x1700 [ 43.263574][ T50] ? __rwlock_init+0x150/0x150 [ 43.263576][ T50] ? rcu_is_watching+0x16/0xd0 [ 43.263578][ T50] ? lock_acquire+0x13c/0x160 [ 43.263580][ T50] console_emit_next_record+0x22f/0x4c0 [ 43.263583][ T50] ? devkmsg_read+0x4b0/0x4b0 [ 43.263585][ T50] ? rcu_is_watching+0x16/0xd0 [ 43.263587][ T50] ? rcu_is_watching+0x16/0xd0 [ 43.263588][ T50] ? rcu_is_watching+0x16/0xd0 [ 43.263590][ T50] ? lock_acquire+0x13c/0x160 [ 43.263592][ T50] ? console_flush_one_record+0x111/0x710 [ 43.263594][ T50] console_flush_one_record+0x46f/0x710 [ 43.263596][ T50] ? console_emit_next_record+0x4c0/0x4c0 [ 43.263599][ T50] console_unlock+0xee/0x1f0 [ 43.263600][ T50] ? lock_acquire+0x13c/0x160 [ 43.263602][ T50] ? console_flush_one_record+0x710/0x710 [ 43.263604][ T50] ? rcu_is_watching+0x16/0xd0 [ 43.263605][ T50] ? lock_release+0x184/0x1f0 [ 43.263607][ T50] ? lock_acquire+0x60/0x160 [ 43.263608][ T50] ? __rcu_read_lock+0x30/0x70 [ 43.263611][ T50] ? __down_trylock_console_sem+0x5e/0xa0 [ 43.263612][ T50] ? vprintk_emit+0x320/0x3e0 [ 43.263614][ T50] vprintk_emit+0x37c/0x3e0 [ 43.263617][ T50] ? wake_up_klogd_work_func+0x90/0x90 [ 43.263619][ T50] ? rcu_is_watching+0x16/0xd0 [ 43.263621][ T50] ? trace_ipi_send_cpu.constprop.0+0xb3/0x1c0 [ 43.263624][ T50] ? rcu_is_watching+0x16/0xd0 [ 43.263626][ T50] _printk+0xc7/0x100 [ 43.263629][ T50] ? snapshot_read.cold+0x21/0x21 [ 43.263631][ T50] ? __add_to_free_list+0x81/0x5c0 [ 43.263633][ T50] ? __mod_zone_page_state+0xe1/0x190 [ 43.263636][ T50] ? netdev_name+0x43/0x60 [ 43.263639][ T50] ? __netdev_printk+0x17f/0x1d0 [ 43.263640][ T50] netdev_info+0xe2/0x116 [ 43.263642][ T50] ? netdev_notice+0x120/0x120 [ 43.263644][ T50] ? free_pcppages_bulk+0x363/0x6e0 [ 43.263646][ T50] ? rcu_is_watching+0x16/0xd0 [ 43.263648][ T50] ? trace_irq_enable.constprop.0+0x30/0x160 [ 43.263651][ T50] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 43.263655][ T50] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 43.263658][ T50] ? __rwlock_init+0x150/0x150 [ 43.263660][ T50] ? lock_acquire+0x13c/0x160 [ 43.263661][ T50] ? rcu_is_watching+0x16/0xd0 [ 43.263663][ T50] ovpn_peer_remove+0x394/0x640 [ovpn] [ 43.263667][ T50] ? do_raw_spin_lock+0x131/0x280 [ 43.263668][ T50] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 43.263671][ T50] ? __rwlock_init+0x150/0x150 [ 43.263673][ T50] ? rcu_is_watching+0x16/0xd0 [ 43.263674][ T50] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 43.263676][ T50] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 43.263677][ T50] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 43.263680][ T50] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 43.263683][ T50] ? __rwlock_init+0x150/0x150 [ 43.263685][ T50] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 43.263689][ T50] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 43.263691][ T50] ? rcu_is_watching+0x16/0xd0 [ 43.263693][ T50] ? lock_acquire+0x13c/0x160 [ 43.263694][ T50] ? rcu_is_watching+0x16/0xd0 [ 43.263697][ T50] process_one_work+0xe3e/0x1560 [ 43.263701][ T50] ? __queue_delayed_work+0x470/0x470 [ 43.263703][ T50] ? kthread_data+0x29/0xc0 [ 43.263706][ T50] ? __rwlock_init+0x150/0x150 [ 43.263708][ T50] worker_thread+0x4f1/0xd60 [ 43.263711][ T50] ? rescuer_thread+0x1340/0x1340 [ 43.263712][ T50] ? __kthread_parkme+0xbd/0x210 [ 43.263714][ T50] ? rescuer_thread+0x1340/0x1340 [ 43.263716][ T50] ? rescuer_thread+0x1340/0x1340 [ 43.263718][ T50] kthread+0x367/0x460 [ 43.263719][ T50] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 43.263721][ T50] ? kthread_affine_preferred+0x4c0/0x4c0 [ 43.263723][ T50] ret_from_fork+0x474/0x6b0 [ 43.263726][ T50] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 43.263728][ T50] ? __switch_to+0x5a3/0xe00 [ 43.263730][ T50] ? kthread_affine_preferred+0x4c0/0x4c0 [ 43.263732][ T50] ret_from_fork_asm+0x11/0x20 [ 43.263736][ T50] [ 43.283614][ T50] tun0: deleting peer with id 3, reason 2 [ 44.287461][ T50] tun0: deleting peer with id 5, reason 2 [ 44.287483][ T50] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 44.287486][ T50] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 50, name: kworker/1:1 [ 44.287488][ T50] preempt_count: 202, expected: 0 [ 44.287489][ T50] RCU nest depth: 0, expected: 0 [ 44.287490][ T50] INFO: lockdep is turned off. [ 44.287491][ T50] irq event stamp: 1700898 [ 44.287492][ T50] hardirqs last enabled at (1700897): [] _raw_spin_unlock_irq+0x28/0x50 [ 44.287500][ T50] hardirqs last disabled at (1700898): [] __schedule+0x1246/0x20e0 [ 44.287504][ T50] softirqs last enabled at (1700796): [] handle_softirqs+0x67c/0x900 [ 44.287508][ T50] softirqs last disabled at (1700575): [] __irq_exit_rcu+0x145/0x1c0 [ 44.287510][ T50] Preemption disabled at: [ 44.287511][ T50] [<0000000000000000>] 0x0 [ 44.287519][ T50] CPU: 1 UID: 0 PID: 50 Comm: kworker/1:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 44.287522][ T50] Tainted: [W]=WARN [ 44.287523][ T50] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 44.287525][ T50] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 44.287535][ T50] Call Trace: [ 44.287537][ T50] [ 44.287540][ T50] dump_stack_lvl+0x6f/0xa0 [ 44.287545][ T50] __might_resched.cold+0x1fe/0x2c1 [ 44.287549][ T50] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 44.287553][ T50] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 44.287555][ T50] ? rcu_is_watching+0x16/0xd0 [ 44.287559][ T50] __kmalloc_noprof+0x443/0x760 [ 44.287563][ T50] ? __rwlock_init+0x150/0x150 [ 44.287566][ T50] ? alloc_buf.isra.0+0x4b/0x260 [ 44.287570][ T50] ? do_raw_spin_unlock+0x59/0x250 [ 44.287572][ T50] alloc_buf.isra.0+0x4b/0x260 [ 44.287574][ T50] put_chars+0x1e1/0x2f0 [ 44.287576][ T50] ? prb_final_commit+0x50/0x50 [ 44.287578][ T50] ? __send_to_port+0x420/0x420 [ 44.287580][ T50] ? printk_get_next_message+0x240/0x650 [ 44.287583][ T50] hvc_console_print+0x292/0x780 [ 44.287587][ T50] ? hvc_write+0x3a0/0x3a0 [ 44.287588][ T50] ? do_raw_spin_lock+0x131/0x280 [ 44.287590][ T50] ? vsnprintf+0x527/0x1700 [ 44.287592][ T50] ? __rwlock_init+0x150/0x150 [ 44.287594][ T50] ? rcu_is_watching+0x16/0xd0 [ 44.287595][ T50] ? lock_acquire+0x13c/0x160 [ 44.287598][ T50] console_emit_next_record+0x22f/0x4c0 [ 44.287600][ T50] ? devkmsg_read+0x4b0/0x4b0 [ 44.287603][ T50] ? rcu_is_watching+0x16/0xd0 [ 44.287604][ T50] ? rcu_is_watching+0x16/0xd0 [ 44.287606][ T50] ? rcu_is_watching+0x16/0xd0 [ 44.287608][ T50] ? lock_acquire+0x13c/0x160 [ 44.287610][ T50] ? console_flush_one_record+0x111/0x710 [ 44.287612][ T50] console_flush_one_record+0x46f/0x710 [ 44.287614][ T50] ? console_emit_next_record+0x4c0/0x4c0 [ 44.287617][ T50] console_unlock+0xee/0x1f0 [ 44.287619][ T50] ? lock_acquire+0x13c/0x160 [ 44.287620][ T50] ? console_flush_one_record+0x710/0x710 [ 44.287622][ T50] ? rcu_is_watching+0x16/0xd0 [ 44.287624][ T50] ? lock_release+0x184/0x1f0 [ 44.287626][ T50] ? lock_acquire+0x60/0x160 [ 44.287627][ T50] ? __rcu_read_lock+0x30/0x70 [ 44.287629][ T50] ? __down_trylock_console_sem+0x5e/0xa0 [ 44.287631][ T50] ? vprintk_emit+0x320/0x3e0 [ 44.287633][ T50] vprintk_emit+0x37c/0x3e0 [ 44.287635][ T50] ? wake_up_klogd_work_func+0x90/0x90 [ 44.287637][ T50] ? arch_stack_walk+0xd7/0x130 [ 44.287641][ T50] ? rcu_is_watching+0x16/0xd0 [ 44.287643][ T50] _printk+0xc7/0x100 [ 44.287646][ T50] ? snapshot_read.cold+0x21/0x21 [ 44.287648][ T50] ? __add_to_free_list+0x81/0x5c0 [ 44.287650][ T50] ? __mod_zone_page_state+0xe1/0x190 [ 44.287653][ T50] ? netdev_name+0x43/0x60 [ 44.287656][ T50] ? __netdev_printk+0x17f/0x1d0 [ 44.287658][ T50] netdev_info+0xe2/0x116 [ 44.287659][ T50] ? netdev_notice+0x120/0x120 [ 44.287661][ T50] ? free_pcppages_bulk+0x363/0x6e0 [ 44.287663][ T50] ? rcu_is_watching+0x16/0xd0 [ 44.287665][ T50] ? trace_irq_enable.constprop.0+0x30/0x160 [ 44.287668][ T50] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 44.287672][ T50] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 44.287675][ T50] ? __rwlock_init+0x150/0x150 [ 44.287677][ T50] ? lock_acquire+0x13c/0x160 [ 44.287678][ T50] ? rcu_is_watching+0x16/0xd0 [ 44.287681][ T50] ovpn_peer_remove+0x394/0x640 [ovpn] [ 44.287684][ T50] ? do_raw_spin_lock+0x131/0x280 [ 44.287686][ T50] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 44.287689][ T50] ? __rwlock_init+0x150/0x150 [ 44.287690][ T50] ? rcu_is_watching+0x16/0xd0 [ 44.287692][ T50] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 44.287693][ T50] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 44.287695][ T50] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 44.287698][ T50] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 44.287701][ T50] ? __rwlock_init+0x150/0x150 [ 44.287704][ T50] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 44.287707][ T50] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 44.287710][ T50] ? rcu_is_watching+0x16/0xd0 [ 44.287712][ T50] ? lock_acquire+0x13c/0x160 [ 44.287713][ T50] ? rcu_is_watching+0x16/0xd0 [ 44.287715][ T50] process_one_work+0xe3e/0x1560 [ 44.287719][ T50] ? __queue_delayed_work+0x470/0x470 [ 44.287721][ T50] ? kthread_data+0x29/0xc0 [ 44.287724][ T50] ? __rwlock_init+0x150/0x150 [ 44.287727][ T50] worker_thread+0x4f1/0xd60 [ 44.287729][ T50] ? rescuer_thread+0x1340/0x1340 [ 44.287731][ T50] ? __kthread_parkme+0xbd/0x210 [ 44.287733][ T50] ? rescuer_thread+0x1340/0x1340 [ 44.287734][ T50] ? rescuer_thread+0x1340/0x1340 [ 44.287736][ T50] kthread+0x367/0x460 [ 44.287738][ T50] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 44.287739][ T50] ? kthread_affine_preferred+0x4c0/0x4c0 [ 44.287741][ T50] ret_from_fork+0x474/0x6b0 [ 44.287743][ T50] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 44.287745][ T50] ? __switch_to+0x5a3/0xe00 [ 44.287748][ T50] ? kthread_affine_preferred+0x4c0/0x4c0 [ 44.287750][ T50] ret_from_fork_asm+0x11/0x20 [ 44.287754][ T50] [ 44.311151][ T50] tun0: deleting peer with id 6, reason 2 [ 49.407467][ T10] tun3: deleting peer with id 12, reason 2 [ 49.407488][ T10] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 49.407491][ T10] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 [ 49.407493][ T10] preempt_count: 202, expected: 0 [ 49.407494][ T10] RCU nest depth: 0, expected: 0 [ 49.407495][ T10] INFO: lockdep is turned off. [ 49.407496][ T10] irq event stamp: 39028 [ 49.407497][ T10] hardirqs last enabled at (39027): [] _raw_spin_unlock_irq+0x28/0x50 [ 49.407505][ T10] hardirqs last disabled at (39028): [] __schedule+0x1246/0x20e0 [ 49.407508][ T10] softirqs last enabled at (38956): [] neigh_periodic_work+0x6b9/0xa60 [ 49.407512][ T10] softirqs last disabled at (38952): [] neigh_periodic_work+0xaa/0xa60 [ 49.407514][ T10] Preemption disabled at: [ 49.407515][ T10] [<0000000000000000>] 0x0 [ 49.407522][ T10] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 49.407525][ T10] Tainted: [W]=WARN [ 49.407527][ T10] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 49.407528][ T10] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 49.407537][ T10] Call Trace: [ 49.407538][ T10] [ 49.407540][ T10] dump_stack_lvl+0x6f/0xa0 [ 49.407545][ T10] __might_resched.cold+0x1fe/0x2c1 [ 49.407549][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 49.407553][ T10] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 49.407556][ T10] ? rcu_is_watching+0x16/0xd0 [ 49.407560][ T10] __kmalloc_noprof+0x443/0x760 [ 49.407563][ T10] ? __rwlock_init+0x150/0x150 [ 49.407566][ T10] ? alloc_buf.isra.0+0x4b/0x260 [ 49.407570][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 49.407572][ T10] alloc_buf.isra.0+0x4b/0x260 [ 49.407574][ T10] put_chars+0x1e1/0x2f0 [ 49.407576][ T10] ? prb_final_commit+0x50/0x50 [ 49.407578][ T10] ? __send_to_port+0x420/0x420 [ 49.407580][ T10] ? printk_get_next_message+0x240/0x650 [ 49.407583][ T10] hvc_console_print+0x292/0x780 [ 49.407586][ T10] ? hvc_write+0x3a0/0x3a0 [ 49.407588][ T10] ? do_raw_spin_lock+0x131/0x280 [ 49.407590][ T10] ? vsnprintf+0x527/0x1700 [ 49.407592][ T10] ? __rwlock_init+0x150/0x150 [ 49.407593][ T10] ? rcu_is_watching+0x16/0xd0 [ 49.407595][ T10] ? lock_acquire+0x13c/0x160 [ 49.407597][ T10] console_emit_next_record+0x22f/0x4c0 [ 49.407600][ T10] ? devkmsg_read+0x4b0/0x4b0 [ 49.407602][ T10] ? rcu_is_watching+0x16/0xd0 [ 49.407604][ T10] ? rcu_is_watching+0x16/0xd0 [ 49.407606][ T10] ? rcu_is_watching+0x16/0xd0 [ 49.407607][ T10] ? lock_acquire+0x13c/0x160 [ 49.407609][ T10] ? console_flush_one_record+0x111/0x710 [ 49.407611][ T10] console_flush_one_record+0x46f/0x710 [ 49.407613][ T10] ? console_emit_next_record+0x4c0/0x4c0 [ 49.407616][ T10] console_unlock+0xee/0x1f0 [ 49.407618][ T10] ? lock_acquire+0x13c/0x160 [ 49.407619][ T10] ? console_flush_one_record+0x710/0x710 [ 49.407621][ T10] ? rcu_is_watching+0x16/0xd0 [ 49.407622][ T10] ? lock_release+0x184/0x1f0 [ 49.407624][ T10] ? lock_acquire+0x60/0x160 [ 49.407625][ T10] ? __rcu_read_lock+0x30/0x70 [ 49.407627][ T10] ? __down_trylock_console_sem+0x5e/0xa0 [ 49.407629][ T10] ? vprintk_emit+0x320/0x3e0 [ 49.407631][ T10] vprintk_emit+0x37c/0x3e0 [ 49.407634][ T10] ? wake_up_klogd_work_func+0x90/0x90 [ 49.407636][ T10] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 49.407637][ T10] ? rcu_is_watching+0x16/0xd0 [ 49.407639][ T10] ? trace_sched_wakeup+0x9b/0x160 [ 49.407641][ T10] _printk+0xc7/0x100 [ 49.407644][ T10] ? snapshot_read.cold+0x21/0x21 [ 49.407646][ T10] ? try_to_wake_up+0x153/0x1130 [ 49.407648][ T10] ? select_fallback_rq+0x510/0x510 [ 49.407650][ T10] ? netdev_name+0x43/0x60 [ 49.407652][ T10] ? __netdev_printk+0x17f/0x1d0 [ 49.407654][ T10] netdev_info+0xe2/0x116 [ 49.407656][ T10] ? netdev_notice+0x120/0x120 [ 49.407658][ T10] ? rcu_is_watching+0x16/0xd0 [ 49.407660][ T10] ? __queue_work+0x3ab/0xd30 [ 49.407663][ T10] ? kthread+0x367/0x460 [ 49.407666][ T10] ? trace_irq_enable.constprop.0+0x30/0x160 [ 49.407669][ T10] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 49.407673][ T10] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 49.407675][ T10] ? rcu_is_watching+0x16/0xd0 [ 49.407677][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 49.407679][ T10] ovpn_peer_remove+0x394/0x640 [ovpn] [ 49.407682][ T10] ? do_raw_spin_lock+0x131/0x280 [ 49.407684][ T10] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 49.407687][ T10] ? __rwlock_init+0x150/0x150 [ 49.407689][ T10] ? rcu_is_watching+0x16/0xd0 [ 49.407690][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 49.407692][ T10] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 49.407693][ T10] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 49.407696][ T10] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 49.407699][ T10] ? __rwlock_init+0x150/0x150 [ 49.407701][ T10] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 49.407704][ T10] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 49.407707][ T10] ? rcu_is_watching+0x16/0xd0 [ 49.407709][ T10] ? lock_acquire+0x13c/0x160 [ 49.407710][ T10] ? rcu_is_watching+0x16/0xd0 [ 49.407712][ T10] ? process_one_work+0xdfc/0x1560 [ 49.407714][ T10] process_one_work+0xe3e/0x1560 [ 49.407717][ T10] ? __queue_delayed_work+0x470/0x470 [ 49.407719][ T10] ? find_held_lock+0x2b/0x80 [ 49.407721][ T10] ? __rwlock_init+0x150/0x150 [ 49.407723][ T10] worker_thread+0x4f1/0xd60 [ 49.407725][ T10] ? rescuer_thread+0x1340/0x1340 [ 49.407727][ T10] ? __kthread_parkme+0xbd/0x210 [ 49.407729][ T10] ? rescuer_thread+0x1340/0x1340 [ 49.407730][ T10] ? rescuer_thread+0x1340/0x1340 [ 49.407732][ T10] kthread+0x367/0x460 [ 49.407734][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 49.407735][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 49.407737][ T10] ret_from_fork+0x474/0x6b0 [ 49.407740][ T10] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 49.407741][ T10] ? __switch_to+0x5a3/0xe00 [ 49.407744][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 49.407746][ T10] ret_from_fork_asm+0x11/0x20 [ 49.407750][ T10] [ 49.471430][ T53] tun4: deleting peer with id 13, reason 2 [ 49.536413][ T53] tun5: deleting peer with id 14, reason 2 [ 49.599420][ T68] tun6: deleting peer with id 15, reason 2