[ 22.932891][ C0] tun0: no available key for peer 1, key-id: 0 [ 22.932925][ C0] [ 22.932926][ C0] ======================================================== [ 22.932927][ C0] WARNING: possible irq lock inversion dependency detected [ 22.932929][ C0] 7.2.0-virtme #1 Tainted: G W [ 22.932931][ C0] -------------------------------------------------------- [ 22.932931][ C0] ovpn-cli/400 just changed the state of lock: [ 22.932933][ C0] ffffffffaee99660 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 22.932945][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 22.932946][ C0] (fs_reclaim){+.+.}-{0:0} [ 22.932948][ C0] [ 22.932948][ C0] [ 22.932948][ C0] and interrupts could create inverse lock ordering between them. [ 22.932948][ C0] [ 22.932949][ C0] [ 22.932949][ C0] other info that might help us debug this: [ 22.932949][ C0] Possible interrupt unsafe locking scenario: [ 22.932949][ C0] [ 22.932950][ C0] CPU0 CPU1 [ 22.932951][ C0] ---- ---- [ 22.932951][ C0] lock(fs_reclaim); [ 22.932952][ C0] local_irq_disable(); [ 22.932953][ C0] lock(console_owner); [ 22.932954][ C0] lock(fs_reclaim); [ 22.932954][ C0] [ 22.932955][ C0] lock(console_owner); [ 22.932956][ C0] [ 22.932956][ C0] *** DEADLOCK *** [ 22.932956][ C0] [ 22.932956][ C0] locks held by ovpn-cli/400: 6, last CPU#0: [ 22.932957][ C0] #0: ffffffffaef90b00 (rcu_read_lock){....}-{1:3}, at: process_backlog+0x3f1/0x14c0 [ 22.932964][ C0] #1: ffffffffaef90b00 (rcu_read_lock){....}-{1:3}, at: ip_local_deliver_finish+0x2ba/0x610 [ 22.932968][ C0] #2: ff110000210b1d18 (slock-AF_INET/1){+.-.}-{3:3}, at: tcp_v4_rcv+0x1a81/0x2b70 [ 22.932973][ C0] #3: ffffffffaef90b00 (rcu_read_lock){....}-{1:3}, at: ovpn_tcp_data_ready+0x62/0x390 [ovpn] [ 22.932979][ C0] #4: ffffffffaef79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 22.932982][ C0] #5: ffffffffaef79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 22.932986][ C0] [ 22.932986][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 22.932990][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 22.932993][ C0] HARDIRQ-ON-W at: [ 22.932994][ C0] __lock_acquire+0x388/0xc20 [ 22.932997][ C0] lock_acquire.part.0+0xd4/0x280 [ 22.932999][ C0] fs_reclaim_acquire+0xd5/0x120 [ 22.933001][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 22.933004][ C0] kthread_create_worker_on_node+0xea/0x210 [ 22.933006][ C0] workqueue_init+0x2a/0x680 [ 22.933010][ C0] kernel_init_freeable+0x2fe/0x630 [ 22.933013][ C0] kernel_init+0x21/0x150 [ 22.933016][ C0] ret_from_fork+0x474/0x6b0 [ 22.933019][ C0] ret_from_fork_asm+0x11/0x20 [ 22.933022][ C0] SOFTIRQ-ON-W at: [ 22.933023][ C0] __lock_acquire+0x388/0xc20 [ 22.933024][ C0] lock_acquire.part.0+0xd4/0x280 [ 22.933025][ C0] fs_reclaim_acquire+0xd5/0x120 [ 22.933026][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 22.933028][ C0] kthread_create_worker_on_node+0xea/0x210 [ 22.933029][ C0] workqueue_init+0x2a/0x680 [ 22.933030][ C0] kernel_init_freeable+0x2fe/0x630 [ 22.933032][ C0] kernel_init+0x21/0x150 [ 22.933033][ C0] ret_from_fork+0x474/0x6b0 [ 22.933034][ C0] ret_from_fork_asm+0x11/0x20 [ 22.933035][ C0] INITIAL USE at: [ 22.933036][ C0] __lock_acquire+0x388/0xc20 [ 22.933037][ C0] lock_acquire.part.0+0xd4/0x280 [ 22.933039][ C0] fs_reclaim_acquire+0xd5/0x120 [ 22.933040][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 22.933041][ C0] kthread_create_worker_on_node+0xea/0x210 [ 22.933042][ C0] workqueue_init+0x2a/0x680 [ 22.933043][ C0] kernel_init_freeable+0x2fe/0x630 [ 22.933045][ C0] kernel_init+0x21/0x150 [ 22.933046][ C0] ret_from_fork+0x474/0x6b0 [ 22.933047][ C0] ret_from_fork_asm+0x11/0x20 [ 22.933048][ C0] } [ 22.933049][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 22.933052][ C0] ... acquired at: [ 22.933053][ C0] __lock_acquire+0x518/0xc20 [ 22.933055][ C0] lock_acquire.part.0+0xd4/0x280 [ 22.933056][ C0] fs_reclaim_acquire+0xd5/0x120 [ 22.933057][ C0] __kmalloc_noprof+0xd3/0x760 [ 22.933058][ C0] alloc_buf.isra.0+0x4b/0x260 [ 22.933062][ C0] put_chars+0x1e1/0x2f0 [ 22.933063][ C0] hvc_console_print+0x292/0x780 [ 22.933065][ C0] console_emit_next_record+0x22f/0x4c0 [ 22.933067][ C0] console_flush_one_record+0x46f/0x710 [ 22.933068][ C0] console_unlock+0xee/0x1f0 [ 22.933070][ C0] vprintk_emit+0x37c/0x3e0 [ 22.933071][ C0] dev_vprintk_emit+0x27f/0x2c0 [ 22.933075][ C0] dev_printk_emit+0xb9/0xee [ 22.933076][ C0] _dev_info+0xe2/0x116 [ 22.933078][ C0] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 22.933081][ C0] cmos_do_probe+0x73b/0x98a [ 22.933082][ C0] platform_probe+0xfe/0x1f0 [ 22.933084][ C0] call_driver_probe+0x61/0x1c0 [ 22.933087][ C0] really_probe+0x199/0x760 [ 22.933088][ C0] __driver_probe_device+0x24f/0x440 [ 22.933090][ C0] driver_probe_device+0x4a/0xf0 [ 22.933091][ C0] __driver_attach+0x1b8/0x540 [ 22.933093][ C0] bus_for_each_dev+0x130/0x1e0 [ 22.933094][ C0] bus_add_driver+0x2c8/0x530 [ 22.933096][ C0] driver_register+0x1a3/0x390 [ 22.933097][ C0] __platform_driver_probe+0x13f/0x270 [ 22.933099][ C0] cmos_init+0x31/0x40 [ 22.933101][ C0] do_one_initcall+0x124/0x4f0 [ 22.933103][ C0] kernel_init_freeable+0x596/0x630 [ 22.933104][ C0] kernel_init+0x21/0x150 [ 22.933106][ C0] ret_from_fork+0x474/0x6b0 [ 22.933107][ C0] ret_from_fork_asm+0x11/0x20 [ 22.933108][ C0] [ 22.933108][ C0] -> (console_owner){..-.}-{0:0} { [ 22.933110][ C0] IN-SOFTIRQ-W at: [ 22.933111][ C0] __lock_acquire+0x388/0xc20 [ 22.933112][ C0] lock_acquire.part.0+0xd4/0x280 [ 22.933113][ C0] console_lock_spinning_enable+0x5c/0x60 [ 22.933115][ C0] console_emit_next_record+0x1d1/0x4c0 [ 22.933117][ C0] console_flush_one_record+0x46f/0x710 [ 22.933118][ C0] console_unlock+0xee/0x1f0 [ 22.933120][ C0] vprintk_emit+0x37c/0x3e0 [ 22.933121][ C0] _printk+0xc7/0x100 [ 22.933124][ C0] ovpn_recv.cold+0x7e/0x94 [ovpn] [ 22.933127][ C0] ovpn_tcp_rcv+0x274/0x9a0 [ovpn] [ 22.933129][ C0] __strp_recv+0x20f/0x1c20 [ 22.933133][ C0] __tcp_read_sock+0x1c7/0x850 [ 22.933135][ C0] strp_read_sock+0x20f/0x2b0 [ 22.933137][ C0] strp_data_ready+0x18e/0x2c0 [ 22.933139][ C0] ovpn_tcp_data_ready+0xf1/0x390 [ovpn] [ 22.933141][ C0] tcp_rcv_established+0x1e1d/0x3910 [ 22.933143][ C0] tcp_v4_do_rcv+0x4f6/0xb90 [ 22.933144][ C0] tcp_v4_rcv+0x1caa/0x2b70 [ 22.933146][ C0] ip_protocol_deliver_rcu+0x82/0x350 [ 22.933147][ C0] ip_local_deliver_finish+0x36f/0x610 [ 22.933148][ C0] ip_local_deliver+0x184/0x4c0 [ 22.933150][ C0] ip_rcv+0xdc/0x3d0 [ 22.933151][ C0] __netif_receive_skb_one_core+0xfc/0x180 [ 22.933153][ C0] process_backlog+0x431/0x14c0 [ 22.933154][ C0] __napi_poll+0xa7/0x3b0 [ 22.933156][ C0] net_rx_action+0x513/0xf50 [ 22.933158][ C0] handle_softirqs+0x1d3/0x900 [ 22.933160][ C0] do_softirq+0xac/0xe0 [ 22.933162][ C0] __local_bh_enable_ip+0x118/0x150 [ 22.933163][ C0] ovpn_tcp_sendmsg+0x2c2/0x7d0 [ovpn] [ 22.933165][ C0] __sys_sendto+0x2aa/0x400 [ 22.933168][ C0] __x64_sys_sendto+0xe4/0x1f0 [ 22.933170][ C0] do_syscall_64+0xff/0x530 [ 22.933172][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.933174][ C0] INITIAL USE at: [ 22.933175][ C0] } [ 22.933175][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 22.933179][ C0] ... acquired at: [ 22.933179][ C0] mark_lock+0x1d7/0xa00 [ 22.933180][ C0] mark_usage+0x42/0x170 [ 22.933182][ C0] __lock_acquire+0x388/0xc20 [ 22.933183][ C0] lock_acquire.part.0+0xd4/0x280 [ 22.933184][ C0] console_lock_spinning_enable+0x5c/0x60 [ 22.933186][ C0] console_emit_next_record+0x1d1/0x4c0 [ 22.933187][ C0] console_flush_one_record+0x46f/0x710 [ 22.933189][ C0] console_unlock+0xee/0x1f0 [ 22.933190][ C0] vprintk_emit+0x37c/0x3e0 [ 22.933192][ C0] _printk+0xc7/0x100 [ 22.933193][ C0] ovpn_recv.cold+0x7e/0x94 [ovpn] [ 22.933195][ C0] ovpn_tcp_rcv+0x274/0x9a0 [ovpn] [ 22.933197][ C0] __strp_recv+0x20f/0x1c20 [ 22.933199][ C0] __tcp_read_sock+0x1c7/0x850 [ 22.933200][ C0] strp_read_sock+0x20f/0x2b0 [ 22.933202][ C0] strp_data_ready+0x18e/0x2c0 [ 22.933203][ C0] ovpn_tcp_data_ready+0xf1/0x390 [ovpn] [ 22.933205][ C0] tcp_rcv_established+0x1e1d/0x3910 [ 22.933207][ C0] tcp_v4_do_rcv+0x4f6/0xb90 [ 22.933209][ C0] tcp_v4_rcv+0x1caa/0x2b70 [ 22.933210][ C0] ip_protocol_deliver_rcu+0x82/0x350 [ 22.933211][ C0] ip_local_deliver_finish+0x36f/0x610 [ 22.933212][ C0] ip_local_deliver+0x184/0x4c0 [ 22.933214][ C0] ip_rcv+0xdc/0x3d0 [ 22.933215][ C0] __netif_receive_skb_one_core+0xfc/0x180 [ 22.933217][ C0] process_backlog+0x431/0x14c0 [ 22.933218][ C0] __napi_poll+0xa7/0x3b0 [ 22.933220][ C0] net_rx_action+0x513/0xf50 [ 22.933221][ C0] handle_softirqs+0x1d3/0x900 [ 22.933222][ C0] do_softirq+0xac/0xe0 [ 22.933224][ C0] __local_bh_enable_ip+0x118/0x150 [ 22.933225][ C0] ovpn_tcp_sendmsg+0x2c2/0x7d0 [ovpn] [ 22.933227][ C0] __sys_sendto+0x2aa/0x400 [ 22.933229][ C0] __x64_sys_sendto+0xe4/0x1f0 [ 22.933230][ C0] do_syscall_64+0xff/0x530 [ 22.933232][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.933233][ C0] [ 22.933233][ C0] [ 22.933233][ C0] stack backtrace: [ 22.933235][ C0] CPU: 0 UID: 0 PID: 400 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 22.933239][ C0] Tainted: [W]=WARN [ 22.933239][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 22.933241][ C0] Call Trace: [ 22.933242][ C0] [ 22.933243][ C0] dump_stack_lvl+0x6f/0xa0 [ 22.933247][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 22.933250][ C0] mark_lock_irq+0x989/0x9c0 [ 22.933252][ C0] mark_lock+0x1d7/0xa00 [ 22.933254][ C0] mark_usage+0x42/0x170 [ 22.933256][ C0] __lock_acquire+0x388/0xc20 [ 22.933258][ C0] lock_acquire.part.0+0xd4/0x280 [ 22.933260][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 22.933262][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.933265][ C0] ? lock_acquire+0x13c/0x160 [ 22.933267][ C0] console_lock_spinning_enable+0x5c/0x60 [ 22.933269][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 22.933270][ C0] console_emit_next_record+0x1d1/0x4c0 [ 22.933272][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 22.933274][ C0] ? console_flush_one_record+0x106/0x710 [ 22.933276][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.933278][ C0] ? lock_acquire+0x13c/0x160 [ 22.933279][ C0] console_flush_one_record+0x46f/0x710 [ 22.933282][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 22.933283][ C0] ? __lock_acquire+0x518/0xc20 [ 22.933285][ C0] console_unlock+0xee/0x1f0 [ 22.933287][ C0] ? console_flush_one_record+0x710/0x710 [ 22.933289][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.933291][ C0] ? lock_acquire+0x60/0x160 [ 22.933292][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 22.933294][ C0] ? vprintk_emit+0x320/0x3e0 [ 22.933296][ C0] vprintk_emit+0x37c/0x3e0 [ 22.933298][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 22.933300][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 22.933302][ C0] _printk+0xc7/0x100 [ 22.933304][ C0] ? snapshot_read.cold+0x21/0x21 [ 22.933305][ C0] ? ___ratelimit+0x4e7/0xa00 [ 22.933308][ C0] ? ovpn_netdev_write+0x730/0x730 [ovpn] [ 22.933312][ C0] ? idr_get_free+0x830/0x830 [ 22.933314][ C0] ovpn_recv.cold+0x7e/0x94 [ovpn] [ 22.933317][ C0] ovpn_tcp_rcv+0x274/0x9a0 [ovpn] [ 22.933321][ C0] ? ovpn_tcp_write_space+0x2e0/0x2e0 [ovpn] [ 22.933323][ C0] ? __copy_skb_header+0xb7/0x510 [ 22.933326][ C0] ? ovpn_tcp_disconnect+0x10/0x10 [ovpn] [ 22.933328][ C0] ? sock_queue_err_skb+0xb0/0x680 [ 22.933330][ C0] __strp_recv+0x20f/0x1c20 [ 22.933334][ C0] __tcp_read_sock+0x1c7/0x850 [ 22.933335][ C0] ? strp_process+0xb0/0xb0 [ 22.933337][ C0] ? __tcp_transmit_skb+0x1b6e/0x3c10 [ 22.933339][ C0] ? tcp_cleanup_rbuf+0x1c0/0x1c0 [ 22.933340][ C0] ? mark_usage+0x61/0x170 [ 22.933342][ C0] strp_read_sock+0x20f/0x2b0 [ 22.933344][ C0] ? strp_stop+0x50/0x50 [ 22.933346][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.933348][ C0] ? lock_acquire+0x13c/0x160 [ 22.933350][ C0] strp_data_ready+0x18e/0x2c0 [ 22.933352][ C0] ovpn_tcp_data_ready+0xf1/0x390 [ovpn] [ 22.933355][ C0] tcp_rcv_established+0x1e1d/0x3910 [ 22.933358][ C0] ? __tcp_check_space+0x600/0x600 [ 22.933359][ C0] ? tcp_v4_rcv+0x1a81/0x2b70 [ 22.933361][ C0] ? do_raw_spin_lock+0x131/0x280 [ 22.933363][ C0] tcp_v4_do_rcv+0x4f6/0xb90 [ 22.933365][ C0] tcp_v4_rcv+0x1caa/0x2b70 [ 22.933368][ C0] ? mark_usage+0x61/0x170 [ 22.933369][ C0] ? tcp_add_backlog+0x1e30/0x1e30 [ 22.933372][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 22.933373][ C0] ? ip_local_deliver_finish+0x2ba/0x610 [ 22.933375][ C0] ip_protocol_deliver_rcu+0x82/0x350 [ 22.933377][ C0] ? process_backlog+0x3f1/0x14c0 [ 22.933379][ C0] ip_local_deliver_finish+0x36f/0x610 [ 22.933381][ C0] ip_local_deliver+0x184/0x4c0 [ 22.933382][ C0] ? ip_local_deliver_finish+0x610/0x610 [ 22.933384][ C0] ? ip_rcv_finish_core+0x6ed/0x14c0 [ 22.933386][ C0] ? process_backlog+0x3f1/0x14c0 [ 22.933388][ C0] ip_rcv+0xdc/0x3d0 [ 22.933390][ C0] ? ip_local_deliver+0x4c0/0x4c0 [ 22.933391][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.933393][ C0] ? __update_load_avg_cfs_rq+0x36c/0x10c0 [ 22.933395][ C0] ? mark_usage+0x61/0x170 [ 22.933397][ C0] ? __lock_acquire+0x518/0xc20 [ 22.933398][ C0] ? trace_raw_output_rcu_invoke_kfree_bulk_callback+0x57/0x130 [ 22.933401][ C0] __netif_receive_skb_one_core+0xfc/0x180 [ 22.933403][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 22.933404][ C0] ? process_backlog+0x3f1/0x14c0 [ 22.933406][ C0] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 22.933408][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.933410][ C0] process_backlog+0x431/0x14c0 [ 22.933413][ C0] __napi_poll+0xa7/0x3b0 [ 22.933415][ C0] net_rx_action+0x513/0xf50 [ 22.933418][ C0] ? __lock_acquire+0x518/0xc20 [ 22.933419][ C0] ? __napi_poll+0x3b0/0x3b0 [ 22.933422][ C0] ? ktime_get_update_offsets_now+0x2a8/0x490 [ 22.933426][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.933428][ C0] handle_softirqs+0x1d3/0x900 [ 22.933430][ C0] ? _local_bh_enable+0xc0/0xc0 [ 22.933431][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 22.933433][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.933435][ C0] do_softirq+0xac/0xe0 [ 22.933436][ C0] [ 22.933437][ C0] [ 22.933437][ C0] __local_bh_enable_ip+0x118/0x150 [ 22.933439][ C0] ovpn_tcp_sendmsg+0x2c2/0x7d0 [ovpn] [ 22.933442][ C0] ? ovpn_tcp_recvmsg+0x6d0/0x6d0 [ovpn] [ 22.933445][ C0] __sys_sendto+0x2aa/0x400 [ 22.933447][ C0] ? __ia32_sys_getpeername+0xd0/0xd0 [ 22.933451][ C0] ? fput_close_sync+0xde/0x1b0 [ 22.933453][ C0] ? alloc_file_clone+0xe0/0xe0 [ 22.933455][ C0] __x64_sys_sendto+0xe4/0x1f0 [ 22.933457][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 22.933459][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 22.933461][ C0] ? do_syscall_64+0xa6/0x530 [ 22.933462][ C0] do_syscall_64+0xff/0x530 [ 22.933464][ C0] ? exc_page_fault+0xee/0x100 [ 22.933465][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.933466][ C0] RIP: 0033:0x7f7aa299754e [ 22.933470][ C0] 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 [ 22.933471][ C0] RSP: 002b:00007ffc8e81aae0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 22.933474][ C0] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7aa299754e [ 22.933475][ C0] RDX: 00000000000003ea RSI: 00007ffc8e81ab50 RDI: 0000000000000005 [ 22.933476][ C0] RBP: 00007ffc8e81aaf0 R08: 0000000000000000 R09: 0000000000000000 [ 22.933477][ C0] R10: 0000000000004000 R11: 0000000000000202 R12: 00007ffc8e81b478 [ 22.933478][ C0] R13: 0000000000000008 R14: 00007f7aa2c82000 R15: 000000000040bda8 [ 22.933480][ C0] [ 22.933484][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 22.933485][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 400, name: ovpn-cli [ 22.933487][ C0] preempt_count: 103, expected: 0 [ 22.933488][ C0] RCU nest depth: 3, expected: 0 [ 22.933488][ C0] INFO: lockdep is turned off. [ 22.933489][ C0] irq event stamp: 49185 [ 22.933489][ C0] hardirqs last enabled at (49184): [] __down_trylock_console_sem+0x86/0xa0 [ 22.933492][ C0] hardirqs last disabled at (49185): [] console_emit_next_record+0x3d4/0x4c0 [ 22.933494][ C0] softirqs last enabled at (49068): [] ovpn_tcp_sendmsg+0x2c2/0x7d0 [ovpn] [ 22.933496][ C0] softirqs last disabled at (49069): [] do_softirq+0xac/0xe0 [ 22.933498][ C0] Preemption disabled at: [ 22.933498][ C0] [<0000000000000000>] 0x0 [ 22.933500][ C0] CPU: 0 UID: 0 PID: 400 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 22.933502][ C0] Tainted: [W]=WARN [ 22.933503][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 22.933503][ C0] Call Trace: [ 22.933504][ C0] [ 22.933504][ C0] dump_stack_lvl+0x6f/0xa0 [ 22.933507][ C0] __might_resched.cold+0x1fe/0x2c1 [ 22.933510][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 22.933513][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.933515][ C0] __kmalloc_noprof+0x443/0x760 [ 22.933517][ C0] ? __rwlock_init+0x150/0x150 [ 22.933518][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 22.933520][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 22.933522][ C0] alloc_buf.isra.0+0x4b/0x260 [ 22.933523][ C0] put_chars+0x1e1/0x2f0 [ 22.933525][ C0] ? __send_to_port+0x420/0x420 [ 22.933528][ C0] hvc_console_print+0x292/0x780 [ 22.933530][ C0] ? __lock_acquire+0x388/0xc20 [ 22.933532][ C0] ? hvc_write+0x3a0/0x3a0 [ 22.933541][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.933542][ C0] ? lock_acquire+0x13c/0x160 [ 22.933544][ C0] console_emit_next_record+0x22f/0x4c0 [ 22.933546][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 22.933548][ C0] ? console_flush_one_record+0x106/0x710 [ 22.933550][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.933552][ C0] ? lock_acquire+0x13c/0x160 [ 22.933554][ C0] console_flush_one_record+0x46f/0x710 [ 22.933556][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 22.933558][ C0] ? __lock_acquire+0x518/0xc20 [ 22.933560][ C0] console_unlock+0xee/0x1f0 [ 22.933562][ C0] ? console_flush_one_record+0x710/0x710 [ 22.933563][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.933565][ C0] ? lock_acquire+0x60/0x160 [ 22.933567][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 22.933568][ C0] ? vprintk_emit+0x320/0x3e0 [ 22.933570][ C0] vprintk_emit+0x37c/0x3e0 [ 22.933572][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 22.933574][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 22.933576][ C0] _printk+0xc7/0x100 [ 22.933578][ C0] ? snapshot_read.cold+0x21/0x21 [ 22.933579][ C0] ? ___ratelimit+0x4e7/0xa00 [ 22.933581][ C0] ? ovpn_netdev_write+0x730/0x730 [ovpn] [ 22.933584][ C0] ? idr_get_free+0x830/0x830 [ 22.933586][ C0] ovpn_recv.cold+0x7e/0x94 [ovpn] [ 22.933589][ C0] ovpn_tcp_rcv+0x274/0x9a0 [ovpn] [ 22.933592][ C0] ? ovpn_tcp_write_space+0x2e0/0x2e0 [ovpn] [ 22.933594][ C0] ? __copy_skb_header+0xb7/0x510 [ 22.933596][ C0] ? ovpn_tcp_disconnect+0x10/0x10 [ovpn] [ 22.933598][ C0] ? sock_queue_err_skb+0xb0/0x680 [ 22.933600][ C0] __strp_recv+0x20f/0x1c20 [ 22.933604][ C0] __tcp_read_sock+0x1c7/0x850 [ 22.933605][ C0] ? strp_process+0xb0/0xb0 [ 22.933607][ C0] ? __tcp_transmit_skb+0x1b6e/0x3c10 [ 22.933608][ C0] ? tcp_cleanup_rbuf+0x1c0/0x1c0 [ 22.933610][ C0] ? mark_usage+0x61/0x170 [ 22.933612][ C0] strp_read_sock+0x20f/0x2b0 [ 22.933614][ C0] ? strp_stop+0x50/0x50 [ 22.933616][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.933618][ C0] ? lock_acquire+0x13c/0x160 [ 22.933619][ C0] strp_data_ready+0x18e/0x2c0 [ 22.933621][ C0] ovpn_tcp_data_ready+0xf1/0x390 [ovpn] [ 22.933624][ C0] tcp_rcv_established+0x1e1d/0x3910 [ 22.933627][ C0] ? __tcp_check_space+0x600/0x600 [ 22.933629][ C0] ? tcp_v4_rcv+0x1a81/0x2b70 [ 22.933630][ C0] ? do_raw_spin_lock+0x131/0x280 [ 22.933632][ C0] tcp_v4_do_rcv+0x4f6/0xb90 [ 22.933634][ C0] tcp_v4_rcv+0x1caa/0x2b70 [ 22.933637][ C0] ? mark_usage+0x61/0x170 [ 22.933638][ C0] ? tcp_add_backlog+0x1e30/0x1e30 [ 22.933640][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 22.933642][ C0] ? ip_local_deliver_finish+0x2ba/0x610 [ 22.933644][ C0] ip_protocol_deliver_rcu+0x82/0x350 [ 22.933645][ C0] ? process_backlog+0x3f1/0x14c0 [ 22.933647][ C0] ip_local_deliver_finish+0x36f/0x610 [ 22.933649][ C0] ip_local_deliver+0x184/0x4c0 [ 22.933651][ C0] ? ip_local_deliver_finish+0x610/0x610 [ 22.933652][ C0] ? ip_rcv_finish_core+0x6ed/0x14c0 [ 22.933655][ C0] ? process_backlog+0x3f1/0x14c0 [ 22.933656][ C0] ip_rcv+0xdc/0x3d0 [ 22.933658][ C0] ? ip_local_deliver+0x4c0/0x4c0 [ 22.933659][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.933661][ C0] ? __update_load_avg_cfs_rq+0x36c/0x10c0 [ 22.933662][ C0] ? mark_usage+0x61/0x170 [ 22.933664][ C0] ? __lock_acquire+0x518/0xc20 [ 22.933665][ C0] ? trace_raw_output_rcu_invoke_kfree_bulk_callback+0x57/0x130 [ 22.933667][ C0] __netif_receive_skb_one_core+0xfc/0x180 [ 22.933669][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 22.933670][ C0] ? process_backlog+0x3f1/0x14c0 [ 22.933672][ C0] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 22.933674][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.933677][ C0] process_backlog+0x431/0x14c0 [ 22.933679][ C0] __napi_poll+0xa7/0x3b0 [ 22.933681][ C0] net_rx_action+0x513/0xf50 [ 22.933684][ C0] ? __lock_acquire+0x518/0xc20 [ 22.933685][ C0] ? __napi_poll+0x3b0/0x3b0 [ 22.933689][ C0] ? ktime_get_update_offsets_now+0x2a8/0x490 [ 22.933690][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.933692][ C0] handle_softirqs+0x1d3/0x900 [ 22.933694][ C0] ? _local_bh_enable+0xc0/0xc0 [ 22.933696][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 22.933697][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.933699][ C0] do_softirq+0xac/0xe0 [ 22.933700][ C0] [ 22.933701][ C0] [ 22.933701][ C0] __local_bh_enable_ip+0x118/0x150 [ 22.933703][ C0] ovpn_tcp_sendmsg+0x2c2/0x7d0 [ovpn] [ 22.933706][ C0] ? ovpn_tcp_recvmsg+0x6d0/0x6d0 [ovpn] [ 22.933710][ C0] __sys_sendto+0x2aa/0x400 [ 22.933716][ C0] ? __ia32_sys_getpeername+0xd0/0xd0 [ 22.933722][ C0] ? fput_close_sync+0xde/0x1b0 [ 22.933724][ C0] ? alloc_file_clone+0xe0/0xe0 [ 22.933726][ C0] __x64_sys_sendto+0xe4/0x1f0 [ 22.933728][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 22.933729][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 22.933731][ C0] ? do_syscall_64+0xa6/0x530 [ 22.933732][ C0] do_syscall_64+0xff/0x530 [ 22.933734][ C0] ? exc_page_fault+0xee/0x100 [ 22.933735][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.933736][ C0] RIP: 0033:0x7f7aa299754e [ 22.933738][ C0] 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 [ 22.933739][ C0] RSP: 002b:00007ffc8e81aae0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 22.933740][ C0] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7aa299754e [ 22.933741][ C0] RDX: 00000000000003ea RSI: 00007ffc8e81ab50 RDI: 0000000000000005 [ 22.933741][ C0] RBP: 00007ffc8e81aaf0 R08: 0000000000000000 R09: 0000000000000000 [ 22.933742][ C0] R10: 0000000000004000 R11: 0000000000000202 R12: 00007ffc8e81b478 [ 22.933743][ C0] R13: 0000000000000008 R14: 00007f7aa2c82000 R15: 000000000040bda8 [ 22.933745][ C0] [ 23.286077][ C3] tun0: no available key for peer 6, key-id: 0 [ 31.846726][ T613] iperf3 (613) used greatest stack depth: 22736 bytes left [ 31.846745][ T613] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 31.846747][ T613] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 613, name: iperf3 [ 31.846749][ T613] preempt_count: 2, expected: 0 [ 31.846750][ T613] RCU nest depth: 0, expected: 0 [ 31.846750][ T613] INFO: lockdep is turned off. [ 31.846752][ T613] irq event stamp: 0 [ 31.846752][ T613] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 31.846757][ T613] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 31.846764][ T613] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 31.846765][ T613] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 31.846767][ T613] Preemption disabled at: [ 31.846768][ T613] [<0000000000000000>] 0x0 [ 31.846773][ T613] CPU: 2 UID: 0 PID: 613 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 31.846777][ T613] Tainted: [W]=WARN [ 31.846778][ T613] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 31.846780][ T613] Call Trace: [ 31.846781][ T613] [ 31.846783][ T613] dump_stack_lvl+0x6f/0xa0 [ 31.846788][ T613] __might_resched.cold+0x1fe/0x2c1 [ 31.846792][ T613] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 31.846796][ T613] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 31.846798][ T613] ? rcu_is_watching+0x16/0xd0 [ 31.846802][ T613] __kmalloc_noprof+0x443/0x760 [ 31.846805][ T613] ? __rwlock_init+0x150/0x150 [ 31.846808][ T613] ? alloc_buf.isra.0+0x4b/0x260 [ 31.846813][ T613] ? do_raw_spin_unlock+0x59/0x250 [ 31.846815][ T613] alloc_buf.isra.0+0x4b/0x260 [ 31.846817][ T613] put_chars+0x1e1/0x2f0 [ 31.846819][ T613] ? prb_final_commit+0x50/0x50 [ 31.846820][ T613] ? __send_to_port+0x420/0x420 [ 31.846822][ T613] ? printk_get_next_message+0x240/0x650 [ 31.846825][ T613] hvc_console_print+0x292/0x780 [ 31.846829][ T613] ? hvc_write+0x3a0/0x3a0 [ 31.846831][ T613] ? do_raw_spin_lock+0x131/0x280 [ 31.846832][ T613] ? vsnprintf+0x668/0x1700 [ 31.846835][ T613] ? __rwlock_init+0x150/0x150 [ 31.846837][ T613] ? rcu_is_watching+0x16/0xd0 [ 31.846838][ T613] ? lock_acquire+0x13c/0x160 [ 31.846841][ T613] console_emit_next_record+0x22f/0x4c0 [ 31.846844][ T613] ? devkmsg_read+0x4b0/0x4b0 [ 31.846846][ T613] ? rcu_is_watching+0x16/0xd0 [ 31.846847][ T613] ? rcu_is_watching+0x16/0xd0 [ 31.846849][ T613] ? rcu_is_watching+0x16/0xd0 [ 31.846851][ T613] ? lock_acquire+0x13c/0x160 [ 31.846852][ T613] ? console_flush_one_record+0x111/0x710 [ 31.846854][ T613] console_flush_one_record+0x46f/0x710 [ 31.846857][ T613] ? console_emit_next_record+0x4c0/0x4c0 [ 31.846859][ T613] console_unlock+0xee/0x1f0 [ 31.846861][ T613] ? lock_acquire+0x13c/0x160 [ 31.846863][ T613] ? console_flush_one_record+0x710/0x710 [ 31.846864][ T613] ? rcu_is_watching+0x16/0xd0 [ 31.846866][ T613] ? lock_release+0x184/0x1f0 [ 31.846867][ T613] ? lock_acquire+0x60/0x160 [ 31.846869][ T613] ? __rcu_read_lock+0x30/0x70 [ 31.846871][ T613] ? __down_trylock_console_sem+0x5e/0xa0 [ 31.846873][ T613] ? vprintk_emit+0x320/0x3e0 [ 31.846875][ T613] vprintk_emit+0x37c/0x3e0 [ 31.846877][ T613] ? wake_up_klogd_work_func+0x90/0x90 [ 31.846880][ T613] _printk+0xc7/0x100 [ 31.846883][ T613] ? snapshot_read.cold+0x21/0x21 [ 31.846884][ T613] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 31.846887][ T613] ? do_raw_spin_lock+0x131/0x280 [ 31.846888][ T613] ? __rwlock_init+0x150/0x150 [ 31.846890][ T613] ? do_raw_spin_lock+0x131/0x280 [ 31.846892][ T613] do_exit.cold+0x82/0x9c [ 31.846895][ T613] ? exit_notify+0x890/0x890 [ 31.846897][ T613] __x64_sys_exit+0x42/0x50 [ 31.846899][ T613] x64_sys_call+0x156c/0x1570 [ 31.846901][ T613] do_syscall_64+0xff/0x530 [ 31.846904][ T613] ? exc_page_fault+0xee/0x100 [ 31.846906][ T613] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 31.846908][ T613] RIP: 0033:0x7f9e35a33c49 [ 31.846910][ T613] Code: Unable to access opcode bytes at 0x7f9e35a33c1f. [ 31.846911][ T613] RSP: 002b:00007f9e351f2e60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 31.846914][ T613] RAX: ffffffffffffffda RBX: 00007f9e351f36c0 RCX: 00007f9e35a33c49 [ 31.846916][ T613] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 31.846917][ T613] RBP: 00007f9e351f2f70 R08: 0000000000000001 R09: 00007f9e351f36c0 [ 31.846917][ T613] R10: 0000000000000008 R11: 0000000000000246 R12: 00007f9e349f3000 [ 31.846918][ T613] R13: 00007fff762f1e40 R14: 0000000000000002 R15: 00007fff762f1f47 [ 31.846920][ T613] [ 33.051303][ T707] tun0: deleting peer with id 1, reason 1 [ 33.051319][ T707] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 33.051322][ T707] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 707, name: ovpn-cli [ 33.051323][ T707] preempt_count: 202, expected: 0 [ 33.051324][ T707] RCU nest depth: 0, expected: 0 [ 33.051325][ T707] INFO: lockdep is turned off. [ 33.051326][ T707] irq event stamp: 0 [ 33.051327][ T707] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 33.051331][ T707] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 33.051337][ T707] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 33.051338][ T707] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 33.051340][ T707] Preemption disabled at: [ 33.051341][ T707] [<0000000000000000>] 0x0 [ 33.051346][ T707] CPU: 0 UID: 0 PID: 707 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 33.051349][ T707] Tainted: [W]=WARN [ 33.051350][ T707] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 33.051352][ T707] Call Trace: [ 33.051353][ T707] [ 33.051354][ T707] dump_stack_lvl+0x6f/0xa0 [ 33.051360][ T707] __might_resched.cold+0x1fe/0x2c1 [ 33.051364][ T707] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 33.051368][ T707] ? rcu_is_watching+0x16/0xd0 [ 33.051372][ T707] __kmalloc_noprof+0x443/0x760 [ 33.051375][ T707] ? __rwlock_init+0x150/0x150 [ 33.051377][ T707] ? alloc_buf.isra.0+0x4b/0x260 [ 33.051382][ T707] ? do_raw_spin_unlock+0x59/0x250 [ 33.051383][ T707] alloc_buf.isra.0+0x4b/0x260 [ 33.051385][ T707] put_chars+0x1e1/0x2f0 [ 33.051387][ T707] ? __send_to_port+0x420/0x420 [ 33.051389][ T707] ? printk_get_next_message+0x240/0x650 [ 33.051392][ T707] hvc_console_print+0x292/0x780 [ 33.051396][ T707] ? hvc_write+0x3a0/0x3a0 [ 33.051398][ T707] ? __rwlock_init+0x150/0x150 [ 33.051399][ T707] ? rcu_is_watching+0x16/0xd0 [ 33.051401][ T707] ? lock_acquire+0x13c/0x160 [ 33.051403][ T707] console_emit_next_record+0x22f/0x4c0 [ 33.051406][ T707] ? devkmsg_read+0x4b0/0x4b0 [ 33.051407][ T707] ? rcu_is_watching+0x16/0xd0 [ 33.051409][ T707] ? rcu_is_watching+0x16/0xd0 [ 33.051411][ T707] ? rcu_is_watching+0x16/0xd0 [ 33.051412][ T707] ? lock_acquire+0x13c/0x160 [ 33.051414][ T707] ? console_flush_one_record+0x111/0x710 [ 33.051416][ T707] console_flush_one_record+0x46f/0x710 [ 33.051418][ T707] ? console_emit_next_record+0x4c0/0x4c0 [ 33.051420][ T707] console_unlock+0xee/0x1f0 [ 33.051422][ T707] ? lock_acquire+0x13c/0x160 [ 33.051424][ T707] ? console_flush_one_record+0x710/0x710 [ 33.051425][ T707] ? rcu_is_watching+0x16/0xd0 [ 33.051427][ T707] ? lock_release+0x184/0x1f0 [ 33.051428][ T707] ? lock_acquire+0x60/0x160 [ 33.051429][ T707] ? __rcu_read_lock+0x30/0x70 [ 33.051432][ T707] ? __down_trylock_console_sem+0x5e/0xa0 [ 33.051433][ T707] ? vprintk_emit+0x320/0x3e0 [ 33.051435][ T707] vprintk_emit+0x37c/0x3e0 [ 33.051437][ T707] ? wake_up_klogd_work_func+0x90/0x90 [ 33.051439][ T707] ? kernel_text_address+0x149/0x170 [ 33.051441][ T707] ? __kernel_text_address+0x12/0x30 [ 33.051443][ T707] ? write_profile+0xf0/0xf0 [ 33.051445][ T707] ? unwind_get_return_address+0x67/0xd0 [ 33.051448][ T707] _printk+0xc7/0x100 [ 33.051451][ T707] ? snapshot_read.cold+0x21/0x21 [ 33.051453][ T707] ? netdev_name+0x43/0x60 [ 33.051455][ T707] ? __netdev_printk+0x17f/0x1d0 [ 33.051457][ T707] netdev_info+0xe2/0x116 [ 33.051459][ T707] ? netdev_notice+0x120/0x120 [ 33.051460][ T707] ? ovpn_nl_pre_doit+0x44/0x90 [ovpn] [ 33.051465][ T707] ? __module_address+0x36/0x330 [ 33.051468][ T707] ? lock_acquire+0x13c/0x160 [ 33.051470][ T707] ? rcu_is_watching+0x16/0xd0 [ 33.051471][ T707] ? lock_release+0x184/0x1f0 [ 33.051473][ T707] ? ovpn_peer_get_by_id+0x38a/0x7a0 [ovpn] [ 33.051476][ T707] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 33.051480][ T707] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 33.051483][ T707] ? lock_acquire+0x13c/0x160 [ 33.051484][ T707] ? rcu_is_watching+0x16/0xd0 [ 33.051486][ T707] ? lock_release+0x184/0x1f0 [ 33.051488][ T707] ovpn_peer_remove+0x394/0x640 [ovpn] [ 33.051490][ T707] ? do_raw_spin_lock+0x131/0x280 [ 33.051492][ T707] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 33.051495][ T707] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 33.051498][ T707] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 33.051501][ T707] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 33.051504][ T707] ? trace_hardirqs_on+0x36/0x40 [ 33.051507][ T707] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 33.051509][ T707] ? ref_tracker_alloc+0x28d/0x430 [ 33.051514][ T707] ? lock_release+0x184/0x1f0 [ 33.051515][ T707] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 33.051519][ T707] genl_family_rcv_msg_doit+0x206/0x300 [ 33.051523][ T707] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 33.051525][ T707] ? rcu_is_watching+0x16/0xd0 [ 33.051527][ T707] ? rcu_is_watching+0x16/0xd0 [ 33.051529][ T707] ? cap_capable+0x1d7/0x3d0 [ 33.051532][ T707] ? write_profile+0xf0/0xf0 [ 33.051534][ T707] ? unwind_get_return_address+0x67/0xd0 [ 33.051535][ T707] genl_family_rcv_msg+0x3a4/0x640 [ 33.051537][ T707] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 33.051540][ T707] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 33.051542][ T707] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 33.051544][ T707] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 33.051547][ T707] ? filter_irq_stacks+0xd0/0xd0 [ 33.051548][ T707] ? stack_depot_save_flags+0x1bc/0x790 [ 33.051550][ T707] genl_rcv_msg+0xbb/0x160 [ 33.051552][ T707] netlink_rcv_skb+0x14e/0x3a0 [ 33.051554][ T707] ? genl_family_rcv_msg+0x640/0x640 [ 33.051556][ T707] ? netlink_ack+0xcf0/0xcf0 [ 33.051559][ T707] ? lock_acquire+0x13c/0x160 [ 33.051560][ T707] ? rcu_is_watching+0x16/0xd0 [ 33.051562][ T707] ? lock_release+0x184/0x1f0 [ 33.051564][ T707] genl_rcv+0x28/0x40 [ 33.051566][ T707] netlink_unicast+0x486/0x750 [ 33.051568][ T707] ? netlink_attachskb+0x810/0x810 [ 33.051570][ T707] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 33.051571][ T707] ? trace_hardirqs_on+0x36/0x40 [ 33.051578][ T707] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 33.051581][ T707] netlink_sendmsg+0x735/0xc60 [ 33.051583][ T707] ? netlink_unicast+0x750/0x750 [ 33.051585][ T707] ? rcu_is_watching+0x16/0xd0 [ 33.051587][ T707] ? lock_release+0x184/0x1f0 [ 33.051589][ T707] ____sys_sendmsg+0x415/0x880 [ 33.051593][ T707] ? copy_msghdr_from_user+0x279/0x420 [ 33.051594][ T707] ? get_timestamp.constprop.0+0x390/0x390 [ 33.051596][ T707] ? move_addr_to_kernel+0x40/0x40 [ 33.051599][ T707] ___sys_sendmsg+0x14e/0x1d0 [ 33.051600][ T707] ? copy_msghdr_from_user+0x420/0x420 [ 33.051602][ T707] ? kfree+0x22/0x590 [ 33.051607][ T707] __sys_sendmsg+0x12c/0x1d0 [ 33.051609][ T707] ? __sys_sendmsg_sock+0x20/0x20 [ 33.051612][ T707] ? rcu_is_watching+0x16/0xd0 [ 33.051613][ T707] ? rcu_is_watching+0x16/0xd0 [ 33.051615][ T707] do_syscall_64+0xff/0x530 [ 33.051618][ T707] ? exc_page_fault+0xee/0x100 [ 33.051620][ T707] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 33.051622][ T707] RIP: 0033:0x7fe24401a54e [ 33.051624][ T707] 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.051626][ T707] RSP: 002b:00007ffd5b6dcff0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 33.051629][ T707] RAX: ffffffffffffffda RBX: 0000000038964130 RCX: 00007fe24401a54e [ 33.051630][ T707] RDX: 0000000000000000 RSI: 00007ffd5b6dd090 RDI: 0000000000000005 [ 33.051631][ T707] RBP: 00007ffd5b6dd000 R08: 0000000000000000 R09: 0000000000000000 [ 33.051632][ T707] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000038964200 [ 33.051633][ T707] R13: 00007ffd5b6dd090 R14: 0000000038965260 R15: 000000000040bda8 [ 33.051635][ T707] [ 33.126981][ T711] tun1: deleting peer with id 1, reason 1 [ 35.706391][ T759] tun0: deleting peer with id 2, reason 1 [ 35.706409][ T759] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 35.706411][ T759] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 759, name: ovpn-cli [ 35.706413][ T759] preempt_count: 202, expected: 0 [ 35.706414][ T759] RCU nest depth: 0, expected: 0 [ 35.706414][ T759] INFO: lockdep is turned off. [ 35.706416][ T759] irq event stamp: 0 [ 35.706416][ T759] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 35.706421][ T759] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 35.706427][ T759] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 35.706428][ T759] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 35.706430][ T759] Preemption disabled at: [ 35.706431][ T759] [<0000000000000000>] 0x0 [ 35.706436][ T759] CPU: 3 UID: 0 PID: 759 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 35.706439][ T759] Tainted: [W]=WARN [ 35.706440][ T759] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 35.706442][ T759] Call Trace: [ 35.706443][ T759] [ 35.706444][ T759] dump_stack_lvl+0x6f/0xa0 [ 35.706450][ T759] __might_resched.cold+0x1fe/0x2c1 [ 35.706453][ T759] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 35.706457][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.706461][ T759] __kmalloc_noprof+0x443/0x760 [ 35.706464][ T759] ? __rwlock_init+0x150/0x150 [ 35.706467][ T759] ? alloc_buf.isra.0+0x4b/0x260 [ 35.706471][ T759] ? do_raw_spin_unlock+0x59/0x250 [ 35.706473][ T759] alloc_buf.isra.0+0x4b/0x260 [ 35.706475][ T759] put_chars+0x1e1/0x2f0 [ 35.706477][ T759] ? __send_to_port+0x420/0x420 [ 35.706479][ T759] ? printk_get_next_message+0x240/0x650 [ 35.706482][ T759] hvc_console_print+0x292/0x780 [ 35.706486][ T759] ? hvc_write+0x3a0/0x3a0 [ 35.706488][ T759] ? __rwlock_init+0x150/0x150 [ 35.706489][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.706491][ T759] ? lock_acquire+0x13c/0x160 [ 35.706493][ T759] console_emit_next_record+0x22f/0x4c0 [ 35.706496][ T759] ? devkmsg_read+0x4b0/0x4b0 [ 35.706498][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.706499][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.706501][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.706503][ T759] ? lock_acquire+0x13c/0x160 [ 35.706504][ T759] ? console_flush_one_record+0x111/0x710 [ 35.706506][ T759] console_flush_one_record+0x46f/0x710 [ 35.706508][ T759] ? console_emit_next_record+0x4c0/0x4c0 [ 35.706511][ T759] console_unlock+0xee/0x1f0 [ 35.706513][ T759] ? lock_acquire+0x13c/0x160 [ 35.706514][ T759] ? console_flush_one_record+0x710/0x710 [ 35.706516][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.706517][ T759] ? lock_release+0x184/0x1f0 [ 35.706519][ T759] ? lock_acquire+0x60/0x160 [ 35.706520][ T759] ? __rcu_read_lock+0x30/0x70 [ 35.706522][ T759] ? __down_trylock_console_sem+0x5e/0xa0 [ 35.706524][ T759] ? vprintk_emit+0x320/0x3e0 [ 35.706526][ T759] vprintk_emit+0x37c/0x3e0 [ 35.706528][ T759] ? wake_up_klogd_work_func+0x90/0x90 [ 35.706530][ T759] ? kernel_text_address+0x149/0x170 [ 35.706533][ T759] ? __kernel_text_address+0x12/0x30 [ 35.706534][ T759] ? write_profile+0xf0/0xf0 [ 35.706536][ T759] ? unwind_get_return_address+0x67/0xd0 [ 35.706539][ T759] _printk+0xc7/0x100 [ 35.706542][ T759] ? snapshot_read.cold+0x21/0x21 [ 35.706544][ T759] ? netdev_name+0x43/0x60 [ 35.706547][ T759] ? __netdev_printk+0x17f/0x1d0 [ 35.706548][ T759] netdev_info+0xe2/0x116 [ 35.706550][ T759] ? netdev_notice+0x120/0x120 [ 35.706551][ T759] ? ovpn_nl_pre_doit+0x44/0x90 [ovpn] [ 35.706557][ T759] ? __module_address+0x36/0x330 [ 35.706560][ T759] ? lock_acquire+0x13c/0x160 [ 35.706561][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.706563][ T759] ? lock_release+0x184/0x1f0 [ 35.706565][ T759] ? ovpn_peer_get_by_id+0x38a/0x7a0 [ovpn] [ 35.706568][ T759] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 35.706571][ T759] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 35.706574][ T759] ? lock_acquire+0x13c/0x160 [ 35.706575][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.706577][ T759] ? lock_release+0x184/0x1f0 [ 35.706579][ T759] ovpn_peer_remove+0x394/0x640 [ovpn] [ 35.706582][ T759] ? do_raw_spin_lock+0x131/0x280 [ 35.706589][ T759] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 35.706592][ T759] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 35.706595][ T759] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 35.706598][ T759] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 35.706601][ T759] ? trace_hardirqs_on+0x36/0x40 [ 35.706604][ T759] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 35.706606][ T759] ? ref_tracker_alloc+0x28d/0x430 [ 35.706611][ T759] ? lock_release+0x184/0x1f0 [ 35.706613][ T759] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 35.706616][ T759] genl_family_rcv_msg_doit+0x206/0x300 [ 35.706620][ T759] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 35.706622][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.706625][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.706626][ T759] ? cap_capable+0x1d7/0x3d0 [ 35.706630][ T759] ? write_profile+0xf0/0xf0 [ 35.706631][ T759] ? unwind_get_return_address+0x67/0xd0 [ 35.706633][ T759] genl_family_rcv_msg+0x3a4/0x640 [ 35.706635][ T759] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 35.706637][ T759] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 35.706639][ T759] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 35.706642][ T759] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 35.706644][ T759] ? filter_irq_stacks+0xd0/0xd0 [ 35.706645][ T759] ? stack_depot_save_flags+0x1bc/0x790 [ 35.706648][ T759] genl_rcv_msg+0xbb/0x160 [ 35.706650][ T759] netlink_rcv_skb+0x14e/0x3a0 [ 35.706652][ T759] ? genl_family_rcv_msg+0x640/0x640 [ 35.706654][ T759] ? netlink_ack+0xcf0/0xcf0 [ 35.706657][ T759] ? lock_acquire+0x13c/0x160 [ 35.706658][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.706660][ T759] ? lock_release+0x184/0x1f0 [ 35.706662][ T759] genl_rcv+0x28/0x40 [ 35.706664][ T759] netlink_unicast+0x486/0x750 [ 35.706666][ T759] ? netlink_attachskb+0x810/0x810 [ 35.706667][ T759] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 35.706669][ T759] ? trace_hardirqs_on+0x36/0x40 [ 35.706670][ T759] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 35.706673][ T759] netlink_sendmsg+0x735/0xc60 [ 35.706676][ T759] ? netlink_unicast+0x750/0x750 [ 35.706678][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.706680][ T759] ? lock_release+0x184/0x1f0 [ 35.706681][ T759] ____sys_sendmsg+0x415/0x880 [ 35.706685][ T759] ? copy_msghdr_from_user+0x279/0x420 [ 35.706687][ T759] ? get_timestamp.constprop.0+0x390/0x390 [ 35.706688][ T759] ? move_addr_to_kernel+0x40/0x40 [ 35.706691][ T759] ___sys_sendmsg+0x14e/0x1d0 [ 35.706693][ T759] ? copy_msghdr_from_user+0x420/0x420 [ 35.706694][ T759] ? kfree+0x22/0x590 [ 35.706699][ T759] __sys_sendmsg+0x12c/0x1d0 [ 35.706701][ T759] ? __sys_sendmsg_sock+0x20/0x20 [ 35.706704][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.706706][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.706708][ T759] do_syscall_64+0xff/0x530 [ 35.706714][ T759] ? exc_page_fault+0xee/0x100 [ 35.706717][ T759] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 35.706720][ T759] RIP: 0033:0x7f646fc7f54e [ 35.706723][ T759] 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.706725][ T759] RSP: 002b:00007ffcdaa2b260 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 35.706729][ T759] RAX: ffffffffffffffda RBX: 0000000007ca3130 RCX: 00007f646fc7f54e [ 35.706731][ T759] RDX: 0000000000000000 RSI: 00007ffcdaa2b300 RDI: 0000000000000005 [ 35.706732][ T759] RBP: 00007ffcdaa2b270 R08: 0000000000000000 R09: 0000000000000000 [ 35.706734][ T759] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000007ca3200 [ 35.706734][ T759] R13: 00007ffcdaa2b300 R14: 0000000007ca4260 R15: 000000000040bda8 [ 35.706737][ T759] [ 35.782861][ T763] tun2: deleting peer with id 2, reason 1 [ 41.455746][ T73] tun0: deleting peer with id 4, reason 2 [ 41.455768][ T73] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 41.455770][ T73] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 73, name: kworker/3:1 [ 41.455772][ T73] preempt_count: 202, expected: 0 [ 41.455773][ T73] RCU nest depth: 0, expected: 0 [ 41.455774][ T73] INFO: lockdep is turned off. [ 41.455775][ T73] irq event stamp: 9460 [ 41.455776][ T73] hardirqs last enabled at (9459): [] _raw_spin_unlock_irq+0x28/0x50 [ 41.455784][ T73] hardirqs last disabled at (9460): [] __schedule+0x1246/0x20e0 [ 41.455787][ T73] softirqs last enabled at (8788): [] handle_softirqs+0x67c/0x900 [ 41.455790][ T73] softirqs last disabled at (8741): [] do_softirq+0xac/0xe0 [ 41.455793][ T73] Preemption disabled at: [ 41.455793][ T73] [<0000000000000000>] 0x0 [ 41.455801][ T73] CPU: 3 UID: 0 PID: 73 Comm: kworker/3:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 41.455805][ T73] Tainted: [W]=WARN [ 41.455806][ T73] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 41.455808][ T73] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 41.455818][ T73] Call Trace: [ 41.455820][ T73] [ 41.455822][ T73] dump_stack_lvl+0x6f/0xa0 [ 41.455827][ T73] __might_resched.cold+0x1fe/0x2c1 [ 41.455831][ T73] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 41.455834][ T73] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 41.455837][ T73] ? rcu_is_watching+0x16/0xd0 [ 41.455841][ T73] __kmalloc_noprof+0x443/0x760 [ 41.455845][ T73] ? __rwlock_init+0x150/0x150 [ 41.455847][ T73] ? alloc_buf.isra.0+0x4b/0x260 [ 41.455851][ T73] ? do_raw_spin_unlock+0x59/0x250 [ 41.455853][ T73] alloc_buf.isra.0+0x4b/0x260 [ 41.455855][ T73] put_chars+0x1e1/0x2f0 [ 41.455857][ T73] ? prb_final_commit+0x50/0x50 [ 41.455859][ T73] ? __send_to_port+0x420/0x420 [ 41.455860][ T73] ? printk_get_next_message+0x240/0x650 [ 41.455864][ T73] hvc_console_print+0x292/0x780 [ 41.455868][ T73] ? hvc_write+0x3a0/0x3a0 [ 41.455869][ T73] ? do_raw_spin_lock+0x131/0x280 [ 41.455871][ T73] ? vsnprintf+0x527/0x1700 [ 41.455873][ T73] ? __rwlock_init+0x150/0x150 [ 41.455874][ T73] ? rcu_is_watching+0x16/0xd0 [ 41.455876][ T73] ? lock_acquire+0x13c/0x160 [ 41.455878][ T73] console_emit_next_record+0x22f/0x4c0 [ 41.455882][ T73] ? devkmsg_read+0x4b0/0x4b0 [ 41.455884][ T73] ? rcu_is_watching+0x16/0xd0 [ 41.455885][ T73] ? rcu_is_watching+0x16/0xd0 [ 41.455887][ T73] ? rcu_is_watching+0x16/0xd0 [ 41.455889][ T73] ? lock_acquire+0x13c/0x160 [ 41.455890][ T73] ? console_flush_one_record+0x111/0x710 [ 41.455892][ T73] console_flush_one_record+0x46f/0x710 [ 41.455895][ T73] ? console_emit_next_record+0x4c0/0x4c0 [ 41.455897][ T73] console_unlock+0xee/0x1f0 [ 41.455899][ T73] ? lock_acquire+0x13c/0x160 [ 41.455901][ T73] ? console_flush_one_record+0x710/0x710 [ 41.455902][ T73] ? rcu_is_watching+0x16/0xd0 [ 41.455904][ T73] ? lock_release+0x184/0x1f0 [ 41.455906][ T73] ? lock_acquire+0x60/0x160 [ 41.455907][ T73] ? __rcu_read_lock+0x30/0x70 [ 41.455909][ T73] ? __down_trylock_console_sem+0x5e/0xa0 [ 41.455911][ T73] ? vprintk_emit+0x320/0x3e0 [ 41.455913][ T73] vprintk_emit+0x37c/0x3e0 [ 41.455915][ T73] ? wake_up_klogd_work_func+0x90/0x90 [ 41.455917][ T73] ? ret_from_fork_asm+0x11/0x20 [ 41.455919][ T73] ? queued_spin_lock_slowpath+0x103/0xa60 [ 41.455921][ T73] ? rcu_is_watching+0x16/0xd0 [ 41.455923][ T73] ? stack_access_ok+0x1e0/0x1e0 [ 41.455926][ T73] _printk+0xc7/0x100 [ 41.455929][ T73] ? snapshot_read.cold+0x21/0x21 [ 41.455931][ T73] ? __add_to_free_list+0x81/0x5c0 [ 41.455933][ T73] ? __mod_zone_page_state+0xe1/0x190 [ 41.455936][ T73] ? netdev_name+0x43/0x60 [ 41.455939][ T73] ? __netdev_printk+0x17f/0x1d0 [ 41.455940][ T73] netdev_info+0xe2/0x116 [ 41.455942][ T73] ? netdev_notice+0x120/0x120 [ 41.455944][ T73] ? free_pcppages_bulk+0x363/0x6e0 [ 41.455946][ T73] ? rcu_is_watching+0x16/0xd0 [ 41.455948][ T73] ? trace_irq_enable.constprop.0+0x30/0x160 [ 41.455951][ T73] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 41.455956][ T73] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 41.455958][ T73] ? __rwlock_init+0x150/0x150 [ 41.455960][ T73] ? lock_acquire+0x13c/0x160 [ 41.455962][ T73] ? rcu_is_watching+0x16/0xd0 [ 41.455964][ T73] ovpn_peer_remove+0x394/0x640 [ovpn] [ 41.455967][ T73] ? do_raw_spin_lock+0x131/0x280 [ 41.455969][ T73] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 41.455972][ T73] ? __rwlock_init+0x150/0x150 [ 41.455974][ T73] ? rcu_is_watching+0x16/0xd0 [ 41.455975][ T73] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 41.455976][ T73] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 41.455978][ T73] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 41.455981][ T73] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 41.455984][ T73] ? __rwlock_init+0x150/0x150 [ 41.455986][ T73] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 41.455989][ T73] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 41.455992][ T73] ? rcu_is_watching+0x16/0xd0 [ 41.455994][ T73] ? lock_acquire+0x13c/0x160 [ 41.455995][ T73] ? rcu_is_watching+0x16/0xd0 [ 41.455997][ T73] process_one_work+0xe3e/0x1560 [ 41.456002][ T73] ? __queue_delayed_work+0x470/0x470 [ 41.456004][ T73] ? __rwlock_init+0x150/0x150 [ 41.456007][ T73] worker_thread+0x4f1/0xd60 [ 41.456009][ T73] ? rescuer_thread+0x1340/0x1340 [ 41.456011][ T73] ? __kthread_parkme+0xbd/0x210 [ 41.456014][ T73] ? rescuer_thread+0x1340/0x1340 [ 41.456016][ T73] ? rescuer_thread+0x1340/0x1340 [ 41.456017][ T73] kthread+0x367/0x460 [ 41.456019][ T73] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 41.456020][ T73] ? kthread_affine_preferred+0x4c0/0x4c0 [ 41.456022][ T73] ret_from_fork+0x474/0x6b0 [ 41.456025][ T73] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 41.456027][ T73] ? __switch_to+0x5a3/0xe00 [ 41.456030][ T73] ? kthread_affine_preferred+0x4c0/0x4c0 [ 41.456032][ T73] ret_from_fork_asm+0x11/0x20 [ 41.456035][ T73] [ 41.471448][ T73] tun0: deleting peer with id 3, reason 2 [ 41.471676][ T73] tun0: deleting peer with id 5, reason 2 [ 41.471867][ T73] tun0: deleting peer with id 6, reason 2 [ 46.575762][ T10] tun4: deleting peer with id 4, reason 2 [ 46.575783][ T10] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 46.575786][ T10] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 [ 46.575787][ T10] preempt_count: 202, expected: 0 [ 46.575788][ T10] RCU nest depth: 0, expected: 0 [ 46.575789][ T10] INFO: lockdep is turned off. [ 46.575791][ T10] irq event stamp: 25936 [ 46.575792][ T10] hardirqs last enabled at (25935): [] _raw_spin_unlock_irq+0x28/0x50 [ 46.575800][ T10] hardirqs last disabled at (25936): [] __schedule+0x1246/0x20e0 [ 46.575803][ T10] softirqs last enabled at (25750): [] process_one_work+0xe3e/0x1560 [ 46.575807][ T10] softirqs last disabled at (25746): [] neigh_managed_work+0x2d/0x220 [ 46.575812][ T10] Preemption disabled at: [ 46.575813][ T10] [<0000000000000000>] 0x0 [ 46.575820][ T10] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 46.575824][ T10] Tainted: [W]=WARN [ 46.575825][ T10] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 46.575827][ T10] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 46.575835][ T10] Call Trace: [ 46.575836][ T10] [ 46.575838][ T10] dump_stack_lvl+0x6f/0xa0 [ 46.575843][ T10] __might_resched.cold+0x1fe/0x2c1 [ 46.575847][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 46.575851][ T10] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 46.575853][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.575857][ T10] __kmalloc_noprof+0x443/0x760 [ 46.575860][ T10] ? __rwlock_init+0x150/0x150 [ 46.575863][ T10] ? alloc_buf.isra.0+0x4b/0x260 [ 46.575867][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 46.575869][ T10] alloc_buf.isra.0+0x4b/0x260 [ 46.575871][ T10] put_chars+0x1e1/0x2f0 [ 46.575873][ T10] ? prb_final_commit+0x50/0x50 [ 46.575874][ T10] ? __send_to_port+0x420/0x420 [ 46.575876][ T10] ? printk_get_next_message+0x240/0x650 [ 46.575879][ T10] hvc_console_print+0x292/0x780 [ 46.575883][ T10] ? hvc_write+0x3a0/0x3a0 [ 46.575885][ T10] ? do_raw_spin_lock+0x131/0x280 [ 46.575886][ T10] ? vsnprintf+0x527/0x1700 [ 46.575888][ T10] ? __rwlock_init+0x150/0x150 [ 46.575890][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.575892][ T10] ? lock_acquire+0x13c/0x160 [ 46.575894][ T10] console_emit_next_record+0x22f/0x4c0 [ 46.575897][ T10] ? devkmsg_read+0x4b0/0x4b0 [ 46.575899][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.575901][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.575902][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.575904][ T10] ? lock_acquire+0x13c/0x160 [ 46.575906][ T10] ? console_flush_one_record+0x111/0x710 [ 46.575907][ T10] console_flush_one_record+0x46f/0x710 [ 46.575910][ T10] ? console_emit_next_record+0x4c0/0x4c0 [ 46.575913][ T10] console_unlock+0xee/0x1f0 [ 46.575914][ T10] ? lock_acquire+0x13c/0x160 [ 46.575916][ T10] ? console_flush_one_record+0x710/0x710 [ 46.575918][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.575919][ T10] ? lock_release+0x184/0x1f0 [ 46.575921][ T10] ? lock_acquire+0x60/0x160 [ 46.575922][ T10] ? __rcu_read_lock+0x30/0x70 [ 46.575924][ T10] ? __down_trylock_console_sem+0x5e/0xa0 [ 46.575926][ T10] ? vprintk_emit+0x320/0x3e0 [ 46.575928][ T10] vprintk_emit+0x37c/0x3e0 [ 46.575931][ T10] ? wake_up_klogd_work_func+0x90/0x90 [ 46.575933][ T10] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 46.575934][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.575936][ T10] ? trace_sched_wakeup+0x9b/0x160 [ 46.575938][ T10] _printk+0xc7/0x100 [ 46.575941][ T10] ? snapshot_read.cold+0x21/0x21 [ 46.575943][ T10] ? try_to_wake_up+0x153/0x1130 [ 46.575945][ T10] ? select_fallback_rq+0x510/0x510 [ 46.575946][ T10] ? netdev_name+0x43/0x60 [ 46.575949][ T10] ? __netdev_printk+0x17f/0x1d0 [ 46.575951][ T10] netdev_info+0xe2/0x116 [ 46.575953][ T10] ? netdev_notice+0x120/0x120 [ 46.575955][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.575957][ T10] ? __queue_work+0x3ab/0xd30 [ 46.575959][ T10] ? kthread+0x367/0x460 [ 46.575961][ T10] ? trace_irq_enable.constprop.0+0x30/0x160 [ 46.575964][ T10] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 46.575968][ T10] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 46.575971][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.575972][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 46.575974][ T10] ovpn_peer_remove+0x394/0x640 [ovpn] [ 46.575978][ T10] ? do_raw_spin_lock+0x131/0x280 [ 46.575980][ T10] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 46.575982][ T10] ? __rwlock_init+0x150/0x150 [ 46.575984][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.575986][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 46.575987][ T10] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 46.575989][ T10] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 46.575991][ T10] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 46.575994][ T10] ? __rwlock_init+0x150/0x150 [ 46.575996][ T10] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 46.575999][ T10] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 46.576002][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.576004][ T10] ? lock_acquire+0x13c/0x160 [ 46.576005][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.576007][ T10] ? process_one_work+0xdfc/0x1560 [ 46.576009][ T10] process_one_work+0xe3e/0x1560 [ 46.576012][ T10] ? __queue_delayed_work+0x470/0x470 [ 46.576014][ T10] ? find_held_lock+0x2b/0x80 [ 46.576016][ T10] ? __rwlock_init+0x150/0x150 [ 46.576018][ T10] worker_thread+0x4f1/0xd60 [ 46.576021][ T10] ? rescuer_thread+0x1340/0x1340 [ 46.576023][ T10] ? __kthread_parkme+0xbd/0x210 [ 46.576024][ T10] ? rescuer_thread+0x1340/0x1340 [ 46.576026][ T10] ? rescuer_thread+0x1340/0x1340 [ 46.576028][ T10] kthread+0x367/0x460 [ 46.576029][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 46.576030][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 46.576032][ T10] ret_from_fork+0x474/0x6b0 [ 46.576035][ T10] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 46.576037][ T10] ? __switch_to+0x5a3/0xe00 [ 46.576040][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 46.576041][ T10] ret_from_fork_asm+0x11/0x20 [ 46.576045][ T10] [ 46.600127][ T9] tun3: deleting peer with id 3, reason 2 [ 46.640747][ T73] tun5: deleting peer with id 5, reason 2 [ 46.703742][ T10] tun6: deleting peer with id 6, reason 2