[ 16.681240][ T316] ip (316) used greatest stack depth: 23952 bytes left [ 16.681263][ T316] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.681265][ T316] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 316, name: ip [ 16.681267][ T316] preempt_count: 2, expected: 0 [ 16.681268][ T316] RCU nest depth: 0, expected: 0 [ 16.681269][ T316] locks held by ip/316: 5, last CPU#3: [ 16.681271][ T316] #0: ffffffffaa2127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 16.681282][ T316] #1: ffffffffaa379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.681288][ T316] #2: ffffffffaa379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.681292][ T316] #3: ffffffffaa299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.681296][ T316] #4: ffffffffaa299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.681300][ T316] irq event stamp: 39072 [ 16.681301][ T316] hardirqs last enabled at (39071): [] __down_trylock_console_sem+0x86/0xa0 [ 16.681303][ T316] hardirqs last disabled at (39072): [] console_emit_next_record+0x3d4/0x4c0 [ 16.681305][ T316] softirqs last enabled at (37790): [] netlink_release+0x17b/0xcf0 [ 16.681310][ T316] softirqs last disabled at (37788): [] netlink_release+0xd2/0xcf0 [ 16.681313][ T316] Preemption disabled at: [ 16.681313][ T316] [<0000000000000000>] 0x0 [ 16.681321][ T316] CPU: 3 UID: 0 PID: 316 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.681324][ T316] Tainted: [W]=WARN [ 16.681325][ T316] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.681327][ T316] Call Trace: [ 16.681329][ T316] [ 16.681330][ T316] dump_stack_lvl+0x6f/0xa0 [ 16.681336][ T316] __might_resched.cold+0x1fe/0x2c1 [ 16.681341][ T316] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.681345][ T316] ? __kmalloc_noprof+0xdb/0x760 [ 16.681350][ T316] __kmalloc_noprof+0x443/0x760 [ 16.681352][ T316] ? alloc_buf.isra.0+0x4b/0x260 [ 16.681358][ T316] ? do_raw_spin_unlock+0x59/0x250 [ 16.681361][ T316] alloc_buf.isra.0+0x4b/0x260 [ 16.681365][ T316] put_chars+0x1e1/0x2f0 [ 16.681368][ T316] ? __send_to_port+0x420/0x420 [ 16.681369][ T316] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.681374][ T316] ? validate_chain+0x38b/0xc20 [ 16.681381][ T316] hvc_console_print+0x292/0x780 [ 16.681388][ T316] ? hvc_write+0x3a0/0x3a0 [ 16.681390][ T316] ? rcu_is_watching+0x16/0xd0 [ 16.681393][ T316] ? lock_acquire+0x13c/0x160 [ 16.681396][ T316] console_emit_next_record+0x22f/0x4c0 [ 16.681400][ T316] ? devkmsg_read+0x4b0/0x4b0 [ 16.681402][ T316] ? console_flush_one_record+0x106/0x710 [ 16.681405][ T316] ? rcu_is_watching+0x16/0xd0 [ 16.681408][ T316] ? lock_acquire+0x13c/0x160 [ 16.681411][ T316] console_flush_one_record+0x46f/0x710 [ 16.681415][ T316] ? console_emit_next_record+0x4c0/0x4c0 [ 16.681417][ T316] ? __lock_acquire+0x518/0xc20 [ 16.681422][ T316] console_unlock+0xee/0x1f0 [ 16.681425][ T316] ? console_flush_one_record+0x710/0x710 [ 16.681427][ T316] ? rcu_is_watching+0x16/0xd0 [ 16.681429][ T316] ? lock_acquire+0x60/0x160 [ 16.681433][ T316] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.681435][ T316] ? vprintk_emit+0x320/0x3e0 [ 16.681438][ T316] vprintk_emit+0x37c/0x3e0 [ 16.681442][ T316] ? wake_up_klogd_work_func+0x90/0x90 [ 16.681445][ T316] ? __lock_acquire+0x518/0xc20 [ 16.681449][ T316] _printk+0xc7/0x100 [ 16.681452][ T316] ? snapshot_read.cold+0x21/0x21 [ 16.681455][ T316] ? do_raw_spin_lock+0x131/0x280 [ 16.681458][ T316] ? __rwlock_init+0x150/0x150 [ 16.681462][ T316] ? do_raw_spin_lock+0x131/0x280 [ 16.681464][ T316] do_exit.cold+0x82/0x9c [ 16.681468][ T316] ? exit_notify+0x890/0x890 [ 16.681470][ T316] ? __lock_release.isra.0+0x69/0x1a0 [ 16.681472][ T316] ? rcu_is_watching+0x16/0xd0 [ 16.681476][ T316] do_group_exit+0xb8/0x370 [ 16.681479][ T316] __x64_sys_exit_group+0x3c/0x50 [ 16.681481][ T316] x64_sys_call+0x1567/0x1570 [ 16.681484][ T316] do_syscall_64+0xff/0x530 [ 16.681488][ T316] ? exc_page_fault+0xee/0x100 [ 16.681490][ T316] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.681493][ T316] RIP: 0033:0x7f34d16771b8 [ 16.681495][ T316] Code: Unable to access opcode bytes at 0x7f34d167718e. [ 16.681496][ T316] RSP: 002b:00007ffddeb0c318 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 16.681498][ T316] RAX: ffffffffffffffda RBX: 00007f34d17a7f88 RCX: 00007f34d16771b8 [ 16.681500][ T316] RDX: 00007f34d13c1fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 16.681501][ T316] RBP: 00007ffddeb0c370 R08: 0000000000000000 R09: 0000000000000000 [ 16.681501][ T316] R10: 00007ffddeb0c130 R11: 0000000000000246 R12: 0000000000000001 [ 16.681502][ T316] R13: 0000000000000000 R14: 00007f34d17a6680 R15: 00007f34d17a7fa0 [ 16.681509][ T316] [ 16.958358][ T323] ip (323) used greatest stack depth: 23568 bytes left [ 32.067433][ T741] iperf3 (741) used greatest stack depth: 23392 bytes left [ 32.067455][ T741] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 32.067458][ T741] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 741, name: iperf3 [ 32.067459][ T741] preempt_count: 2, expected: 0 [ 32.067460][ T741] RCU nest depth: 0, expected: 0 [ 32.067461][ T741] locks held by iperf3/741: 5, last CPU#3: [ 32.067463][ T741] #0: ffffffffaa2127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 32.067476][ T741] #1: ffffffffaa379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 32.067482][ T741] #2: ffffffffaa379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 32.067486][ T741] #3: ffffffffaa299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 32.067490][ T741] #4: ffffffffaa299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 32.067494][ T741] irq event stamp: 6846842 [ 32.067495][ T741] hardirqs last enabled at (6846841): [] __down_trylock_console_sem+0x86/0xa0 [ 32.067498][ T741] hardirqs last disabled at (6846842): [] console_emit_next_record+0x3d4/0x4c0 [ 32.067500][ T741] softirqs last enabled at (6845496): [] handle_softirqs+0x67c/0x900 [ 32.067503][ T741] softirqs last disabled at (6844595): [] __irq_exit_rcu+0x145/0x1c0 [ 32.067505][ T741] Preemption disabled at: [ 32.067506][ T741] [<0000000000000000>] 0x0 [ 32.067513][ T741] CPU: 3 UID: 0 PID: 741 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 32.067516][ T741] Tainted: [W]=WARN [ 32.067517][ T741] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 32.067519][ T741] Call Trace: [ 32.067521][ T741] [ 32.067522][ T741] dump_stack_lvl+0x6f/0xa0 [ 32.067528][ T741] __might_resched.cold+0x1fe/0x2c1 [ 32.067533][ T741] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 32.067537][ T741] ? __kmalloc_noprof+0xdb/0x760 [ 32.067542][ T741] __kmalloc_noprof+0x443/0x760 [ 32.067545][ T741] ? alloc_buf.isra.0+0x4b/0x260 [ 32.067551][ T741] ? do_raw_spin_unlock+0x59/0x250 [ 32.067554][ T741] alloc_buf.isra.0+0x4b/0x260 [ 32.067557][ T741] put_chars+0x1e1/0x2f0 [ 32.067560][ T741] ? prb_final_commit+0x50/0x50 [ 32.067562][ T741] ? __send_to_port+0x420/0x420 [ 32.067565][ T741] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 32.067570][ T741] ? rcu_read_lock_any_held+0x3c/0x90 [ 32.067572][ T741] ? validate_chain+0x38b/0xc20 [ 32.067576][ T741] hvc_console_print+0x292/0x780 [ 32.067579][ T741] ? mark_usage+0x61/0x170 [ 32.067581][ T741] ? __lock_acquire+0x518/0xc20 [ 32.067583][ T741] ? __lock_acquire+0x518/0xc20 [ 32.067587][ T741] ? hvc_write+0x3a0/0x3a0 [ 32.067589][ T741] ? console_emit_next_record+0x1df/0x4c0 [ 32.067593][ T741] ? rcu_is_watching+0x16/0xd0 [ 32.067595][ T741] ? lock_acquire+0x13c/0x160 [ 32.067600][ T741] console_emit_next_record+0x22f/0x4c0 [ 32.067604][ T741] ? devkmsg_read+0x4b0/0x4b0 [ 32.067606][ T741] ? console_flush_one_record+0x106/0x710 [ 32.067609][ T741] ? rcu_is_watching+0x16/0xd0 [ 32.067612][ T741] ? lock_acquire+0x13c/0x160 [ 32.067616][ T741] console_flush_one_record+0x46f/0x710 [ 32.067620][ T741] ? console_emit_next_record+0x4c0/0x4c0 [ 32.067622][ T741] ? __lock_acquire+0x518/0xc20 [ 32.067627][ T741] console_unlock+0xee/0x1f0 [ 32.067630][ T741] ? console_flush_one_record+0x710/0x710 [ 32.067632][ T741] ? rcu_is_watching+0x16/0xd0 [ 32.067634][ T741] ? lock_acquire+0x60/0x160 [ 32.067638][ T741] ? __down_trylock_console_sem+0x5e/0xa0 [ 32.067640][ T741] ? vprintk_emit+0x320/0x3e0 [ 32.067643][ T741] vprintk_emit+0x37c/0x3e0 [ 32.067647][ T741] ? wake_up_klogd_work_func+0x90/0x90 [ 32.067651][ T741] ? __lock_acquire+0x518/0xc20 [ 32.067655][ T741] _printk+0xc7/0x100 [ 32.067658][ T741] ? snapshot_read.cold+0x21/0x21 [ 32.067661][ T741] ? do_raw_spin_lock+0x131/0x280 [ 32.067664][ T741] ? __rwlock_init+0x150/0x150 [ 32.067668][ T741] ? do_raw_spin_lock+0x131/0x280 [ 32.067671][ T741] do_exit.cold+0x82/0x9c [ 32.067675][ T741] ? exit_notify+0x890/0x890 [ 32.067680][ T741] __x64_sys_exit+0x42/0x50 [ 32.067682][ T741] x64_sys_call+0x156c/0x1570 [ 32.067685][ T741] do_syscall_64+0xff/0x530 [ 32.067689][ T741] ? exc_page_fault+0xee/0x100 [ 32.067692][ T741] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 32.067694][ T741] RIP: 0033:0x7f315674bc49 [ 32.067696][ T741] Code: Unable to access opcode bytes at 0x7f315674bc1f. [ 32.067698][ T741] RSP: 002b:00007f3155f0ae60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 32.067700][ T741] RAX: ffffffffffffffda RBX: 00007f3155f0b6c0 RCX: 00007f315674bc49 [ 32.067701][ T741] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 32.067703][ T741] RBP: 00007f3155f0af70 R08: 0000000000000001 R09: 00007f3155f0b6c0 [ 32.067703][ T741] R10: 0000000000000008 R11: 0000000000000246 R12: 00007f315570b000 [ 32.067704][ T741] R13: 00007ffc314001c0 R14: 0000000000000002 R15: 00007ffc314002c7 [ 32.067711][ T741] [ 34.033928][ T835] tun0: deleting peer with id 1, reason 1 [ 34.033988][ T835] [ 34.033989][ T835] ===================================================== [ 34.033990][ T835] WARNING: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected [ 34.033993][ T835] 7.2.0-virtme #1 Tainted: G W [ 34.033994][ T835] ----------------------------------------------------- [ 34.033995][ T835] ovpn-cli/835 [HC0[0]:SC0[2]:HE0:SE0] is trying to acquire: [ 34.033997][ T835] ffffffffaa299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 34.034009][ T835] [ 34.034009][ T835] and this task is already holding: [ 34.034010][ T835] ff11000009ea9e68 (&ovpn->lock){+.-.}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 34.034017][ T835] which would create a new lock dependency: [ 34.034017][ T835] (&ovpn->lock){+.-.}-{3:3} -> (console_owner){....}-{0:0} [ 34.034020][ T835] [ 34.034020][ T835] but this new dependency connects a SOFTIRQ-irq-safe lock: [ 34.034021][ T835] (&ovpn->lock){+.-.}-{3:3} [ 34.034022][ T835] [ 34.034022][ T835] ... which became SOFTIRQ-irq-safe at: [ 34.034023][ T835] __lock_acquire+0x388/0xc20 [ 34.034026][ T835] lock_acquire.part.0+0xd4/0x280 [ 34.034028][ T835] _raw_spin_lock_bh+0x38/0x50 [ 34.034031][ T835] ovpn_peer_endpoints_update+0xbc6/0x1ba0 [ovpn] [ 34.034034][ T835] ovpn_decrypt_post+0x74a/0x13e0 [ovpn] [ 34.034037][ T835] ovpn_udp_encap_recv+0x295/0x610 [ovpn] [ 34.034040][ T835] udp_queue_rcv_one_skb+0x645/0xb00 [ 34.034043][ T835] udp_unicast_rcv_skb+0x366/0x450 [ 34.034044][ T835] udp_rcv+0xaba/0x1d90 [ 34.034046][ T835] ip_protocol_deliver_rcu+0x82/0x350 [ 34.034048][ T835] ip_local_deliver_finish+0x36f/0x610 [ 34.034050][ T835] ip_local_deliver+0x184/0x4c0 [ 34.034051][ T835] ip_rcv+0xdc/0x3d0 [ 34.034053][ T835] __netif_receive_skb_one_core+0xfc/0x180 [ 34.034056][ T835] process_backlog+0x431/0x14c0 [ 34.034058][ T835] __napi_poll+0xa7/0x3b0 [ 34.034060][ T835] net_rx_action+0x513/0xf50 [ 34.034061][ T835] handle_softirqs+0x1d3/0x900 [ 34.034064][ T835] do_softirq+0xac/0xe0 [ 34.034065][ T835] __local_bh_enable_ip+0x118/0x150 [ 34.034067][ T835] __dev_queue_xmit+0x979/0x1b80 [ 34.034068][ T835] ip_finish_output2+0x5b9/0x1bc0 [ 34.034070][ T835] ip_output+0x1ca/0x660 [ 34.034072][ T835] ip_push_pending_frames+0xf6/0x250 [ 34.034073][ T835] raw_sendmsg+0x1169/0x1cc0 [ 34.034075][ T835] __sys_sendto+0x2aa/0x400 [ 34.034078][ T835] __x64_sys_sendto+0xe4/0x1f0 [ 34.034079][ T835] do_syscall_64+0xff/0x530 [ 34.034082][ T835] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 34.034084][ T835] [ 34.034084][ T835] to a SOFTIRQ-irq-unsafe lock: [ 34.034085][ T835] (fs_reclaim){+.+.}-{0:0} [ 34.034086][ T835] [ 34.034086][ T835] ... which became SOFTIRQ-irq-unsafe at: [ 34.034087][ T835] ... [ 34.034087][ T835] __lock_acquire+0x388/0xc20 [ 34.034089][ T835] lock_acquire.part.0+0xd4/0x280 [ 34.034090][ T835] fs_reclaim_acquire+0xd5/0x120 [ 34.034093][ T835] __kmalloc_cache_noprof+0x6e/0x620 [ 34.034095][ T835] kthread_create_worker_on_node+0xea/0x210 [ 34.034098][ T835] workqueue_init+0x2a/0x680 [ 34.034101][ T835] kernel_init_freeable+0x2fe/0x630 [ 34.034104][ T835] kernel_init+0x21/0x150 [ 34.034106][ T835] ret_from_fork+0x474/0x6b0 [ 34.034108][ T835] ret_from_fork_asm+0x11/0x20 [ 34.034111][ T835] [ 34.034111][ T835] other info that might help us debug this: [ 34.034111][ T835] [ 34.034112][ T835] Chain exists of: [ 34.034112][ T835] &ovpn->lock --> console_owner --> fs_reclaim [ 34.034112][ T835] [ 34.034114][ T835] Possible interrupt unsafe locking scenario: [ 34.034114][ T835] [ 34.034114][ T835] CPU0 CPU1 [ 34.034115][ T835] ---- ---- [ 34.034115][ T835] lock(fs_reclaim); [ 34.034116][ T835] local_irq_disable(); [ 34.034116][ T835] lock(&ovpn->lock); [ 34.034117][ T835] lock(console_owner); [ 34.034118][ T835] [ 34.034118][ T835] lock(&ovpn->lock); [ 34.034119][ T835] [ 34.034119][ T835] *** DEADLOCK *** [ 34.034119][ T835] [ 34.034120][ T835] locks held by ovpn-cli/835: 4, last CPU#3: [ 34.034121][ T835] #0: ffffffffaab44ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 34.034126][ T835] #1: ff11000009ea9e68 (&ovpn->lock){+.-.}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 34.034130][ T835] #2: ffffffffaa379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 34.034134][ T835] #3: ffffffffaa379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 34.034137][ T835] [ 34.034137][ T835] the dependencies between SOFTIRQ-irq-safe lock and the holding lock: [ 34.034138][ T835] -> (&ovpn->lock){+.-.}-{3:3} { [ 34.034139][ T835] HARDIRQ-ON-W at: [ 34.034141][ T835] __lock_acquire+0x388/0xc20 [ 34.034142][ T835] lock_acquire.part.0+0xd4/0x280 [ 34.034144][ T835] _raw_spin_lock_bh+0x38/0x50 [ 34.034145][ T835] ovpn_peer_add_mp+0xad/0x6a0 [ovpn] [ 34.034147][ T835] ovpn_peer_add+0x152/0x330 [ovpn] [ 34.034149][ T835] ovpn_nl_peer_new_doit+0x54f/0xcf0 [ovpn] [ 34.034152][ T835] genl_family_rcv_msg_doit+0x206/0x300 [ 34.034153][ T835] genl_family_rcv_msg+0x3a4/0x640 [ 34.034155][ T835] genl_rcv_msg+0xbb/0x160 [ 34.034157][ T835] netlink_rcv_skb+0x14e/0x3a0 [ 34.034158][ T835] genl_rcv+0x28/0x40 [ 34.034160][ T835] netlink_unicast+0x486/0x750 [ 34.034161][ T835] netlink_sendmsg+0x735/0xc60 [ 34.034163][ T835] ____sys_sendmsg+0x415/0x880 [ 34.034165][ T835] ___sys_sendmsg+0x14e/0x1d0 [ 34.034166][ T835] __sys_sendmsg+0x12c/0x1d0 [ 34.034168][ T835] do_syscall_64+0xff/0x530 [ 34.034169][ T835] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 34.034171][ T835] IN-SOFTIRQ-W at: [ 34.034171][ T835] __lock_acquire+0x388/0xc20 [ 34.034173][ T835] lock_acquire.part.0+0xd4/0x280 [ 34.034174][ T835] _raw_spin_lock_bh+0x38/0x50 [ 34.034175][ T835] ovpn_peer_endpoints_update+0xbc6/0x1ba0 [ovpn] [ 34.034177][ T835] ovpn_decrypt_post+0x74a/0x13e0 [ovpn] [ 34.034180][ T835] ovpn_udp_encap_recv+0x295/0x610 [ovpn] [ 34.034182][ T835] udp_queue_rcv_one_skb+0x645/0xb00 [ 34.034183][ T835] udp_unicast_rcv_skb+0x366/0x450 [ 34.034185][ T835] udp_rcv+0xaba/0x1d90 [ 34.034186][ T835] ip_protocol_deliver_rcu+0x82/0x350 [ 34.034188][ T835] ip_local_deliver_finish+0x36f/0x610 [ 34.034189][ T835] ip_local_deliver+0x184/0x4c0 [ 34.034190][ T835] ip_rcv+0xdc/0x3d0 [ 34.034191][ T835] __netif_receive_skb_one_core+0xfc/0x180 [ 34.034193][ T835] process_backlog+0x431/0x14c0 [ 34.034195][ T835] __napi_poll+0xa7/0x3b0 [ 34.034197][ T835] net_rx_action+0x513/0xf50 [ 34.034198][ T835] handle_softirqs+0x1d3/0x900 [ 34.034200][ T835] do_softirq+0xac/0xe0 [ 34.034201][ T835] __local_bh_enable_ip+0x118/0x150 [ 34.034202][ T835] __dev_queue_xmit+0x979/0x1b80 [ 34.034204][ T835] ip_finish_output2+0x5b9/0x1bc0 [ 34.034205][ T835] ip_output+0x1ca/0x660 [ 34.034207][ T835] ip_push_pending_frames+0xf6/0x250 [ 34.034208][ T835] raw_sendmsg+0x1169/0x1cc0 [ 34.034209][ T835] __sys_sendto+0x2aa/0x400 [ 34.034211][ T835] __x64_sys_sendto+0xe4/0x1f0 [ 34.034212][ T835] do_syscall_64+0xff/0x530 [ 34.034214][ T835] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 34.034215][ T835] INITIAL USE at: [ 34.034216][ T835] __lock_acquire+0x388/0xc20 [ 34.034217][ T835] lock_acquire.part.0+0xd4/0x280 [ 34.034218][ T835] _raw_spin_lock_bh+0x38/0x50 [ 34.034219][ T835] ovpn_peer_add_mp+0xad/0x6a0 [ovpn] [ 34.034222][ T835] ovpn_peer_add+0x152/0x330 [ovpn] [ 34.034224][ T835] ovpn_nl_peer_new_doit+0x54f/0xcf0 [ovpn] [ 34.034226][ T835] genl_family_rcv_msg_doit+0x206/0x300 [ 34.034228][ T835] genl_family_rcv_msg+0x3a4/0x640 [ 34.034229][ T835] genl_rcv_msg+0xbb/0x160 [ 34.034231][ T835] netlink_rcv_skb+0x14e/0x3a0 [ 34.034232][ T835] genl_rcv+0x28/0x40 [ 34.034234][ T835] netlink_unicast+0x486/0x750 [ 34.034236][ T835] netlink_sendmsg+0x735/0xc60 [ 34.034237][ T835] ____sys_sendmsg+0x415/0x880 [ 34.034239][ T835] ___sys_sendmsg+0x14e/0x1d0 [ 34.034240][ T835] __sys_sendmsg+0x12c/0x1d0 [ 34.034242][ T835] do_syscall_64+0xff/0x530 [ 34.034243][ T835] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 34.034244][ T835] } [ 34.034245][ T835] ... key at: [] __key.84+0x0/0x40 [ovpn] [ 34.034248][ T835] [ 34.034248][ T835] the dependencies between the lock to be acquired [ 34.034248][ T835] and SOFTIRQ-irq-unsafe lock: [ 34.034253][ T835] -> (fs_reclaim){+.+.}-{0:0} { [ 34.034254][ T835] HARDIRQ-ON-W at: [ 34.034255][ T835] __lock_acquire+0x388/0xc20 [ 34.034257][ T835] lock_acquire.part.0+0xd4/0x280 [ 34.034258][ T835] fs_reclaim_acquire+0xd5/0x120 [ 34.034259][ T835] __kmalloc_cache_noprof+0x6e/0x620 [ 34.034260][ T835] kthread_create_worker_on_node+0xea/0x210 [ 34.034262][ T835] workqueue_init+0x2a/0x680 [ 34.034263][ T835] kernel_init_freeable+0x2fe/0x630 [ 34.034265][ T835] kernel_init+0x21/0x150 [ 34.034266][ T835] ret_from_fork+0x474/0x6b0 [ 34.034267][ T835] ret_from_fork_asm+0x11/0x20 [ 34.034268][ T835] SOFTIRQ-ON-W at: [ 34.034269][ T835] __lock_acquire+0x388/0xc20 [ 34.034270][ T835] lock_acquire.part.0+0xd4/0x280 [ 34.034271][ T835] fs_reclaim_acquire+0xd5/0x120 [ 34.034272][ T835] __kmalloc_cache_noprof+0x6e/0x620 [ 34.034274][ T835] kthread_create_worker_on_node+0xea/0x210 [ 34.034275][ T835] workqueue_init+0x2a/0x680 [ 34.034276][ T835] kernel_init_freeable+0x2fe/0x630 [ 34.034278][ T835] kernel_init+0x21/0x150 [ 34.034279][ T835] ret_from_fork+0x474/0x6b0 [ 34.034280][ T835] ret_from_fork_asm+0x11/0x20 [ 34.034281][ T835] INITIAL USE at: [ 34.034282][ T835] __lock_acquire+0x388/0xc20 [ 34.034283][ T835] lock_acquire.part.0+0xd4/0x280 [ 34.034285][ T835] fs_reclaim_acquire+0xd5/0x120 [ 34.034286][ T835] __kmalloc_cache_noprof+0x6e/0x620 [ 34.034287][ T835] kthread_create_worker_on_node+0xea/0x210 [ 34.034288][ T835] workqueue_init+0x2a/0x680 [ 34.034289][ T835] kernel_init_freeable+0x2fe/0x630 [ 34.034291][ T835] kernel_init+0x21/0x150 [ 34.034292][ T835] ret_from_fork+0x474/0x6b0 [ 34.034293][ T835] ret_from_fork_asm+0x11/0x20 [ 34.034294][ T835] } [ 34.034295][ T835] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 34.034298][ T835] ... acquired at: [ 34.034299][ T835] __lock_acquire+0x518/0xc20 [ 34.034300][ T835] lock_acquire.part.0+0xd4/0x280 [ 34.034302][ T835] fs_reclaim_acquire+0xd5/0x120 [ 34.034303][ T835] __kmalloc_noprof+0xd3/0x760 [ 34.034304][ T835] alloc_buf.isra.0+0x4b/0x260 [ 34.034307][ T835] put_chars+0x1e1/0x2f0 [ 34.034309][ T835] hvc_console_print+0x292/0x780 [ 34.034311][ T835] console_emit_next_record+0x22f/0x4c0 [ 34.034313][ T835] console_flush_one_record+0x46f/0x710 [ 34.034315][ T835] console_unlock+0xee/0x1f0 [ 34.034316][ T835] vprintk_emit+0x37c/0x3e0 [ 34.034318][ T835] dev_vprintk_emit+0x27f/0x2c0 [ 34.034326][ T835] dev_printk_emit+0xb9/0xee [ 34.034327][ T835] _dev_info+0xe2/0x116 [ 34.034329][ T835] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 34.034331][ T835] cmos_do_probe+0x73b/0x98a [ 34.034332][ T835] platform_probe+0xfe/0x1f0 [ 34.034335][ T835] call_driver_probe+0x61/0x1c0 [ 34.034337][ T835] really_probe+0x199/0x760 [ 34.034339][ T835] __driver_probe_device+0x24f/0x440 [ 34.034340][ T835] driver_probe_device+0x4a/0xf0 [ 34.034342][ T835] __driver_attach+0x1b8/0x540 [ 34.034343][ T835] bus_for_each_dev+0x130/0x1e0 [ 34.034345][ T835] bus_add_driver+0x2c8/0x530 [ 34.034346][ T835] driver_register+0x1a3/0x390 [ 34.034348][ T835] __platform_driver_probe+0x13f/0x270 [ 34.034349][ T835] cmos_init+0x31/0x40 [ 34.034352][ T835] do_one_initcall+0x124/0x4f0 [ 34.034354][ T835] kernel_init_freeable+0x596/0x630 [ 34.034355][ T835] kernel_init+0x21/0x150 [ 34.034357][ T835] ret_from_fork+0x474/0x6b0 [ 34.034358][ T835] ret_from_fork_asm+0x11/0x20 [ 34.034359][ T835] [ 34.034359][ T835] -> (console_owner){....}-{0:0} { [ 34.034361][ T835] INITIAL USE at: [ 34.034362][ T835] } [ 34.034362][ T835] ... key at: [] console_owner_dep_map+0x0/0x60 [ 34.034366][ T835] ... acquired at: [ 34.034366][ T835] check_prev_add+0xef/0xe90 [ 34.034368][ T835] validate_chain+0x6b8/0xc20 [ 34.034369][ T835] __lock_acquire+0x518/0xc20 [ 34.034370][ T835] lock_acquire.part.0+0xd4/0x280 [ 34.034372][ T835] console_lock_spinning_enable+0x5c/0x60 [ 34.034373][ T835] console_emit_next_record+0x1d1/0x4c0 [ 34.034375][ T835] console_flush_one_record+0x46f/0x710 [ 34.034378][ T835] console_unlock+0xee/0x1f0 [ 34.034379][ T835] vprintk_emit+0x37c/0x3e0 [ 34.034381][ T835] _printk+0xc7/0x100 [ 34.034384][ T835] netdev_info+0xe2/0x116 [ 34.034386][ T835] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 34.034389][ T835] ovpn_peer_remove+0x394/0x640 [ovpn] [ 34.034391][ T835] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 34.034393][ T835] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 34.034395][ T835] genl_family_rcv_msg_doit+0x206/0x300 [ 34.034397][ T835] genl_family_rcv_msg+0x3a4/0x640 [ 34.034399][ T835] genl_rcv_msg+0xbb/0x160 [ 34.034400][ T835] netlink_rcv_skb+0x14e/0x3a0 [ 34.034402][ T835] genl_rcv+0x28/0x40 [ 34.034403][ T835] netlink_unicast+0x486/0x750 [ 34.034405][ T835] netlink_sendmsg+0x735/0xc60 [ 34.034406][ T835] ____sys_sendmsg+0x415/0x880 [ 34.034408][ T835] ___sys_sendmsg+0x14e/0x1d0 [ 34.034409][ T835] __sys_sendmsg+0x12c/0x1d0 [ 34.034411][ T835] do_syscall_64+0xff/0x530 [ 34.034412][ T835] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 34.034413][ T835] [ 34.034414][ T835] [ 34.034414][ T835] stack backtrace: [ 34.034416][ T835] CPU: 3 UID: 0 PID: 835 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 34.034420][ T835] Tainted: [W]=WARN [ 34.034420][ T835] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 34.034422][ T835] Call Trace: [ 34.034423][ T835] [ 34.034425][ T835] dump_stack_lvl+0x6f/0xa0 [ 34.034428][ T835] print_bad_irq_dependency+0x3e4/0x410 [ 34.034431][ T835] check_irq_usage+0x403/0x570 [ 34.034433][ T835] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 34.034437][ T835] ? rcu_read_lock_any_held+0x3c/0x90 [ 34.034439][ T835] ? check_path.constprop.0+0x24/0x50 [ 34.034442][ T835] ? check_prev_add+0xef/0xe90 [ 34.034443][ T835] check_prev_add+0xef/0xe90 [ 34.034445][ T835] validate_chain+0x6b8/0xc20 [ 34.034447][ T835] __lock_acquire+0x518/0xc20 [ 34.034449][ T835] lock_acquire.part.0+0xd4/0x280 [ 34.034451][ T835] ? console_lock_spinning_enable+0x40/0x60 [ 34.034453][ T835] ? rcu_is_watching+0x16/0xd0 [ 34.034455][ T835] ? lock_acquire+0x13c/0x160 [ 34.034457][ T835] console_lock_spinning_enable+0x5c/0x60 [ 34.034459][ T835] ? console_lock_spinning_enable+0x40/0x60 [ 34.034460][ T835] console_emit_next_record+0x1d1/0x4c0 [ 34.034462][ T835] ? devkmsg_read+0x4b0/0x4b0 [ 34.034464][ T835] ? console_flush_one_record+0x106/0x710 [ 34.034466][ T835] ? rcu_is_watching+0x16/0xd0 [ 34.034468][ T835] ? lock_acquire+0x13c/0x160 [ 34.034470][ T835] console_flush_one_record+0x46f/0x710 [ 34.034472][ T835] ? console_emit_next_record+0x4c0/0x4c0 [ 34.034474][ T835] ? __lock_acquire+0x518/0xc20 [ 34.034476][ T835] console_unlock+0xee/0x1f0 [ 34.034478][ T835] ? console_flush_one_record+0x710/0x710 [ 34.034479][ T835] ? rcu_is_watching+0x16/0xd0 [ 34.034481][ T835] ? lock_acquire+0x60/0x160 [ 34.034483][ T835] ? __down_trylock_console_sem+0x5e/0xa0 [ 34.034485][ T835] ? vprintk_emit+0x320/0x3e0 [ 34.034487][ T835] vprintk_emit+0x37c/0x3e0 [ 34.034489][ T835] ? wake_up_klogd_work_func+0x90/0x90 [ 34.034491][ T835] ? kernel_text_address+0x149/0x170 [ 34.034492][ T835] ? __kernel_text_address+0x12/0x30 [ 34.034494][ T835] ? write_profile+0xf0/0xf0 [ 34.034496][ T835] ? unwind_get_return_address+0x67/0xd0 [ 34.034499][ T835] _printk+0xc7/0x100 [ 34.034500][ T835] ? snapshot_read.cold+0x21/0x21 [ 34.034503][ T835] ? mark_usage+0x61/0x170 [ 34.034504][ T835] ? netdev_name+0x43/0x60 [ 34.034505][ T835] ? __netdev_printk+0x17f/0x1d0 [ 34.034507][ T835] netdev_info+0xe2/0x116 [ 34.034508][ T835] ? netdev_notice+0x120/0x120 [ 34.034510][ T835] ? find_held_lock+0x2b/0x80 [ 34.034511][ T835] ? mark_usage+0x61/0x170 [ 34.034513][ T835] ? __lock_acquire+0x518/0xc20 [ 34.034515][ T835] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 34.034518][ T835] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 34.034521][ T835] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 34.034524][ T835] ovpn_peer_remove+0x394/0x640 [ovpn] [ 34.034526][ T835] ? do_raw_spin_lock+0x131/0x280 [ 34.034528][ T835] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 34.034531][ T835] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 34.034534][ T835] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 34.034537][ T835] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 34.034539][ T835] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 34.034541][ T835] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 34.034543][ T835] ? ref_tracker_alloc+0x28d/0x430 [ 34.034549][ T835] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 34.034551][ T835] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 34.034554][ T835] genl_family_rcv_msg_doit+0x206/0x300 [ 34.034557][ T835] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 34.034559][ T835] ? __lock_release.isra.0+0x69/0x1a0 [ 34.034561][ T835] ? rcu_is_watching+0x16/0xd0 [ 34.034563][ T835] ? cap_capable+0x1d7/0x3d0 [ 34.034566][ T835] ? write_profile+0xf0/0xf0 [ 34.034568][ T835] ? unwind_get_return_address+0x67/0xd0 [ 34.034569][ T835] genl_family_rcv_msg+0x3a4/0x640 [ 34.034572][ T835] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 34.034573][ T835] ? rcu_read_lock_any_held+0x3c/0x90 [ 34.034575][ T835] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 34.034577][ T835] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 34.034579][ T835] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 34.034582][ T835] ? __lock_acquire+0x518/0xc20 [ 34.034584][ T835] genl_rcv_msg+0xbb/0x160 [ 34.034586][ T835] netlink_rcv_skb+0x14e/0x3a0 [ 34.034588][ T835] ? genl_family_rcv_msg+0x640/0x640 [ 34.034590][ T835] ? netlink_ack+0xcf0/0xcf0 [ 34.034593][ T835] ? netlink_deliver_tap+0xc5/0x330 [ 34.034595][ T835] ? netlink_deliver_tap+0x13c/0x330 [ 34.034597][ T835] genl_rcv+0x28/0x40 [ 34.034599][ T835] netlink_unicast+0x486/0x750 [ 34.034601][ T835] ? netlink_attachskb+0x810/0x810 [ 34.034603][ T835] ? __lock_acquire+0x518/0xc20 [ 34.034605][ T835] netlink_sendmsg+0x735/0xc60 [ 34.034607][ T835] ? netlink_unicast+0x750/0x750 [ 34.034609][ T835] ? __might_fault+0x97/0x140 [ 34.034613][ T835] ____sys_sendmsg+0x415/0x880 [ 34.034615][ T835] ? copy_msghdr_from_user+0x279/0x420 [ 34.034616][ T835] ? get_timestamp.constprop.0+0x390/0x390 [ 34.034618][ T835] ? move_addr_to_kernel+0x40/0x40 [ 34.034621][ T835] ___sys_sendmsg+0x14e/0x1d0 [ 34.034623][ T835] ? copy_msghdr_from_user+0x420/0x420 [ 34.034624][ T835] ? kfree+0x22/0x590 [ 34.034629][ T835] __sys_sendmsg+0x12c/0x1d0 [ 34.034631][ T835] ? __sys_sendmsg_sock+0x20/0x20 [ 34.034634][ T835] ? rcu_is_watching+0x16/0xd0 [ 34.034635][ T835] ? rcu_is_watching+0x16/0xd0 [ 34.034637][ T835] do_syscall_64+0xff/0x530 [ 34.034639][ T835] ? exc_page_fault+0xee/0x100 [ 34.034641][ T835] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 34.034642][ T835] RIP: 0033:0x7f252eca454e [ 34.034645][ T835] 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 [ 34.034647][ T835] RSP: 002b:00007ffd776b8f80 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 34.034649][ T835] RAX: ffffffffffffffda RBX: 0000000015415130 RCX: 00007f252eca454e [ 34.034651][ T835] RDX: 0000000000000000 RSI: 00007ffd776b9020 RDI: 0000000000000005 [ 34.034652][ T835] RBP: 00007ffd776b8f90 R08: 0000000000000000 R09: 0000000000000000 [ 34.034652][ T835] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000015415200 [ 34.034653][ T835] R13: 00007ffd776b9020 R14: 0000000015416260 R15: 000000000040bda8 [ 34.034655][ T835] [ 34.034659][ T835] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 34.034660][ T835] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 835, name: ovpn-cli [ 34.034662][ T835] preempt_count: 202, expected: 0 [ 34.034662][ T835] RCU nest depth: 0, expected: 0 [ 34.034663][ T835] INFO: lockdep is turned off. [ 34.034663][ T835] irq event stamp: 39471 [ 34.034664][ T835] hardirqs last enabled at (39470): [] __down_trylock_console_sem+0x86/0xa0 [ 34.034666][ T835] hardirqs last disabled at (39471): [] console_emit_next_record+0x3d4/0x4c0 [ 34.034668][ T835] softirqs last enabled at (39438): [] __alloc_skb+0x4c2/0x5f0 [ 34.034671][ T835] softirqs last disabled at (39466): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 34.034673][ T835] Preemption disabled at: [ 34.034674][ T835] [<0000000000000000>] 0x0 [ 34.034676][ T835] CPU: 3 UID: 0 PID: 835 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 34.034678][ T835] Tainted: [W]=WARN [ 34.034678][ T835] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 34.034679][ T835] Call Trace: [ 34.034679][ T835] [ 34.034680][ T835] dump_stack_lvl+0x6f/0xa0 [ 34.034682][ T835] __might_resched.cold+0x1fe/0x2c1 [ 34.034685][ T835] ? check_irq_usage+0x403/0x570 [ 34.034686][ T835] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 34.034689][ T835] ? rcu_is_watching+0x16/0xd0 [ 34.034691][ T835] __kmalloc_noprof+0x443/0x760 [ 34.034693][ T835] ? __rwlock_init+0x150/0x150 [ 34.034695][ T835] ? alloc_buf.isra.0+0x4b/0x260 [ 34.034696][ T835] ? do_raw_spin_unlock+0x59/0x250 [ 34.034698][ T835] alloc_buf.isra.0+0x4b/0x260 [ 34.034700][ T835] put_chars+0x1e1/0x2f0 [ 34.034702][ T835] ? __send_to_port+0x420/0x420 [ 34.034703][ T835] ? check_prev_add+0xef/0xe90 [ 34.034705][ T835] ? validate_chain+0x6b8/0xc20 [ 34.034707][ T835] hvc_console_print+0x292/0x780 [ 34.034709][ T835] ? __lock_acquire+0x518/0xc20 [ 34.034711][ T835] ? hvc_write+0x3a0/0x3a0 [ 34.034712][ T835] ? rcu_is_watching+0x16/0xd0 [ 34.034714][ T835] ? lock_acquire+0x13c/0x160 [ 34.034716][ T835] console_emit_next_record+0x22f/0x4c0 [ 34.034718][ T835] ? devkmsg_read+0x4b0/0x4b0 [ 34.034720][ T835] ? console_flush_one_record+0x106/0x710 [ 34.034722][ T835] ? rcu_is_watching+0x16/0xd0 [ 34.034724][ T835] ? lock_acquire+0x13c/0x160 [ 34.034726][ T835] console_flush_one_record+0x46f/0x710 [ 34.034728][ T835] ? console_emit_next_record+0x4c0/0x4c0 [ 34.034729][ T835] ? __lock_acquire+0x518/0xc20 [ 34.034732][ T835] console_unlock+0xee/0x1f0 [ 34.034734][ T835] ? console_flush_one_record+0x710/0x710 [ 34.034735][ T835] ? rcu_is_watching+0x16/0xd0 [ 34.034737][ T835] ? lock_acquire+0x60/0x160 [ 34.034739][ T835] ? __down_trylock_console_sem+0x5e/0xa0 [ 34.034740][ T835] ? vprintk_emit+0x320/0x3e0 [ 34.034742][ T835] vprintk_emit+0x37c/0x3e0 [ 34.034744][ T835] ? wake_up_klogd_work_func+0x90/0x90 [ 34.034746][ T835] ? kernel_text_address+0x149/0x170 [ 34.034747][ T835] ? __kernel_text_address+0x12/0x30 [ 34.034748][ T835] ? write_profile+0xf0/0xf0 [ 34.034750][ T835] ? unwind_get_return_address+0x67/0xd0 [ 34.034751][ T835] _printk+0xc7/0x100 [ 34.034753][ T835] ? snapshot_read.cold+0x21/0x21 [ 34.034755][ T835] ? mark_usage+0x61/0x170 [ 34.034756][ T835] ? netdev_name+0x43/0x60 [ 34.034758][ T835] ? __netdev_printk+0x17f/0x1d0 [ 34.034759][ T835] netdev_info+0xe2/0x116 [ 34.034761][ T835] ? netdev_notice+0x120/0x120 [ 34.034762][ T835] ? find_held_lock+0x2b/0x80 [ 34.034763][ T835] ? mark_usage+0x61/0x170 [ 34.034765][ T835] ? __lock_acquire+0x518/0xc20 [ 34.034767][ T835] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 34.034770][ T835] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 34.034772][ T835] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 34.034775][ T835] ovpn_peer_remove+0x394/0x640 [ovpn] [ 34.034778][ T835] ? do_raw_spin_lock+0x131/0x280 [ 34.034779][ T835] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 34.034782][ T835] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 34.034785][ T835] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 34.034788][ T835] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 34.034790][ T835] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 34.034792][ T835] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 34.034794][ T835] ? ref_tracker_alloc+0x28d/0x430 [ 34.034797][ T835] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 34.034800][ T835] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 34.034803][ T835] genl_family_rcv_msg_doit+0x206/0x300 [ 34.034806][ T835] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 34.034807][ T835] ? __lock_release.isra.0+0x69/0x1a0 [ 34.034810][ T835] ? rcu_is_watching+0x16/0xd0 [ 34.034812][ T835] ? cap_capable+0x1d7/0x3d0 [ 34.034813][ T835] ? write_profile+0xf0/0xf0 [ 34.034814][ T835] ? unwind_get_return_address+0x67/0xd0 [ 34.034816][ T835] genl_family_rcv_msg+0x3a4/0x640 [ 34.034818][ T835] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 34.034820][ T835] ? rcu_read_lock_any_held+0x3c/0x90 [ 34.034822][ T835] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 34.034824][ T835] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 34.034826][ T835] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 34.034829][ T835] ? __lock_acquire+0x518/0xc20 [ 34.034831][ T835] genl_rcv_msg+0xbb/0x160 [ 34.034833][ T835] netlink_rcv_skb+0x14e/0x3a0 [ 34.034835][ T835] ? genl_family_rcv_msg+0x640/0x640 [ 34.034837][ T835] ? netlink_ack+0xcf0/0xcf0 [ 34.034840][ T835] ? netlink_deliver_tap+0xc5/0x330 [ 34.034842][ T835] ? netlink_deliver_tap+0x13c/0x330 [ 34.034844][ T835] genl_rcv+0x28/0x40 [ 34.034845][ T835] netlink_unicast+0x486/0x750 [ 34.034848][ T835] ? netlink_attachskb+0x810/0x810 [ 34.034849][ T835] ? __lock_acquire+0x518/0xc20 [ 34.034851][ T835] netlink_sendmsg+0x735/0xc60 [ 34.034854][ T835] ? netlink_unicast+0x750/0x750 [ 34.034856][ T835] ? __might_fault+0x97/0x140 [ 34.034858][ T835] ____sys_sendmsg+0x415/0x880 [ 34.034860][ T835] ? copy_msghdr_from_user+0x279/0x420 [ 34.034861][ T835] ? get_timestamp.constprop.0+0x390/0x390 [ 34.034863][ T835] ? move_addr_to_kernel+0x40/0x40 [ 34.034866][ T835] ___sys_sendmsg+0x14e/0x1d0 [ 34.034868][ T835] ? copy_msghdr_from_user+0x420/0x420 [ 34.034869][ T835] ? kfree+0x22/0x590 [ 34.034874][ T835] __sys_sendmsg+0x12c/0x1d0 [ 34.034876][ T835] ? __sys_sendmsg_sock+0x20/0x20 [ 34.034878][ T835] ? rcu_is_watching+0x16/0xd0 [ 34.034880][ T835] ? rcu_is_watching+0x16/0xd0 [ 34.034882][ T835] do_syscall_64+0xff/0x530 [ 34.034884][ T835] ? exc_page_fault+0xee/0x100 [ 34.034885][ T835] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 34.034886][ T835] RIP: 0033:0x7f252eca454e [ 34.034887][ T835] 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 [ 34.034888][ T835] RSP: 002b:00007ffd776b8f80 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 34.034890][ T835] RAX: ffffffffffffffda RBX: 0000000015415130 RCX: 00007f252eca454e [ 34.034891][ T835] RDX: 0000000000000000 RSI: 00007ffd776b9020 RDI: 0000000000000005 [ 34.034891][ T835] RBP: 00007ffd776b8f90 R08: 0000000000000000 R09: 0000000000000000 [ 34.034892][ T835] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000015415200 [ 34.034893][ T835] R13: 00007ffd776b9020 R14: 0000000015416260 R15: 000000000040bda8 [ 34.034895][ T835] [ 34.185766][ T839] tun1: deleting peer with id 1, reason 1 [ 36.822012][ T887] tun0: deleting peer with id 2, reason 1 [ 36.822031][ T887] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 36.822034][ T887] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 887, name: ovpn-cli [ 36.822036][ T887] preempt_count: 202, expected: 0 [ 36.822037][ T887] RCU nest depth: 0, expected: 0 [ 36.822038][ T887] INFO: lockdep is turned off. [ 36.822039][ T887] irq event stamp: 0 [ 36.822040][ T887] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 36.822044][ T887] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 36.822051][ T887] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 36.822052][ T887] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 36.822054][ T887] Preemption disabled at: [ 36.822055][ T887] [<0000000000000000>] 0x0 [ 36.822060][ T887] CPU: 3 UID: 0 PID: 887 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 36.822063][ T887] Tainted: [W]=WARN [ 36.822064][ T887] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 36.822066][ T887] Call Trace: [ 36.822068][ T887] [ 36.822069][ T887] dump_stack_lvl+0x6f/0xa0 [ 36.822074][ T887] __might_resched.cold+0x1fe/0x2c1 [ 36.822079][ T887] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 36.822083][ T887] ? rcu_is_watching+0x16/0xd0 [ 36.822087][ T887] __kmalloc_noprof+0x443/0x760 [ 36.822090][ T887] ? __rwlock_init+0x150/0x150 [ 36.822093][ T887] ? alloc_buf.isra.0+0x4b/0x260 [ 36.822097][ T887] ? do_raw_spin_unlock+0x59/0x250 [ 36.822099][ T887] alloc_buf.isra.0+0x4b/0x260 [ 36.822101][ T887] put_chars+0x1e1/0x2f0 [ 36.822103][ T887] ? __send_to_port+0x420/0x420 [ 36.822105][ T887] ? printk_get_next_message+0x240/0x650 [ 36.822108][ T887] hvc_console_print+0x292/0x780 [ 36.822112][ T887] ? hvc_write+0x3a0/0x3a0 [ 36.822114][ T887] ? __rwlock_init+0x150/0x150 [ 36.822115][ T887] ? rcu_is_watching+0x16/0xd0 [ 36.822117][ T887] ? lock_acquire+0x13c/0x160 [ 36.822119][ T887] console_emit_next_record+0x22f/0x4c0 [ 36.822122][ T887] ? devkmsg_read+0x4b0/0x4b0 [ 36.822124][ T887] ? rcu_is_watching+0x16/0xd0 [ 36.822125][ T887] ? rcu_is_watching+0x16/0xd0 [ 36.822127][ T887] ? rcu_is_watching+0x16/0xd0 [ 36.822129][ T887] ? lock_acquire+0x13c/0x160 [ 36.822130][ T887] ? console_flush_one_record+0x111/0x710 [ 36.822132][ T887] console_flush_one_record+0x46f/0x710 [ 36.822135][ T887] ? console_emit_next_record+0x4c0/0x4c0 [ 36.822137][ T887] console_unlock+0xee/0x1f0 [ 36.822139][ T887] ? lock_acquire+0x13c/0x160 [ 36.822141][ T887] ? console_flush_one_record+0x710/0x710 [ 36.822142][ T887] ? rcu_is_watching+0x16/0xd0 [ 36.822144][ T887] ? lock_release+0x184/0x1f0 [ 36.822146][ T887] ? lock_acquire+0x60/0x160 [ 36.822147][ T887] ? __rcu_read_lock+0x30/0x70 [ 36.822149][ T887] ? __down_trylock_console_sem+0x5e/0xa0 [ 36.822151][ T887] ? vprintk_emit+0x320/0x3e0 [ 36.822153][ T887] vprintk_emit+0x37c/0x3e0 [ 36.822155][ T887] ? wake_up_klogd_work_func+0x90/0x90 [ 36.822157][ T887] ? kernel_text_address+0x149/0x170 [ 36.822159][ T887] ? __kernel_text_address+0x12/0x30 [ 36.822161][ T887] ? write_profile+0xf0/0xf0 [ 36.822163][ T887] ? unwind_get_return_address+0x67/0xd0 [ 36.822166][ T887] _printk+0xc7/0x100 [ 36.822169][ T887] ? snapshot_read.cold+0x21/0x21 [ 36.822171][ T887] ? netdev_name+0x43/0x60 [ 36.822174][ T887] ? __netdev_printk+0x17f/0x1d0 [ 36.822176][ T887] netdev_info+0xe2/0x116 [ 36.822177][ T887] ? netdev_notice+0x120/0x120 [ 36.822179][ T887] ? ovpn_nl_pre_doit+0x44/0x90 [ovpn] [ 36.822185][ T887] ? __module_address+0x36/0x330 [ 36.822188][ T887] ? lock_acquire+0x13c/0x160 [ 36.822189][ T887] ? rcu_is_watching+0x16/0xd0 [ 36.822191][ T887] ? lock_release+0x184/0x1f0 [ 36.822193][ T887] ? ovpn_peer_get_by_id+0x38a/0x7a0 [ovpn] [ 36.822196][ T887] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 36.822200][ T887] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 36.822202][ T887] ? lock_acquire+0x13c/0x160 [ 36.822204][ T887] ? rcu_is_watching+0x16/0xd0 [ 36.822206][ T887] ? lock_release+0x184/0x1f0 [ 36.822208][ T887] ovpn_peer_remove+0x394/0x640 [ovpn] [ 36.822211][ T887] ? do_raw_spin_lock+0x131/0x280 [ 36.822213][ T887] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 36.822216][ T887] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 36.822219][ T887] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 36.822222][ T887] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 36.822225][ T887] ? trace_hardirqs_on+0x36/0x40 [ 36.822227][ T887] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 36.822230][ T887] ? ref_tracker_alloc+0x28d/0x430 [ 36.822235][ T887] ? lock_release+0x184/0x1f0 [ 36.822237][ T887] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 36.822240][ T887] genl_family_rcv_msg_doit+0x206/0x300 [ 36.822245][ T887] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 36.822247][ T887] ? rcu_is_watching+0x16/0xd0 [ 36.822249][ T887] ? rcu_is_watching+0x16/0xd0 [ 36.822251][ T887] ? cap_capable+0x1d7/0x3d0 [ 36.822255][ T887] ? write_profile+0xf0/0xf0 [ 36.822256][ T887] ? unwind_get_return_address+0x67/0xd0 [ 36.822258][ T887] genl_family_rcv_msg+0x3a4/0x640 [ 36.822260][ T887] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 36.822262][ T887] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 36.822265][ T887] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 36.822267][ T887] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 36.822269][ T887] ? filter_irq_stacks+0xd0/0xd0 [ 36.822271][ T887] ? stack_depot_save_flags+0x1bc/0x790 [ 36.822273][ T887] genl_rcv_msg+0xbb/0x160 [ 36.822276][ T887] netlink_rcv_skb+0x14e/0x3a0 [ 36.822277][ T887] ? genl_family_rcv_msg+0x640/0x640 [ 36.822280][ T887] ? netlink_ack+0xcf0/0xcf0 [ 36.822282][ T887] ? lock_acquire+0x13c/0x160 [ 36.822284][ T887] ? rcu_is_watching+0x16/0xd0 [ 36.822286][ T887] ? lock_release+0x184/0x1f0 [ 36.822287][ T887] genl_rcv+0x28/0x40 [ 36.822289][ T887] netlink_unicast+0x486/0x750 [ 36.822292][ T887] ? netlink_attachskb+0x810/0x810 [ 36.822293][ T887] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 36.822295][ T887] ? trace_hardirqs_on+0x36/0x40 [ 36.822296][ T887] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 36.822299][ T887] netlink_sendmsg+0x735/0xc60 [ 36.822302][ T887] ? netlink_unicast+0x750/0x750 [ 36.822304][ T887] ? rcu_is_watching+0x16/0xd0 [ 36.822306][ T887] ? lock_release+0x184/0x1f0 [ 36.822307][ T887] ____sys_sendmsg+0x415/0x880 [ 36.822311][ T887] ? copy_msghdr_from_user+0x279/0x420 [ 36.822313][ T887] ? get_timestamp.constprop.0+0x390/0x390 [ 36.822314][ T887] ? move_addr_to_kernel+0x40/0x40 [ 36.822317][ T887] ___sys_sendmsg+0x14e/0x1d0 [ 36.822319][ T887] ? copy_msghdr_from_user+0x420/0x420 [ 36.822321][ T887] ? kfree+0x22/0x590 [ 36.822326][ T887] __sys_sendmsg+0x12c/0x1d0 [ 36.822328][ T887] ? __sys_sendmsg_sock+0x20/0x20 [ 36.822336][ T887] ? rcu_is_watching+0x16/0xd0 [ 36.822338][ T887] ? rcu_is_watching+0x16/0xd0 [ 36.822340][ T887] do_syscall_64+0xff/0x530 [ 36.822343][ T887] ? exc_page_fault+0xee/0x100 [ 36.822345][ T887] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 36.822347][ T887] RIP: 0033:0x7f558708854e [ 36.822349][ T887] 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 [ 36.822351][ T887] RSP: 002b:00007ffd54cf52a0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 36.822355][ T887] RAX: ffffffffffffffda RBX: 0000000009b4c130 RCX: 00007f558708854e [ 36.822356][ T887] RDX: 0000000000000000 RSI: 00007ffd54cf5340 RDI: 0000000000000005 [ 36.822357][ T887] RBP: 00007ffd54cf52b0 R08: 0000000000000000 R09: 0000000000000000 [ 36.822358][ T887] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000009b4c200 [ 36.822359][ T887] R13: 00007ffd54cf5340 R14: 0000000009b4d260 R15: 000000000040bda8 [ 36.822361][ T887] [ 36.908647][ T891] tun2: deleting peer with id 2, reason 1 [ 42.738438][ T63] tun0: deleting peer with id 4, reason 2 [ 42.738460][ T63] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 42.738463][ T63] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 63, name: kworker/2:2 [ 42.738465][ T63] preempt_count: 202, expected: 0 [ 42.738466][ T63] RCU nest depth: 0, expected: 0 [ 42.738467][ T63] INFO: lockdep is turned off. [ 42.738468][ T63] irq event stamp: 38244 [ 42.738469][ T63] hardirqs last enabled at (38243): [] _raw_spin_unlock_irq+0x28/0x50 [ 42.738478][ T63] hardirqs last disabled at (38244): [] __schedule+0x1246/0x20e0 [ 42.738480][ T63] softirqs last enabled at (36374): [] handle_softirqs+0x67c/0x900 [ 42.738484][ T63] softirqs last disabled at (36367): [] __irq_exit_rcu+0x145/0x1c0 [ 42.738487][ T63] Preemption disabled at: [ 42.738488][ T63] [<0000000000000000>] 0x0 [ 42.738496][ T63] CPU: 2 UID: 0 PID: 63 Comm: kworker/2:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 42.738499][ T63] Tainted: [W]=WARN [ 42.738500][ T63] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 42.738503][ T63] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 42.738514][ T63] Call Trace: [ 42.738515][ T63] [ 42.738518][ T63] dump_stack_lvl+0x6f/0xa0 [ 42.738523][ T63] __might_resched.cold+0x1fe/0x2c1 [ 42.738527][ T63] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 42.738531][ T63] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 42.738533][ T63] ? rcu_is_watching+0x16/0xd0 [ 42.738537][ T63] __kmalloc_noprof+0x443/0x760 [ 42.738541][ T63] ? __rwlock_init+0x150/0x150 [ 42.738544][ T63] ? alloc_buf.isra.0+0x4b/0x260 [ 42.738547][ T63] ? do_raw_spin_unlock+0x59/0x250 [ 42.738549][ T63] alloc_buf.isra.0+0x4b/0x260 [ 42.738551][ T63] put_chars+0x1e1/0x2f0 [ 42.738553][ T63] ? prb_final_commit+0x50/0x50 [ 42.738555][ T63] ? __send_to_port+0x420/0x420 [ 42.738556][ T63] ? printk_get_next_message+0x240/0x650 [ 42.738560][ T63] hvc_console_print+0x292/0x780 [ 42.738563][ T63] ? hvc_write+0x3a0/0x3a0 [ 42.738565][ T63] ? do_raw_spin_lock+0x131/0x280 [ 42.738566][ T63] ? vsnprintf+0x527/0x1700 [ 42.738568][ T63] ? __rwlock_init+0x150/0x150 [ 42.738570][ T63] ? rcu_is_watching+0x16/0xd0 [ 42.738572][ T63] ? lock_acquire+0x13c/0x160 [ 42.738574][ T63] console_emit_next_record+0x22f/0x4c0 [ 42.738577][ T63] ? devkmsg_read+0x4b0/0x4b0 [ 42.738578][ T63] ? rcu_is_watching+0x16/0xd0 [ 42.738580][ T63] ? rcu_is_watching+0x16/0xd0 [ 42.738582][ T63] ? rcu_is_watching+0x16/0xd0 [ 42.738584][ T63] ? lock_acquire+0x13c/0x160 [ 42.738585][ T63] ? console_flush_one_record+0x111/0x710 [ 42.738587][ T63] console_flush_one_record+0x46f/0x710 [ 42.738589][ T63] ? console_emit_next_record+0x4c0/0x4c0 [ 42.738592][ T63] console_unlock+0xee/0x1f0 [ 42.738594][ T63] ? lock_acquire+0x13c/0x160 [ 42.738595][ T63] ? console_flush_one_record+0x710/0x710 [ 42.738597][ T63] ? rcu_is_watching+0x16/0xd0 [ 42.738598][ T63] ? lock_release+0x184/0x1f0 [ 42.738600][ T63] ? lock_acquire+0x60/0x160 [ 42.738601][ T63] ? __rcu_read_lock+0x30/0x70 [ 42.738603][ T63] ? __down_trylock_console_sem+0x5e/0xa0 [ 42.738605][ T63] ? vprintk_emit+0x320/0x3e0 [ 42.738607][ T63] vprintk_emit+0x37c/0x3e0 [ 42.738609][ T63] ? wake_up_klogd_work_func+0x90/0x90 [ 42.738611][ T63] ? ret_from_fork_asm+0x11/0x20 [ 42.738614][ T63] ? stack_access_ok+0x1e0/0x1e0 [ 42.738617][ T63] _printk+0xc7/0x100 [ 42.738620][ T63] ? snapshot_read.cold+0x21/0x21 [ 42.738622][ T63] ? write_profile+0xf0/0xf0 [ 42.738624][ T63] ? netdev_name+0x43/0x60 [ 42.738627][ T63] ? __netdev_printk+0x17f/0x1d0 [ 42.738629][ T63] netdev_info+0xe2/0x116 [ 42.738630][ T63] ? netdev_notice+0x120/0x120 [ 42.738632][ T63] ? delayed_vfree_work+0x57/0x80 [ 42.738636][ T63] ? filter_irq_stacks+0xd0/0xd0 [ 42.738637][ T63] ? stack_depot_save_flags+0x1bc/0x790 [ 42.738641][ T63] ? trace_irq_enable.constprop.0+0x30/0x160 [ 42.738643][ T63] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 42.738648][ T63] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 42.738650][ T63] ? __rwlock_init+0x150/0x150 [ 42.738652][ T63] ? lock_acquire+0x13c/0x160 [ 42.738653][ T63] ? rcu_is_watching+0x16/0xd0 [ 42.738656][ T63] ovpn_peer_remove+0x394/0x640 [ovpn] [ 42.738659][ T63] ? do_raw_spin_lock+0x131/0x280 [ 42.738661][ T63] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 42.738663][ T63] ? __rwlock_init+0x150/0x150 [ 42.738665][ T63] ? rcu_is_watching+0x16/0xd0 [ 42.738667][ T63] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 42.738668][ T63] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 42.738669][ T63] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 42.738672][ T63] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 42.738675][ T63] ? __rwlock_init+0x150/0x150 [ 42.738677][ T63] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 42.738680][ T63] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 42.738682][ T63] ? rcu_is_watching+0x16/0xd0 [ 42.738684][ T63] ? lock_acquire+0x13c/0x160 [ 42.738686][ T63] ? rcu_is_watching+0x16/0xd0 [ 42.738688][ T63] process_one_work+0xe3e/0x1560 [ 42.738692][ T63] ? __queue_delayed_work+0x470/0x470 [ 42.738694][ T63] ? find_held_lock+0x2b/0x80 [ 42.738696][ T63] ? __rwlock_init+0x150/0x150 [ 42.738698][ T63] worker_thread+0x4f1/0xd60 [ 42.738700][ T63] ? rescuer_thread+0x1340/0x1340 [ 42.738702][ T63] ? __kthread_parkme+0xbd/0x210 [ 42.738705][ T63] ? rescuer_thread+0x1340/0x1340 [ 42.738706][ T63] ? rescuer_thread+0x1340/0x1340 [ 42.738708][ T63] kthread+0x367/0x460 [ 42.738710][ T63] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 42.738711][ T63] ? kthread_affine_preferred+0x4c0/0x4c0 [ 42.738713][ T63] ret_from_fork+0x474/0x6b0 [ 42.738716][ T63] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 42.738718][ T63] ? __switch_to+0x5a3/0xe00 [ 42.738720][ T63] ? kthread_affine_preferred+0x4c0/0x4c0 [ 42.738722][ T63] ret_from_fork_asm+0x11/0x20 [ 42.738725][ T63] [ 42.758331][ T63] tun0: deleting peer with id 3, reason 2 [ 42.758576][ T63] tun0: deleting peer with id 5, reason 2 [ 42.758823][ T63] tun0: deleting peer with id 6, reason 2 [ 47.921513][ T63] tun3: deleting peer with id 3, reason 2 [ 47.921537][ T63] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 47.921540][ T63] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 63, name: kworker/2:2 [ 47.921542][ T63] preempt_count: 202, expected: 0 [ 47.921544][ T63] RCU nest depth: 0, expected: 0 [ 47.921545][ T63] INFO: lockdep is turned off. [ 47.921547][ T63] irq event stamp: 38244 [ 47.921548][ T63] hardirqs last enabled at (38243): [] _raw_spin_unlock_irq+0x28/0x50 [ 47.921558][ T63] hardirqs last disabled at (38244): [] __schedule+0x1246/0x20e0 [ 47.921561][ T63] softirqs last enabled at (36374): [] handle_softirqs+0x67c/0x900 [ 47.921566][ T63] softirqs last disabled at (36367): [] __irq_exit_rcu+0x145/0x1c0 [ 47.921570][ T63] Preemption disabled at: [ 47.921571][ T63] [<0000000000000000>] 0x0 [ 47.921580][ T63] CPU: 2 UID: 0 PID: 63 Comm: kworker/2:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 47.921584][ T63] Tainted: [W]=WARN [ 47.921585][ T63] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 47.921588][ T63] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 47.921599][ T63] Call Trace: [ 47.921601][ T63] [ 47.921604][ T63] dump_stack_lvl+0x6f/0xa0 [ 47.921610][ T63] __might_resched.cold+0x1fe/0x2c1 [ 47.921615][ T63] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 47.921619][ T63] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 47.921622][ T63] ? rcu_is_watching+0x16/0xd0 [ 47.921627][ T63] __kmalloc_noprof+0x443/0x760 [ 47.921632][ T63] ? __rwlock_init+0x150/0x150 [ 47.921635][ T63] ? alloc_buf.isra.0+0x4b/0x260 [ 47.921640][ T63] ? do_raw_spin_unlock+0x59/0x250 [ 47.921642][ T63] alloc_buf.isra.0+0x4b/0x260 [ 47.921645][ T63] put_chars+0x1e1/0x2f0 [ 47.921648][ T63] ? prb_final_commit+0x50/0x50 [ 47.921650][ T63] ? __send_to_port+0x420/0x420 [ 47.921653][ T63] ? printk_get_next_message+0x240/0x650 [ 47.921657][ T63] hvc_console_print+0x292/0x780 [ 47.921663][ T63] ? hvc_write+0x3a0/0x3a0 [ 47.921665][ T63] ? do_raw_spin_lock+0x131/0x280 [ 47.921667][ T63] ? vsnprintf+0x527/0x1700 [ 47.921670][ T63] ? __rwlock_init+0x150/0x150 [ 47.921672][ T63] ? rcu_is_watching+0x16/0xd0 [ 47.921675][ T63] ? lock_acquire+0x13c/0x160 [ 47.921678][ T63] console_emit_next_record+0x22f/0x4c0 [ 47.921682][ T63] ? devkmsg_read+0x4b0/0x4b0 [ 47.921685][ T63] ? rcu_is_watching+0x16/0xd0 [ 47.921687][ T63] ? rcu_is_watching+0x16/0xd0 [ 47.921690][ T63] ? rcu_is_watching+0x16/0xd0 [ 47.921692][ T63] ? lock_acquire+0x13c/0x160 [ 47.921695][ T63] ? console_flush_one_record+0x111/0x710 [ 47.921698][ T63] console_flush_one_record+0x46f/0x710 [ 47.921701][ T63] ? console_emit_next_record+0x4c0/0x4c0 [ 47.921705][ T63] console_unlock+0xee/0x1f0 [ 47.921708][ T63] ? lock_acquire+0x13c/0x160 [ 47.921710][ T63] ? console_flush_one_record+0x710/0x710 [ 47.921712][ T63] ? rcu_is_watching+0x16/0xd0 [ 47.921715][ T63] ? lock_release+0x184/0x1f0 [ 47.921717][ T63] ? lock_acquire+0x60/0x160 [ 47.921719][ T63] ? __rcu_read_lock+0x30/0x70 [ 47.921722][ T63] ? __down_trylock_console_sem+0x5e/0xa0 [ 47.921725][ T63] ? vprintk_emit+0x320/0x3e0 [ 47.921728][ T63] vprintk_emit+0x37c/0x3e0 [ 47.921731][ T63] ? wake_up_klogd_work_func+0x90/0x90 [ 47.921734][ T63] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 47.921736][ T63] ? rcu_is_watching+0x16/0xd0 [ 47.921738][ T63] ? trace_sched_wakeup+0x9b/0x160 [ 47.921742][ T63] _printk+0xc7/0x100 [ 47.921746][ T63] ? snapshot_read.cold+0x21/0x21 [ 47.921748][ T63] ? try_to_wake_up+0x153/0x1130 [ 47.921751][ T63] ? select_fallback_rq+0x510/0x510 [ 47.921753][ T63] ? netdev_name+0x43/0x60 [ 47.921757][ T63] ? __netdev_printk+0x17f/0x1d0 [ 47.921759][ T63] netdev_info+0xe2/0x116 [ 47.921762][ T63] ? netdev_notice+0x120/0x120 [ 47.921764][ T63] ? rcu_is_watching+0x16/0xd0 [ 47.921768][ T63] ? __queue_work+0x3ab/0xd30 [ 47.921771][ T63] ? kthread+0x367/0x460 [ 47.921775][ T63] ? trace_irq_enable.constprop.0+0x30/0x160 [ 47.921778][ T63] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 47.921785][ T63] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 47.921789][ T63] ? rcu_is_watching+0x16/0xd0 [ 47.921792][ T63] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 47.921795][ T63] ovpn_peer_remove+0x394/0x640 [ovpn] [ 47.921800][ T63] ? do_raw_spin_lock+0x131/0x280 [ 47.921803][ T63] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 47.921807][ T63] ? __rwlock_init+0x150/0x150 [ 47.921810][ T63] ? rcu_is_watching+0x16/0xd0 [ 47.921812][ T63] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 47.921814][ T63] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 47.921817][ T63] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 47.921822][ T63] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 47.921826][ T63] ? __rwlock_init+0x150/0x150 [ 47.921830][ T63] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 47.921835][ T63] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 47.921839][ T63] ? rcu_is_watching+0x16/0xd0 [ 47.921842][ T63] ? lock_acquire+0x13c/0x160 [ 47.921844][ T63] ? rcu_is_watching+0x16/0xd0 [ 47.921847][ T63] ? process_one_work+0xdfc/0x1560 [ 47.921850][ T63] process_one_work+0xe3e/0x1560 [ 47.921854][ T63] ? __queue_delayed_work+0x470/0x470 [ 47.921857][ T63] ? find_held_lock+0x2b/0x80 [ 47.921860][ T63] ? __rwlock_init+0x150/0x150 [ 47.921864][ T63] worker_thread+0x4f1/0xd60 [ 47.921867][ T63] ? rescuer_thread+0x1340/0x1340 [ 47.921869][ T63] ? __kthread_parkme+0xbd/0x210 [ 47.921872][ T63] ? rescuer_thread+0x1340/0x1340 [ 47.921875][ T63] ? rescuer_thread+0x1340/0x1340 [ 47.921877][ T63] kthread+0x367/0x460 [ 47.921879][ T63] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 47.921881][ T63] ? kthread_affine_preferred+0x4c0/0x4c0 [ 47.921884][ T63] ret_from_fork+0x474/0x6b0 [ 47.921888][ T63] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 47.921890][ T63] ? __switch_to+0x5a3/0xe00 [ 47.921894][ T63] ? kthread_affine_preferred+0x4c0/0x4c0 [ 47.921896][ T63] ret_from_fork_asm+0x11/0x20 [ 47.921902][ T63] [ 47.985454][ T63] tun5: deleting peer with id 5, reason 2 [ 47.992549][ T50] tun4: deleting peer with id 4, reason 2 [ 48.049435][ T74] tun6: deleting peer with id 6, reason 2