[ 22.772431][ C0] tun0: no available key for peer 3, key-id: 0 [ 22.772466][ C0] [ 22.772468][ C0] ======================================================== [ 22.772469][ C0] WARNING: possible irq lock inversion dependency detected [ 22.772471][ C0] 7.2.0-virtme #1 Tainted: G W [ 22.772473][ C0] -------------------------------------------------------- [ 22.772473][ C0] ovpn-cli/409 just changed the state of lock: [ 22.772474][ C0] ffffffffb5699660 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 22.772487][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 22.772488][ C0] (fs_reclaim){+.+.}-{0:0} [ 22.772489][ C0] [ 22.772489][ C0] [ 22.772489][ C0] and interrupts could create inverse lock ordering between them. [ 22.772489][ C0] [ 22.772490][ C0] [ 22.772490][ C0] other info that might help us debug this: [ 22.772491][ C0] Possible interrupt unsafe locking scenario: [ 22.772491][ C0] [ 22.772492][ C0] CPU0 CPU1 [ 22.772492][ C0] ---- ---- [ 22.772493][ C0] lock(fs_reclaim); [ 22.772494][ C0] local_irq_disable(); [ 22.772494][ C0] lock(console_owner); [ 22.772495][ C0] lock(fs_reclaim); [ 22.772496][ C0] [ 22.772496][ C0] lock(console_owner); [ 22.772497][ C0] [ 22.772497][ C0] *** DEADLOCK *** [ 22.772497][ C0] [ 22.772497][ C0] locks held by ovpn-cli/409: 6, last CPU#0: [ 22.772499][ C0] #0: ffffffffb5790b00 (rcu_read_lock){....}-{1:3}, at: process_backlog+0x3f1/0x14c0 [ 22.772505][ C0] #1: ffffffffb5790b00 (rcu_read_lock){....}-{1:3}, at: ip_local_deliver_finish+0x2ba/0x610 [ 22.772509][ C0] #2: ff1100000c98d318 (slock-AF_INET/1){+.-.}-{3:3}, at: tcp_v4_rcv+0x1a81/0x2b70 [ 22.772519][ C0] #3: ffffffffb5790b00 (rcu_read_lock){....}-{1:3}, at: ovpn_tcp_data_ready+0x62/0x390 [ovpn] [ 22.772526][ C0] #4: ffffffffb5779cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 22.772529][ C0] #5: ffffffffb5779d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 22.772532][ C0] [ 22.772532][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 22.772537][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 22.772539][ C0] HARDIRQ-ON-W at: [ 22.772541][ C0] __lock_acquire+0x388/0xc20 [ 22.772544][ C0] lock_acquire.part.0+0xd4/0x280 [ 22.772545][ C0] fs_reclaim_acquire+0xd5/0x120 [ 22.772548][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 22.772550][ C0] kthread_create_worker_on_node+0xea/0x210 [ 22.772553][ C0] workqueue_init+0x2a/0x680 [ 22.772556][ C0] kernel_init_freeable+0x2fe/0x630 [ 22.772559][ C0] kernel_init+0x21/0x150 [ 22.772562][ C0] ret_from_fork+0x474/0x6b0 [ 22.772565][ C0] ret_from_fork_asm+0x11/0x20 [ 22.772568][ C0] SOFTIRQ-ON-W at: [ 22.772569][ C0] __lock_acquire+0x388/0xc20 [ 22.772570][ C0] lock_acquire.part.0+0xd4/0x280 [ 22.772572][ C0] fs_reclaim_acquire+0xd5/0x120 [ 22.772573][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 22.772574][ C0] kthread_create_worker_on_node+0xea/0x210 [ 22.772575][ C0] workqueue_init+0x2a/0x680 [ 22.772576][ C0] kernel_init_freeable+0x2fe/0x630 [ 22.772578][ C0] kernel_init+0x21/0x150 [ 22.772579][ C0] ret_from_fork+0x474/0x6b0 [ 22.772580][ C0] ret_from_fork_asm+0x11/0x20 [ 22.772581][ C0] INITIAL USE at: [ 22.772582][ C0] __lock_acquire+0x388/0xc20 [ 22.772583][ C0] lock_acquire.part.0+0xd4/0x280 [ 22.772585][ C0] fs_reclaim_acquire+0xd5/0x120 [ 22.772586][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 22.772587][ C0] kthread_create_worker_on_node+0xea/0x210 [ 22.772588][ C0] workqueue_init+0x2a/0x680 [ 22.772589][ C0] kernel_init_freeable+0x2fe/0x630 [ 22.772591][ C0] kernel_init+0x21/0x150 [ 22.772592][ C0] ret_from_fork+0x474/0x6b0 [ 22.772593][ C0] ret_from_fork_asm+0x11/0x20 [ 22.772594][ C0] } [ 22.772595][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 22.772599][ C0] ... acquired at: [ 22.772600][ C0] __lock_acquire+0x518/0xc20 [ 22.772601][ C0] lock_acquire.part.0+0xd4/0x280 [ 22.772602][ C0] fs_reclaim_acquire+0xd5/0x120 [ 22.772603][ C0] __kmalloc_noprof+0xd3/0x760 [ 22.772604][ C0] alloc_buf.isra.0+0x4b/0x260 [ 22.772608][ C0] put_chars+0x1e1/0x2f0 [ 22.772609][ C0] hvc_console_print+0x292/0x780 [ 22.772612][ C0] console_emit_next_record+0x22f/0x4c0 [ 22.772613][ C0] console_flush_one_record+0x46f/0x710 [ 22.772615][ C0] console_unlock+0xee/0x1f0 [ 22.772616][ C0] vprintk_emit+0x37c/0x3e0 [ 22.772618][ C0] _printk+0xc7/0x100 [ 22.772621][ C0] i8042_pnp_init+0xf7/0x3c0 [ 22.772624][ C0] i8042_platform_init+0x3f9/0x460 [ 22.772626][ C0] i8042_init+0x45/0x130 [ 22.772627][ C0] do_one_initcall+0x124/0x4f0 [ 22.772629][ C0] kernel_init_freeable+0x596/0x630 [ 22.772630][ C0] kernel_init+0x21/0x150 [ 22.772631][ C0] ret_from_fork+0x474/0x6b0 [ 22.772632][ C0] ret_from_fork_asm+0x11/0x20 [ 22.772634][ C0] [ 22.772634][ C0] -> (console_owner){..-.}-{0:0} { [ 22.772636][ C0] IN-SOFTIRQ-W at: [ 22.772636][ C0] __lock_acquire+0x388/0xc20 [ 22.772638][ C0] lock_acquire.part.0+0xd4/0x280 [ 22.772639][ C0] console_lock_spinning_enable+0x5c/0x60 [ 22.772640][ C0] console_emit_next_record+0x1d1/0x4c0 [ 22.772642][ C0] console_flush_one_record+0x46f/0x710 [ 22.772644][ C0] console_unlock+0xee/0x1f0 [ 22.772645][ C0] vprintk_emit+0x37c/0x3e0 [ 22.772647][ C0] _printk+0xc7/0x100 [ 22.772648][ C0] ovpn_recv.cold+0x7e/0x94 [ovpn] [ 22.772651][ C0] ovpn_tcp_rcv+0x274/0x9a0 [ovpn] [ 22.772653][ C0] __strp_recv+0x20f/0x1c20 [ 22.772657][ C0] __tcp_read_sock+0x1c7/0x850 [ 22.772659][ C0] strp_read_sock+0x20f/0x2b0 [ 22.772661][ C0] strp_data_ready+0x18e/0x2c0 [ 22.772662][ C0] ovpn_tcp_data_ready+0xf1/0x390 [ovpn] [ 22.772665][ C0] tcp_rcv_established+0x1e1d/0x3910 [ 22.772667][ C0] tcp_v4_do_rcv+0x4f6/0xb90 [ 22.772668][ C0] tcp_v4_rcv+0x1caa/0x2b70 [ 22.772670][ C0] ip_protocol_deliver_rcu+0x82/0x350 [ 22.772671][ C0] ip_local_deliver_finish+0x36f/0x610 [ 22.772672][ C0] ip_local_deliver+0x184/0x4c0 [ 22.772673][ C0] ip_rcv+0xdc/0x3d0 [ 22.772675][ C0] __netif_receive_skb_one_core+0xfc/0x180 [ 22.772677][ C0] process_backlog+0x431/0x14c0 [ 22.772678][ C0] __napi_poll+0xa7/0x3b0 [ 22.772680][ C0] net_rx_action+0x513/0xf50 [ 22.772681][ C0] handle_softirqs+0x1d3/0x900 [ 22.772684][ C0] do_softirq+0xac/0xe0 [ 22.772685][ C0] __local_bh_enable_ip+0x118/0x150 [ 22.772687][ C0] ovpn_tcp_sendmsg+0x2c2/0x7d0 [ovpn] [ 22.772689][ C0] __sys_sendto+0x2aa/0x400 [ 22.772692][ C0] __x64_sys_sendto+0xe4/0x1f0 [ 22.772693][ C0] do_syscall_64+0xff/0x530 [ 22.772696][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.772698][ C0] INITIAL USE at: [ 22.772698][ C0] } [ 22.772699][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 22.772702][ C0] ... acquired at: [ 22.772703][ C0] mark_lock+0x1d7/0xa00 [ 22.772704][ C0] mark_usage+0x42/0x170 [ 22.772705][ C0] __lock_acquire+0x388/0xc20 [ 22.772707][ C0] lock_acquire.part.0+0xd4/0x280 [ 22.772708][ C0] console_lock_spinning_enable+0x5c/0x60 [ 22.772709][ C0] console_emit_next_record+0x1d1/0x4c0 [ 22.772711][ C0] console_flush_one_record+0x46f/0x710 [ 22.772712][ C0] console_unlock+0xee/0x1f0 [ 22.772714][ C0] vprintk_emit+0x37c/0x3e0 [ 22.772715][ C0] _printk+0xc7/0x100 [ 22.772717][ C0] ovpn_recv.cold+0x7e/0x94 [ovpn] [ 22.772719][ C0] ovpn_tcp_rcv+0x274/0x9a0 [ovpn] [ 22.772721][ C0] __strp_recv+0x20f/0x1c20 [ 22.772722][ C0] __tcp_read_sock+0x1c7/0x850 [ 22.772724][ C0] strp_read_sock+0x20f/0x2b0 [ 22.772725][ C0] strp_data_ready+0x18e/0x2c0 [ 22.772727][ C0] ovpn_tcp_data_ready+0xf1/0x390 [ovpn] [ 22.772729][ C0] tcp_rcv_established+0x1e1d/0x3910 [ 22.772731][ C0] tcp_v4_do_rcv+0x4f6/0xb90 [ 22.772732][ C0] tcp_v4_rcv+0x1caa/0x2b70 [ 22.772733][ C0] ip_protocol_deliver_rcu+0x82/0x350 [ 22.772735][ C0] ip_local_deliver_finish+0x36f/0x610 [ 22.772736][ C0] ip_local_deliver+0x184/0x4c0 [ 22.772737][ C0] ip_rcv+0xdc/0x3d0 [ 22.772738][ C0] __netif_receive_skb_one_core+0xfc/0x180 [ 22.772740][ C0] process_backlog+0x431/0x14c0 [ 22.772742][ C0] __napi_poll+0xa7/0x3b0 [ 22.772743][ C0] net_rx_action+0x513/0xf50 [ 22.772745][ C0] handle_softirqs+0x1d3/0x900 [ 22.772746][ C0] do_softirq+0xac/0xe0 [ 22.772747][ C0] __local_bh_enable_ip+0x118/0x150 [ 22.772748][ C0] ovpn_tcp_sendmsg+0x2c2/0x7d0 [ovpn] [ 22.772750][ C0] __sys_sendto+0x2aa/0x400 [ 22.772752][ C0] __x64_sys_sendto+0xe4/0x1f0 [ 22.772753][ C0] do_syscall_64+0xff/0x530 [ 22.772755][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.772756][ C0] [ 22.772756][ C0] [ 22.772756][ C0] stack backtrace: [ 22.772759][ C0] CPU: 0 UID: 0 PID: 409 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 22.772762][ C0] Tainted: [W]=WARN [ 22.772763][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 22.772764][ C0] Call Trace: [ 22.772765][ C0] [ 22.772766][ C0] dump_stack_lvl+0x6f/0xa0 [ 22.772771][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 22.772773][ C0] mark_lock_irq+0x989/0x9c0 [ 22.772776][ C0] mark_lock+0x1d7/0xa00 [ 22.772778][ C0] mark_usage+0x42/0x170 [ 22.772779][ C0] __lock_acquire+0x388/0xc20 [ 22.772781][ C0] lock_acquire.part.0+0xd4/0x280 [ 22.772783][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 22.772785][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.772788][ C0] ? lock_acquire+0x13c/0x160 [ 22.772790][ C0] console_lock_spinning_enable+0x5c/0x60 [ 22.772792][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 22.772793][ C0] console_emit_next_record+0x1d1/0x4c0 [ 22.772795][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 22.772797][ C0] ? console_flush_one_record+0x106/0x710 [ 22.772799][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.772801][ C0] ? lock_acquire+0x13c/0x160 [ 22.772802][ C0] console_flush_one_record+0x46f/0x710 [ 22.772805][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 22.772806][ C0] ? __lock_acquire+0x518/0xc20 [ 22.772808][ C0] console_unlock+0xee/0x1f0 [ 22.772810][ C0] ? console_flush_one_record+0x710/0x710 [ 22.772812][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.772813][ C0] ? lock_acquire+0x60/0x160 [ 22.772815][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 22.772817][ C0] ? vprintk_emit+0x320/0x3e0 [ 22.772819][ C0] vprintk_emit+0x37c/0x3e0 [ 22.772821][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 22.772823][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 22.772825][ C0] _printk+0xc7/0x100 [ 22.772827][ C0] ? snapshot_read.cold+0x21/0x21 [ 22.772828][ C0] ? ___ratelimit+0x4e7/0xa00 [ 22.772831][ C0] ? ovpn_netdev_write+0x730/0x730 [ovpn] [ 22.772835][ C0] ? idr_get_free+0x830/0x830 [ 22.772837][ C0] ovpn_recv.cold+0x7e/0x94 [ovpn] [ 22.772840][ C0] ovpn_tcp_rcv+0x274/0x9a0 [ovpn] [ 22.772843][ C0] ? ovpn_tcp_write_space+0x2e0/0x2e0 [ovpn] [ 22.772845][ C0] ? __copy_skb_header+0xb7/0x510 [ 22.772848][ C0] ? ovpn_tcp_disconnect+0x10/0x10 [ovpn] [ 22.772851][ C0] ? sock_queue_err_skb+0xb0/0x680 [ 22.772853][ C0] __strp_recv+0x20f/0x1c20 [ 22.772856][ C0] __tcp_read_sock+0x1c7/0x850 [ 22.772857][ C0] ? strp_process+0xb0/0xb0 [ 22.772859][ C0] ? __tcp_transmit_skb+0x1b6e/0x3c10 [ 22.772861][ C0] ? tcp_cleanup_rbuf+0x1c0/0x1c0 [ 22.772862][ C0] ? mark_usage+0x61/0x170 [ 22.772864][ C0] strp_read_sock+0x20f/0x2b0 [ 22.772866][ C0] ? strp_stop+0x50/0x50 [ 22.772868][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.772870][ C0] ? lock_acquire+0x13c/0x160 [ 22.772872][ C0] strp_data_ready+0x18e/0x2c0 [ 22.772874][ C0] ovpn_tcp_data_ready+0xf1/0x390 [ovpn] [ 22.772876][ C0] tcp_rcv_established+0x1e1d/0x3910 [ 22.772879][ C0] ? __tcp_check_space+0x600/0x600 [ 22.772881][ C0] ? tcp_v4_rcv+0x1a81/0x2b70 [ 22.772883][ C0] ? do_raw_spin_lock+0x131/0x280 [ 22.772885][ C0] tcp_v4_do_rcv+0x4f6/0xb90 [ 22.772887][ C0] tcp_v4_rcv+0x1caa/0x2b70 [ 22.772889][ C0] ? mark_usage+0x61/0x170 [ 22.772891][ C0] ? tcp_add_backlog+0x1e30/0x1e30 [ 22.772893][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 22.772895][ C0] ? ip_local_deliver_finish+0x2ba/0x610 [ 22.772897][ C0] ip_protocol_deliver_rcu+0x82/0x350 [ 22.772898][ C0] ? process_backlog+0x3f1/0x14c0 [ 22.772900][ C0] ip_local_deliver_finish+0x36f/0x610 [ 22.772902][ C0] ip_local_deliver+0x184/0x4c0 [ 22.772904][ C0] ? ip_local_deliver_finish+0x610/0x610 [ 22.772905][ C0] ? ip_rcv_finish_core+0x6ed/0x14c0 [ 22.772908][ C0] ? process_backlog+0x3f1/0x14c0 [ 22.772910][ C0] ip_rcv+0xdc/0x3d0 [ 22.772911][ C0] ? ip_local_deliver+0x4c0/0x4c0 [ 22.772913][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.772914][ C0] ? __update_load_avg_cfs_rq+0x36c/0x10c0 [ 22.772917][ C0] ? mark_usage+0x61/0x170 [ 22.772918][ C0] ? __lock_acquire+0x518/0xc20 [ 22.772920][ C0] ? trace_raw_output_rcu_invoke_kfree_bulk_callback+0x57/0x130 [ 22.772922][ C0] __netif_receive_skb_one_core+0xfc/0x180 [ 22.772924][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 22.772926][ C0] ? process_backlog+0x3f1/0x14c0 [ 22.772928][ C0] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 22.772930][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.772932][ C0] process_backlog+0x431/0x14c0 [ 22.772935][ C0] __napi_poll+0xa7/0x3b0 [ 22.772937][ C0] net_rx_action+0x513/0xf50 [ 22.772939][ C0] ? __napi_poll+0x3b0/0x3b0 [ 22.772941][ C0] ? __print_lock_name+0x80/0x80 [ 22.772944][ C0] ? ktime_get_update_offsets_now+0x2a8/0x490 [ 22.772947][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.772949][ C0] handle_softirqs+0x1d3/0x900 [ 22.772951][ C0] ? _local_bh_enable+0xc0/0xc0 [ 22.772952][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 22.772954][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.772956][ C0] do_softirq+0xac/0xe0 [ 22.772957][ C0] [ 22.772958][ C0] [ 22.772958][ C0] __local_bh_enable_ip+0x118/0x150 [ 22.772960][ C0] ovpn_tcp_sendmsg+0x2c2/0x7d0 [ovpn] [ 22.772963][ C0] ? ovpn_tcp_recvmsg+0x6d0/0x6d0 [ovpn] [ 22.772966][ C0] __sys_sendto+0x2aa/0x400 [ 22.772968][ C0] ? __ia32_sys_getpeername+0xd0/0xd0 [ 22.772972][ C0] ? fput_close_sync+0xde/0x1b0 [ 22.772974][ C0] ? alloc_file_clone+0xe0/0xe0 [ 22.772976][ C0] __x64_sys_sendto+0xe4/0x1f0 [ 22.772978][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 22.772981][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 22.772982][ C0] ? do_syscall_64+0xa6/0x530 [ 22.772983][ C0] do_syscall_64+0xff/0x530 [ 22.772985][ C0] ? exc_page_fault+0xee/0x100 [ 22.772986][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.772988][ C0] RIP: 0033:0x7f9ec6e2c54e [ 22.772991][ 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.772992][ C0] RSP: 002b:00007ffcbd6f6830 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 22.772995][ C0] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9ec6e2c54e [ 22.772996][ C0] RDX: 00000000000003ea RSI: 00007ffcbd6f68a0 RDI: 0000000000000005 [ 22.772997][ C0] RBP: 00007ffcbd6f6840 R08: 0000000000000000 R09: 0000000000000000 [ 22.772998][ C0] R10: 0000000000004000 R11: 0000000000000202 R12: 00007ffcbd6f71c8 [ 22.772999][ C0] R13: 0000000000000008 R14: 00007f9ec7117000 R15: 000000000040bda8 [ 22.773001][ C0] [ 22.773005][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 22.773007][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 409, name: ovpn-cli [ 22.773008][ C0] preempt_count: 103, expected: 0 [ 22.773009][ C0] RCU nest depth: 3, expected: 0 [ 22.773009][ C0] INFO: lockdep is turned off. [ 22.773010][ C0] irq event stamp: 37041 [ 22.773010][ C0] hardirqs last enabled at (37040): [] __down_trylock_console_sem+0x86/0xa0 [ 22.773013][ C0] hardirqs last disabled at (37041): [] console_emit_next_record+0x3d4/0x4c0 [ 22.773015][ C0] softirqs last enabled at (36926): [] ovpn_tcp_sendmsg+0x2c2/0x7d0 [ovpn] [ 22.773017][ C0] softirqs last disabled at (36927): [] do_softirq+0xac/0xe0 [ 22.773019][ C0] Preemption disabled at: [ 22.773019][ C0] [<0000000000000000>] 0x0 [ 22.773021][ C0] CPU: 0 UID: 0 PID: 409 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 22.773023][ C0] Tainted: [W]=WARN [ 22.773024][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 22.773024][ C0] Call Trace: [ 22.773025][ C0] [ 22.773025][ C0] dump_stack_lvl+0x6f/0xa0 [ 22.773028][ C0] __might_resched.cold+0x1fe/0x2c1 [ 22.773031][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 22.773034][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.773036][ C0] __kmalloc_noprof+0x443/0x760 [ 22.773037][ C0] ? __rwlock_init+0x150/0x150 [ 22.773039][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 22.773041][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 22.773042][ C0] alloc_buf.isra.0+0x4b/0x260 [ 22.773044][ C0] put_chars+0x1e1/0x2f0 [ 22.773046][ C0] ? __send_to_port+0x420/0x420 [ 22.773049][ C0] hvc_console_print+0x292/0x780 [ 22.773051][ C0] ? __lock_acquire+0x388/0xc20 [ 22.773053][ C0] ? hvc_write+0x3a0/0x3a0 [ 22.773054][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.773056][ C0] ? lock_acquire+0x13c/0x160 [ 22.773058][ C0] console_emit_next_record+0x22f/0x4c0 [ 22.773060][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 22.773062][ C0] ? console_flush_one_record+0x106/0x710 [ 22.773066][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.773068][ C0] ? lock_acquire+0x13c/0x160 [ 22.773070][ C0] console_flush_one_record+0x46f/0x710 [ 22.773072][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 22.773074][ C0] ? __lock_acquire+0x518/0xc20 [ 22.773076][ C0] console_unlock+0xee/0x1f0 [ 22.773078][ C0] ? console_flush_one_record+0x710/0x710 [ 22.773079][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.773081][ C0] ? lock_acquire+0x60/0x160 [ 22.773083][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 22.773085][ C0] ? vprintk_emit+0x320/0x3e0 [ 22.773088][ C0] vprintk_emit+0x37c/0x3e0 [ 22.773092][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 22.773094][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 22.773097][ C0] _printk+0xc7/0x100 [ 22.773099][ C0] ? snapshot_read.cold+0x21/0x21 [ 22.773100][ C0] ? ___ratelimit+0x4e7/0xa00 [ 22.773102][ C0] ? ovpn_netdev_write+0x730/0x730 [ovpn] [ 22.773105][ C0] ? idr_get_free+0x830/0x830 [ 22.773107][ C0] ovpn_recv.cold+0x7e/0x94 [ovpn] [ 22.773110][ C0] ovpn_tcp_rcv+0x274/0x9a0 [ovpn] [ 22.773113][ C0] ? ovpn_tcp_write_space+0x2e0/0x2e0 [ovpn] [ 22.773115][ C0] ? __copy_skb_header+0xb7/0x510 [ 22.773117][ C0] ? ovpn_tcp_disconnect+0x10/0x10 [ovpn] [ 22.773119][ C0] ? sock_queue_err_skb+0xb0/0x680 [ 22.773122][ C0] __strp_recv+0x20f/0x1c20 [ 22.773125][ C0] __tcp_read_sock+0x1c7/0x850 [ 22.773126][ C0] ? strp_process+0xb0/0xb0 [ 22.773128][ C0] ? __tcp_transmit_skb+0x1b6e/0x3c10 [ 22.773129][ C0] ? tcp_cleanup_rbuf+0x1c0/0x1c0 [ 22.773131][ C0] ? mark_usage+0x61/0x170 [ 22.773133][ C0] strp_read_sock+0x20f/0x2b0 [ 22.773135][ C0] ? strp_stop+0x50/0x50 [ 22.773137][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.773139][ C0] ? lock_acquire+0x13c/0x160 [ 22.773140][ C0] strp_data_ready+0x18e/0x2c0 [ 22.773142][ C0] ovpn_tcp_data_ready+0xf1/0x390 [ovpn] [ 22.773145][ C0] tcp_rcv_established+0x1e1d/0x3910 [ 22.773148][ C0] ? __tcp_check_space+0x600/0x600 [ 22.773150][ C0] ? tcp_v4_rcv+0x1a81/0x2b70 [ 22.773151][ C0] ? do_raw_spin_lock+0x131/0x280 [ 22.773153][ C0] tcp_v4_do_rcv+0x4f6/0xb90 [ 22.773155][ C0] tcp_v4_rcv+0x1caa/0x2b70 [ 22.773158][ C0] ? mark_usage+0x61/0x170 [ 22.773159][ C0] ? tcp_add_backlog+0x1e30/0x1e30 [ 22.773161][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 22.773163][ C0] ? ip_local_deliver_finish+0x2ba/0x610 [ 22.773165][ C0] ip_protocol_deliver_rcu+0x82/0x350 [ 22.773167][ C0] ? process_backlog+0x3f1/0x14c0 [ 22.773168][ C0] ip_local_deliver_finish+0x36f/0x610 [ 22.773170][ C0] ip_local_deliver+0x184/0x4c0 [ 22.773172][ C0] ? ip_local_deliver_finish+0x610/0x610 [ 22.773173][ C0] ? ip_rcv_finish_core+0x6ed/0x14c0 [ 22.773176][ C0] ? process_backlog+0x3f1/0x14c0 [ 22.773177][ C0] ip_rcv+0xdc/0x3d0 [ 22.773179][ C0] ? ip_local_deliver+0x4c0/0x4c0 [ 22.773180][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.773182][ C0] ? __update_load_avg_cfs_rq+0x36c/0x10c0 [ 22.773184][ C0] ? mark_usage+0x61/0x170 [ 22.773185][ C0] ? __lock_acquire+0x518/0xc20 [ 22.773187][ C0] ? trace_raw_output_rcu_invoke_kfree_bulk_callback+0x57/0x130 [ 22.773188][ C0] __netif_receive_skb_one_core+0xfc/0x180 [ 22.773190][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 22.773192][ C0] ? process_backlog+0x3f1/0x14c0 [ 22.773193][ C0] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 22.773195][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.773198][ C0] process_backlog+0x431/0x14c0 [ 22.773200][ C0] __napi_poll+0xa7/0x3b0 [ 22.773202][ C0] net_rx_action+0x513/0xf50 [ 22.773205][ C0] ? __napi_poll+0x3b0/0x3b0 [ 22.773207][ C0] ? __print_lock_name+0x80/0x80 [ 22.773209][ C0] ? ktime_get_update_offsets_now+0x2a8/0x490 [ 22.773211][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.773213][ C0] handle_softirqs+0x1d3/0x900 [ 22.773215][ C0] ? _local_bh_enable+0xc0/0xc0 [ 22.773216][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 22.773218][ C0] ? rcu_is_watching+0x16/0xd0 [ 22.773220][ C0] do_softirq+0xac/0xe0 [ 22.773221][ C0] [ 22.773222][ C0] [ 22.773222][ C0] __local_bh_enable_ip+0x118/0x150 [ 22.773224][ C0] ovpn_tcp_sendmsg+0x2c2/0x7d0 [ovpn] [ 22.773227][ C0] ? ovpn_tcp_recvmsg+0x6d0/0x6d0 [ovpn] [ 22.773230][ C0] __sys_sendto+0x2aa/0x400 [ 22.773232][ C0] ? __ia32_sys_getpeername+0xd0/0xd0 [ 22.773236][ C0] ? fput_close_sync+0xde/0x1b0 [ 22.773237][ C0] ? alloc_file_clone+0xe0/0xe0 [ 22.773239][ C0] __x64_sys_sendto+0xe4/0x1f0 [ 22.773240][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 22.773242][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 22.773243][ C0] ? do_syscall_64+0xa6/0x530 [ 22.773244][ C0] do_syscall_64+0xff/0x530 [ 22.773246][ C0] ? exc_page_fault+0xee/0x100 [ 22.773247][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.773248][ C0] RIP: 0033:0x7f9ec6e2c54e [ 22.773250][ 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.773251][ C0] RSP: 002b:00007ffcbd6f6830 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 22.773252][ C0] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9ec6e2c54e [ 22.773253][ C0] RDX: 00000000000003ea RSI: 00007ffcbd6f68a0 RDI: 0000000000000005 [ 22.773254][ C0] RBP: 00007ffcbd6f6840 R08: 0000000000000000 R09: 0000000000000000 [ 22.773254][ C0] R10: 0000000000004000 R11: 0000000000000202 R12: 00007ffcbd6f71c8 [ 22.773255][ C0] R13: 0000000000000008 R14: 00007f9ec7117000 R15: 000000000040bda8 [ 22.773257][ C0] [ 22.909673][ C1] tun0: no available key for peer 4, key-id: 0 [ 31.402343][ T613] iperf3 (613) used greatest stack depth: 23128 bytes left [ 31.402361][ T613] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 31.402363][ T613] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 613, name: iperf3 [ 31.402365][ T613] preempt_count: 2, expected: 0 [ 31.402366][ T613] RCU nest depth: 0, expected: 0 [ 31.402367][ T613] INFO: lockdep is turned off. [ 31.402368][ T613] irq event stamp: 0 [ 31.402369][ T613] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 31.402373][ T613] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 31.402380][ T613] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 31.402381][ T613] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 31.402383][ T613] Preemption disabled at: [ 31.402384][ T613] [<0000000000000000>] 0x0 [ 31.402389][ T613] CPU: 3 UID: 0 PID: 613 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 31.402393][ T613] Tainted: [W]=WARN [ 31.402393][ T613] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 31.402395][ T613] Call Trace: [ 31.402397][ T613] [ 31.402398][ T613] dump_stack_lvl+0x6f/0xa0 [ 31.402403][ T613] __might_resched.cold+0x1fe/0x2c1 [ 31.402407][ T613] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 31.402411][ T613] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 31.402413][ T613] ? rcu_is_watching+0x16/0xd0 [ 31.402417][ T613] __kmalloc_noprof+0x443/0x760 [ 31.402420][ T613] ? __rwlock_init+0x150/0x150 [ 31.402423][ T613] ? alloc_buf.isra.0+0x4b/0x260 [ 31.402427][ T613] ? do_raw_spin_unlock+0x59/0x250 [ 31.402429][ T613] alloc_buf.isra.0+0x4b/0x260 [ 31.402431][ T613] put_chars+0x1e1/0x2f0 [ 31.402432][ T613] ? prb_final_commit+0x50/0x50 [ 31.402434][ T613] ? __send_to_port+0x420/0x420 [ 31.402436][ T613] ? printk_get_next_message+0x240/0x650 [ 31.402439][ T613] hvc_console_print+0x292/0x780 [ 31.402442][ T613] ? hvc_write+0x3a0/0x3a0 [ 31.402444][ T613] ? do_raw_spin_lock+0x131/0x280 [ 31.402445][ T613] ? vsnprintf+0x668/0x1700 [ 31.402448][ T613] ? __rwlock_init+0x150/0x150 [ 31.402450][ T613] ? rcu_is_watching+0x16/0xd0 [ 31.402452][ T613] ? lock_acquire+0x13c/0x160 [ 31.402454][ T613] console_emit_next_record+0x22f/0x4c0 [ 31.402456][ T613] ? devkmsg_read+0x4b0/0x4b0 [ 31.402458][ T613] ? rcu_is_watching+0x16/0xd0 [ 31.402460][ T613] ? rcu_is_watching+0x16/0xd0 [ 31.402462][ T613] ? rcu_is_watching+0x16/0xd0 [ 31.402463][ T613] ? lock_acquire+0x13c/0x160 [ 31.402465][ T613] ? console_flush_one_record+0x111/0x710 [ 31.402467][ T613] console_flush_one_record+0x46f/0x710 [ 31.402469][ T613] ? console_emit_next_record+0x4c0/0x4c0 [ 31.402472][ T613] console_unlock+0xee/0x1f0 [ 31.402473][ T613] ? lock_acquire+0x13c/0x160 [ 31.402475][ T613] ? console_flush_one_record+0x710/0x710 [ 31.402476][ T613] ? rcu_is_watching+0x16/0xd0 [ 31.402478][ T613] ? lock_release+0x184/0x1f0 [ 31.402479][ T613] ? lock_acquire+0x60/0x160 [ 31.402481][ T613] ? __rcu_read_lock+0x30/0x70 [ 31.402483][ T613] ? __down_trylock_console_sem+0x5e/0xa0 [ 31.402485][ T613] ? vprintk_emit+0x320/0x3e0 [ 31.402487][ T613] vprintk_emit+0x37c/0x3e0 [ 31.402489][ T613] ? wake_up_klogd_work_func+0x90/0x90 [ 31.402492][ T613] _printk+0xc7/0x100 [ 31.402495][ T613] ? snapshot_read.cold+0x21/0x21 [ 31.402496][ T613] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 31.402499][ T613] ? do_raw_spin_lock+0x131/0x280 [ 31.402501][ T613] ? __rwlock_init+0x150/0x150 [ 31.402503][ T613] ? do_raw_spin_lock+0x131/0x280 [ 31.402504][ T613] do_exit.cold+0x82/0x9c [ 31.402507][ T613] ? exit_notify+0x890/0x890 [ 31.402510][ T613] __x64_sys_exit+0x42/0x50 [ 31.402511][ T613] x64_sys_call+0x156c/0x1570 [ 31.402514][ T613] do_syscall_64+0xff/0x530 [ 31.402516][ T613] ? exc_page_fault+0xee/0x100 [ 31.402518][ T613] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 31.402520][ T613] RIP: 0033:0x7f920a06cc49 [ 31.402522][ T613] Code: Unable to access opcode bytes at 0x7f920a06cc1f. [ 31.402523][ T613] RSP: 002b:00007f920982be60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 31.402527][ T613] RAX: ffffffffffffffda RBX: 00007f920982c6c0 RCX: 00007f920a06cc49 [ 31.402528][ T613] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 31.402529][ T613] RBP: 00007f920982bf70 R08: 0000000000000001 R09: 00007f920982c6c0 [ 31.402530][ T613] R10: 0000000000000008 R11: 0000000000000246 R12: 00007f920902c000 [ 31.402530][ T613] R13: 00007fffdce6e440 R14: 0000000000000002 R15: 00007fffdce6e547 [ 31.402533][ T613] [ 32.607740][ T707] tun0: deleting peer with id 1, reason 1 [ 32.607756][ T707] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 32.607758][ T707] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 707, name: ovpn-cli [ 32.607760][ T707] preempt_count: 202, expected: 0 [ 32.607761][ T707] RCU nest depth: 0, expected: 0 [ 32.607762][ T707] INFO: lockdep is turned off. [ 32.607763][ T707] irq event stamp: 0 [ 32.607764][ T707] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 32.607767][ T707] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 32.607773][ T707] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 32.607775][ T707] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 32.607777][ T707] Preemption disabled at: [ 32.607777][ T707] [<0000000000000000>] 0x0 [ 32.607782][ T707] CPU: 0 UID: 0 PID: 707 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 32.607786][ T707] Tainted: [W]=WARN [ 32.607787][ T707] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 32.607788][ T707] Call Trace: [ 32.607789][ T707] [ 32.607791][ T707] dump_stack_lvl+0x6f/0xa0 [ 32.607796][ T707] __might_resched.cold+0x1fe/0x2c1 [ 32.607800][ T707] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 32.607804][ T707] ? rcu_is_watching+0x16/0xd0 [ 32.607808][ T707] __kmalloc_noprof+0x443/0x760 [ 32.607811][ T707] ? __rwlock_init+0x150/0x150 [ 32.607814][ T707] ? alloc_buf.isra.0+0x4b/0x260 [ 32.607818][ T707] ? do_raw_spin_unlock+0x59/0x250 [ 32.607820][ T707] alloc_buf.isra.0+0x4b/0x260 [ 32.607821][ T707] put_chars+0x1e1/0x2f0 [ 32.607824][ T707] ? __send_to_port+0x420/0x420 [ 32.607825][ T707] ? printk_get_next_message+0x240/0x650 [ 32.607829][ T707] hvc_console_print+0x292/0x780 [ 32.607832][ T707] ? hvc_write+0x3a0/0x3a0 [ 32.607834][ T707] ? __rwlock_init+0x150/0x150 [ 32.607835][ T707] ? rcu_is_watching+0x16/0xd0 [ 32.607837][ T707] ? lock_acquire+0x13c/0x160 [ 32.607840][ T707] console_emit_next_record+0x22f/0x4c0 [ 32.607842][ T707] ? devkmsg_read+0x4b0/0x4b0 [ 32.607844][ T707] ? rcu_is_watching+0x16/0xd0 [ 32.607846][ T707] ? rcu_is_watching+0x16/0xd0 [ 32.607847][ T707] ? rcu_is_watching+0x16/0xd0 [ 32.607849][ T707] ? lock_acquire+0x13c/0x160 [ 32.607851][ T707] ? console_flush_one_record+0x111/0x710 [ 32.607852][ T707] console_flush_one_record+0x46f/0x710 [ 32.607855][ T707] ? console_emit_next_record+0x4c0/0x4c0 [ 32.607857][ T707] console_unlock+0xee/0x1f0 [ 32.607859][ T707] ? lock_acquire+0x13c/0x160 [ 32.607860][ T707] ? console_flush_one_record+0x710/0x710 [ 32.607862][ T707] ? rcu_is_watching+0x16/0xd0 [ 32.607863][ T707] ? lock_release+0x184/0x1f0 [ 32.607865][ T707] ? lock_acquire+0x60/0x160 [ 32.607866][ T707] ? __rcu_read_lock+0x30/0x70 [ 32.607868][ T707] ? __down_trylock_console_sem+0x5e/0xa0 [ 32.607870][ T707] ? vprintk_emit+0x320/0x3e0 [ 32.607872][ T707] vprintk_emit+0x37c/0x3e0 [ 32.607874][ T707] ? wake_up_klogd_work_func+0x90/0x90 [ 32.607876][ T707] ? kernel_text_address+0x149/0x170 [ 32.607878][ T707] ? __kernel_text_address+0x12/0x30 [ 32.607879][ T707] ? write_profile+0xf0/0xf0 [ 32.607881][ T707] ? unwind_get_return_address+0x67/0xd0 [ 32.607884][ T707] _printk+0xc7/0x100 [ 32.607887][ T707] ? snapshot_read.cold+0x21/0x21 [ 32.607889][ T707] ? netdev_name+0x43/0x60 [ 32.607892][ T707] ? __netdev_printk+0x17f/0x1d0 [ 32.607893][ T707] netdev_info+0xe2/0x116 [ 32.607895][ T707] ? netdev_notice+0x120/0x120 [ 32.607896][ T707] ? ovpn_nl_pre_doit+0x44/0x90 [ovpn] [ 32.607902][ T707] ? __module_address+0x36/0x330 [ 32.607905][ T707] ? lock_acquire+0x13c/0x160 [ 32.607906][ T707] ? rcu_is_watching+0x16/0xd0 [ 32.607908][ T707] ? lock_release+0x184/0x1f0 [ 32.607910][ T707] ? ovpn_peer_get_by_id+0x38a/0x7a0 [ovpn] [ 32.607913][ T707] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 32.607917][ T707] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 32.607919][ T707] ? lock_acquire+0x13c/0x160 [ 32.607920][ T707] ? rcu_is_watching+0x16/0xd0 [ 32.607922][ T707] ? lock_release+0x184/0x1f0 [ 32.607924][ T707] ovpn_peer_remove+0x394/0x640 [ovpn] [ 32.607927][ T707] ? do_raw_spin_lock+0x131/0x280 [ 32.607929][ T707] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 32.607932][ T707] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 32.607935][ T707] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 32.607938][ T707] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 32.607941][ T707] ? trace_hardirqs_on+0x36/0x40 [ 32.607943][ T707] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 32.607945][ T707] ? ref_tracker_alloc+0x28d/0x430 [ 32.607950][ T707] ? lock_release+0x184/0x1f0 [ 32.607952][ T707] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 32.607955][ T707] genl_family_rcv_msg_doit+0x206/0x300 [ 32.607959][ T707] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 32.607961][ T707] ? rcu_is_watching+0x16/0xd0 [ 32.607964][ T707] ? rcu_is_watching+0x16/0xd0 [ 32.607965][ T707] ? cap_capable+0x1d7/0x3d0 [ 32.607969][ T707] ? write_profile+0xf0/0xf0 [ 32.607970][ T707] ? unwind_get_return_address+0x67/0xd0 [ 32.607972][ T707] genl_family_rcv_msg+0x3a4/0x640 [ 32.607974][ T707] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 32.607976][ T707] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 32.607978][ T707] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 32.607980][ T707] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 32.607983][ T707] ? filter_irq_stacks+0xd0/0xd0 [ 32.607984][ T707] ? stack_depot_save_flags+0x1bc/0x790 [ 32.607987][ T707] genl_rcv_msg+0xbb/0x160 [ 32.607989][ T707] netlink_rcv_skb+0x14e/0x3a0 [ 32.607991][ T707] ? genl_family_rcv_msg+0x640/0x640 [ 32.607993][ T707] ? netlink_ack+0xcf0/0xcf0 [ 32.607995][ T707] ? lock_acquire+0x13c/0x160 [ 32.607997][ T707] ? rcu_is_watching+0x16/0xd0 [ 32.607999][ T707] ? lock_release+0x184/0x1f0 [ 32.608000][ T707] genl_rcv+0x28/0x40 [ 32.608002][ T707] netlink_unicast+0x486/0x750 [ 32.608004][ T707] ? netlink_attachskb+0x810/0x810 [ 32.608006][ T707] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 32.608007][ T707] ? trace_hardirqs_on+0x36/0x40 [ 32.608009][ T707] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 32.608012][ T707] netlink_sendmsg+0x735/0xc60 [ 32.608014][ T707] ? netlink_unicast+0x750/0x750 [ 32.608016][ T707] ? rcu_is_watching+0x16/0xd0 [ 32.608018][ T707] ? lock_release+0x184/0x1f0 [ 32.608020][ T707] ____sys_sendmsg+0x415/0x880 [ 32.608023][ T707] ? copy_msghdr_from_user+0x279/0x420 [ 32.608025][ T707] ? get_timestamp.constprop.0+0x390/0x390 [ 32.608026][ T707] ? move_addr_to_kernel+0x40/0x40 [ 32.608029][ T707] ___sys_sendmsg+0x14e/0x1d0 [ 32.608031][ T707] ? copy_msghdr_from_user+0x420/0x420 [ 32.608033][ T707] ? kfree+0x22/0x590 [ 32.608037][ T707] __sys_sendmsg+0x12c/0x1d0 [ 32.608040][ T707] ? __sys_sendmsg_sock+0x20/0x20 [ 32.608042][ T707] ? rcu_is_watching+0x16/0xd0 [ 32.608044][ T707] ? rcu_is_watching+0x16/0xd0 [ 32.608046][ T707] do_syscall_64+0xff/0x530 [ 32.608049][ T707] ? exc_page_fault+0xee/0x100 [ 32.608051][ T707] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 32.608053][ T707] RIP: 0033:0x7f777c9cf54e [ 32.608054][ 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 [ 32.608056][ T707] RSP: 002b:00007fff1478e570 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 32.608060][ T707] RAX: ffffffffffffffda RBX: 0000000004f46130 RCX: 00007f777c9cf54e [ 32.608061][ T707] RDX: 0000000000000000 RSI: 00007fff1478e610 RDI: 0000000000000005 [ 32.608062][ T707] RBP: 00007fff1478e580 R08: 0000000000000000 R09: 0000000000000000 [ 32.608064][ T707] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000004f46200 [ 32.608065][ T707] R13: 00007fff1478e610 R14: 0000000004f47260 R15: 000000000040bda8 [ 32.608068][ T707] [ 32.682612][ T711] tun1: deleting peer with id 1, reason 1 [ 35.217906][ T759] tun0: deleting peer with id 2, reason 1 [ 35.217923][ T759] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 35.217926][ T759] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 759, name: ovpn-cli [ 35.217928][ T759] preempt_count: 202, expected: 0 [ 35.217928][ T759] RCU nest depth: 0, expected: 0 [ 35.217929][ T759] INFO: lockdep is turned off. [ 35.217930][ T759] irq event stamp: 0 [ 35.217931][ T759] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 35.217935][ T759] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 35.217941][ T759] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 35.217943][ T759] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 35.217945][ T759] Preemption disabled at: [ 35.217945][ T759] [<0000000000000000>] 0x0 [ 35.217950][ T759] CPU: 3 UID: 0 PID: 759 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 35.217954][ T759] Tainted: [W]=WARN [ 35.217955][ T759] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 35.217956][ T759] Call Trace: [ 35.217958][ T759] [ 35.217959][ T759] dump_stack_lvl+0x6f/0xa0 [ 35.217964][ T759] __might_resched.cold+0x1fe/0x2c1 [ 35.217969][ T759] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 35.217972][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.217976][ T759] __kmalloc_noprof+0x443/0x760 [ 35.217979][ T759] ? __rwlock_init+0x150/0x150 [ 35.217982][ T759] ? alloc_buf.isra.0+0x4b/0x260 [ 35.217986][ T759] ? do_raw_spin_unlock+0x59/0x250 [ 35.217988][ T759] alloc_buf.isra.0+0x4b/0x260 [ 35.217990][ T759] put_chars+0x1e1/0x2f0 [ 35.217992][ T759] ? __send_to_port+0x420/0x420 [ 35.217994][ T759] ? printk_get_next_message+0x240/0x650 [ 35.217997][ T759] hvc_console_print+0x292/0x780 [ 35.218001][ T759] ? hvc_write+0x3a0/0x3a0 [ 35.218002][ T759] ? __rwlock_init+0x150/0x150 [ 35.218004][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.218006][ T759] ? lock_acquire+0x13c/0x160 [ 35.218008][ T759] console_emit_next_record+0x22f/0x4c0 [ 35.218010][ T759] ? devkmsg_read+0x4b0/0x4b0 [ 35.218012][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.218014][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.218016][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.218017][ T759] ? lock_acquire+0x13c/0x160 [ 35.218019][ T759] ? console_flush_one_record+0x111/0x710 [ 35.218021][ T759] console_flush_one_record+0x46f/0x710 [ 35.218023][ T759] ? console_emit_next_record+0x4c0/0x4c0 [ 35.218026][ T759] console_unlock+0xee/0x1f0 [ 35.218027][ T759] ? lock_acquire+0x13c/0x160 [ 35.218029][ T759] ? console_flush_one_record+0x710/0x710 [ 35.218030][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.218032][ T759] ? lock_release+0x184/0x1f0 [ 35.218033][ T759] ? lock_acquire+0x60/0x160 [ 35.218035][ T759] ? __rcu_read_lock+0x30/0x70 [ 35.218037][ T759] ? __down_trylock_console_sem+0x5e/0xa0 [ 35.218039][ T759] ? vprintk_emit+0x320/0x3e0 [ 35.218041][ T759] vprintk_emit+0x37c/0x3e0 [ 35.218043][ T759] ? wake_up_klogd_work_func+0x90/0x90 [ 35.218045][ T759] ? kernel_text_address+0x149/0x170 [ 35.218047][ T759] ? __kernel_text_address+0x12/0x30 [ 35.218048][ T759] ? write_profile+0xf0/0xf0 [ 35.218050][ T759] ? unwind_get_return_address+0x67/0xd0 [ 35.218053][ T759] _printk+0xc7/0x100 [ 35.218056][ T759] ? snapshot_read.cold+0x21/0x21 [ 35.218058][ T759] ? netdev_name+0x43/0x60 [ 35.218061][ T759] ? __netdev_printk+0x17f/0x1d0 [ 35.218062][ T759] netdev_info+0xe2/0x116 [ 35.218066][ T759] ? netdev_notice+0x120/0x120 [ 35.218068][ T759] ? ovpn_nl_pre_doit+0x44/0x90 [ovpn] [ 35.218073][ T759] ? __module_address+0x36/0x330 [ 35.218077][ T759] ? lock_acquire+0x13c/0x160 [ 35.218078][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.218080][ T759] ? lock_release+0x184/0x1f0 [ 35.218082][ T759] ? ovpn_peer_get_by_id+0x38a/0x7a0 [ovpn] [ 35.218086][ T759] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 35.218092][ T759] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 35.218096][ T759] ? lock_acquire+0x13c/0x160 [ 35.218098][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.218100][ T759] ? lock_release+0x184/0x1f0 [ 35.218102][ T759] ovpn_peer_remove+0x394/0x640 [ovpn] [ 35.218104][ T759] ? do_raw_spin_lock+0x131/0x280 [ 35.218106][ T759] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 35.218110][ T759] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 35.218113][ T759] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 35.218116][ T759] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 35.218118][ T759] ? trace_hardirqs_on+0x36/0x40 [ 35.218121][ T759] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 35.218123][ T759] ? ref_tracker_alloc+0x28d/0x430 [ 35.218128][ T759] ? lock_release+0x184/0x1f0 [ 35.218130][ T759] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 35.218133][ T759] genl_family_rcv_msg_doit+0x206/0x300 [ 35.218138][ T759] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 35.218139][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.218142][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.218144][ T759] ? cap_capable+0x1d7/0x3d0 [ 35.218147][ T759] ? write_profile+0xf0/0xf0 [ 35.218148][ T759] ? unwind_get_return_address+0x67/0xd0 [ 35.218150][ T759] genl_family_rcv_msg+0x3a4/0x640 [ 35.218152][ T759] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 35.218154][ T759] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 35.218157][ T759] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 35.218159][ T759] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 35.218161][ T759] ? filter_irq_stacks+0xd0/0xd0 [ 35.218163][ T759] ? stack_depot_save_flags+0x1bc/0x790 [ 35.218165][ T759] genl_rcv_msg+0xbb/0x160 [ 35.218167][ T759] netlink_rcv_skb+0x14e/0x3a0 [ 35.218169][ T759] ? genl_family_rcv_msg+0x640/0x640 [ 35.218171][ T759] ? netlink_ack+0xcf0/0xcf0 [ 35.218174][ T759] ? lock_acquire+0x13c/0x160 [ 35.218175][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.218177][ T759] ? lock_release+0x184/0x1f0 [ 35.218179][ T759] genl_rcv+0x28/0x40 [ 35.218181][ T759] netlink_unicast+0x486/0x750 [ 35.218183][ T759] ? netlink_attachskb+0x810/0x810 [ 35.218185][ T759] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 35.218186][ T759] ? trace_hardirqs_on+0x36/0x40 [ 35.218187][ T759] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 35.218191][ T759] netlink_sendmsg+0x735/0xc60 [ 35.218193][ T759] ? netlink_unicast+0x750/0x750 [ 35.218195][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.218197][ T759] ? lock_release+0x184/0x1f0 [ 35.218198][ T759] ____sys_sendmsg+0x415/0x880 [ 35.218202][ T759] ? copy_msghdr_from_user+0x279/0x420 [ 35.218204][ T759] ? get_timestamp.constprop.0+0x390/0x390 [ 35.218205][ T759] ? move_addr_to_kernel+0x40/0x40 [ 35.218208][ T759] ___sys_sendmsg+0x14e/0x1d0 [ 35.218210][ T759] ? copy_msghdr_from_user+0x420/0x420 [ 35.218211][ T759] ? kfree+0x22/0x590 [ 35.218216][ T759] __sys_sendmsg+0x12c/0x1d0 [ 35.218218][ T759] ? __sys_sendmsg_sock+0x20/0x20 [ 35.218221][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.218223][ T759] ? rcu_is_watching+0x16/0xd0 [ 35.218225][ T759] do_syscall_64+0xff/0x530 [ 35.218228][ T759] ? exc_page_fault+0xee/0x100 [ 35.218229][ T759] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 35.218231][ T759] RIP: 0033:0x7f7fae4d654e [ 35.218233][ 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.218235][ T759] RSP: 002b:00007ffce416bc80 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 35.218238][ T759] RAX: ffffffffffffffda RBX: 000000003793b130 RCX: 00007f7fae4d654e [ 35.218239][ T759] RDX: 0000000000000000 RSI: 00007ffce416bd20 RDI: 0000000000000005 [ 35.218240][ T759] RBP: 00007ffce416bc90 R08: 0000000000000000 R09: 0000000000000000 [ 35.218241][ T759] R10: 0000000000000000 R11: 0000000000000202 R12: 000000003793b200 [ 35.218242][ T759] R13: 00007ffce416bd20 R14: 000000003793c260 R15: 000000000040bda8 [ 35.218244][ T759] [ 35.298410][ T763] tun2: deleting peer with id 2, reason 1 [ 40.946105][ T10] tun0: deleting peer with id 4, reason 2 [ 40.946126][ T10] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 40.946129][ T10] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 [ 40.946131][ T10] preempt_count: 202, expected: 0 [ 40.946132][ T10] RCU nest depth: 0, expected: 0 [ 40.946133][ T10] INFO: lockdep is turned off. [ 40.946134][ T10] irq event stamp: 25162 [ 40.946135][ T10] hardirqs last enabled at (25161): [] _raw_spin_unlock_irq+0x28/0x50 [ 40.946143][ T10] hardirqs last disabled at (25162): [] __schedule+0x1246/0x20e0 [ 40.946147][ T10] softirqs last enabled at (25004): [] neigh_periodic_work+0x6b9/0xa60 [ 40.946151][ T10] softirqs last disabled at (25000): [] neigh_periodic_work+0xaa/0xa60 [ 40.946153][ T10] Preemption disabled at: [ 40.946154][ T10] [<0000000000000000>] 0x0 [ 40.946162][ T10] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 40.946165][ T10] Tainted: [W]=WARN [ 40.946166][ T10] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 40.946169][ T10] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 40.946178][ T10] Call Trace: [ 40.946180][ T10] [ 40.946181][ T10] dump_stack_lvl+0x6f/0xa0 [ 40.946187][ T10] __might_resched.cold+0x1fe/0x2c1 [ 40.946191][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 40.946195][ T10] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 40.946197][ T10] ? rcu_is_watching+0x16/0xd0 [ 40.946201][ T10] __kmalloc_noprof+0x443/0x760 [ 40.946205][ T10] ? __rwlock_init+0x150/0x150 [ 40.946208][ T10] ? alloc_buf.isra.0+0x4b/0x260 [ 40.946212][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 40.946213][ T10] alloc_buf.isra.0+0x4b/0x260 [ 40.946216][ T10] put_chars+0x1e1/0x2f0 [ 40.946218][ T10] ? prb_final_commit+0x50/0x50 [ 40.946219][ T10] ? __send_to_port+0x420/0x420 [ 40.946221][ T10] ? printk_get_next_message+0x240/0x650 [ 40.946224][ T10] hvc_console_print+0x292/0x780 [ 40.946229][ T10] ? hvc_write+0x3a0/0x3a0 [ 40.946230][ T10] ? do_raw_spin_lock+0x131/0x280 [ 40.946231][ T10] ? vsnprintf+0x527/0x1700 [ 40.946234][ T10] ? __rwlock_init+0x150/0x150 [ 40.946235][ T10] ? rcu_is_watching+0x16/0xd0 [ 40.946237][ T10] ? lock_acquire+0x13c/0x160 [ 40.946239][ T10] console_emit_next_record+0x22f/0x4c0 [ 40.946242][ T10] ? devkmsg_read+0x4b0/0x4b0 [ 40.946244][ T10] ? rcu_is_watching+0x16/0xd0 [ 40.946246][ T10] ? rcu_is_watching+0x16/0xd0 [ 40.946247][ T10] ? rcu_is_watching+0x16/0xd0 [ 40.946249][ T10] ? lock_acquire+0x13c/0x160 [ 40.946251][ T10] ? console_flush_one_record+0x111/0x710 [ 40.946253][ T10] console_flush_one_record+0x46f/0x710 [ 40.946255][ T10] ? console_emit_next_record+0x4c0/0x4c0 [ 40.946258][ T10] console_unlock+0xee/0x1f0 [ 40.946260][ T10] ? lock_acquire+0x13c/0x160 [ 40.946261][ T10] ? console_flush_one_record+0x710/0x710 [ 40.946263][ T10] ? rcu_is_watching+0x16/0xd0 [ 40.946265][ T10] ? lock_release+0x184/0x1f0 [ 40.946266][ T10] ? lock_acquire+0x60/0x160 [ 40.946267][ T10] ? __rcu_read_lock+0x30/0x70 [ 40.946269][ T10] ? __down_trylock_console_sem+0x5e/0xa0 [ 40.946271][ T10] ? vprintk_emit+0x320/0x3e0 [ 40.946273][ T10] vprintk_emit+0x37c/0x3e0 [ 40.946276][ T10] ? wake_up_klogd_work_func+0x90/0x90 [ 40.946278][ T10] ? arch_stack_walk+0xd7/0x130 [ 40.946281][ T10] _printk+0xc7/0x100 [ 40.946285][ T10] ? snapshot_read.cold+0x21/0x21 [ 40.946286][ T10] ? ret_from_fork_asm+0x11/0x20 [ 40.946289][ T10] ? nfc_urelease_event_work+0x1d4/0x2d0 [ 40.946292][ T10] ? stack_trace_save+0x93/0xc0 [ 40.946294][ T10] ? netdev_name+0x43/0x60 [ 40.946297][ T10] ? __netdev_printk+0x17f/0x1d0 [ 40.946299][ T10] netdev_info+0xe2/0x116 [ 40.946301][ T10] ? netdev_notice+0x120/0x120 [ 40.946302][ T10] ? kasan_save_track+0x14/0x30 [ 40.946305][ T10] ? kasan_save_free_info+0x3b/0x60 [ 40.946308][ T10] ? process_one_work+0xe3e/0x1560 [ 40.946311][ T10] ? worker_thread+0x4f1/0xd60 [ 40.946312][ T10] ? kthread+0x367/0x460 [ 40.946315][ T10] ? ret_from_fork+0x474/0x6b0 [ 40.946316][ T10] ? ret_from_fork_asm+0x11/0x20 [ 40.946318][ T10] ? trace_irq_enable.constprop.0+0x30/0x160 [ 40.946321][ T10] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 40.946326][ T10] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 40.946328][ T10] ? __rwlock_init+0x150/0x150 [ 40.946330][ T10] ? lock_acquire+0x13c/0x160 [ 40.946331][ T10] ? rcu_is_watching+0x16/0xd0 [ 40.946333][ T10] ovpn_peer_remove+0x394/0x640 [ovpn] [ 40.946337][ T10] ? do_raw_spin_lock+0x131/0x280 [ 40.946339][ T10] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 40.946342][ T10] ? __rwlock_init+0x150/0x150 [ 40.946343][ T10] ? rcu_is_watching+0x16/0xd0 [ 40.946345][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 40.946346][ T10] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 40.946348][ T10] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 40.946351][ T10] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 40.946354][ T10] ? __rwlock_init+0x150/0x150 [ 40.946356][ T10] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 40.946360][ T10] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 40.946362][ T10] ? rcu_is_watching+0x16/0xd0 [ 40.946364][ T10] ? lock_acquire+0x13c/0x160 [ 40.946365][ T10] ? rcu_is_watching+0x16/0xd0 [ 40.946367][ T10] process_one_work+0xe3e/0x1560 [ 40.946370][ T10] ? __queue_delayed_work+0x470/0x470 [ 40.946373][ T10] ? __rwlock_init+0x150/0x150 [ 40.946375][ T10] worker_thread+0x4f1/0xd60 [ 40.946378][ T10] ? rescuer_thread+0x1340/0x1340 [ 40.946380][ T10] ? __kthread_parkme+0xbd/0x210 [ 40.946381][ T10] ? rescuer_thread+0x1340/0x1340 [ 40.946383][ T10] ? rescuer_thread+0x1340/0x1340 [ 40.946385][ T10] kthread+0x367/0x460 [ 40.946386][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 40.946388][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 40.946389][ T10] ret_from_fork+0x474/0x6b0 [ 40.946391][ T10] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 40.946393][ T10] ? __switch_to+0x5a3/0xe00 [ 40.946396][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 40.946397][ T10] ret_from_fork_asm+0x11/0x20 [ 40.946401][ T10] [ 40.967051][ T10] tun0: deleting peer with id 3, reason 2 [ 40.967256][ T10] tun0: deleting peer with id 5, reason 2 [ 40.967431][ T10] tun0: deleting peer with id 6, reason 2 [ 46.066124][ T10] tun3: deleting peer with id 3, reason 2 [ 46.066144][ T10] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 46.066147][ T10] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 [ 46.066148][ T10] preempt_count: 202, expected: 0 [ 46.066149][ T10] RCU nest depth: 0, expected: 0 [ 46.066150][ T10] INFO: lockdep is turned off. [ 46.066152][ T10] irq event stamp: 25162 [ 46.066152][ T10] hardirqs last enabled at (25161): [] _raw_spin_unlock_irq+0x28/0x50 [ 46.066161][ T10] hardirqs last disabled at (25162): [] __schedule+0x1246/0x20e0 [ 46.066164][ T10] softirqs last enabled at (25004): [] neigh_periodic_work+0x6b9/0xa60 [ 46.066168][ T10] softirqs last disabled at (25000): [] neigh_periodic_work+0xaa/0xa60 [ 46.066170][ T10] Preemption disabled at: [ 46.066171][ T10] [<0000000000000000>] 0x0 [ 46.066178][ T10] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 46.066182][ T10] Tainted: [W]=WARN [ 46.066183][ T10] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 46.066185][ T10] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 46.066194][ T10] Call Trace: [ 46.066196][ T10] [ 46.066197][ T10] dump_stack_lvl+0x6f/0xa0 [ 46.066203][ T10] __might_resched.cold+0x1fe/0x2c1 [ 46.066207][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 46.066211][ T10] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 46.066214][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.066218][ T10] __kmalloc_noprof+0x443/0x760 [ 46.066221][ T10] ? __rwlock_init+0x150/0x150 [ 46.066224][ T10] ? alloc_buf.isra.0+0x4b/0x260 [ 46.066228][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 46.066229][ T10] alloc_buf.isra.0+0x4b/0x260 [ 46.066231][ T10] put_chars+0x1e1/0x2f0 [ 46.066233][ T10] ? prb_final_commit+0x50/0x50 [ 46.066235][ T10] ? __send_to_port+0x420/0x420 [ 46.066237][ T10] ? printk_get_next_message+0x240/0x650 [ 46.066240][ T10] hvc_console_print+0x292/0x780 [ 46.066244][ T10] ? hvc_write+0x3a0/0x3a0 [ 46.066245][ T10] ? do_raw_spin_lock+0x131/0x280 [ 46.066247][ T10] ? vsnprintf+0x527/0x1700 [ 46.066249][ T10] ? __rwlock_init+0x150/0x150 [ 46.066250][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.066252][ T10] ? lock_acquire+0x13c/0x160 [ 46.066254][ T10] console_emit_next_record+0x22f/0x4c0 [ 46.066257][ T10] ? devkmsg_read+0x4b0/0x4b0 [ 46.066259][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.066260][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.066262][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.066263][ T10] ? lock_acquire+0x13c/0x160 [ 46.066265][ T10] ? console_flush_one_record+0x111/0x710 [ 46.066267][ T10] console_flush_one_record+0x46f/0x710 [ 46.066269][ T10] ? console_emit_next_record+0x4c0/0x4c0 [ 46.066272][ T10] console_unlock+0xee/0x1f0 [ 46.066274][ T10] ? lock_acquire+0x13c/0x160 [ 46.066275][ T10] ? console_flush_one_record+0x710/0x710 [ 46.066277][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.066278][ T10] ? lock_release+0x184/0x1f0 [ 46.066280][ T10] ? lock_acquire+0x60/0x160 [ 46.066281][ T10] ? __rcu_read_lock+0x30/0x70 [ 46.066283][ T10] ? __down_trylock_console_sem+0x5e/0xa0 [ 46.066285][ T10] ? vprintk_emit+0x320/0x3e0 [ 46.066287][ T10] vprintk_emit+0x37c/0x3e0 [ 46.066289][ T10] ? wake_up_klogd_work_func+0x90/0x90 [ 46.066291][ T10] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 46.066292][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.066294][ T10] ? trace_sched_wakeup+0x9b/0x160 [ 46.066296][ T10] _printk+0xc7/0x100 [ 46.066299][ T10] ? snapshot_read.cold+0x21/0x21 [ 46.066301][ T10] ? try_to_wake_up+0x153/0x1130 [ 46.066303][ T10] ? select_fallback_rq+0x510/0x510 [ 46.066304][ T10] ? netdev_name+0x43/0x60 [ 46.066307][ T10] ? __netdev_printk+0x17f/0x1d0 [ 46.066309][ T10] netdev_info+0xe2/0x116 [ 46.066310][ T10] ? netdev_notice+0x120/0x120 [ 46.066312][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.066314][ T10] ? __queue_work+0x3ab/0xd30 [ 46.066317][ T10] ? trace_irq_enable.constprop.0+0x30/0x160 [ 46.066320][ T10] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 46.066325][ T10] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 46.066328][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.066329][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 46.066331][ T10] ovpn_peer_remove+0x394/0x640 [ovpn] [ 46.066335][ T10] ? do_raw_spin_lock+0x131/0x280 [ 46.066337][ T10] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 46.066340][ T10] ? __rwlock_init+0x150/0x150 [ 46.066341][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.066343][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 46.066344][ T10] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 46.066346][ T10] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 46.066349][ T10] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 46.066351][ T10] ? __rwlock_init+0x150/0x150 [ 46.066353][ T10] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 46.066357][ T10] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 46.066359][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.066361][ T10] ? lock_acquire+0x13c/0x160 [ 46.066362][ T10] ? rcu_is_watching+0x16/0xd0 [ 46.066364][ T10] ? process_one_work+0xdfc/0x1560 [ 46.066366][ T10] process_one_work+0xe3e/0x1560 [ 46.066369][ T10] ? __queue_delayed_work+0x470/0x470 [ 46.066371][ T10] ? __rwlock_init+0x150/0x150 [ 46.066374][ T10] worker_thread+0x4f1/0xd60 [ 46.066376][ T10] ? rescuer_thread+0x1340/0x1340 [ 46.066377][ T10] ? __kthread_parkme+0xbd/0x210 [ 46.066380][ T10] ? rescuer_thread+0x1340/0x1340 [ 46.066381][ T10] ? rescuer_thread+0x1340/0x1340 [ 46.066383][ T10] kthread+0x367/0x460 [ 46.066385][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 46.066386][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 46.066387][ T10] ret_from_fork+0x474/0x6b0 [ 46.066390][ T10] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 46.066392][ T10] ? __switch_to+0x5a3/0xe00 [ 46.066395][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 46.066396][ T10] ret_from_fork_asm+0x11/0x20 [ 46.066400][ T10] [ 46.130102][ T10] tun5: deleting peer with id 5, reason 2 [ 46.131116][ T34] tun4: deleting peer with id 4, reason 2 [ 46.194082][ T34] tun6: deleting peer with id 6, reason 2