[ 23.265937][ C2] tun0: no available key for peer 4, key-id: 0 [ 23.265978][ C2] [ 23.265979][ C2] ======================================================== [ 23.265980][ C2] WARNING: possible irq lock inversion dependency detected [ 23.265983][ C2] 7.2.0-virtme #1 Tainted: G W [ 23.265984][ C2] -------------------------------------------------------- [ 23.265985][ C2] ovpn-cli/421 just changed the state of lock: [ 23.265986][ C2] ffffffffba499660 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 23.265998][ C2] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 23.266000][ C2] (fs_reclaim){+.+.}-{0:0} [ 23.266001][ C2] [ 23.266001][ C2] [ 23.266001][ C2] and interrupts could create inverse lock ordering between them. [ 23.266001][ C2] [ 23.266001][ C2] [ 23.266001][ C2] other info that might help us debug this: [ 23.266002][ C2] Possible interrupt unsafe locking scenario: [ 23.266002][ C2] [ 23.266003][ C2] CPU0 CPU1 [ 23.266003][ C2] ---- ---- [ 23.266004][ C2] lock(fs_reclaim); [ 23.266004][ C2] local_irq_disable(); [ 23.266005][ C2] lock(console_owner); [ 23.266006][ C2] lock(fs_reclaim); [ 23.266007][ C2] [ 23.266007][ C2] lock(console_owner); [ 23.266008][ C2] [ 23.266008][ C2] *** DEADLOCK *** [ 23.266008][ C2] [ 23.266008][ C2] locks held by ovpn-cli/421: 6, last CPU#2: [ 23.266009][ C2] #0: ffffffffba590b00 (rcu_read_lock){....}-{1:3}, at: process_backlog+0x3f1/0x14c0 [ 23.266016][ C2] #1: ffffffffba590b00 (rcu_read_lock){....}-{1:3}, at: ip_local_deliver_finish+0x2ba/0x610 [ 23.266020][ C2] #2: ff1100000ce3ee18 (slock-AF_INET/1){+.-.}-{3:3}, at: tcp_v4_rcv+0x1a81/0x2b70 [ 23.266025][ C2] #3: ffffffffba590b00 (rcu_read_lock){....}-{1:3}, at: ovpn_tcp_data_ready+0x62/0x390 [ovpn] [ 23.266031][ C2] #4: ffffffffba579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 23.266035][ C2] #5: ffffffffba579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 23.266038][ C2] [ 23.266038][ C2] the shortest dependencies between 2nd lock and 1st lock: [ 23.266043][ C2] -> (fs_reclaim){+.+.}-{0:0} { [ 23.266045][ C2] HARDIRQ-ON-W at: [ 23.266046][ C2] __lock_acquire+0x388/0xc20 [ 23.266049][ C2] lock_acquire.part.0+0xd4/0x280 [ 23.266051][ C2] fs_reclaim_acquire+0xd5/0x120 [ 23.266054][ C2] __kmalloc_cache_noprof+0x6e/0x620 [ 23.266056][ C2] kthread_create_worker_on_node+0xea/0x210 [ 23.266059][ C2] workqueue_init+0x2a/0x680 [ 23.266062][ C2] kernel_init_freeable+0x2fe/0x630 [ 23.266065][ C2] kernel_init+0x21/0x150 [ 23.266068][ C2] ret_from_fork+0x474/0x6b0 [ 23.266071][ C2] ret_from_fork_asm+0x11/0x20 [ 23.266074][ C2] SOFTIRQ-ON-W at: [ 23.266074][ C2] __lock_acquire+0x388/0xc20 [ 23.266076][ C2] lock_acquire.part.0+0xd4/0x280 [ 23.266077][ C2] fs_reclaim_acquire+0xd5/0x120 [ 23.266078][ C2] __kmalloc_cache_noprof+0x6e/0x620 [ 23.266079][ C2] kthread_create_worker_on_node+0xea/0x210 [ 23.266081][ C2] workqueue_init+0x2a/0x680 [ 23.266082][ C2] kernel_init_freeable+0x2fe/0x630 [ 23.266083][ C2] kernel_init+0x21/0x150 [ 23.266085][ C2] ret_from_fork+0x474/0x6b0 [ 23.266086][ C2] ret_from_fork_asm+0x11/0x20 [ 23.266087][ C2] INITIAL USE at: [ 23.266088][ C2] __lock_acquire+0x388/0xc20 [ 23.266089][ C2] lock_acquire.part.0+0xd4/0x280 [ 23.266090][ C2] fs_reclaim_acquire+0xd5/0x120 [ 23.266091][ C2] __kmalloc_cache_noprof+0x6e/0x620 [ 23.266092][ C2] kthread_create_worker_on_node+0xea/0x210 [ 23.266094][ C2] workqueue_init+0x2a/0x680 [ 23.266095][ C2] kernel_init_freeable+0x2fe/0x630 [ 23.266096][ C2] kernel_init+0x21/0x150 [ 23.266098][ C2] ret_from_fork+0x474/0x6b0 [ 23.266099][ C2] ret_from_fork_asm+0x11/0x20 [ 23.266100][ C2] } [ 23.266100][ C2] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 23.266104][ C2] ... acquired at: [ 23.266105][ C2] __lock_acquire+0x518/0xc20 [ 23.266106][ C2] lock_acquire.part.0+0xd4/0x280 [ 23.266107][ C2] fs_reclaim_acquire+0xd5/0x120 [ 23.266108][ C2] __kmalloc_noprof+0xd3/0x760 [ 23.266110][ C2] alloc_buf.isra.0+0x4b/0x260 [ 23.266113][ C2] put_chars+0x1e1/0x2f0 [ 23.266114][ C2] hvc_console_print+0x292/0x780 [ 23.266117][ C2] console_emit_next_record+0x22f/0x4c0 [ 23.266118][ C2] console_flush_one_record+0x46f/0x710 [ 23.266120][ C2] console_unlock+0xee/0x1f0 [ 23.266121][ C2] vprintk_emit+0x37c/0x3e0 [ 23.266123][ C2] dev_vprintk_emit+0x27f/0x2c0 [ 23.266126][ C2] dev_printk_emit+0xb9/0xee [ 23.266128][ C2] _dev_info+0xe2/0x116 [ 23.266129][ C2] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 23.266132][ C2] cmos_do_probe+0x73b/0x98a [ 23.266133][ C2] platform_probe+0xfe/0x1f0 [ 23.266136][ C2] call_driver_probe+0x61/0x1c0 [ 23.266138][ C2] really_probe+0x199/0x760 [ 23.266140][ C2] __driver_probe_device+0x24f/0x440 [ 23.266141][ C2] driver_probe_device+0x4a/0xf0 [ 23.266143][ C2] __driver_attach+0x1b8/0x540 [ 23.266144][ C2] bus_for_each_dev+0x130/0x1e0 [ 23.266145][ C2] bus_add_driver+0x2c8/0x530 [ 23.266147][ C2] driver_register+0x1a3/0x390 [ 23.266149][ C2] __platform_driver_probe+0x13f/0x270 [ 23.266150][ C2] cmos_init+0x31/0x40 [ 23.266152][ C2] do_one_initcall+0x124/0x4f0 [ 23.266154][ C2] kernel_init_freeable+0x596/0x630 [ 23.266156][ C2] kernel_init+0x21/0x150 [ 23.266157][ C2] ret_from_fork+0x474/0x6b0 [ 23.266158][ C2] ret_from_fork_asm+0x11/0x20 [ 23.266159][ C2] [ 23.266160][ C2] -> (console_owner){..-.}-{0:0} { [ 23.266161][ C2] IN-SOFTIRQ-W at: [ 23.266162][ C2] __lock_acquire+0x388/0xc20 [ 23.266163][ C2] lock_acquire.part.0+0xd4/0x280 [ 23.266165][ C2] console_lock_spinning_enable+0x5c/0x60 [ 23.266166][ C2] console_emit_next_record+0x1d1/0x4c0 [ 23.266168][ C2] console_flush_one_record+0x46f/0x710 [ 23.266170][ C2] console_unlock+0xee/0x1f0 [ 23.266171][ C2] vprintk_emit+0x37c/0x3e0 [ 23.266172][ C2] _printk+0xc7/0x100 [ 23.266175][ C2] ovpn_recv.cold+0x7e/0x94 [ovpn] [ 23.266178][ C2] ovpn_tcp_rcv+0x274/0x9a0 [ovpn] [ 23.266180][ C2] __strp_recv+0x20f/0x1c20 [ 23.266184][ C2] __tcp_read_sock+0x1c7/0x850 [ 23.266186][ C2] strp_read_sock+0x20f/0x2b0 [ 23.266188][ C2] strp_data_ready+0x18e/0x2c0 [ 23.266190][ C2] ovpn_tcp_data_ready+0xf1/0x390 [ovpn] [ 23.266192][ C2] tcp_rcv_established+0x1e1d/0x3910 [ 23.266194][ C2] tcp_v4_do_rcv+0x4f6/0xb90 [ 23.266195][ C2] tcp_v4_rcv+0x1caa/0x2b70 [ 23.266197][ C2] ip_protocol_deliver_rcu+0x82/0x350 [ 23.266198][ C2] ip_local_deliver_finish+0x36f/0x610 [ 23.266199][ C2] ip_local_deliver+0x184/0x4c0 [ 23.266201][ C2] ip_rcv+0xdc/0x3d0 [ 23.266202][ C2] __netif_receive_skb_one_core+0xfc/0x180 [ 23.266204][ C2] process_backlog+0x431/0x14c0 [ 23.266205][ C2] __napi_poll+0xa7/0x3b0 [ 23.266207][ C2] net_rx_action+0x513/0xf50 [ 23.266209][ C2] handle_softirqs+0x1d3/0x900 [ 23.266212][ C2] do_softirq+0xac/0xe0 [ 23.266213][ C2] __local_bh_enable_ip+0x118/0x150 [ 23.266214][ C2] ovpn_tcp_sendmsg+0x2c2/0x7d0 [ovpn] [ 23.266216][ C2] __sys_sendto+0x2aa/0x400 [ 23.266219][ C2] __x64_sys_sendto+0xe4/0x1f0 [ 23.266221][ C2] do_syscall_64+0xff/0x530 [ 23.266223][ C2] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 23.266225][ C2] INITIAL USE at: [ 23.266226][ C2] } [ 23.266226][ C2] ... key at: [] console_owner_dep_map+0x0/0x60 [ 23.266230][ C2] ... acquired at: [ 23.266230][ C2] mark_lock+0x1d7/0xa00 [ 23.266232][ C2] mark_usage+0x42/0x170 [ 23.266233][ C2] __lock_acquire+0x388/0xc20 [ 23.266234][ C2] lock_acquire.part.0+0xd4/0x280 [ 23.266236][ C2] console_lock_spinning_enable+0x5c/0x60 [ 23.266237][ C2] console_emit_next_record+0x1d1/0x4c0 [ 23.266239][ C2] console_flush_one_record+0x46f/0x710 [ 23.266240][ C2] console_unlock+0xee/0x1f0 [ 23.266241][ C2] vprintk_emit+0x37c/0x3e0 [ 23.266243][ C2] _printk+0xc7/0x100 [ 23.266244][ C2] ovpn_recv.cold+0x7e/0x94 [ovpn] [ 23.266246][ C2] ovpn_tcp_rcv+0x274/0x9a0 [ovpn] [ 23.266248][ C2] __strp_recv+0x20f/0x1c20 [ 23.266250][ C2] __tcp_read_sock+0x1c7/0x850 [ 23.266251][ C2] strp_read_sock+0x20f/0x2b0 [ 23.266253][ C2] strp_data_ready+0x18e/0x2c0 [ 23.266254][ C2] ovpn_tcp_data_ready+0xf1/0x390 [ovpn] [ 23.266256][ C2] tcp_rcv_established+0x1e1d/0x3910 [ 23.266258][ C2] tcp_v4_do_rcv+0x4f6/0xb90 [ 23.266259][ C2] tcp_v4_rcv+0x1caa/0x2b70 [ 23.266261][ C2] ip_protocol_deliver_rcu+0x82/0x350 [ 23.266262][ C2] ip_local_deliver_finish+0x36f/0x610 [ 23.266263][ C2] ip_local_deliver+0x184/0x4c0 [ 23.266264][ C2] ip_rcv+0xdc/0x3d0 [ 23.266266][ C2] __netif_receive_skb_one_core+0xfc/0x180 [ 23.266267][ C2] process_backlog+0x431/0x14c0 [ 23.266269][ C2] __napi_poll+0xa7/0x3b0 [ 23.266270][ C2] net_rx_action+0x513/0xf50 [ 23.266272][ C2] handle_softirqs+0x1d3/0x900 [ 23.266273][ C2] do_softirq+0xac/0xe0 [ 23.266274][ C2] __local_bh_enable_ip+0x118/0x150 [ 23.266277][ C2] ovpn_tcp_sendmsg+0x2c2/0x7d0 [ovpn] [ 23.266279][ C2] __sys_sendto+0x2aa/0x400 [ 23.266281][ C2] __x64_sys_sendto+0xe4/0x1f0 [ 23.266282][ C2] do_syscall_64+0xff/0x530 [ 23.266284][ C2] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 23.266285][ C2] [ 23.266285][ C2] [ 23.266285][ C2] stack backtrace: [ 23.266288][ C2] CPU: 2 UID: 0 PID: 421 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 23.266291][ C2] Tainted: [W]=WARN [ 23.266292][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 23.266293][ C2] Call Trace: [ 23.266294][ C2] [ 23.266296][ C2] dump_stack_lvl+0x6f/0xa0 [ 23.266299][ C2] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 23.266302][ C2] mark_lock_irq+0x989/0x9c0 [ 23.266305][ C2] mark_lock+0x1d7/0xa00 [ 23.266306][ C2] mark_usage+0x42/0x170 [ 23.266308][ C2] __lock_acquire+0x388/0xc20 [ 23.266310][ C2] lock_acquire.part.0+0xd4/0x280 [ 23.266312][ C2] ? console_lock_spinning_enable+0x40/0x60 [ 23.266314][ C2] ? rcu_is_watching+0x16/0xd0 [ 23.266317][ C2] ? lock_acquire+0x13c/0x160 [ 23.266319][ C2] console_lock_spinning_enable+0x5c/0x60 [ 23.266321][ C2] ? console_lock_spinning_enable+0x40/0x60 [ 23.266322][ C2] console_emit_next_record+0x1d1/0x4c0 [ 23.266324][ C2] ? devkmsg_read+0x4b0/0x4b0 [ 23.266326][ C2] ? console_flush_one_record+0x106/0x710 [ 23.266328][ C2] ? rcu_is_watching+0x16/0xd0 [ 23.266330][ C2] ? lock_acquire+0x13c/0x160 [ 23.266332][ C2] console_flush_one_record+0x46f/0x710 [ 23.266334][ C2] ? console_emit_next_record+0x4c0/0x4c0 [ 23.266335][ C2] ? __lock_acquire+0x518/0xc20 [ 23.266338][ C2] console_unlock+0xee/0x1f0 [ 23.266339][ C2] ? console_flush_one_record+0x710/0x710 [ 23.266341][ C2] ? rcu_is_watching+0x16/0xd0 [ 23.266343][ C2] ? lock_acquire+0x60/0x160 [ 23.266344][ C2] ? __down_trylock_console_sem+0x5e/0xa0 [ 23.266346][ C2] ? vprintk_emit+0x320/0x3e0 [ 23.266348][ C2] vprintk_emit+0x37c/0x3e0 [ 23.266350][ C2] ? wake_up_klogd_work_func+0x90/0x90 [ 23.266352][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 23.266354][ C2] _printk+0xc7/0x100 [ 23.266356][ C2] ? snapshot_read.cold+0x21/0x21 [ 23.266357][ C2] ? ___ratelimit+0x4e7/0xa00 [ 23.266360][ C2] ? ovpn_netdev_write+0x730/0x730 [ovpn] [ 23.266364][ C2] ? idr_get_free+0x830/0x830 [ 23.266366][ C2] ovpn_recv.cold+0x7e/0x94 [ovpn] [ 23.266369][ C2] ovpn_tcp_rcv+0x274/0x9a0 [ovpn] [ 23.266372][ C2] ? ovpn_tcp_write_space+0x2e0/0x2e0 [ovpn] [ 23.266374][ C2] ? __copy_skb_header+0xb7/0x510 [ 23.266377][ C2] ? ovpn_tcp_disconnect+0x10/0x10 [ovpn] [ 23.266379][ C2] ? sock_queue_err_skb+0xb0/0x680 [ 23.266382][ C2] __strp_recv+0x20f/0x1c20 [ 23.266385][ C2] __tcp_read_sock+0x1c7/0x850 [ 23.266386][ C2] ? strp_process+0xb0/0xb0 [ 23.266388][ C2] ? __tcp_transmit_skb+0x1b6e/0x3c10 [ 23.266390][ C2] ? tcp_cleanup_rbuf+0x1c0/0x1c0 [ 23.266391][ C2] ? mark_usage+0x61/0x170 [ 23.266393][ C2] strp_read_sock+0x20f/0x2b0 [ 23.266395][ C2] ? strp_stop+0x50/0x50 [ 23.266397][ C2] ? rcu_is_watching+0x16/0xd0 [ 23.266399][ C2] ? lock_acquire+0x13c/0x160 [ 23.266401][ C2] strp_data_ready+0x18e/0x2c0 [ 23.266403][ C2] ovpn_tcp_data_ready+0xf1/0x390 [ovpn] [ 23.266405][ C2] tcp_rcv_established+0x1e1d/0x3910 [ 23.266408][ C2] ? __tcp_check_space+0x600/0x600 [ 23.266410][ C2] ? tcp_v4_rcv+0x1a81/0x2b70 [ 23.266411][ C2] ? do_raw_spin_lock+0x131/0x280 [ 23.266414][ C2] tcp_v4_do_rcv+0x4f6/0xb90 [ 23.266416][ C2] tcp_v4_rcv+0x1caa/0x2b70 [ 23.266418][ C2] ? mark_usage+0x61/0x170 [ 23.266420][ C2] ? tcp_add_backlog+0x1e30/0x1e30 [ 23.266422][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 23.266423][ C2] ? ip_local_deliver_finish+0x2ba/0x610 [ 23.266425][ C2] ip_protocol_deliver_rcu+0x82/0x350 [ 23.266427][ C2] ? process_backlog+0x3f1/0x14c0 [ 23.266429][ C2] ip_local_deliver_finish+0x36f/0x610 [ 23.266431][ C2] ip_local_deliver+0x184/0x4c0 [ 23.266432][ C2] ? ip_local_deliver_finish+0x610/0x610 [ 23.266434][ C2] ? ip_rcv_finish_core+0x6ed/0x14c0 [ 23.266436][ C2] ? process_backlog+0x3f1/0x14c0 [ 23.266438][ C2] ip_rcv+0xdc/0x3d0 [ 23.266440][ C2] ? ip_local_deliver+0x4c0/0x4c0 [ 23.266441][ C2] ? rcu_read_lock_any_held+0x3c/0x90 [ 23.266443][ C2] ? mark_usage+0x61/0x170 [ 23.266445][ C2] ? __lock_acquire+0x518/0xc20 [ 23.266446][ C2] ? trace_raw_output_rcu_invoke_kfree_bulk_callback+0x57/0x130 [ 23.266449][ C2] __netif_receive_skb_one_core+0xfc/0x180 [ 23.266450][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 23.266452][ C2] ? process_backlog+0x3f1/0x14c0 [ 23.266454][ C2] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 23.266456][ C2] ? rcu_is_watching+0x16/0xd0 [ 23.266458][ C2] process_backlog+0x431/0x14c0 [ 23.266461][ C2] __napi_poll+0xa7/0x3b0 [ 23.266463][ C2] net_rx_action+0x513/0xf50 [ 23.266465][ C2] ? __lock_acquire+0x518/0xc20 [ 23.266467][ C2] ? __napi_poll+0x3b0/0x3b0 [ 23.266470][ C2] ? ktime_get_update_offsets_now+0x2a8/0x490 [ 23.266473][ C2] ? rcu_is_watching+0x16/0xd0 [ 23.266475][ C2] handle_softirqs+0x1d3/0x900 [ 23.266477][ C2] ? _local_bh_enable+0xc0/0xc0 [ 23.266479][ C2] ? do_raw_spin_unlock+0x59/0x250 [ 23.266481][ C2] ? rcu_is_watching+0x16/0xd0 [ 23.266483][ C2] do_softirq+0xac/0xe0 [ 23.266484][ C2] [ 23.266484][ C2] [ 23.266485][ C2] __local_bh_enable_ip+0x118/0x150 [ 23.266487][ C2] ovpn_tcp_sendmsg+0x2c2/0x7d0 [ovpn] [ 23.266489][ C2] ? ovpn_tcp_recvmsg+0x6d0/0x6d0 [ovpn] [ 23.266493][ C2] __sys_sendto+0x2aa/0x400 [ 23.266495][ C2] ? __ia32_sys_getpeername+0xd0/0xd0 [ 23.266499][ C2] ? fput_close_sync+0xde/0x1b0 [ 23.266501][ C2] ? alloc_file_clone+0xe0/0xe0 [ 23.266503][ C2] __x64_sys_sendto+0xe4/0x1f0 [ 23.266505][ C2] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 23.266507][ C2] ? lockdep_hardirqs_on+0x91/0x130 [ 23.266509][ C2] ? do_syscall_64+0xa6/0x530 [ 23.266510][ C2] do_syscall_64+0xff/0x530 [ 23.266512][ C2] ? exc_page_fault+0xee/0x100 [ 23.266513][ C2] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 23.266515][ C2] RIP: 0033:0x7f9027e8054e [ 23.266517][ C2] 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 [ 23.266519][ C2] RSP: 002b:00007ffd4f7bf1f0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 23.266522][ C2] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9027e8054e [ 23.266523][ C2] RDX: 00000000000003ea RSI: 00007ffd4f7bf260 RDI: 0000000000000005 [ 23.266524][ C2] RBP: 00007ffd4f7bf200 R08: 0000000000000000 R09: 0000000000000000 [ 23.266525][ C2] R10: 0000000000004000 R11: 0000000000000202 R12: 00007ffd4f7bfb88 [ 23.266526][ C2] R13: 0000000000000008 R14: 00007f902816b000 R15: 000000000040bda8 [ 23.266528][ C2] [ 23.266532][ C2] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 23.266533][ C2] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 421, name: ovpn-cli [ 23.266534][ C2] preempt_count: 103, expected: 0 [ 23.266535][ C2] RCU nest depth: 3, expected: 0 [ 23.266536][ C2] INFO: lockdep is turned off. [ 23.266536][ C2] irq event stamp: 42343 [ 23.266537][ C2] hardirqs last enabled at (42342): [] __down_trylock_console_sem+0x86/0xa0 [ 23.266539][ C2] hardirqs last disabled at (42343): [] console_emit_next_record+0x3d4/0x4c0 [ 23.266541][ C2] softirqs last enabled at (42228): [] ovpn_tcp_sendmsg+0x2c2/0x7d0 [ovpn] [ 23.266543][ C2] softirqs last disabled at (42229): [] do_softirq+0xac/0xe0 [ 23.266545][ C2] Preemption disabled at: [ 23.266545][ C2] [<0000000000000000>] 0x0 [ 23.266547][ C2] CPU: 2 UID: 0 PID: 421 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 23.266549][ C2] Tainted: [W]=WARN [ 23.266550][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 23.266550][ C2] Call Trace: [ 23.266551][ C2] [ 23.266551][ C2] dump_stack_lvl+0x6f/0xa0 [ 23.266553][ C2] __might_resched.cold+0x1fe/0x2c1 [ 23.266556][ C2] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 23.266559][ C2] ? rcu_is_watching+0x16/0xd0 [ 23.266561][ C2] __kmalloc_noprof+0x443/0x760 [ 23.266563][ C2] ? __rwlock_init+0x150/0x150 [ 23.266564][ C2] ? alloc_buf.isra.0+0x4b/0x260 [ 23.266566][ C2] ? do_raw_spin_unlock+0x59/0x250 [ 23.266567][ C2] alloc_buf.isra.0+0x4b/0x260 [ 23.266569][ C2] put_chars+0x1e1/0x2f0 [ 23.266571][ C2] ? __send_to_port+0x420/0x420 [ 23.266574][ C2] hvc_console_print+0x292/0x780 [ 23.266576][ C2] ? __lock_acquire+0x388/0xc20 [ 23.266578][ C2] ? hvc_write+0x3a0/0x3a0 [ 23.266579][ C2] ? rcu_is_watching+0x16/0xd0 [ 23.266581][ C2] ? lock_acquire+0x13c/0x160 [ 23.266583][ C2] console_emit_next_record+0x22f/0x4c0 [ 23.266585][ C2] ? devkmsg_read+0x4b0/0x4b0 [ 23.266587][ C2] ? console_flush_one_record+0x106/0x710 [ 23.266589][ C2] ? rcu_is_watching+0x16/0xd0 [ 23.266590][ C2] ? lock_acquire+0x13c/0x160 [ 23.266592][ C2] console_flush_one_record+0x46f/0x710 [ 23.266594][ C2] ? console_emit_next_record+0x4c0/0x4c0 [ 23.266596][ C2] ? __lock_acquire+0x518/0xc20 [ 23.266598][ C2] console_unlock+0xee/0x1f0 [ 23.266600][ C2] ? console_flush_one_record+0x710/0x710 [ 23.266601][ C2] ? rcu_is_watching+0x16/0xd0 [ 23.266603][ C2] ? lock_acquire+0x60/0x160 [ 23.266605][ C2] ? __down_trylock_console_sem+0x5e/0xa0 [ 23.266606][ C2] ? vprintk_emit+0x320/0x3e0 [ 23.266608][ C2] vprintk_emit+0x37c/0x3e0 [ 23.266610][ C2] ? wake_up_klogd_work_func+0x90/0x90 [ 23.266612][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 23.266614][ C2] _printk+0xc7/0x100 [ 23.266616][ C2] ? snapshot_read.cold+0x21/0x21 [ 23.266617][ C2] ? ___ratelimit+0x4e7/0xa00 [ 23.266619][ C2] ? ovpn_netdev_write+0x730/0x730 [ovpn] [ 23.266622][ C2] ? idr_get_free+0x830/0x830 [ 23.266624][ C2] ovpn_recv.cold+0x7e/0x94 [ovpn] [ 23.266626][ C2] ovpn_tcp_rcv+0x274/0x9a0 [ovpn] [ 23.266629][ C2] ? ovpn_tcp_write_space+0x2e0/0x2e0 [ovpn] [ 23.266632][ C2] ? __copy_skb_header+0xb7/0x510 [ 23.266634][ C2] ? ovpn_tcp_disconnect+0x10/0x10 [ovpn] [ 23.266636][ C2] ? sock_queue_err_skb+0xb0/0x680 [ 23.266638][ C2] __strp_recv+0x20f/0x1c20 [ 23.266641][ C2] __tcp_read_sock+0x1c7/0x850 [ 23.266643][ C2] ? strp_process+0xb0/0xb0 [ 23.266644][ C2] ? __tcp_transmit_skb+0x1b6e/0x3c10 [ 23.266646][ C2] ? tcp_cleanup_rbuf+0x1c0/0x1c0 [ 23.266647][ C2] ? mark_usage+0x61/0x170 [ 23.266649][ C2] strp_read_sock+0x20f/0x2b0 [ 23.266651][ C2] ? strp_stop+0x50/0x50 [ 23.266653][ C2] ? rcu_is_watching+0x16/0xd0 [ 23.266655][ C2] ? lock_acquire+0x13c/0x160 [ 23.266657][ C2] strp_data_ready+0x18e/0x2c0 [ 23.266659][ C2] ovpn_tcp_data_ready+0xf1/0x390 [ovpn] [ 23.266661][ C2] tcp_rcv_established+0x1e1d/0x3910 [ 23.266664][ C2] ? __tcp_check_space+0x600/0x600 [ 23.266666][ C2] ? tcp_v4_rcv+0x1a81/0x2b70 [ 23.266667][ C2] ? do_raw_spin_lock+0x131/0x280 [ 23.266669][ C2] tcp_v4_do_rcv+0x4f6/0xb90 [ 23.266671][ C2] tcp_v4_rcv+0x1caa/0x2b70 [ 23.266674][ C2] ? mark_usage+0x61/0x170 [ 23.266675][ C2] ? tcp_add_backlog+0x1e30/0x1e30 [ 23.266677][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 23.266679][ C2] ? ip_local_deliver_finish+0x2ba/0x610 [ 23.266681][ C2] ip_protocol_deliver_rcu+0x82/0x350 [ 23.266683][ C2] ? process_backlog+0x3f1/0x14c0 [ 23.266684][ C2] ip_local_deliver_finish+0x36f/0x610 [ 23.266686][ C2] ip_local_deliver+0x184/0x4c0 [ 23.266688][ C2] ? ip_local_deliver_finish+0x610/0x610 [ 23.266689][ C2] ? ip_rcv_finish_core+0x6ed/0x14c0 [ 23.266692][ C2] ? process_backlog+0x3f1/0x14c0 [ 23.266693][ C2] ip_rcv+0xdc/0x3d0 [ 23.266695][ C2] ? ip_local_deliver+0x4c0/0x4c0 [ 23.266696][ C2] ? rcu_read_lock_any_held+0x3c/0x90 [ 23.266698][ C2] ? mark_usage+0x61/0x170 [ 23.266699][ C2] ? __lock_acquire+0x518/0xc20 [ 23.266701][ C2] ? trace_raw_output_rcu_invoke_kfree_bulk_callback+0x57/0x130 [ 23.266703][ C2] __netif_receive_skb_one_core+0xfc/0x180 [ 23.266704][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 23.266706][ C2] ? process_backlog+0x3f1/0x14c0 [ 23.266707][ C2] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 23.266709][ C2] ? rcu_is_watching+0x16/0xd0 [ 23.266712][ C2] process_backlog+0x431/0x14c0 [ 23.266714][ C2] __napi_poll+0xa7/0x3b0 [ 23.266716][ C2] net_rx_action+0x513/0xf50 [ 23.266719][ C2] ? __lock_acquire+0x518/0xc20 [ 23.266720][ C2] ? __napi_poll+0x3b0/0x3b0 [ 23.266724][ C2] ? ktime_get_update_offsets_now+0x2a8/0x490 [ 23.266726][ C2] ? rcu_is_watching+0x16/0xd0 [ 23.266728][ C2] handle_softirqs+0x1d3/0x900 [ 23.266730][ C2] ? _local_bh_enable+0xc0/0xc0 [ 23.266731][ C2] ? do_raw_spin_unlock+0x59/0x250 [ 23.266732][ C2] ? rcu_is_watching+0x16/0xd0 [ 23.266734][ C2] do_softirq+0xac/0xe0 [ 23.266736][ C2] [ 23.266736][ C2] [ 23.266737][ C2] __local_bh_enable_ip+0x118/0x150 [ 23.266738][ C2] ovpn_tcp_sendmsg+0x2c2/0x7d0 [ovpn] [ 23.266741][ C2] ? ovpn_tcp_recvmsg+0x6d0/0x6d0 [ovpn] [ 23.266744][ C2] __sys_sendto+0x2aa/0x400 [ 23.266746][ C2] ? __ia32_sys_getpeername+0xd0/0xd0 [ 23.266750][ C2] ? fput_close_sync+0xde/0x1b0 [ 23.266751][ C2] ? alloc_file_clone+0xe0/0xe0 [ 23.266753][ C2] __x64_sys_sendto+0xe4/0x1f0 [ 23.266755][ C2] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 23.266756][ C2] ? lockdep_hardirqs_on+0x91/0x130 [ 23.266757][ C2] ? do_syscall_64+0xa6/0x530 [ 23.266759][ C2] do_syscall_64+0xff/0x530 [ 23.266760][ C2] ? exc_page_fault+0xee/0x100 [ 23.266761][ C2] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 23.266763][ C2] RIP: 0033:0x7f9027e8054e [ 23.266764][ C2] 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 [ 23.266765][ C2] RSP: 002b:00007ffd4f7bf1f0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 23.266766][ C2] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9027e8054e [ 23.266767][ C2] RDX: 00000000000003ea RSI: 00007ffd4f7bf260 RDI: 0000000000000005 [ 23.266768][ C2] RBP: 00007ffd4f7bf200 R08: 0000000000000000 R09: 0000000000000000 [ 23.266768][ C2] R10: 0000000000004000 R11: 0000000000000202 R12: 00007ffd4f7bfb88 [ 23.266769][ C2] R13: 0000000000000008 R14: 00007f902816b000 R15: 000000000040bda8 [ 23.266771][ C2] [ 23.434212][ C3] tun0: no available key for peer 5, key-id: 0 [ 32.017923][ T623] iperf3 (623) used greatest stack depth: 23128 bytes left [ 32.017941][ T623] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 32.017943][ T623] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 623, name: iperf3 [ 32.017944][ T623] preempt_count: 2, expected: 0 [ 32.017945][ T623] RCU nest depth: 0, expected: 0 [ 32.017946][ T623] INFO: lockdep is turned off. [ 32.017947][ T623] irq event stamp: 0 [ 32.017948][ T623] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 32.017953][ T623] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 32.017967][ T623] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 32.017969][ T623] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 32.017970][ T623] Preemption disabled at: [ 32.017971][ T623] [<0000000000000000>] 0x0 [ 32.017976][ T623] CPU: 1 UID: 0 PID: 623 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 32.017979][ T623] Tainted: [W]=WARN [ 32.017981][ T623] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 32.017982][ T623] Call Trace: [ 32.017984][ T623] [ 32.017985][ T623] dump_stack_lvl+0x6f/0xa0 [ 32.017990][ T623] __might_resched.cold+0x1fe/0x2c1 [ 32.017994][ T623] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 32.017998][ T623] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 32.018000][ T623] ? rcu_is_watching+0x16/0xd0 [ 32.018004][ T623] __kmalloc_noprof+0x443/0x760 [ 32.018007][ T623] ? __rwlock_init+0x150/0x150 [ 32.018010][ T623] ? alloc_buf.isra.0+0x4b/0x260 [ 32.018013][ T623] ? do_raw_spin_unlock+0x59/0x250 [ 32.018015][ T623] alloc_buf.isra.0+0x4b/0x260 [ 32.018017][ T623] put_chars+0x1e1/0x2f0 [ 32.018019][ T623] ? prb_final_commit+0x50/0x50 [ 32.018020][ T623] ? __send_to_port+0x420/0x420 [ 32.018022][ T623] ? printk_get_next_message+0x240/0x650 [ 32.018025][ T623] hvc_console_print+0x292/0x780 [ 32.018029][ T623] ? hvc_write+0x3a0/0x3a0 [ 32.018030][ T623] ? do_raw_spin_lock+0x131/0x280 [ 32.018031][ T623] ? vsnprintf+0x668/0x1700 [ 32.018034][ T623] ? __rwlock_init+0x150/0x150 [ 32.018036][ T623] ? rcu_is_watching+0x16/0xd0 [ 32.018037][ T623] ? lock_acquire+0x13c/0x160 [ 32.018040][ T623] console_emit_next_record+0x22f/0x4c0 [ 32.018042][ T623] ? devkmsg_read+0x4b0/0x4b0 [ 32.018044][ T623] ? rcu_is_watching+0x16/0xd0 [ 32.018046][ T623] ? rcu_is_watching+0x16/0xd0 [ 32.018047][ T623] ? rcu_is_watching+0x16/0xd0 [ 32.018049][ T623] ? lock_acquire+0x13c/0x160 [ 32.018050][ T623] ? console_flush_one_record+0x111/0x710 [ 32.018052][ T623] console_flush_one_record+0x46f/0x710 [ 32.018054][ T623] ? console_emit_next_record+0x4c0/0x4c0 [ 32.018057][ T623] console_unlock+0xee/0x1f0 [ 32.018059][ T623] ? lock_acquire+0x13c/0x160 [ 32.018060][ T623] ? console_flush_one_record+0x710/0x710 [ 32.018062][ T623] ? rcu_is_watching+0x16/0xd0 [ 32.018063][ T623] ? lock_release+0x184/0x1f0 [ 32.018064][ T623] ? lock_acquire+0x60/0x160 [ 32.018066][ T623] ? __rcu_read_lock+0x30/0x70 [ 32.018068][ T623] ? __down_trylock_console_sem+0x5e/0xa0 [ 32.018069][ T623] ? vprintk_emit+0x320/0x3e0 [ 32.018071][ T623] vprintk_emit+0x37c/0x3e0 [ 32.018073][ T623] ? wake_up_klogd_work_func+0x90/0x90 [ 32.018076][ T623] _printk+0xc7/0x100 [ 32.018079][ T623] ? snapshot_read.cold+0x21/0x21 [ 32.018080][ T623] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 32.018083][ T623] ? do_raw_spin_lock+0x131/0x280 [ 32.018085][ T623] ? __rwlock_init+0x150/0x150 [ 32.018087][ T623] ? do_raw_spin_lock+0x131/0x280 [ 32.018088][ T623] do_exit.cold+0x82/0x9c [ 32.018091][ T623] ? exit_notify+0x890/0x890 [ 32.018093][ T623] ? fpregs_restore_userregs+0x14b/0x300 [ 32.018097][ T623] __x64_sys_exit+0x42/0x50 [ 32.018098][ T623] x64_sys_call+0x156c/0x1570 [ 32.018100][ T623] do_syscall_64+0xff/0x530 [ 32.018103][ T623] ? exc_page_fault+0xee/0x100 [ 32.018104][ T623] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 32.018107][ T623] RIP: 0033:0x7fc8aeebac49 [ 32.018108][ T623] Code: Unable to access opcode bytes at 0x7fc8aeebac1f. [ 32.018110][ T623] RSP: 002b:00007fc8ae679e60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 32.018113][ T623] RAX: ffffffffffffffda RBX: 00007fc8ae67a6c0 RCX: 00007fc8aeebac49 [ 32.018114][ T623] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 32.018115][ T623] RBP: 00007fc8ae679f70 R08: 0000000000000001 R09: 00007fc8ae67a6c0 [ 32.018116][ T623] R10: 0000000000000008 R11: 0000000000000246 R12: 00007fc8ade7a000 [ 32.018117][ T623] R13: 00007ffc4bf236a0 R14: 0000000000000002 R15: 00007ffc4bf237a7 [ 32.018119][ T623] [ 33.285223][ T717] tun0: deleting peer with id 1, reason 1 [ 33.285239][ T717] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 33.285241][ T717] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 717, name: ovpn-cli [ 33.285243][ T717] preempt_count: 202, expected: 0 [ 33.285244][ T717] RCU nest depth: 0, expected: 0 [ 33.285245][ T717] INFO: lockdep is turned off. [ 33.285246][ T717] irq event stamp: 0 [ 33.285247][ T717] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 33.285251][ T717] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 33.285257][ T717] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 33.285259][ T717] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 33.285261][ T717] Preemption disabled at: [ 33.285261][ T717] [<0000000000000000>] 0x0 [ 33.285266][ T717] CPU: 3 UID: 0 PID: 717 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 33.285270][ T717] Tainted: [W]=WARN [ 33.285271][ T717] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 33.285272][ T717] Call Trace: [ 33.285274][ T717] [ 33.285275][ T717] dump_stack_lvl+0x6f/0xa0 [ 33.285282][ T717] __might_resched.cold+0x1fe/0x2c1 [ 33.285286][ T717] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 33.285290][ T717] ? rcu_is_watching+0x16/0xd0 [ 33.285294][ T717] __kmalloc_noprof+0x443/0x760 [ 33.285297][ T717] ? __rwlock_init+0x150/0x150 [ 33.285300][ T717] ? alloc_buf.isra.0+0x4b/0x260 [ 33.285304][ T717] ? do_raw_spin_unlock+0x59/0x250 [ 33.285306][ T717] alloc_buf.isra.0+0x4b/0x260 [ 33.285308][ T717] put_chars+0x1e1/0x2f0 [ 33.285310][ T717] ? __send_to_port+0x420/0x420 [ 33.285312][ T717] ? printk_get_next_message+0x240/0x650 [ 33.285315][ T717] hvc_console_print+0x292/0x780 [ 33.285319][ T717] ? hvc_write+0x3a0/0x3a0 [ 33.285321][ T717] ? __rwlock_init+0x150/0x150 [ 33.285322][ T717] ? rcu_is_watching+0x16/0xd0 [ 33.285324][ T717] ? lock_acquire+0x13c/0x160 [ 33.285326][ T717] console_emit_next_record+0x22f/0x4c0 [ 33.285329][ T717] ? devkmsg_read+0x4b0/0x4b0 [ 33.285331][ T717] ? rcu_is_watching+0x16/0xd0 [ 33.285332][ T717] ? rcu_is_watching+0x16/0xd0 [ 33.285334][ T717] ? rcu_is_watching+0x16/0xd0 [ 33.285335][ T717] ? lock_acquire+0x13c/0x160 [ 33.285337][ T717] ? console_flush_one_record+0x111/0x710 [ 33.285339][ T717] console_flush_one_record+0x46f/0x710 [ 33.285341][ T717] ? console_emit_next_record+0x4c0/0x4c0 [ 33.285343][ T717] console_unlock+0xee/0x1f0 [ 33.285345][ T717] ? lock_acquire+0x13c/0x160 [ 33.285347][ T717] ? console_flush_one_record+0x710/0x710 [ 33.285348][ T717] ? rcu_is_watching+0x16/0xd0 [ 33.285350][ T717] ? lock_release+0x184/0x1f0 [ 33.285352][ T717] ? lock_acquire+0x60/0x160 [ 33.285353][ T717] ? __rcu_read_lock+0x30/0x70 [ 33.285355][ T717] ? __down_trylock_console_sem+0x5e/0xa0 [ 33.285357][ T717] ? vprintk_emit+0x320/0x3e0 [ 33.285359][ T717] vprintk_emit+0x37c/0x3e0 [ 33.285361][ T717] ? wake_up_klogd_work_func+0x90/0x90 [ 33.285363][ T717] ? kernel_text_address+0x149/0x170 [ 33.285365][ T717] ? __kernel_text_address+0x12/0x30 [ 33.285366][ T717] ? write_profile+0xf0/0xf0 [ 33.285369][ T717] ? unwind_get_return_address+0x67/0xd0 [ 33.285372][ T717] _printk+0xc7/0x100 [ 33.285375][ T717] ? snapshot_read.cold+0x21/0x21 [ 33.285377][ T717] ? netdev_name+0x43/0x60 [ 33.285379][ T717] ? __netdev_printk+0x17f/0x1d0 [ 33.285381][ T717] netdev_info+0xe2/0x116 [ 33.285382][ T717] ? netdev_notice+0x120/0x120 [ 33.285384][ T717] ? ovpn_nl_pre_doit+0x44/0x90 [ovpn] [ 33.285389][ T717] ? __module_address+0x36/0x330 [ 33.285392][ T717] ? lock_acquire+0x13c/0x160 [ 33.285394][ T717] ? rcu_is_watching+0x16/0xd0 [ 33.285395][ T717] ? lock_release+0x184/0x1f0 [ 33.285397][ T717] ? ovpn_peer_get_by_id+0x38a/0x7a0 [ovpn] [ 33.285400][ T717] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 33.285404][ T717] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 33.285406][ T717] ? lock_acquire+0x13c/0x160 [ 33.285408][ T717] ? rcu_is_watching+0x16/0xd0 [ 33.285410][ T717] ? lock_release+0x184/0x1f0 [ 33.285412][ T717] ovpn_peer_remove+0x394/0x640 [ovpn] [ 33.285414][ T717] ? do_raw_spin_lock+0x131/0x280 [ 33.285416][ T717] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 33.285419][ T717] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 33.285422][ T717] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 33.285425][ T717] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 33.285428][ T717] ? trace_hardirqs_on+0x36/0x40 [ 33.285430][ T717] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 33.285432][ T717] ? ref_tracker_alloc+0x28d/0x430 [ 33.285437][ T717] ? lock_release+0x184/0x1f0 [ 33.285439][ T717] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 33.285442][ T717] genl_family_rcv_msg_doit+0x206/0x300 [ 33.285447][ T717] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 33.285449][ T717] ? rcu_is_watching+0x16/0xd0 [ 33.285451][ T717] ? rcu_is_watching+0x16/0xd0 [ 33.285453][ T717] ? cap_capable+0x1d7/0x3d0 [ 33.285456][ T717] ? write_profile+0xf0/0xf0 [ 33.285458][ T717] ? unwind_get_return_address+0x67/0xd0 [ 33.285459][ T717] genl_family_rcv_msg+0x3a4/0x640 [ 33.285461][ T717] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 33.285464][ T717] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 33.285466][ T717] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 33.285468][ T717] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 33.285470][ T717] ? filter_irq_stacks+0xd0/0xd0 [ 33.285472][ T717] ? stack_depot_save_flags+0x1bc/0x790 [ 33.285474][ T717] genl_rcv_msg+0xbb/0x160 [ 33.285476][ T717] netlink_rcv_skb+0x14e/0x3a0 [ 33.285478][ T717] ? genl_family_rcv_msg+0x640/0x640 [ 33.285480][ T717] ? netlink_ack+0xcf0/0xcf0 [ 33.285483][ T717] ? lock_acquire+0x13c/0x160 [ 33.285484][ T717] ? rcu_is_watching+0x16/0xd0 [ 33.285486][ T717] ? lock_release+0x184/0x1f0 [ 33.285488][ T717] genl_rcv+0x28/0x40 [ 33.285489][ T717] netlink_unicast+0x486/0x750 [ 33.285492][ T717] ? netlink_attachskb+0x810/0x810 [ 33.285493][ T717] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 33.285495][ T717] ? trace_hardirqs_on+0x36/0x40 [ 33.285496][ T717] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 33.285499][ T717] netlink_sendmsg+0x735/0xc60 [ 33.285501][ T717] ? netlink_unicast+0x750/0x750 [ 33.285503][ T717] ? rcu_is_watching+0x16/0xd0 [ 33.285505][ T717] ? lock_release+0x184/0x1f0 [ 33.285507][ T717] ____sys_sendmsg+0x415/0x880 [ 33.285510][ T717] ? copy_msghdr_from_user+0x279/0x420 [ 33.285512][ T717] ? get_timestamp.constprop.0+0x390/0x390 [ 33.285513][ T717] ? move_addr_to_kernel+0x40/0x40 [ 33.285516][ T717] ___sys_sendmsg+0x14e/0x1d0 [ 33.285518][ T717] ? copy_msghdr_from_user+0x420/0x420 [ 33.285520][ T717] ? kfree+0x22/0x590 [ 33.285524][ T717] __sys_sendmsg+0x12c/0x1d0 [ 33.285527][ T717] ? __sys_sendmsg_sock+0x20/0x20 [ 33.285529][ T717] ? rcu_is_watching+0x16/0xd0 [ 33.285531][ T717] ? rcu_is_watching+0x16/0xd0 [ 33.285533][ T717] do_syscall_64+0xff/0x530 [ 33.285536][ T717] ? exc_page_fault+0xee/0x100 [ 33.285538][ T717] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 33.285540][ T717] RIP: 0033:0x7fa33a5a054e [ 33.285542][ T717] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 33.285543][ T717] RSP: 002b:00007ffcee4ce3b0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 33.285547][ T717] RAX: ffffffffffffffda RBX: 000000000f31c130 RCX: 00007fa33a5a054e [ 33.285548][ T717] RDX: 0000000000000000 RSI: 00007ffcee4ce450 RDI: 0000000000000005 [ 33.285549][ T717] RBP: 00007ffcee4ce3c0 R08: 0000000000000000 R09: 0000000000000000 [ 33.285550][ T717] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000f31c200 [ 33.285551][ T717] R13: 00007ffcee4ce450 R14: 000000000f31d260 R15: 000000000040bda8 [ 33.285553][ T717] [ 33.368003][ T721] tun1: deleting peer with id 10, reason 1 [ 35.944029][ T769] tun0: deleting peer with id 2, reason 1 [ 35.944046][ T769] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 35.944049][ T769] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 769, name: ovpn-cli [ 35.944050][ T769] preempt_count: 202, expected: 0 [ 35.944051][ T769] RCU nest depth: 0, expected: 0 [ 35.944052][ T769] INFO: lockdep is turned off. [ 35.944053][ T769] irq event stamp: 0 [ 35.944054][ T769] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 35.944058][ T769] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 35.944064][ T769] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 35.944066][ T769] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 35.944067][ T769] Preemption disabled at: [ 35.944068][ T769] [<0000000000000000>] 0x0 [ 35.944073][ T769] CPU: 2 UID: 0 PID: 769 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 35.944076][ T769] Tainted: [W]=WARN [ 35.944077][ T769] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 35.944079][ T769] Call Trace: [ 35.944081][ T769] [ 35.944082][ T769] dump_stack_lvl+0x6f/0xa0 [ 35.944087][ T769] __might_resched.cold+0x1fe/0x2c1 [ 35.944091][ T769] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 35.944095][ T769] ? rcu_is_watching+0x16/0xd0 [ 35.944099][ T769] __kmalloc_noprof+0x443/0x760 [ 35.944102][ T769] ? __rwlock_init+0x150/0x150 [ 35.944105][ T769] ? alloc_buf.isra.0+0x4b/0x260 [ 35.944109][ T769] ? do_raw_spin_unlock+0x59/0x250 [ 35.944111][ T769] alloc_buf.isra.0+0x4b/0x260 [ 35.944113][ T769] put_chars+0x1e1/0x2f0 [ 35.944115][ T769] ? __send_to_port+0x420/0x420 [ 35.944116][ T769] ? printk_get_next_message+0x240/0x650 [ 35.944120][ T769] hvc_console_print+0x292/0x780 [ 35.944123][ T769] ? hvc_write+0x3a0/0x3a0 [ 35.944125][ T769] ? __rwlock_init+0x150/0x150 [ 35.944126][ T769] ? rcu_is_watching+0x16/0xd0 [ 35.944128][ T769] ? lock_acquire+0x13c/0x160 [ 35.944130][ T769] console_emit_next_record+0x22f/0x4c0 [ 35.944133][ T769] ? devkmsg_read+0x4b0/0x4b0 [ 35.944135][ T769] ? rcu_is_watching+0x16/0xd0 [ 35.944136][ T769] ? rcu_is_watching+0x16/0xd0 [ 35.944138][ T769] ? rcu_is_watching+0x16/0xd0 [ 35.944140][ T769] ? lock_acquire+0x13c/0x160 [ 35.944141][ T769] ? console_flush_one_record+0x111/0x710 [ 35.944143][ T769] console_flush_one_record+0x46f/0x710 [ 35.944145][ T769] ? console_emit_next_record+0x4c0/0x4c0 [ 35.944148][ T769] console_unlock+0xee/0x1f0 [ 35.944150][ T769] ? lock_acquire+0x13c/0x160 [ 35.944151][ T769] ? console_flush_one_record+0x710/0x710 [ 35.944153][ T769] ? rcu_is_watching+0x16/0xd0 [ 35.944154][ T769] ? lock_release+0x184/0x1f0 [ 35.944156][ T769] ? lock_acquire+0x60/0x160 [ 35.944157][ T769] ? __rcu_read_lock+0x30/0x70 [ 35.944159][ T769] ? __down_trylock_console_sem+0x5e/0xa0 [ 35.944161][ T769] ? vprintk_emit+0x320/0x3e0 [ 35.944163][ T769] vprintk_emit+0x37c/0x3e0 [ 35.944165][ T769] ? wake_up_klogd_work_func+0x90/0x90 [ 35.944167][ T769] ? kernel_text_address+0x149/0x170 [ 35.944169][ T769] ? __kernel_text_address+0x12/0x30 [ 35.944170][ T769] ? write_profile+0xf0/0xf0 [ 35.944172][ T769] ? unwind_get_return_address+0x67/0xd0 [ 35.944175][ T769] _printk+0xc7/0x100 [ 35.944178][ T769] ? snapshot_read.cold+0x21/0x21 [ 35.944180][ T769] ? netdev_name+0x43/0x60 [ 35.944182][ T769] ? __netdev_printk+0x17f/0x1d0 [ 35.944184][ T769] netdev_info+0xe2/0x116 [ 35.944186][ T769] ? netdev_notice+0x120/0x120 [ 35.944187][ T769] ? ovpn_nl_pre_doit+0x44/0x90 [ovpn] [ 35.944193][ T769] ? __module_address+0x36/0x330 [ 35.944196][ T769] ? lock_acquire+0x13c/0x160 [ 35.944197][ T769] ? rcu_is_watching+0x16/0xd0 [ 35.944199][ T769] ? lock_release+0x184/0x1f0 [ 35.944201][ T769] ? ovpn_peer_get_by_id+0x38a/0x7a0 [ovpn] [ 35.944204][ T769] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 35.944207][ T769] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 35.944210][ T769] ? lock_acquire+0x13c/0x160 [ 35.944211][ T769] ? rcu_is_watching+0x16/0xd0 [ 35.944213][ T769] ? lock_release+0x184/0x1f0 [ 35.944215][ T769] ovpn_peer_remove+0x394/0x640 [ovpn] [ 35.944218][ T769] ? do_raw_spin_lock+0x131/0x280 [ 35.944219][ T769] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 35.944222][ T769] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 35.944226][ T769] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 35.944229][ T769] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 35.944231][ T769] ? trace_hardirqs_on+0x36/0x40 [ 35.944234][ T769] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 35.944236][ T769] ? ref_tracker_alloc+0x28d/0x430 [ 35.944241][ T769] ? lock_release+0x184/0x1f0 [ 35.944243][ T769] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 35.944246][ T769] genl_family_rcv_msg_doit+0x206/0x300 [ 35.944250][ T769] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 35.944252][ T769] ? rcu_is_watching+0x16/0xd0 [ 35.944254][ T769] ? rcu_is_watching+0x16/0xd0 [ 35.944256][ T769] ? cap_capable+0x1d7/0x3d0 [ 35.944259][ T769] ? write_profile+0xf0/0xf0 [ 35.944261][ T769] ? unwind_get_return_address+0x67/0xd0 [ 35.944262][ T769] genl_family_rcv_msg+0x3a4/0x640 [ 35.944264][ T769] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 35.944266][ T769] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 35.944269][ T769] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 35.944271][ T769] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 35.944273][ T769] ? filter_irq_stacks+0xd0/0xd0 [ 35.944275][ T769] ? stack_depot_save_flags+0x1bc/0x790 [ 35.944279][ T769] genl_rcv_msg+0xbb/0x160 [ 35.944281][ T769] netlink_rcv_skb+0x14e/0x3a0 [ 35.944283][ T769] ? genl_family_rcv_msg+0x640/0x640 [ 35.944285][ T769] ? netlink_ack+0xcf0/0xcf0 [ 35.944288][ T769] ? lock_acquire+0x13c/0x160 [ 35.944289][ T769] ? rcu_is_watching+0x16/0xd0 [ 35.944291][ T769] ? lock_release+0x184/0x1f0 [ 35.944293][ T769] genl_rcv+0x28/0x40 [ 35.944294][ T769] netlink_unicast+0x486/0x750 [ 35.944297][ T769] ? netlink_attachskb+0x810/0x810 [ 35.944298][ T769] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 35.944300][ T769] ? trace_hardirqs_on+0x36/0x40 [ 35.944301][ T769] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 35.944304][ T769] netlink_sendmsg+0x735/0xc60 [ 35.944306][ T769] ? netlink_unicast+0x750/0x750 [ 35.944308][ T769] ? rcu_is_watching+0x16/0xd0 [ 35.944310][ T769] ? lock_release+0x184/0x1f0 [ 35.944312][ T769] ____sys_sendmsg+0x415/0x880 [ 35.944315][ T769] ? copy_msghdr_from_user+0x279/0x420 [ 35.944317][ T769] ? get_timestamp.constprop.0+0x390/0x390 [ 35.944319][ T769] ? move_addr_to_kernel+0x40/0x40 [ 35.944322][ T769] ___sys_sendmsg+0x14e/0x1d0 [ 35.944323][ T769] ? copy_msghdr_from_user+0x420/0x420 [ 35.944325][ T769] ? kfree+0x22/0x590 [ 35.944330][ T769] __sys_sendmsg+0x12c/0x1d0 [ 35.944332][ T769] ? __sys_sendmsg_sock+0x20/0x20 [ 35.944334][ T769] ? rcu_is_watching+0x16/0xd0 [ 35.944336][ T769] ? rcu_is_watching+0x16/0xd0 [ 35.944338][ T769] do_syscall_64+0xff/0x530 [ 35.944341][ T769] ? exc_page_fault+0xee/0x100 [ 35.944343][ T769] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 35.944345][ T769] RIP: 0033:0x7fafdad8754e [ 35.944347][ T769] 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.944348][ T769] RSP: 002b:00007ffc7d842c00 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 35.944352][ T769] RAX: ffffffffffffffda RBX: 00000000091bd130 RCX: 00007fafdad8754e [ 35.944353][ T769] RDX: 0000000000000000 RSI: 00007ffc7d842ca0 RDI: 0000000000000005 [ 35.944354][ T769] RBP: 00007ffc7d842c10 R08: 0000000000000000 R09: 0000000000000000 [ 35.944355][ T769] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000091bd200 [ 35.944356][ T769] R13: 00007ffc7d842ca0 R14: 00000000091be260 R15: 000000000040bda8 [ 35.944358][ T769] [ 36.021113][ T773] tun2: deleting peer with id 11, reason 1 [ 41.715315][ T34] tun0: deleting peer with id 4, reason 2 [ 41.715336][ T34] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 41.715338][ T34] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 34, name: kworker/3:0 [ 41.715340][ T34] preempt_count: 202, expected: 0 [ 41.715341][ T34] RCU nest depth: 0, expected: 0 [ 41.715341][ T34] INFO: lockdep is turned off. [ 41.715342][ T34] irq event stamp: 29252 [ 41.715343][ T34] hardirqs last enabled at (29251): [] _raw_spin_unlock_irq+0x28/0x50 [ 41.715351][ T34] hardirqs last disabled at (29252): [] __schedule+0x1246/0x20e0 [ 41.715354][ T34] softirqs last enabled at (28430): [] neigh_periodic_work+0x6b9/0xa60 [ 41.715358][ T34] softirqs last disabled at (28426): [] neigh_periodic_work+0xaa/0xa60 [ 41.715360][ T34] Preemption disabled at: [ 41.715361][ T34] [<0000000000000000>] 0x0 [ 41.715369][ T34] CPU: 3 UID: 0 PID: 34 Comm: kworker/3:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 41.715372][ T34] Tainted: [W]=WARN [ 41.715373][ T34] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 41.715376][ T34] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 41.715386][ T34] Call Trace: [ 41.715387][ T34] [ 41.715389][ T34] dump_stack_lvl+0x6f/0xa0 [ 41.715395][ T34] __might_resched.cold+0x1fe/0x2c1 [ 41.715399][ T34] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 41.715403][ T34] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 41.715405][ T34] ? rcu_is_watching+0x16/0xd0 [ 41.715409][ T34] __kmalloc_noprof+0x443/0x760 [ 41.715413][ T34] ? __rwlock_init+0x150/0x150 [ 41.715415][ T34] ? alloc_buf.isra.0+0x4b/0x260 [ 41.715419][ T34] ? do_raw_spin_unlock+0x59/0x250 [ 41.715421][ T34] alloc_buf.isra.0+0x4b/0x260 [ 41.715423][ T34] put_chars+0x1e1/0x2f0 [ 41.715425][ T34] ? prb_final_commit+0x50/0x50 [ 41.715426][ T34] ? __send_to_port+0x420/0x420 [ 41.715428][ T34] ? printk_get_next_message+0x240/0x650 [ 41.715431][ T34] hvc_console_print+0x292/0x780 [ 41.715435][ T34] ? hvc_write+0x3a0/0x3a0 [ 41.715436][ T34] ? do_raw_spin_lock+0x131/0x280 [ 41.715438][ T34] ? vsnprintf+0x527/0x1700 [ 41.715440][ T34] ? __rwlock_init+0x150/0x150 [ 41.715441][ T34] ? rcu_is_watching+0x16/0xd0 [ 41.715443][ T34] ? lock_acquire+0x13c/0x160 [ 41.715445][ T34] console_emit_next_record+0x22f/0x4c0 [ 41.715448][ T34] ? devkmsg_read+0x4b0/0x4b0 [ 41.715450][ T34] ? rcu_is_watching+0x16/0xd0 [ 41.715451][ T34] ? rcu_is_watching+0x16/0xd0 [ 41.715453][ T34] ? rcu_is_watching+0x16/0xd0 [ 41.715454][ T34] ? lock_acquire+0x13c/0x160 [ 41.715456][ T34] ? console_flush_one_record+0x111/0x710 [ 41.715458][ T34] console_flush_one_record+0x46f/0x710 [ 41.715460][ T34] ? console_emit_next_record+0x4c0/0x4c0 [ 41.715463][ T34] console_unlock+0xee/0x1f0 [ 41.715464][ T34] ? lock_acquire+0x13c/0x160 [ 41.715466][ T34] ? console_flush_one_record+0x710/0x710 [ 41.715467][ T34] ? rcu_is_watching+0x16/0xd0 [ 41.715469][ T34] ? lock_release+0x184/0x1f0 [ 41.715470][ T34] ? lock_acquire+0x60/0x160 [ 41.715472][ T34] ? __rcu_read_lock+0x30/0x70 [ 41.715474][ T34] ? __down_trylock_console_sem+0x5e/0xa0 [ 41.715475][ T34] ? vprintk_emit+0x320/0x3e0 [ 41.715477][ T34] vprintk_emit+0x37c/0x3e0 [ 41.715480][ T34] ? wake_up_klogd_work_func+0x90/0x90 [ 41.715481][ T34] ? ret_from_fork_asm+0x11/0x20 [ 41.715484][ T34] ? queued_spin_lock_slowpath+0x103/0xa60 [ 41.715485][ T34] ? rcu_is_watching+0x16/0xd0 [ 41.715487][ T34] ? stack_access_ok+0x1e0/0x1e0 [ 41.715490][ T34] _printk+0xc7/0x100 [ 41.715493][ T34] ? snapshot_read.cold+0x21/0x21 [ 41.715495][ T34] ? __add_to_free_list+0x81/0x5c0 [ 41.715497][ T34] ? __mod_zone_page_state+0xe1/0x190 [ 41.715500][ T34] ? netdev_name+0x43/0x60 [ 41.715502][ T34] ? __netdev_printk+0x17f/0x1d0 [ 41.715504][ T34] netdev_info+0xe2/0x116 [ 41.715506][ T34] ? netdev_notice+0x120/0x120 [ 41.715507][ T34] ? free_pcppages_bulk+0x363/0x6e0 [ 41.715509][ T34] ? rcu_is_watching+0x16/0xd0 [ 41.715511][ T34] ? trace_irq_enable.constprop.0+0x30/0x160 [ 41.715514][ T34] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 41.715518][ T34] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 41.715520][ T34] ? __rwlock_init+0x150/0x150 [ 41.715522][ T34] ? lock_acquire+0x13c/0x160 [ 41.715524][ T34] ? rcu_is_watching+0x16/0xd0 [ 41.715526][ T34] ovpn_peer_remove+0x394/0x640 [ovpn] [ 41.715529][ T34] ? do_raw_spin_lock+0x131/0x280 [ 41.715531][ T34] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 41.715533][ T34] ? __rwlock_init+0x150/0x150 [ 41.715535][ T34] ? rcu_is_watching+0x16/0xd0 [ 41.715536][ T34] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 41.715538][ T34] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 41.715539][ T34] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 41.715542][ T34] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 41.715544][ T34] ? __rwlock_init+0x150/0x150 [ 41.715547][ T34] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 41.715550][ T34] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 41.715553][ T34] ? rcu_is_watching+0x16/0xd0 [ 41.715554][ T34] ? lock_acquire+0x13c/0x160 [ 41.715556][ T34] ? rcu_is_watching+0x16/0xd0 [ 41.715558][ T34] process_one_work+0xe3e/0x1560 [ 41.715562][ T34] ? __queue_delayed_work+0x470/0x470 [ 41.715564][ T34] ? find_held_lock+0x2b/0x80 [ 41.715566][ T34] ? __rwlock_init+0x150/0x150 [ 41.715568][ T34] worker_thread+0x4f1/0xd60 [ 41.715571][ T34] ? rescuer_thread+0x1340/0x1340 [ 41.715573][ T34] kthread+0x367/0x460 [ 41.715575][ T34] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 41.715576][ T34] ? kthread_affine_preferred+0x4c0/0x4c0 [ 41.715578][ T34] ret_from_fork+0x474/0x6b0 [ 41.715581][ T34] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 41.715582][ T34] ? __switch_to+0x5a3/0xe00 [ 41.715585][ T34] ? kthread_affine_preferred+0x4c0/0x4c0 [ 41.715587][ T34] ret_from_fork_asm+0x11/0x20 [ 41.715590][ T34] [ 41.734264][ T34] tun0: deleting peer with id 3, reason 2 [ 41.734479][ T34] tun0: deleting peer with id 5, reason 2 [ 41.734650][ T34] tun0: deleting peer with id 6, reason 2 [ 46.834342][ T10] tun3: deleting peer with id 12, reason 2 [ 46.834363][ T10] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 46.834366][ T10] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 [ 46.834367][ T10] preempt_count: 202, expected: 0 [ 46.834368][ T10] RCU nest depth: 0, expected: 0 [ 46.834369][ T10] INFO: lockdep is turned off. [ 46.834371][ T10] irq event stamp: 10686 [ 46.834371][ T10] hardirqs last enabled at (10685): [] _raw_spin_unlock_irq+0x28/0x50 [ 46.834380][ T10] hardirqs last disabled at (10686): [] __schedule+0x1246/0x20e0 [ 46.834383][ T10] softirqs last enabled at (10574): [] process_one_work+0xe3e/0x1560 [ 46.834387][ T10] softirqs last disabled at (10570): [] neigh_managed_work+0x2d/0x220 [ 46.834392][ T10] Preemption disabled at: [ 46.834392][ T10] [<0000000000000000>] 0x0 [ 46.834400][ T10] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 46.834403][ T10] Tainted: [W]=WARN [ 46.834404][ T10] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 46.834406][ T10] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 46.834414][ T10] Call Trace: [ 46.834416][ T10] [ 46.834417][ T10] dump_stack_lvl+0x6f/0xa0 [ 46.834423][ T10] __might_resched.cold+0x1fe/0x2c1 [ 46.834427][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 46.834430][ T10] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 46.834433][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.834437][ T10] __kmalloc_noprof+0x443/0x760 [ 46.834440][ T10] ? __rwlock_init+0x150/0x150 [ 46.834443][ T10] ? alloc_buf.isra.0+0x4b/0x260 [ 46.834447][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 46.834448][ T10] alloc_buf.isra.0+0x4b/0x260 [ 46.834450][ T10] put_chars+0x1e1/0x2f0 [ 46.834452][ T10] ? prb_final_commit+0x50/0x50 [ 46.834454][ T10] ? __send_to_port+0x420/0x420 [ 46.834455][ T10] ? printk_get_next_message+0x240/0x650 [ 46.834458][ T10] hvc_console_print+0x292/0x780 [ 46.834462][ T10] ? hvc_write+0x3a0/0x3a0 [ 46.834464][ T10] ? do_raw_spin_lock+0x131/0x280 [ 46.834465][ T10] ? vsnprintf+0x527/0x1700 [ 46.834467][ T10] ? __rwlock_init+0x150/0x150 [ 46.834469][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.834471][ T10] ? lock_acquire+0x13c/0x160 [ 46.834473][ T10] console_emit_next_record+0x22f/0x4c0 [ 46.834476][ T10] ? devkmsg_read+0x4b0/0x4b0 [ 46.834478][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.834479][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.834481][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.834482][ T10] ? lock_acquire+0x13c/0x160 [ 46.834484][ T10] ? console_flush_one_record+0x111/0x710 [ 46.834486][ T10] console_flush_one_record+0x46f/0x710 [ 46.834488][ T10] ? console_emit_next_record+0x4c0/0x4c0 [ 46.834491][ T10] console_unlock+0xee/0x1f0 [ 46.834492][ T10] ? lock_acquire+0x13c/0x160 [ 46.834494][ T10] ? console_flush_one_record+0x710/0x710 [ 46.834495][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.834497][ T10] ? lock_release+0x184/0x1f0 [ 46.834498][ T10] ? lock_acquire+0x60/0x160 [ 46.834500][ T10] ? __rcu_read_lock+0x30/0x70 [ 46.834502][ T10] ? __down_trylock_console_sem+0x5e/0xa0 [ 46.834504][ T10] ? vprintk_emit+0x320/0x3e0 [ 46.834506][ T10] vprintk_emit+0x37c/0x3e0 [ 46.834508][ T10] ? wake_up_klogd_work_func+0x90/0x90 [ 46.834510][ T10] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 46.834511][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.834513][ T10] ? trace_sched_wakeup+0x9b/0x160 [ 46.834515][ T10] _printk+0xc7/0x100 [ 46.834518][ T10] ? snapshot_read.cold+0x21/0x21 [ 46.834520][ T10] ? try_to_wake_up+0x153/0x1130 [ 46.834522][ T10] ? select_fallback_rq+0x510/0x510 [ 46.834523][ T10] ? netdev_name+0x43/0x60 [ 46.834526][ T10] ? __netdev_printk+0x17f/0x1d0 [ 46.834528][ T10] netdev_info+0xe2/0x116 [ 46.834529][ T10] ? netdev_notice+0x120/0x120 [ 46.834531][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.834533][ T10] ? __queue_work+0x3ab/0xd30 [ 46.834536][ T10] ? trace_irq_enable.constprop.0+0x30/0x160 [ 46.834538][ T10] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 46.834542][ T10] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 46.834545][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.834546][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 46.834548][ T10] ovpn_peer_remove+0x394/0x640 [ovpn] [ 46.834552][ T10] ? do_raw_spin_lock+0x131/0x280 [ 46.834553][ T10] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 46.834556][ T10] ? __rwlock_init+0x150/0x150 [ 46.834557][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.834559][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 46.834560][ T10] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 46.834562][ T10] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 46.834564][ T10] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 46.834567][ T10] ? __rwlock_init+0x150/0x150 [ 46.834569][ T10] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 46.834572][ T10] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 46.834575][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.834576][ T10] ? lock_acquire+0x13c/0x160 [ 46.834578][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.834580][ T10] ? process_one_work+0xdfc/0x1560 [ 46.834581][ T10] process_one_work+0xe3e/0x1560 [ 46.834584][ T10] ? __queue_delayed_work+0x470/0x470 [ 46.834586][ T10] ? find_held_lock+0x2b/0x80 [ 46.834588][ T10] ? __rwlock_init+0x150/0x150 [ 46.834590][ T10] worker_thread+0x4f1/0xd60 [ 46.834592][ T10] ? rescuer_thread+0x1340/0x1340 [ 46.834594][ T10] ? __kthread_parkme+0xbd/0x210 [ 46.834596][ T10] ? rescuer_thread+0x1340/0x1340 [ 46.834598][ T10] ? rescuer_thread+0x1340/0x1340 [ 46.834600][ T10] kthread+0x367/0x460 [ 46.834601][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 46.834603][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 46.834604][ T10] ret_from_fork+0x474/0x6b0 [ 46.834607][ T10] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 46.834609][ T10] ? __switch_to+0x5a3/0xe00 [ 46.834611][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 46.834613][ T10] ret_from_fork_asm+0x11/0x20 [ 46.834617][ T10] [ 46.898333][ T34] tun4: deleting peer with id 13, reason 2 [ 46.898343][ T53] tun5: deleting peer with id 14, reason 2 [ 46.963308][ T53] tun6: deleting peer with id 15, reason 2