[ 15.593333][ T322] ip (322) used greatest stack depth: 23904 bytes left [ 15.593355][ T322] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.593357][ T322] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 322, name: ip [ 15.593358][ T322] preempt_count: 2, expected: 0 [ 15.593359][ T322] RCU nest depth: 0, expected: 0 [ 15.593360][ T322] locks held by ip/322: 5, last CPU#3: [ 15.593362][ T322] #0: ffffffffb94127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 15.593373][ T322] #1: ffffffffb9579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.593379][ T322] #2: ffffffffb9579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.593383][ T322] #3: ffffffffb9499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.593387][ T322] #4: ffffffffb9499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 15.593390][ T322] irq event stamp: 41738 [ 15.593391][ T322] hardirqs last enabled at (41737): [] __down_trylock_console_sem+0x86/0xa0 [ 15.593394][ T322] hardirqs last disabled at (41738): [] console_emit_next_record+0x3d4/0x4c0 [ 15.593395][ T322] softirqs last enabled at (41734): [] handle_softirqs+0x67c/0x900 [ 15.593397][ T322] softirqs last disabled at (41729): [] __irq_exit_rcu+0x145/0x1c0 [ 15.593400][ T322] Preemption disabled at: [ 15.593400][ T322] [<0000000000000000>] 0x0 [ 15.593407][ T322] CPU: 3 UID: 0 PID: 322 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.593410][ T322] Tainted: [W]=WARN [ 15.593411][ T322] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.593412][ T322] Call Trace: [ 15.593414][ T322] [ 15.593416][ T322] dump_stack_lvl+0x6f/0xa0 [ 15.593422][ T322] __might_resched.cold+0x1fe/0x2c1 [ 15.593426][ T322] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.593430][ T322] ? __kmalloc_noprof+0xdb/0x760 [ 15.593435][ T322] __kmalloc_noprof+0x443/0x760 [ 15.593438][ T322] ? alloc_buf.isra.0+0x4b/0x260 [ 15.593444][ T322] ? do_raw_spin_unlock+0x59/0x250 [ 15.593447][ T322] alloc_buf.isra.0+0x4b/0x260 [ 15.593450][ T322] put_chars+0x1e1/0x2f0 [ 15.593453][ T322] ? __send_to_port+0x420/0x420 [ 15.593455][ T322] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.593460][ T322] ? validate_chain+0x38b/0xc20 [ 15.593465][ T322] hvc_console_print+0x292/0x780 [ 15.593471][ T322] ? hvc_write+0x3a0/0x3a0 [ 15.593473][ T322] ? rcu_is_watching+0x16/0xd0 [ 15.593476][ T322] ? lock_acquire+0x13c/0x160 [ 15.593480][ T322] console_emit_next_record+0x22f/0x4c0 [ 15.593483][ T322] ? devkmsg_read+0x4b0/0x4b0 [ 15.593485][ T322] ? console_flush_one_record+0x106/0x710 [ 15.593488][ T322] ? rcu_is_watching+0x16/0xd0 [ 15.593490][ T322] ? lock_acquire+0x13c/0x160 [ 15.593494][ T322] console_flush_one_record+0x46f/0x710 [ 15.593498][ T322] ? console_emit_next_record+0x4c0/0x4c0 [ 15.593500][ T322] ? __lock_acquire+0x518/0xc20 [ 15.593505][ T322] console_unlock+0xee/0x1f0 [ 15.593508][ T322] ? console_flush_one_record+0x710/0x710 [ 15.593510][ T322] ? rcu_is_watching+0x16/0xd0 [ 15.593512][ T322] ? lock_acquire+0x60/0x160 [ 15.593515][ T322] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.593517][ T322] ? vprintk_emit+0x320/0x3e0 [ 15.593520][ T322] vprintk_emit+0x37c/0x3e0 [ 15.593524][ T322] ? wake_up_klogd_work_func+0x90/0x90 [ 15.593527][ T322] ? __lock_acquire+0x518/0xc20 [ 15.593530][ T322] _printk+0xc7/0x100 [ 15.593534][ T322] ? snapshot_read.cold+0x21/0x21 [ 15.593537][ T322] ? do_raw_spin_lock+0x131/0x280 [ 15.593539][ T322] ? __rwlock_init+0x150/0x150 [ 15.593543][ T322] ? do_raw_spin_lock+0x131/0x280 [ 15.593546][ T322] do_exit.cold+0x82/0x9c [ 15.593549][ T322] ? exit_notify+0x890/0x890 [ 15.593551][ T322] ? __lock_release.isra.0+0x69/0x1a0 [ 15.593553][ T322] ? rcu_is_watching+0x16/0xd0 [ 15.593557][ T322] do_group_exit+0xb8/0x370 [ 15.593560][ T322] __x64_sys_exit_group+0x3c/0x50 [ 15.593562][ T322] x64_sys_call+0x1567/0x1570 [ 15.593564][ T322] do_syscall_64+0xff/0x530 [ 15.593568][ T322] ? exc_page_fault+0xee/0x100 [ 15.593571][ T322] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.593573][ T322] RIP: 0033:0x7f62fccd21b8 [ 15.593575][ T322] Code: Unable to access opcode bytes at 0x7f62fccd218e. [ 15.593576][ T322] RSP: 002b:00007ffc804cdca8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 15.593579][ T322] RAX: ffffffffffffffda RBX: 00007f62fce02f88 RCX: 00007f62fccd21b8 [ 15.593580][ T322] RDX: 00007f62fca1cfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 15.593581][ T322] RBP: 00007ffc804cdd00 R08: 0000000000000000 R09: 0000000000000000 [ 15.593582][ T322] R10: 00007ffc804cdac0 R11: 0000000000000246 R12: 0000000000000001 [ 15.593583][ T322] R13: 0000000000000000 R14: 00007f62fce01680 R15: 00007f62fce02fa0 [ 15.593589][ T322] [ 29.138993][ T751] iperf3 (751) used greatest stack depth: 23408 bytes left [ 29.139015][ T751] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 29.139017][ T751] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 751, name: iperf3 [ 29.139019][ T751] preempt_count: 2, expected: 0 [ 29.139020][ T751] RCU nest depth: 0, expected: 0 [ 29.139021][ T751] locks held by iperf3/751: 5, last CPU#1: [ 29.139022][ T751] #0: ffffffffb94127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 29.139034][ T751] #1: ffffffffb9579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 29.139039][ T751] #2: ffffffffb9579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 29.139043][ T751] #3: ffffffffb9499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 29.139046][ T751] #4: ffffffffb9499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 29.139050][ T751] irq event stamp: 7715464 [ 29.139051][ T751] hardirqs last enabled at (7715463): [] __down_trylock_console_sem+0x86/0xa0 [ 29.139054][ T751] hardirqs last disabled at (7715464): [] console_emit_next_record+0x3d4/0x4c0 [ 29.139056][ T751] softirqs last enabled at (7714890): [] handle_softirqs+0x67c/0x900 [ 29.139058][ T751] softirqs last disabled at (7713989): [] __irq_exit_rcu+0x145/0x1c0 [ 29.139060][ T751] Preemption disabled at: [ 29.139061][ T751] [<0000000000000000>] 0x0 [ 29.139067][ T751] CPU: 1 UID: 0 PID: 751 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 29.139071][ T751] Tainted: [W]=WARN [ 29.139072][ T751] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.139073][ T751] Call Trace: [ 29.139075][ T751] [ 29.139076][ T751] dump_stack_lvl+0x6f/0xa0 [ 29.139082][ T751] __might_resched.cold+0x1fe/0x2c1 [ 29.139087][ T751] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 29.139091][ T751] ? __kmalloc_noprof+0xdb/0x760 [ 29.139095][ T751] __kmalloc_noprof+0x443/0x760 [ 29.139098][ T751] ? alloc_buf.isra.0+0x4b/0x260 [ 29.139104][ T751] ? do_raw_spin_unlock+0x59/0x250 [ 29.139106][ T751] alloc_buf.isra.0+0x4b/0x260 [ 29.139110][ T751] put_chars+0x1e1/0x2f0 [ 29.139112][ T751] ? prb_final_commit+0x50/0x50 [ 29.139114][ T751] ? __send_to_port+0x420/0x420 [ 29.139117][ T751] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 29.139121][ T751] ? rcu_read_lock_any_held+0x3c/0x90 [ 29.139123][ T751] ? validate_chain+0x38b/0xc20 [ 29.139127][ T751] hvc_console_print+0x292/0x780 [ 29.139130][ T751] ? mark_usage+0x61/0x170 [ 29.139132][ T751] ? __lock_acquire+0x518/0xc20 [ 29.139134][ T751] ? __lock_acquire+0x518/0xc20 [ 29.139137][ T751] ? hvc_write+0x3a0/0x3a0 [ 29.139139][ T751] ? console_emit_next_record+0x1df/0x4c0 [ 29.139142][ T751] ? rcu_is_watching+0x16/0xd0 [ 29.139145][ T751] ? lock_acquire+0x13c/0x160 [ 29.139149][ T751] console_emit_next_record+0x22f/0x4c0 [ 29.139153][ T751] ? devkmsg_read+0x4b0/0x4b0 [ 29.139154][ T751] ? console_flush_one_record+0x106/0x710 [ 29.139158][ T751] ? rcu_is_watching+0x16/0xd0 [ 29.139160][ T751] ? lock_acquire+0x13c/0x160 [ 29.139164][ T751] console_flush_one_record+0x46f/0x710 [ 29.139168][ T751] ? console_emit_next_record+0x4c0/0x4c0 [ 29.139169][ T751] ? __lock_acquire+0x518/0xc20 [ 29.139174][ T751] console_unlock+0xee/0x1f0 [ 29.139177][ T751] ? console_flush_one_record+0x710/0x710 [ 29.139179][ T751] ? rcu_is_watching+0x16/0xd0 [ 29.139181][ T751] ? lock_acquire+0x60/0x160 [ 29.139185][ T751] ? __down_trylock_console_sem+0x5e/0xa0 [ 29.139186][ T751] ? vprintk_emit+0x320/0x3e0 [ 29.139190][ T751] vprintk_emit+0x37c/0x3e0 [ 29.139193][ T751] ? wake_up_klogd_work_func+0x90/0x90 [ 29.139197][ T751] ? __lock_acquire+0x518/0xc20 [ 29.139200][ T751] _printk+0xc7/0x100 [ 29.139204][ T751] ? snapshot_read.cold+0x21/0x21 [ 29.139206][ T751] ? do_raw_spin_lock+0x131/0x280 [ 29.139209][ T751] ? __rwlock_init+0x150/0x150 [ 29.139212][ T751] ? do_raw_spin_lock+0x131/0x280 [ 29.139215][ T751] do_exit.cold+0x82/0x9c [ 29.139219][ T751] ? exit_notify+0x890/0x890 [ 29.139223][ T751] __x64_sys_exit+0x42/0x50 [ 29.139225][ T751] x64_sys_call+0x156c/0x1570 [ 29.139228][ T751] do_syscall_64+0xff/0x530 [ 29.139232][ T751] ? exc_page_fault+0xee/0x100 [ 29.139235][ T751] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 29.139237][ T751] RIP: 0033:0x7f7dc3c17c49 [ 29.139239][ T751] Code: Unable to access opcode bytes at 0x7f7dc3c17c1f. [ 29.139240][ T751] RSP: 002b:00007f7dc33d6e60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 29.139243][ T751] RAX: ffffffffffffffda RBX: 00007f7dc33d76c0 RCX: 00007f7dc3c17c49 [ 29.139244][ T751] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 29.139245][ T751] RBP: 00007f7dc33d6f70 R08: 0000000000000001 R09: 00007f7dc33d76c0 [ 29.139246][ T751] R10: 0000000000000008 R11: 0000000000000246 R12: 00007f7dc2bd7000 [ 29.139246][ T751] R13: 00007ffc5dfe1df0 R14: 0000000000000002 R15: 00007ffc5dfe1ef7 [ 29.139253][ T751] [ 30.845619][ T845] tun0: deleting peer with id 1, reason 1 [ 30.845669][ T845] [ 30.845670][ T845] ===================================================== [ 30.845671][ T845] WARNING: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected [ 30.845674][ T845] 7.2.0-virtme #1 Tainted: G W [ 30.845676][ T845] ----------------------------------------------------- [ 30.845677][ T845] ovpn-cli/845 [HC0[0]:SC0[2]:HE0:SE0] is trying to acquire: [ 30.845679][ T845] ffffffffb9499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 30.845691][ T845] [ 30.845691][ T845] and this task is already holding: [ 30.845691][ T845] ff1100000f891e68 (&ovpn->lock){+.-.}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 30.845699][ T845] which would create a new lock dependency: [ 30.845700][ T845] (&ovpn->lock){+.-.}-{3:3} -> (console_owner){....}-{0:0} [ 30.845702][ T845] [ 30.845702][ T845] but this new dependency connects a SOFTIRQ-irq-safe lock: [ 30.845703][ T845] (&ovpn->lock){+.-.}-{3:3} [ 30.845704][ T845] [ 30.845704][ T845] ... which became SOFTIRQ-irq-safe at: [ 30.845706][ T845] __lock_acquire+0x388/0xc20 [ 30.845709][ T845] lock_acquire.part.0+0xd4/0x280 [ 30.845710][ T845] _raw_spin_lock_bh+0x38/0x50 [ 30.845713][ T845] ovpn_peer_endpoints_update+0xbc6/0x1ba0 [ovpn] [ 30.845716][ T845] ovpn_decrypt_post+0x74a/0x13e0 [ovpn] [ 30.845719][ T845] ovpn_udp_encap_recv+0x295/0x610 [ovpn] [ 30.845722][ T845] udp_queue_rcv_one_skb+0x645/0xb00 [ 30.845725][ T845] udp_unicast_rcv_skb+0x366/0x450 [ 30.845726][ T845] udp_rcv+0xaba/0x1d90 [ 30.845728][ T845] ip_protocol_deliver_rcu+0x82/0x350 [ 30.845730][ T845] ip_local_deliver_finish+0x36f/0x610 [ 30.845732][ T845] ip_local_deliver+0x184/0x4c0 [ 30.845733][ T845] ip_rcv+0xdc/0x3d0 [ 30.845734][ T845] __netif_receive_skb_one_core+0xfc/0x180 [ 30.845738][ T845] process_backlog+0x431/0x14c0 [ 30.845739][ T845] __napi_poll+0xa7/0x3b0 [ 30.845741][ T845] net_rx_action+0x513/0xf50 [ 30.845743][ T845] handle_softirqs+0x1d3/0x900 [ 30.845746][ T845] do_softirq+0xac/0xe0 [ 30.845747][ T845] __local_bh_enable_ip+0x118/0x150 [ 30.845748][ T845] __dev_queue_xmit+0x979/0x1b80 [ 30.845750][ T845] ip_finish_output2+0x5b9/0x1bc0 [ 30.845752][ T845] ip_output+0x1ca/0x660 [ 30.845753][ T845] ip_push_pending_frames+0xf6/0x250 [ 30.845755][ T845] raw_sendmsg+0x1169/0x1cc0 [ 30.845756][ T845] __sys_sendto+0x2aa/0x400 [ 30.845759][ T845] __x64_sys_sendto+0xe4/0x1f0 [ 30.845761][ T845] do_syscall_64+0xff/0x530 [ 30.845763][ T845] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.845766][ T845] [ 30.845766][ T845] to a SOFTIRQ-irq-unsafe lock: [ 30.845767][ T845] (fs_reclaim){+.+.}-{0:0} [ 30.845768][ T845] [ 30.845768][ T845] ... which became SOFTIRQ-irq-unsafe at: [ 30.845769][ T845] ... [ 30.845769][ T845] __lock_acquire+0x388/0xc20 [ 30.845771][ T845] lock_acquire.part.0+0xd4/0x280 [ 30.845772][ T845] fs_reclaim_acquire+0xd5/0x120 [ 30.845775][ T845] __kmalloc_cache_noprof+0x6e/0x620 [ 30.845777][ T845] kthread_create_worker_on_node+0xea/0x210 [ 30.845780][ T845] workqueue_init+0x2a/0x680 [ 30.845783][ T845] kernel_init_freeable+0x2fe/0x630 [ 30.845785][ T845] kernel_init+0x21/0x150 [ 30.845787][ T845] ret_from_fork+0x474/0x6b0 [ 30.845790][ T845] ret_from_fork_asm+0x11/0x20 [ 30.845792][ T845] [ 30.845792][ T845] other info that might help us debug this: [ 30.845792][ T845] [ 30.845793][ T845] Chain exists of: [ 30.845793][ T845] &ovpn->lock --> console_owner --> fs_reclaim [ 30.845793][ T845] [ 30.845795][ T845] Possible interrupt unsafe locking scenario: [ 30.845795][ T845] [ 30.845796][ T845] CPU0 CPU1 [ 30.845797][ T845] ---- ---- [ 30.845797][ T845] lock(fs_reclaim); [ 30.845798][ T845] local_irq_disable(); [ 30.845798][ T845] lock(&ovpn->lock); [ 30.845799][ T845] lock(console_owner); [ 30.845800][ T845] [ 30.845800][ T845] lock(&ovpn->lock); [ 30.845801][ T845] [ 30.845801][ T845] *** DEADLOCK *** [ 30.845801][ T845] [ 30.845801][ T845] locks held by ovpn-cli/845: 4, last CPU#3: [ 30.845803][ T845] #0: ffffffffb9d44b68 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 30.845808][ T845] #1: ff1100000f891e68 (&ovpn->lock){+.-.}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 30.845812][ T845] #2: ffffffffb9579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 30.845815][ T845] #3: ffffffffb9579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 30.845819][ T845] [ 30.845819][ T845] the dependencies between SOFTIRQ-irq-safe lock and the holding lock: [ 30.845820][ T845] -> (&ovpn->lock){+.-.}-{3:3} { [ 30.845821][ T845] HARDIRQ-ON-W at: [ 30.845823][ T845] __lock_acquire+0x388/0xc20 [ 30.845824][ T845] lock_acquire.part.0+0xd4/0x280 [ 30.845826][ T845] _raw_spin_lock_bh+0x38/0x50 [ 30.845827][ T845] ovpn_peer_add_mp+0xad/0x6a0 [ovpn] [ 30.845829][ T845] ovpn_peer_add+0x152/0x330 [ovpn] [ 30.845831][ T845] ovpn_nl_peer_new_doit+0x54f/0xcf0 [ovpn] [ 30.845834][ T845] genl_family_rcv_msg_doit+0x206/0x300 [ 30.845836][ T845] genl_family_rcv_msg+0x3a4/0x640 [ 30.845837][ T845] genl_rcv_msg+0xbb/0x160 [ 30.845839][ T845] netlink_rcv_skb+0x14e/0x3a0 [ 30.845841][ T845] genl_rcv+0x28/0x40 [ 30.845842][ T845] netlink_unicast+0x486/0x750 [ 30.845844][ T845] netlink_sendmsg+0x735/0xc60 [ 30.845845][ T845] ____sys_sendmsg+0x415/0x880 [ 30.845847][ T845] ___sys_sendmsg+0x14e/0x1d0 [ 30.845849][ T845] __sys_sendmsg+0x12c/0x1d0 [ 30.845851][ T845] do_syscall_64+0xff/0x530 [ 30.845852][ T845] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.845853][ T845] IN-SOFTIRQ-W at: [ 30.845854][ T845] __lock_acquire+0x388/0xc20 [ 30.845855][ T845] lock_acquire.part.0+0xd4/0x280 [ 30.845857][ T845] _raw_spin_lock_bh+0x38/0x50 [ 30.845858][ T845] ovpn_peer_endpoints_update+0xbc6/0x1ba0 [ovpn] [ 30.845860][ T845] ovpn_decrypt_post+0x74a/0x13e0 [ovpn] [ 30.845868][ T845] ovpn_udp_encap_recv+0x295/0x610 [ovpn] [ 30.845870][ T845] udp_queue_rcv_one_skb+0x645/0xb00 [ 30.845871][ T845] udp_unicast_rcv_skb+0x366/0x450 [ 30.845873][ T845] udp_rcv+0xaba/0x1d90 [ 30.845874][ T845] ip_protocol_deliver_rcu+0x82/0x350 [ 30.845875][ T845] ip_local_deliver_finish+0x36f/0x610 [ 30.845877][ T845] ip_local_deliver+0x184/0x4c0 [ 30.845878][ T845] ip_rcv+0xdc/0x3d0 [ 30.845879][ T845] __netif_receive_skb_one_core+0xfc/0x180 [ 30.845881][ T845] process_backlog+0x431/0x14c0 [ 30.845883][ T845] __napi_poll+0xa7/0x3b0 [ 30.845884][ T845] net_rx_action+0x513/0xf50 [ 30.845886][ T845] handle_softirqs+0x1d3/0x900 [ 30.845887][ T845] do_softirq+0xac/0xe0 [ 30.845888][ T845] __local_bh_enable_ip+0x118/0x150 [ 30.845890][ T845] __dev_queue_xmit+0x979/0x1b80 [ 30.845891][ T845] ip_finish_output2+0x5b9/0x1bc0 [ 30.845893][ T845] ip_output+0x1ca/0x660 [ 30.845894][ T845] ip_push_pending_frames+0xf6/0x250 [ 30.845896][ T845] raw_sendmsg+0x1169/0x1cc0 [ 30.845897][ T845] __sys_sendto+0x2aa/0x400 [ 30.845898][ T845] __x64_sys_sendto+0xe4/0x1f0 [ 30.845900][ T845] do_syscall_64+0xff/0x530 [ 30.845901][ T845] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.845902][ T845] INITIAL USE at: [ 30.845903][ T845] __lock_acquire+0x388/0xc20 [ 30.845904][ T845] lock_acquire.part.0+0xd4/0x280 [ 30.845906][ T845] _raw_spin_lock_bh+0x38/0x50 [ 30.845907][ T845] ovpn_peer_add_mp+0xad/0x6a0 [ovpn] [ 30.845909][ T845] ovpn_peer_add+0x152/0x330 [ovpn] [ 30.845911][ T845] ovpn_nl_peer_new_doit+0x54f/0xcf0 [ovpn] [ 30.845913][ T845] genl_family_rcv_msg_doit+0x206/0x300 [ 30.845915][ T845] genl_family_rcv_msg+0x3a4/0x640 [ 30.845917][ T845] genl_rcv_msg+0xbb/0x160 [ 30.845918][ T845] netlink_rcv_skb+0x14e/0x3a0 [ 30.845920][ T845] genl_rcv+0x28/0x40 [ 30.845921][ T845] netlink_unicast+0x486/0x750 [ 30.845923][ T845] netlink_sendmsg+0x735/0xc60 [ 30.845924][ T845] ____sys_sendmsg+0x415/0x880 [ 30.845926][ T845] ___sys_sendmsg+0x14e/0x1d0 [ 30.845927][ T845] __sys_sendmsg+0x12c/0x1d0 [ 30.845929][ T845] do_syscall_64+0xff/0x530 [ 30.845930][ T845] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.845931][ T845] } [ 30.845932][ T845] ... key at: [] __key.84+0x0/0x40 [ovpn] [ 30.845935][ T845] [ 30.845935][ T845] the dependencies between the lock to be acquired [ 30.845935][ T845] and SOFTIRQ-irq-unsafe lock: [ 30.845940][ T845] -> (fs_reclaim){+.+.}-{0:0} { [ 30.845942][ T845] HARDIRQ-ON-W at: [ 30.845943][ T845] __lock_acquire+0x388/0xc20 [ 30.845944][ T845] lock_acquire.part.0+0xd4/0x280 [ 30.845946][ T845] fs_reclaim_acquire+0xd5/0x120 [ 30.845947][ T845] __kmalloc_cache_noprof+0x6e/0x620 [ 30.845948][ T845] kthread_create_worker_on_node+0xea/0x210 [ 30.845950][ T845] workqueue_init+0x2a/0x680 [ 30.845951][ T845] kernel_init_freeable+0x2fe/0x630 [ 30.845952][ T845] kernel_init+0x21/0x150 [ 30.845954][ T845] ret_from_fork+0x474/0x6b0 [ 30.845955][ T845] ret_from_fork_asm+0x11/0x20 [ 30.845956][ T845] SOFTIRQ-ON-W at: [ 30.845957][ T845] __lock_acquire+0x388/0xc20 [ 30.845958][ T845] lock_acquire.part.0+0xd4/0x280 [ 30.845959][ T845] fs_reclaim_acquire+0xd5/0x120 [ 30.845960][ T845] __kmalloc_cache_noprof+0x6e/0x620 [ 30.845962][ T845] kthread_create_worker_on_node+0xea/0x210 [ 30.845963][ T845] workqueue_init+0x2a/0x680 [ 30.845964][ T845] kernel_init_freeable+0x2fe/0x630 [ 30.845966][ T845] kernel_init+0x21/0x150 [ 30.845967][ T845] ret_from_fork+0x474/0x6b0 [ 30.845968][ T845] ret_from_fork_asm+0x11/0x20 [ 30.845969][ T845] INITIAL USE at: [ 30.845970][ T845] __lock_acquire+0x388/0xc20 [ 30.845971][ T845] lock_acquire.part.0+0xd4/0x280 [ 30.845973][ T845] fs_reclaim_acquire+0xd5/0x120 [ 30.845974][ T845] __kmalloc_cache_noprof+0x6e/0x620 [ 30.845975][ T845] kthread_create_worker_on_node+0xea/0x210 [ 30.845976][ T845] workqueue_init+0x2a/0x680 [ 30.845977][ T845] kernel_init_freeable+0x2fe/0x630 [ 30.845979][ T845] kernel_init+0x21/0x150 [ 30.845980][ T845] ret_from_fork+0x474/0x6b0 [ 30.845981][ T845] ret_from_fork_asm+0x11/0x20 [ 30.845982][ T845] } [ 30.845983][ T845] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 30.845986][ T845] ... acquired at: [ 30.845987][ T845] __lock_acquire+0x518/0xc20 [ 30.845988][ T845] lock_acquire.part.0+0xd4/0x280 [ 30.845990][ T845] fs_reclaim_acquire+0xd5/0x120 [ 30.845991][ T845] __kmalloc_noprof+0xd3/0x760 [ 30.845992][ T845] alloc_buf.isra.0+0x4b/0x260 [ 30.845995][ T845] put_chars+0x1e1/0x2f0 [ 30.845997][ T845] hvc_console_print+0x292/0x780 [ 30.845999][ T845] console_emit_next_record+0x22f/0x4c0 [ 30.846000][ T845] console_flush_one_record+0x46f/0x710 [ 30.846002][ T845] console_unlock+0xee/0x1f0 [ 30.846004][ T845] vprintk_emit+0x37c/0x3e0 [ 30.846005][ T845] dev_vprintk_emit+0x27f/0x2c0 [ 30.846009][ T845] dev_printk_emit+0xb9/0xee [ 30.846010][ T845] _dev_info+0xe2/0x116 [ 30.846012][ T845] __devm_rtc_register_device.cold+0x338/0x3a8 [ 30.846014][ T845] cmos_do_probe+0x73b/0x98a [ 30.846015][ T845] platform_probe+0xfe/0x1f0 [ 30.846018][ T845] call_driver_probe+0x61/0x1c0 [ 30.846020][ T845] really_probe+0x199/0x760 [ 30.846022][ T845] __driver_probe_device+0x24f/0x440 [ 30.846023][ T845] driver_probe_device+0x4a/0xf0 [ 30.846025][ T845] __driver_attach+0x1b8/0x540 [ 30.846026][ T845] bus_for_each_dev+0x130/0x1e0 [ 30.846028][ T845] bus_add_driver+0x2c8/0x530 [ 30.846029][ T845] driver_register+0x1a3/0x390 [ 30.846031][ T845] __platform_driver_probe+0x13f/0x270 [ 30.846032][ T845] cmos_init+0x31/0x40 [ 30.846035][ T845] do_one_initcall+0x124/0x4f0 [ 30.846037][ T845] kernel_init_freeable+0x596/0x630 [ 30.846038][ T845] kernel_init+0x21/0x150 [ 30.846040][ T845] ret_from_fork+0x474/0x6b0 [ 30.846041][ T845] ret_from_fork_asm+0x11/0x20 [ 30.846042][ T845] [ 30.846042][ T845] -> (console_owner){....}-{0:0} { [ 30.846044][ T845] INITIAL USE at: [ 30.846045][ T845] } [ 30.846045][ T845] ... key at: [] console_owner_dep_map+0x0/0x60 [ 30.846049][ T845] ... acquired at: [ 30.846049][ T845] check_prev_add+0xef/0xe90 [ 30.846050][ T845] validate_chain+0x6b8/0xc20 [ 30.846052][ T845] __lock_acquire+0x518/0xc20 [ 30.846053][ T845] lock_acquire.part.0+0xd4/0x280 [ 30.846054][ T845] console_lock_spinning_enable+0x5c/0x60 [ 30.846056][ T845] console_emit_next_record+0x1d1/0x4c0 [ 30.846057][ T845] console_flush_one_record+0x46f/0x710 [ 30.846059][ T845] console_unlock+0xee/0x1f0 [ 30.846060][ T845] vprintk_emit+0x37c/0x3e0 [ 30.846062][ T845] _printk+0xc7/0x100 [ 30.846064][ T845] netdev_info+0xe2/0x116 [ 30.846066][ T845] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 30.846069][ T845] ovpn_peer_remove+0x394/0x640 [ovpn] [ 30.846072][ T845] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 30.846074][ T845] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 30.846076][ T845] genl_family_rcv_msg_doit+0x206/0x300 [ 30.846078][ T845] genl_family_rcv_msg+0x3a4/0x640 [ 30.846079][ T845] genl_rcv_msg+0xbb/0x160 [ 30.846081][ T845] netlink_rcv_skb+0x14e/0x3a0 [ 30.846083][ T845] genl_rcv+0x28/0x40 [ 30.846084][ T845] netlink_unicast+0x486/0x750 [ 30.846086][ T845] netlink_sendmsg+0x735/0xc60 [ 30.846087][ T845] ____sys_sendmsg+0x415/0x880 [ 30.846088][ T845] ___sys_sendmsg+0x14e/0x1d0 [ 30.846090][ T845] __sys_sendmsg+0x12c/0x1d0 [ 30.846091][ T845] do_syscall_64+0xff/0x530 [ 30.846093][ T845] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.846094][ T845] [ 30.846094][ T845] [ 30.846094][ T845] stack backtrace: [ 30.846097][ T845] CPU: 3 UID: 0 PID: 845 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.846100][ T845] Tainted: [W]=WARN [ 30.846102][ T845] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.846103][ T845] Call Trace: [ 30.846104][ T845] [ 30.846105][ T845] dump_stack_lvl+0x6f/0xa0 [ 30.846109][ T845] print_bad_irq_dependency+0x3e4/0x410 [ 30.846112][ T845] check_irq_usage+0x403/0x570 [ 30.846114][ T845] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 30.846117][ T845] ? rcu_read_lock_any_held+0x3c/0x90 [ 30.846120][ T845] ? check_path.constprop.0+0x24/0x50 [ 30.846123][ T845] ? check_prev_add+0xef/0xe90 [ 30.846124][ T845] check_prev_add+0xef/0xe90 [ 30.846126][ T845] validate_chain+0x6b8/0xc20 [ 30.846128][ T845] __lock_acquire+0x518/0xc20 [ 30.846130][ T845] lock_acquire.part.0+0xd4/0x280 [ 30.846132][ T845] ? console_lock_spinning_enable+0x40/0x60 [ 30.846134][ T845] ? rcu_is_watching+0x16/0xd0 [ 30.846136][ T845] ? lock_acquire+0x13c/0x160 [ 30.846138][ T845] console_lock_spinning_enable+0x5c/0x60 [ 30.846140][ T845] ? console_lock_spinning_enable+0x40/0x60 [ 30.846141][ T845] console_emit_next_record+0x1d1/0x4c0 [ 30.846144][ T845] ? devkmsg_read+0x4b0/0x4b0 [ 30.846145][ T845] ? console_flush_one_record+0x106/0x710 [ 30.846147][ T845] ? rcu_is_watching+0x16/0xd0 [ 30.846149][ T845] ? lock_acquire+0x13c/0x160 [ 30.846151][ T845] console_flush_one_record+0x46f/0x710 [ 30.846153][ T845] ? console_emit_next_record+0x4c0/0x4c0 [ 30.846155][ T845] ? __lock_acquire+0x518/0xc20 [ 30.846157][ T845] console_unlock+0xee/0x1f0 [ 30.846159][ T845] ? console_flush_one_record+0x710/0x710 [ 30.846161][ T845] ? rcu_is_watching+0x16/0xd0 [ 30.846163][ T845] ? lock_acquire+0x60/0x160 [ 30.846165][ T845] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.846166][ T845] ? vprintk_emit+0x320/0x3e0 [ 30.846168][ T845] vprintk_emit+0x37c/0x3e0 [ 30.846170][ T845] ? wake_up_klogd_work_func+0x90/0x90 [ 30.846172][ T845] ? kernel_text_address+0x149/0x170 [ 30.846174][ T845] ? __kernel_text_address+0x12/0x30 [ 30.846175][ T845] ? write_profile+0xf0/0xf0 [ 30.846177][ T845] ? unwind_get_return_address+0x67/0xd0 [ 30.846180][ T845] _printk+0xc7/0x100 [ 30.846182][ T845] ? snapshot_read.cold+0x21/0x21 [ 30.846184][ T845] ? mark_usage+0x61/0x170 [ 30.846185][ T845] ? netdev_name+0x43/0x60 [ 30.846187][ T845] ? __netdev_printk+0x17f/0x1d0 [ 30.846188][ T845] netdev_info+0xe2/0x116 [ 30.846190][ T845] ? netdev_notice+0x120/0x120 [ 30.846191][ T845] ? find_held_lock+0x2b/0x80 [ 30.846193][ T845] ? mark_usage+0x61/0x170 [ 30.846194][ T845] ? __lock_acquire+0x518/0xc20 [ 30.846197][ T845] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 30.846199][ T845] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 30.846202][ T845] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 30.846205][ T845] ovpn_peer_remove+0x394/0x640 [ovpn] [ 30.846208][ T845] ? do_raw_spin_lock+0x131/0x280 [ 30.846209][ T845] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 30.846213][ T845] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 30.846215][ T845] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 30.846219][ T845] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 30.846221][ T845] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 30.846223][ T845] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 30.846225][ T845] ? ref_tracker_alloc+0x28d/0x430 [ 30.846230][ T845] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 30.846233][ T845] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 30.846236][ T845] genl_family_rcv_msg_doit+0x206/0x300 [ 30.846238][ T845] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 30.846240][ T845] ? __lock_release.isra.0+0x69/0x1a0 [ 30.846243][ T845] ? rcu_is_watching+0x16/0xd0 [ 30.846245][ T845] ? cap_capable+0x1d7/0x3d0 [ 30.846248][ T845] ? write_profile+0xf0/0xf0 [ 30.846249][ T845] ? unwind_get_return_address+0x67/0xd0 [ 30.846251][ T845] genl_family_rcv_msg+0x3a4/0x640 [ 30.846253][ T845] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 30.846255][ T845] ? rcu_read_lock_any_held+0x3c/0x90 [ 30.846257][ T845] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 30.846259][ T845] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 30.846261][ T845] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 30.846264][ T845] ? __lock_acquire+0x518/0xc20 [ 30.846266][ T845] genl_rcv_msg+0xbb/0x160 [ 30.846268][ T845] netlink_rcv_skb+0x14e/0x3a0 [ 30.846270][ T845] ? genl_family_rcv_msg+0x640/0x640 [ 30.846272][ T845] ? netlink_ack+0xcf0/0xcf0 [ 30.846275][ T845] ? netlink_deliver_tap+0xc5/0x330 [ 30.846277][ T845] ? netlink_deliver_tap+0x13c/0x330 [ 30.846279][ T845] genl_rcv+0x28/0x40 [ 30.846281][ T845] netlink_unicast+0x486/0x750 [ 30.846283][ T845] ? netlink_attachskb+0x810/0x810 [ 30.846285][ T845] ? __lock_acquire+0x518/0xc20 [ 30.846287][ T845] netlink_sendmsg+0x735/0xc60 [ 30.846289][ T845] ? netlink_unicast+0x750/0x750 [ 30.846292][ T845] ? __might_fault+0x97/0x140 [ 30.846295][ T845] ____sys_sendmsg+0x415/0x880 [ 30.846297][ T845] ? copy_msghdr_from_user+0x279/0x420 [ 30.846299][ T845] ? get_timestamp.constprop.0+0x390/0x390 [ 30.846300][ T845] ? move_addr_to_kernel+0x40/0x40 [ 30.846303][ T845] ___sys_sendmsg+0x14e/0x1d0 [ 30.846305][ T845] ? copy_msghdr_from_user+0x420/0x420 [ 30.846307][ T845] ? kfree+0x22/0x590 [ 30.846312][ T845] __sys_sendmsg+0x12c/0x1d0 [ 30.846314][ T845] ? __sys_sendmsg_sock+0x20/0x20 [ 30.846316][ T845] ? rcu_is_watching+0x16/0xd0 [ 30.846318][ T845] ? rcu_is_watching+0x16/0xd0 [ 30.846320][ T845] do_syscall_64+0xff/0x530 [ 30.846322][ T845] ? exc_page_fault+0xee/0x100 [ 30.846323][ T845] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.846325][ T845] RIP: 0033:0x7efc99e0c54e [ 30.846328][ T845] 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 [ 30.846329][ T845] RSP: 002b:00007ffe26be1ec0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 30.846332][ T845] RAX: ffffffffffffffda RBX: 000000000ff90130 RCX: 00007efc99e0c54e [ 30.846334][ T845] RDX: 0000000000000000 RSI: 00007ffe26be1f60 RDI: 0000000000000005 [ 30.846335][ T845] RBP: 00007ffe26be1ed0 R08: 0000000000000000 R09: 0000000000000000 [ 30.846335][ T845] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000ff90200 [ 30.846336][ T845] R13: 00007ffe26be1f60 R14: 000000000ff91260 R15: 000000000040bda8 [ 30.846341][ T845] [ 30.846345][ T845] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 30.846346][ T845] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 845, name: ovpn-cli [ 30.846348][ T845] preempt_count: 202, expected: 0 [ 30.846348][ T845] RCU nest depth: 0, expected: 0 [ 30.846349][ T845] INFO: lockdep is turned off. [ 30.846350][ T845] irq event stamp: 44833 [ 30.846350][ T845] hardirqs last enabled at (44832): [] __down_trylock_console_sem+0x86/0xa0 [ 30.846352][ T845] hardirqs last disabled at (44833): [] console_emit_next_record+0x3d4/0x4c0 [ 30.846354][ T845] softirqs last enabled at (44800): [] __alloc_skb+0x4c2/0x5f0 [ 30.846357][ T845] softirqs last disabled at (44828): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 30.846360][ T845] Preemption disabled at: [ 30.846360][ T845] [<0000000000000000>] 0x0 [ 30.846362][ T845] CPU: 3 UID: 0 PID: 845 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.846364][ T845] Tainted: [W]=WARN [ 30.846365][ T845] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.846365][ T845] Call Trace: [ 30.846366][ T845] [ 30.846367][ T845] dump_stack_lvl+0x6f/0xa0 [ 30.846369][ T845] __might_resched.cold+0x1fe/0x2c1 [ 30.846371][ T845] ? check_irq_usage+0x403/0x570 [ 30.846373][ T845] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 30.846376][ T845] ? rcu_is_watching+0x16/0xd0 [ 30.846378][ T845] __kmalloc_noprof+0x443/0x760 [ 30.846380][ T845] ? __rwlock_init+0x150/0x150 [ 30.846381][ T845] ? alloc_buf.isra.0+0x4b/0x260 [ 30.846383][ T845] ? do_raw_spin_unlock+0x59/0x250 [ 30.846385][ T845] alloc_buf.isra.0+0x4b/0x260 [ 30.846387][ T845] put_chars+0x1e1/0x2f0 [ 30.846389][ T845] ? __send_to_port+0x420/0x420 [ 30.846390][ T845] ? check_prev_add+0xef/0xe90 [ 30.846392][ T845] ? validate_chain+0x6b8/0xc20 [ 30.846394][ T845] hvc_console_print+0x292/0x780 [ 30.846396][ T845] ? __lock_acquire+0x518/0xc20 [ 30.846398][ T845] ? hvc_write+0x3a0/0x3a0 [ 30.846400][ T845] ? rcu_is_watching+0x16/0xd0 [ 30.846401][ T845] ? lock_acquire+0x13c/0x160 [ 30.846403][ T845] console_emit_next_record+0x22f/0x4c0 [ 30.846405][ T845] ? devkmsg_read+0x4b0/0x4b0 [ 30.846407][ T845] ? console_flush_one_record+0x106/0x710 [ 30.846409][ T845] ? rcu_is_watching+0x16/0xd0 [ 30.846411][ T845] ? lock_acquire+0x13c/0x160 [ 30.846413][ T845] console_flush_one_record+0x46f/0x710 [ 30.846415][ T845] ? console_emit_next_record+0x4c0/0x4c0 [ 30.846417][ T845] ? __lock_acquire+0x518/0xc20 [ 30.846419][ T845] console_unlock+0xee/0x1f0 [ 30.846421][ T845] ? console_flush_one_record+0x710/0x710 [ 30.846423][ T845] ? rcu_is_watching+0x16/0xd0 [ 30.846424][ T845] ? lock_acquire+0x60/0x160 [ 30.846426][ T845] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.846428][ T845] ? vprintk_emit+0x320/0x3e0 [ 30.846430][ T845] vprintk_emit+0x37c/0x3e0 [ 30.846432][ T845] ? wake_up_klogd_work_func+0x90/0x90 [ 30.846433][ T845] ? kernel_text_address+0x149/0x170 [ 30.846435][ T845] ? __kernel_text_address+0x12/0x30 [ 30.846436][ T845] ? write_profile+0xf0/0xf0 [ 30.846437][ T845] ? unwind_get_return_address+0x67/0xd0 [ 30.846439][ T845] _printk+0xc7/0x100 [ 30.846441][ T845] ? snapshot_read.cold+0x21/0x21 [ 30.846443][ T845] ? mark_usage+0x61/0x170 [ 30.846444][ T845] ? netdev_name+0x43/0x60 [ 30.846445][ T845] ? __netdev_printk+0x17f/0x1d0 [ 30.846447][ T845] netdev_info+0xe2/0x116 [ 30.846448][ T845] ? netdev_notice+0x120/0x120 [ 30.846450][ T845] ? find_held_lock+0x2b/0x80 [ 30.846451][ T845] ? mark_usage+0x61/0x170 [ 30.846453][ T845] ? __lock_acquire+0x518/0xc20 [ 30.846455][ T845] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 30.846458][ T845] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 30.846461][ T845] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 30.846464][ T845] ovpn_peer_remove+0x394/0x640 [ovpn] [ 30.846466][ T845] ? do_raw_spin_lock+0x131/0x280 [ 30.846468][ T845] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 30.846471][ T845] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 30.846474][ T845] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 30.846477][ T845] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 30.846479][ T845] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 30.846481][ T845] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 30.846483][ T845] ? ref_tracker_alloc+0x28d/0x430 [ 30.846486][ T845] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 30.846489][ T845] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 30.846492][ T845] genl_family_rcv_msg_doit+0x206/0x300 [ 30.846494][ T845] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 30.846496][ T845] ? __lock_release.isra.0+0x69/0x1a0 [ 30.846499][ T845] ? rcu_is_watching+0x16/0xd0 [ 30.846500][ T845] ? cap_capable+0x1d7/0x3d0 [ 30.846502][ T845] ? write_profile+0xf0/0xf0 [ 30.846503][ T845] ? unwind_get_return_address+0x67/0xd0 [ 30.846505][ T845] genl_family_rcv_msg+0x3a4/0x640 [ 30.846507][ T845] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 30.846509][ T845] ? rcu_read_lock_any_held+0x3c/0x90 [ 30.846511][ T845] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 30.846513][ T845] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 30.846515][ T845] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 30.846517][ T845] ? __lock_acquire+0x518/0xc20 [ 30.846520][ T845] genl_rcv_msg+0xbb/0x160 [ 30.846522][ T845] netlink_rcv_skb+0x14e/0x3a0 [ 30.846524][ T845] ? genl_family_rcv_msg+0x640/0x640 [ 30.846526][ T845] ? netlink_ack+0xcf0/0xcf0 [ 30.846529][ T845] ? netlink_deliver_tap+0xc5/0x330 [ 30.846530][ T845] ? netlink_deliver_tap+0x13c/0x330 [ 30.846532][ T845] genl_rcv+0x28/0x40 [ 30.846534][ T845] netlink_unicast+0x486/0x750 [ 30.846537][ T845] ? netlink_attachskb+0x810/0x810 [ 30.846538][ T845] ? __lock_acquire+0x518/0xc20 [ 30.846540][ T845] netlink_sendmsg+0x735/0xc60 [ 30.846543][ T845] ? netlink_unicast+0x750/0x750 [ 30.846545][ T845] ? __might_fault+0x97/0x140 [ 30.846547][ T845] ____sys_sendmsg+0x415/0x880 [ 30.846549][ T845] ? copy_msghdr_from_user+0x279/0x420 [ 30.846550][ T845] ? get_timestamp.constprop.0+0x390/0x390 [ 30.846552][ T845] ? move_addr_to_kernel+0x40/0x40 [ 30.846555][ T845] ___sys_sendmsg+0x14e/0x1d0 [ 30.846557][ T845] ? copy_msghdr_from_user+0x420/0x420 [ 30.846558][ T845] ? kfree+0x22/0x590 [ 30.846563][ T845] __sys_sendmsg+0x12c/0x1d0 [ 30.846565][ T845] ? __sys_sendmsg_sock+0x20/0x20 [ 30.846568][ T845] ? rcu_is_watching+0x16/0xd0 [ 30.846570][ T845] ? rcu_is_watching+0x16/0xd0 [ 30.846572][ T845] do_syscall_64+0xff/0x530 [ 30.846573][ T845] ? exc_page_fault+0xee/0x100 [ 30.846575][ T845] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.846576][ T845] RIP: 0033:0x7efc99e0c54e [ 30.846577][ T845] 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 [ 30.846578][ T845] RSP: 002b:00007ffe26be1ec0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 30.846580][ T845] RAX: ffffffffffffffda RBX: 000000000ff90130 RCX: 00007efc99e0c54e [ 30.846580][ T845] RDX: 0000000000000000 RSI: 00007ffe26be1f60 RDI: 0000000000000005 [ 30.846581][ T845] RBP: 00007ffe26be1ed0 R08: 0000000000000000 R09: 0000000000000000 [ 30.846582][ T845] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000ff90200 [ 30.846582][ T845] R13: 00007ffe26be1f60 R14: 000000000ff91260 R15: 000000000040bda8 [ 30.846585][ T845] [ 30.988443][ T849] tun1: deleting peer with id 10, reason 1 [ 33.520902][ T897] tun0: deleting peer with id 2, reason 1 [ 33.520919][ T897] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 33.520922][ T897] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 897, name: ovpn-cli [ 33.520923][ T897] preempt_count: 202, expected: 0 [ 33.520924][ T897] RCU nest depth: 0, expected: 0 [ 33.520925][ T897] INFO: lockdep is turned off. [ 33.520926][ T897] irq event stamp: 0 [ 33.520927][ T897] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 33.520931][ T897] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 33.520937][ T897] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 33.520938][ T897] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 33.520940][ T897] Preemption disabled at: [ 33.520940][ T897] [<0000000000000000>] 0x0 [ 33.520945][ T897] CPU: 0 UID: 0 PID: 897 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 33.520948][ T897] Tainted: [W]=WARN [ 33.520949][ T897] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 33.520951][ T897] Call Trace: [ 33.520952][ T897] [ 33.520954][ T897] dump_stack_lvl+0x6f/0xa0 [ 33.520959][ T897] __might_resched.cold+0x1fe/0x2c1 [ 33.520963][ T897] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 33.520967][ T897] ? rcu_is_watching+0x16/0xd0 [ 33.520971][ T897] __kmalloc_noprof+0x443/0x760 [ 33.520974][ T897] ? __rwlock_init+0x150/0x150 [ 33.520977][ T897] ? alloc_buf.isra.0+0x4b/0x260 [ 33.520981][ T897] ? do_raw_spin_unlock+0x59/0x250 [ 33.520982][ T897] alloc_buf.isra.0+0x4b/0x260 [ 33.520984][ T897] put_chars+0x1e1/0x2f0 [ 33.520986][ T897] ? __send_to_port+0x420/0x420 [ 33.520988][ T897] ? printk_get_next_message+0x240/0x650 [ 33.520991][ T897] hvc_console_print+0x292/0x780 [ 33.520995][ T897] ? hvc_write+0x3a0/0x3a0 [ 33.520996][ T897] ? __rwlock_init+0x150/0x150 [ 33.520998][ T897] ? rcu_is_watching+0x16/0xd0 [ 33.521000][ T897] ? lock_acquire+0x13c/0x160 [ 33.521002][ T897] console_emit_next_record+0x22f/0x4c0 [ 33.521004][ T897] ? devkmsg_read+0x4b0/0x4b0 [ 33.521006][ T897] ? rcu_is_watching+0x16/0xd0 [ 33.521008][ T897] ? rcu_is_watching+0x16/0xd0 [ 33.521009][ T897] ? rcu_is_watching+0x16/0xd0 [ 33.521011][ T897] ? lock_acquire+0x13c/0x160 [ 33.521013][ T897] ? console_flush_one_record+0x111/0x710 [ 33.521014][ T897] console_flush_one_record+0x46f/0x710 [ 33.521016][ T897] ? console_emit_next_record+0x4c0/0x4c0 [ 33.521019][ T897] console_unlock+0xee/0x1f0 [ 33.521021][ T897] ? lock_acquire+0x13c/0x160 [ 33.521022][ T897] ? console_flush_one_record+0x710/0x710 [ 33.521024][ T897] ? rcu_is_watching+0x16/0xd0 [ 33.521025][ T897] ? lock_release+0x184/0x1f0 [ 33.521027][ T897] ? lock_acquire+0x60/0x160 [ 33.521028][ T897] ? __rcu_read_lock+0x30/0x70 [ 33.521030][ T897] ? __down_trylock_console_sem+0x5e/0xa0 [ 33.521032][ T897] ? vprintk_emit+0x320/0x3e0 [ 33.521034][ T897] vprintk_emit+0x37c/0x3e0 [ 33.521036][ T897] ? wake_up_klogd_work_func+0x90/0x90 [ 33.521038][ T897] ? kernel_text_address+0x149/0x170 [ 33.521040][ T897] ? __kernel_text_address+0x12/0x30 [ 33.521041][ T897] ? write_profile+0xf0/0xf0 [ 33.521043][ T897] ? unwind_get_return_address+0x67/0xd0 [ 33.521046][ T897] _printk+0xc7/0x100 [ 33.521049][ T897] ? snapshot_read.cold+0x21/0x21 [ 33.521051][ T897] ? netdev_name+0x43/0x60 [ 33.521054][ T897] ? __netdev_printk+0x17f/0x1d0 [ 33.521055][ T897] netdev_info+0xe2/0x116 [ 33.521057][ T897] ? netdev_notice+0x120/0x120 [ 33.521058][ T897] ? ovpn_nl_pre_doit+0x44/0x90 [ovpn] [ 33.521064][ T897] ? __module_address+0x36/0x330 [ 33.521067][ T897] ? lock_acquire+0x13c/0x160 [ 33.521068][ T897] ? rcu_is_watching+0x16/0xd0 [ 33.521070][ T897] ? lock_release+0x184/0x1f0 [ 33.521072][ T897] ? ovpn_peer_get_by_id+0x38a/0x7a0 [ovpn] [ 33.521075][ T897] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 33.521079][ T897] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 33.521081][ T897] ? lock_acquire+0x13c/0x160 [ 33.521082][ T897] ? rcu_is_watching+0x16/0xd0 [ 33.521084][ T897] ? lock_release+0x184/0x1f0 [ 33.521086][ T897] ovpn_peer_remove+0x394/0x640 [ovpn] [ 33.521089][ T897] ? do_raw_spin_lock+0x131/0x280 [ 33.521090][ T897] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 33.521094][ T897] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 33.521097][ T897] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 33.521100][ T897] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 33.521102][ T897] ? trace_hardirqs_on+0x36/0x40 [ 33.521105][ T897] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 33.521107][ T897] ? ref_tracker_alloc+0x28d/0x430 [ 33.521112][ T897] ? lock_release+0x184/0x1f0 [ 33.521113][ T897] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 33.521117][ T897] genl_family_rcv_msg_doit+0x206/0x300 [ 33.521121][ T897] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 33.521123][ T897] ? rcu_is_watching+0x16/0xd0 [ 33.521125][ T897] ? rcu_is_watching+0x16/0xd0 [ 33.521127][ T897] ? cap_capable+0x1d7/0x3d0 [ 33.521130][ T897] ? write_profile+0xf0/0xf0 [ 33.521131][ T897] ? unwind_get_return_address+0x67/0xd0 [ 33.521133][ T897] genl_family_rcv_msg+0x3a4/0x640 [ 33.521135][ T897] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 33.521137][ T897] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 33.521139][ T897] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 33.521142][ T897] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 33.521144][ T897] ? filter_irq_stacks+0xd0/0xd0 [ 33.521146][ T897] ? stack_depot_save_flags+0x1bc/0x790 [ 33.521148][ T897] genl_rcv_msg+0xbb/0x160 [ 33.521150][ T897] netlink_rcv_skb+0x14e/0x3a0 [ 33.521152][ T897] ? genl_family_rcv_msg+0x640/0x640 [ 33.521154][ T897] ? netlink_ack+0xcf0/0xcf0 [ 33.521157][ T897] ? lock_acquire+0x13c/0x160 [ 33.521158][ T897] ? rcu_is_watching+0x16/0xd0 [ 33.521160][ T897] ? lock_release+0x184/0x1f0 [ 33.521162][ T897] genl_rcv+0x28/0x40 [ 33.521163][ T897] netlink_unicast+0x486/0x750 [ 33.521166][ T897] ? netlink_attachskb+0x810/0x810 [ 33.521167][ T897] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 33.521169][ T897] ? trace_hardirqs_on+0x36/0x40 [ 33.521170][ T897] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 33.521173][ T897] netlink_sendmsg+0x735/0xc60 [ 33.521175][ T897] ? netlink_unicast+0x750/0x750 [ 33.521177][ T897] ? rcu_is_watching+0x16/0xd0 [ 33.521179][ T897] ? lock_release+0x184/0x1f0 [ 33.521181][ T897] ____sys_sendmsg+0x415/0x880 [ 33.521184][ T897] ? copy_msghdr_from_user+0x279/0x420 [ 33.521186][ T897] ? get_timestamp.constprop.0+0x390/0x390 [ 33.521187][ T897] ? move_addr_to_kernel+0x40/0x40 [ 33.521190][ T897] ___sys_sendmsg+0x14e/0x1d0 [ 33.521192][ T897] ? copy_msghdr_from_user+0x420/0x420 [ 33.521193][ T897] ? kfree+0x22/0x590 [ 33.521198][ T897] __sys_sendmsg+0x12c/0x1d0 [ 33.521200][ T897] ? __sys_sendmsg_sock+0x20/0x20 [ 33.521203][ T897] ? rcu_is_watching+0x16/0xd0 [ 33.521205][ T897] ? rcu_is_watching+0x16/0xd0 [ 33.521207][ T897] do_syscall_64+0xff/0x530 [ 33.521209][ T897] ? exc_page_fault+0xee/0x100 [ 33.521211][ T897] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 33.521213][ T897] RIP: 0033:0x7f2715a7954e [ 33.521215][ T897] 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.521216][ T897] RSP: 002b:00007fffac4c0120 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 33.521220][ T897] RAX: ffffffffffffffda RBX: 0000000019dcd130 RCX: 00007f2715a7954e [ 33.521221][ T897] RDX: 0000000000000000 RSI: 00007fffac4c01c0 RDI: 0000000000000005 [ 33.521222][ T897] RBP: 00007fffac4c0130 R08: 0000000000000000 R09: 0000000000000000 [ 33.521223][ T897] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000019dcd200 [ 33.521224][ T897] R13: 00007fffac4c01c0 R14: 0000000019dce260 R15: 000000000040bda8 [ 33.521226][ T897] [ 33.595306][ T901] tun2: deleting peer with id 11, reason 1 [ 38.259353][ T10] tun0: deleting peer with id 4, reason 2 [ 38.259370][ T10] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 38.259372][ T10] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 [ 38.259374][ T10] preempt_count: 202, expected: 0 [ 38.259375][ T10] RCU nest depth: 0, expected: 0 [ 38.259375][ T10] INFO: lockdep is turned off. [ 38.259376][ T10] irq event stamp: 36352 [ 38.259377][ T10] hardirqs last enabled at (36351): [] _raw_spin_unlock_irq+0x28/0x50 [ 38.259385][ T10] hardirqs last disabled at (36352): [] __schedule+0x1246/0x20e0 [ 38.259388][ T10] softirqs last enabled at (34366): [] process_one_work+0xe3e/0x1560 [ 38.259392][ T10] softirqs last disabled at (34362): [] neigh_managed_work+0x2d/0x220 [ 38.259397][ T10] Preemption disabled at: [ 38.259397][ T10] [<0000000000000000>] 0x0 [ 38.259403][ T10] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 38.259407][ T10] Tainted: [W]=WARN [ 38.259407][ T10] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 38.259409][ T10] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 38.259417][ T10] Call Trace: [ 38.259418][ T10] [ 38.259419][ T10] dump_stack_lvl+0x6f/0xa0 [ 38.259425][ T10] __might_resched.cold+0x1fe/0x2c1 [ 38.259429][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 38.259432][ T10] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 38.259434][ T10] ? rcu_is_watching+0x16/0xd0 [ 38.259438][ T10] __kmalloc_noprof+0x443/0x760 [ 38.259441][ T10] ? __rwlock_init+0x150/0x150 [ 38.259444][ T10] ? alloc_buf.isra.0+0x4b/0x260 [ 38.259448][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 38.259449][ T10] alloc_buf.isra.0+0x4b/0x260 [ 38.259451][ T10] put_chars+0x1e1/0x2f0 [ 38.259453][ T10] ? prb_final_commit+0x50/0x50 [ 38.259455][ T10] ? __send_to_port+0x420/0x420 [ 38.259457][ T10] ? printk_get_next_message+0x240/0x650 [ 38.259460][ T10] hvc_console_print+0x292/0x780 [ 38.259464][ T10] ? hvc_write+0x3a0/0x3a0 [ 38.259465][ T10] ? do_raw_spin_lock+0x131/0x280 [ 38.259467][ T10] ? vsnprintf+0x527/0x1700 [ 38.259469][ T10] ? __rwlock_init+0x150/0x150 [ 38.259470][ T10] ? rcu_is_watching+0x16/0xd0 [ 38.259472][ T10] ? lock_acquire+0x13c/0x160 [ 38.259475][ T10] console_emit_next_record+0x22f/0x4c0 [ 38.259477][ T10] ? devkmsg_read+0x4b0/0x4b0 [ 38.259479][ T10] ? rcu_is_watching+0x16/0xd0 [ 38.259481][ T10] ? rcu_is_watching+0x16/0xd0 [ 38.259482][ T10] ? rcu_is_watching+0x16/0xd0 [ 38.259484][ T10] ? lock_acquire+0x13c/0x160 [ 38.259486][ T10] ? console_flush_one_record+0x111/0x710 [ 38.259487][ T10] console_flush_one_record+0x46f/0x710 [ 38.259490][ T10] ? console_emit_next_record+0x4c0/0x4c0 [ 38.259493][ T10] console_unlock+0xee/0x1f0 [ 38.259495][ T10] ? lock_acquire+0x13c/0x160 [ 38.259496][ T10] ? console_flush_one_record+0x710/0x710 [ 38.259498][ T10] ? rcu_is_watching+0x16/0xd0 [ 38.259500][ T10] ? lock_release+0x184/0x1f0 [ 38.259501][ T10] ? lock_acquire+0x60/0x160 [ 38.259502][ T10] ? __rcu_read_lock+0x30/0x70 [ 38.259504][ T10] ? __down_trylock_console_sem+0x5e/0xa0 [ 38.259506][ T10] ? vprintk_emit+0x320/0x3e0 [ 38.259508][ T10] vprintk_emit+0x37c/0x3e0 [ 38.259510][ T10] ? wake_up_klogd_work_func+0x90/0x90 [ 38.259512][ T10] ? ret_from_fork_asm+0x11/0x20 [ 38.259515][ T10] ? rcu_is_watching+0x16/0xd0 [ 38.259516][ T10] ? stack_access_ok+0x1e0/0x1e0 [ 38.259519][ T10] _printk+0xc7/0x100 [ 38.259522][ T10] ? snapshot_read.cold+0x21/0x21 [ 38.259524][ T10] ? __add_to_free_list+0x81/0x5c0 [ 38.259526][ T10] ? __mod_zone_page_state+0xe1/0x190 [ 38.259529][ T10] ? netdev_name+0x43/0x60 [ 38.259531][ T10] ? __netdev_printk+0x17f/0x1d0 [ 38.259533][ T10] netdev_info+0xe2/0x116 [ 38.259535][ T10] ? netdev_notice+0x120/0x120 [ 38.259537][ T10] ? free_pcppages_bulk+0x363/0x6e0 [ 38.259539][ T10] ? rcu_is_watching+0x16/0xd0 [ 38.259540][ T10] ? trace_irq_enable.constprop.0+0x30/0x160 [ 38.259543][ T10] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 38.259547][ T10] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 38.259550][ T10] ? __rwlock_init+0x150/0x150 [ 38.259552][ T10] ? lock_acquire+0x13c/0x160 [ 38.259553][ T10] ? rcu_is_watching+0x16/0xd0 [ 38.259555][ T10] ovpn_peer_remove+0x394/0x640 [ovpn] [ 38.259559][ T10] ? do_raw_spin_lock+0x131/0x280 [ 38.259561][ T10] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 38.259563][ T10] ? __rwlock_init+0x150/0x150 [ 38.259565][ T10] ? rcu_is_watching+0x16/0xd0 [ 38.259567][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 38.259568][ T10] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 38.259569][ T10] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 38.259572][ T10] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 38.259575][ T10] ? __rwlock_init+0x150/0x150 [ 38.259577][ T10] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 38.259580][ T10] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 38.259583][ T10] ? rcu_is_watching+0x16/0xd0 [ 38.259584][ T10] ? lock_acquire+0x13c/0x160 [ 38.259586][ T10] ? rcu_is_watching+0x16/0xd0 [ 38.259589][ T10] process_one_work+0xe3e/0x1560 [ 38.259592][ T10] ? __queue_delayed_work+0x470/0x470 [ 38.259593][ T10] ? find_held_lock+0x2b/0x80 [ 38.259595][ T10] ? __rwlock_init+0x150/0x150 [ 38.259598][ T10] worker_thread+0x4f1/0xd60 [ 38.259600][ T10] ? rescuer_thread+0x1340/0x1340 [ 38.259601][ T10] ? __kthread_parkme+0xbd/0x210 [ 38.259604][ T10] ? rescuer_thread+0x1340/0x1340 [ 38.259606][ T10] ? rescuer_thread+0x1340/0x1340 [ 38.259608][ T10] kthread+0x367/0x460 [ 38.259610][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 38.259611][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 38.259613][ T10] ret_from_fork+0x474/0x6b0 [ 38.259616][ T10] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 38.259618][ T10] ? __switch_to+0x5a3/0xe00 [ 38.259620][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 38.259622][ T10] ret_from_fork_asm+0x11/0x20 [ 38.259625][ T10] [ 38.280849][ T10] tun0: deleting peer with id 3, reason 2 [ 39.283352][ T10] tun0: deleting peer with id 5, reason 2 [ 39.283359][ T10] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 39.283360][ T10] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 [ 39.283362][ T10] preempt_count: 202, expected: 0 [ 39.283362][ T10] RCU nest depth: 0, expected: 0 [ 39.283363][ T10] INFO: lockdep is turned off. [ 39.283364][ T10] irq event stamp: 36352 [ 39.283365][ T10] hardirqs last enabled at (36351): [] _raw_spin_unlock_irq+0x28/0x50 [ 39.283370][ T10] hardirqs last disabled at (36352): [] __schedule+0x1246/0x20e0 [ 39.283373][ T10] softirqs last enabled at (34366): [] process_one_work+0xe3e/0x1560 [ 39.283376][ T10] softirqs last disabled at (34362): [] neigh_managed_work+0x2d/0x220 [ 39.283380][ T10] Preemption disabled at: [ 39.283380][ T10] [<0000000000000000>] 0x0 [ 39.283385][ T10] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 39.283388][ T10] Tainted: [W]=WARN [ 39.283389][ T10] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 39.283390][ T10] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 39.283397][ T10] Call Trace: [ 39.283399][ T10] [ 39.283400][ T10] dump_stack_lvl+0x6f/0xa0 [ 39.283405][ T10] __might_resched.cold+0x1fe/0x2c1 [ 39.283408][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 39.283411][ T10] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 39.283413][ T10] ? rcu_is_watching+0x16/0xd0 [ 39.283417][ T10] __kmalloc_noprof+0x443/0x760 [ 39.283419][ T10] ? __rwlock_init+0x150/0x150 [ 39.283422][ T10] ? alloc_buf.isra.0+0x4b/0x260 [ 39.283425][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 39.283426][ T10] alloc_buf.isra.0+0x4b/0x260 [ 39.283428][ T10] put_chars+0x1e1/0x2f0 [ 39.283430][ T10] ? prb_final_commit+0x50/0x50 [ 39.283431][ T10] ? __send_to_port+0x420/0x420 [ 39.283433][ T10] ? printk_get_next_message+0x240/0x650 [ 39.283436][ T10] hvc_console_print+0x292/0x780 [ 39.283439][ T10] ? hvc_write+0x3a0/0x3a0 [ 39.283440][ T10] ? do_raw_spin_lock+0x131/0x280 [ 39.283442][ T10] ? vsnprintf+0x527/0x1700 [ 39.283444][ T10] ? __rwlock_init+0x150/0x150 [ 39.283445][ T10] ? rcu_is_watching+0x16/0xd0 [ 39.283447][ T10] ? lock_acquire+0x13c/0x160 [ 39.283449][ T10] console_emit_next_record+0x22f/0x4c0 [ 39.283451][ T10] ? devkmsg_read+0x4b0/0x4b0 [ 39.283453][ T10] ? rcu_is_watching+0x16/0xd0 [ 39.283455][ T10] ? rcu_is_watching+0x16/0xd0 [ 39.283456][ T10] ? rcu_is_watching+0x16/0xd0 [ 39.283458][ T10] ? lock_acquire+0x13c/0x160 [ 39.283460][ T10] ? console_flush_one_record+0x111/0x710 [ 39.283461][ T10] console_flush_one_record+0x46f/0x710 [ 39.283464][ T10] ? console_emit_next_record+0x4c0/0x4c0 [ 39.283466][ T10] console_unlock+0xee/0x1f0 [ 39.283468][ T10] ? lock_acquire+0x13c/0x160 [ 39.283469][ T10] ? console_flush_one_record+0x710/0x710 [ 39.283471][ T10] ? rcu_is_watching+0x16/0xd0 [ 39.283473][ T10] ? lock_release+0x184/0x1f0 [ 39.283474][ T10] ? lock_acquire+0x60/0x160 [ 39.283475][ T10] ? __rcu_read_lock+0x30/0x70 [ 39.283477][ T10] ? __down_trylock_console_sem+0x5e/0xa0 [ 39.283479][ T10] ? vprintk_emit+0x320/0x3e0 [ 39.283481][ T10] vprintk_emit+0x37c/0x3e0 [ 39.283483][ T10] ? wake_up_klogd_work_func+0x90/0x90 [ 39.283485][ T10] ? unwind_next_frame+0x69b/0x1ea0 [ 39.283487][ T10] ? ret_from_fork_asm+0x11/0x20 [ 39.283489][ T10] ? rcu_is_watching+0x16/0xd0 [ 39.283491][ T10] _printk+0xc7/0x100 [ 39.283493][ T10] ? snapshot_read.cold+0x21/0x21 [ 39.283495][ T10] ? __add_to_free_list+0x81/0x5c0 [ 39.283496][ T10] ? __mod_zone_page_state+0xe1/0x190 [ 39.283499][ T10] ? netdev_name+0x43/0x60 [ 39.283501][ T10] ? __netdev_printk+0x17f/0x1d0 [ 39.283503][ T10] netdev_info+0xe2/0x116 [ 39.283504][ T10] ? netdev_notice+0x120/0x120 [ 39.283506][ T10] ? free_pcppages_bulk+0x363/0x6e0 [ 39.283508][ T10] ? rcu_is_watching+0x16/0xd0 [ 39.283509][ T10] ? trace_irq_enable.constprop.0+0x30/0x160 [ 39.283512][ T10] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 39.283515][ T10] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 39.283518][ T10] ? rcu_is_watching+0x16/0xd0 [ 39.283520][ T10] ? lock_release+0x184/0x1f0 [ 39.283521][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 39.283523][ T10] ovpn_peer_remove+0x394/0x640 [ovpn] [ 39.283526][ T10] ? do_raw_spin_lock+0x131/0x280 [ 39.283527][ T10] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 39.283530][ T10] ? __rwlock_init+0x150/0x150 [ 39.283531][ T10] ? rcu_is_watching+0x16/0xd0 [ 39.283533][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 39.283534][ T10] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 39.283536][ T10] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 39.283538][ T10] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 39.283541][ T10] ? __rwlock_init+0x150/0x150 [ 39.283543][ T10] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 39.283546][ T10] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 39.283548][ T10] ? rcu_is_watching+0x16/0xd0 [ 39.283550][ T10] ? lock_acquire+0x13c/0x160 [ 39.283551][ T10] ? rcu_is_watching+0x16/0xd0 [ 39.283553][ T10] process_one_work+0xe3e/0x1560 [ 39.283556][ T10] ? __queue_delayed_work+0x470/0x470 [ 39.283558][ T10] ? find_held_lock+0x2b/0x80 [ 39.283560][ T10] ? __rwlock_init+0x150/0x150 [ 39.283562][ T10] worker_thread+0x4f1/0xd60 [ 39.283564][ T10] ? rescuer_thread+0x1340/0x1340 [ 39.283566][ T10] ? __kthread_parkme+0xbd/0x210 [ 39.283568][ T10] ? rescuer_thread+0x1340/0x1340 [ 39.283570][ T10] ? rescuer_thread+0x1340/0x1340 [ 39.283571][ T10] kthread+0x367/0x460 [ 39.283573][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 39.283574][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 39.283576][ T10] ret_from_fork+0x474/0x6b0 [ 39.283578][ T10] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 39.283580][ T10] ? __switch_to+0x5a3/0xe00 [ 39.283582][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 39.283583][ T10] ret_from_fork_asm+0x11/0x20 [ 39.283586][ T10] [ 39.297101][ T10] tun0: deleting peer with id 6, reason 2 [ 44.340369][ T52] tun3: deleting peer with id 12, reason 2 [ 44.340385][ T52] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 44.340387][ T52] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 52, name: kworker/3:1 [ 44.340389][ T52] preempt_count: 202, expected: 0 [ 44.340390][ T52] RCU nest depth: 0, expected: 0 [ 44.340390][ T52] INFO: lockdep is turned off. [ 44.340391][ T52] irq event stamp: 25174 [ 44.340392][ T52] hardirqs last enabled at (25173): [] _raw_spin_unlock_irq+0x28/0x50 [ 44.340399][ T52] hardirqs last disabled at (25174): [] __schedule+0x1246/0x20e0 [ 44.340402][ T52] softirqs last enabled at (22466): [] handle_softirqs+0x67c/0x900 [ 44.340405][ T52] softirqs last disabled at (22459): [] __irq_exit_rcu+0x145/0x1c0 [ 44.340407][ T52] Preemption disabled at: [ 44.340408][ T52] [<0000000000000000>] 0x0 [ 44.340414][ T52] CPU: 3 UID: 0 PID: 52 Comm: kworker/3:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 44.340417][ T52] Tainted: [W]=WARN [ 44.340418][ T52] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 44.340420][ T52] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 44.340427][ T52] Call Trace: [ 44.340429][ T52] [ 44.340430][ T52] dump_stack_lvl+0x6f/0xa0 [ 44.340435][ T52] __might_resched.cold+0x1fe/0x2c1 [ 44.340438][ T52] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 44.340442][ T52] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 44.340444][ T52] ? rcu_is_watching+0x16/0xd0 [ 44.340447][ T52] __kmalloc_noprof+0x443/0x760 [ 44.340450][ T52] ? __rwlock_init+0x150/0x150 [ 44.340452][ T52] ? alloc_buf.isra.0+0x4b/0x260 [ 44.340456][ T52] ? do_raw_spin_unlock+0x59/0x250 [ 44.340458][ T52] alloc_buf.isra.0+0x4b/0x260 [ 44.340460][ T52] put_chars+0x1e1/0x2f0 [ 44.340461][ T52] ? prb_final_commit+0x50/0x50 [ 44.340463][ T52] ? __send_to_port+0x420/0x420 [ 44.340465][ T52] ? printk_get_next_message+0x240/0x650 [ 44.340468][ T52] hvc_console_print+0x292/0x780 [ 44.340471][ T52] ? hvc_write+0x3a0/0x3a0 [ 44.340472][ T52] ? do_raw_spin_lock+0x131/0x280 [ 44.340474][ T52] ? vsnprintf+0x527/0x1700 [ 44.340476][ T52] ? __rwlock_init+0x150/0x150 [ 44.340477][ T52] ? rcu_is_watching+0x16/0xd0 [ 44.340479][ T52] ? lock_acquire+0x13c/0x160 [ 44.340481][ T52] console_emit_next_record+0x22f/0x4c0 [ 44.340484][ T52] ? devkmsg_read+0x4b0/0x4b0 [ 44.340485][ T52] ? rcu_is_watching+0x16/0xd0 [ 44.340487][ T52] ? rcu_is_watching+0x16/0xd0 [ 44.340488][ T52] ? rcu_is_watching+0x16/0xd0 [ 44.340490][ T52] ? lock_acquire+0x13c/0x160 [ 44.340492][ T52] ? console_flush_one_record+0x111/0x710 [ 44.340493][ T52] console_flush_one_record+0x46f/0x710 [ 44.340496][ T52] ? console_emit_next_record+0x4c0/0x4c0 [ 44.340498][ T52] console_unlock+0xee/0x1f0 [ 44.340500][ T52] ? lock_acquire+0x13c/0x160 [ 44.340501][ T52] ? console_flush_one_record+0x710/0x710 [ 44.340503][ T52] ? rcu_is_watching+0x16/0xd0 [ 44.340504][ T52] ? lock_release+0x184/0x1f0 [ 44.340506][ T52] ? lock_acquire+0x60/0x160 [ 44.340507][ T52] ? __rcu_read_lock+0x30/0x70 [ 44.340509][ T52] ? __down_trylock_console_sem+0x5e/0xa0 [ 44.340511][ T52] ? vprintk_emit+0x320/0x3e0 [ 44.340513][ T52] vprintk_emit+0x37c/0x3e0 [ 44.340515][ T52] ? wake_up_klogd_work_func+0x90/0x90 [ 44.340517][ T52] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 44.340518][ T52] ? rcu_is_watching+0x16/0xd0 [ 44.340520][ T52] ? trace_sched_wakeup+0x9b/0x160 [ 44.340522][ T52] _printk+0xc7/0x100 [ 44.340525][ T52] ? snapshot_read.cold+0x21/0x21 [ 44.340526][ T52] ? try_to_wake_up+0x153/0x1130 [ 44.340528][ T52] ? select_fallback_rq+0x510/0x510 [ 44.340530][ T52] ? netdev_name+0x43/0x60 [ 44.340532][ T52] ? __netdev_printk+0x17f/0x1d0 [ 44.340534][ T52] netdev_info+0xe2/0x116 [ 44.340535][ T52] ? netdev_notice+0x120/0x120 [ 44.340537][ T52] ? rcu_is_watching+0x16/0xd0 [ 44.340539][ T52] ? __queue_work+0x3ab/0xd30 [ 44.340542][ T52] ? trace_irq_enable.constprop.0+0x30/0x160 [ 44.340545][ T52] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 44.340549][ T52] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 44.340551][ T52] ? rcu_is_watching+0x16/0xd0 [ 44.340553][ T52] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 44.340555][ T52] ovpn_peer_remove+0x394/0x640 [ovpn] [ 44.340558][ T52] ? do_raw_spin_lock+0x131/0x280 [ 44.340560][ T52] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 44.340562][ T52] ? __rwlock_init+0x150/0x150 [ 44.340564][ T52] ? rcu_is_watching+0x16/0xd0 [ 44.340565][ T52] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 44.340566][ T52] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 44.340568][ T52] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 44.340571][ T52] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 44.340573][ T52] ? __rwlock_init+0x150/0x150 [ 44.340575][ T52] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 44.340578][ T52] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 44.340580][ T52] ? rcu_is_watching+0x16/0xd0 [ 44.340582][ T52] ? lock_acquire+0x13c/0x160 [ 44.340583][ T52] ? rcu_is_watching+0x16/0xd0 [ 44.340585][ T52] ? process_one_work+0xdfc/0x1560 [ 44.340587][ T52] process_one_work+0xe3e/0x1560 [ 44.340590][ T52] ? __queue_delayed_work+0x470/0x470 [ 44.340592][ T52] ? __rwlock_init+0x150/0x150 [ 44.340594][ T52] worker_thread+0x4f1/0xd60 [ 44.340597][ T52] ? rescuer_thread+0x1340/0x1340 [ 44.340598][ T52] ? __kthread_parkme+0xbd/0x210 [ 44.340600][ T52] ? rescuer_thread+0x1340/0x1340 [ 44.340602][ T52] ? rescuer_thread+0x1340/0x1340 [ 44.340603][ T52] kthread+0x367/0x460 [ 44.340605][ T52] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 44.340606][ T52] ? kthread_affine_preferred+0x4c0/0x4c0 [ 44.340608][ T52] ret_from_fork+0x474/0x6b0 [ 44.340610][ T52] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 44.340612][ T52] ? __switch_to+0x5a3/0xe00 [ 44.340614][ T52] ? kthread_affine_preferred+0x4c0/0x4c0 [ 44.340616][ T52] ret_from_fork_asm+0x11/0x20 [ 44.340620][ T52] [ 44.403483][ T66] tun4: deleting peer with id 13, reason 2 [ 44.467361][ T10] tun5: deleting peer with id 14, reason 2 [ 44.467371][ T52] tun6: deleting peer with id 15, reason 2