[ 16.166369][ T301] ip (301) used greatest stack depth: 24304 bytes left [ 16.166392][ T301] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.166395][ T301] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 301, name: ip [ 16.166397][ T301] preempt_count: 2, expected: 0 [ 16.166399][ T301] RCU nest depth: 0, expected: 0 [ 16.166400][ T301] locks held by ip/301: 5, last CPU#0: [ 16.166403][ T301] #0: ffffffffb24127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 16.166417][ T301] #1: ffffffffb2579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.166425][ T301] #2: ffffffffb2579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.166431][ T301] #3: ffffffffb2499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.166437][ T301] #4: ffffffffb2499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.166443][ T301] irq event stamp: 42724 [ 16.166444][ T301] hardirqs last enabled at (42723): [] __down_trylock_console_sem+0x86/0xa0 [ 16.166448][ T301] hardirqs last disabled at (42724): [] console_emit_next_record+0x3d4/0x4c0 [ 16.166451][ T301] softirqs last enabled at (41710): [] handle_softirqs+0x67c/0x900 [ 16.166454][ T301] softirqs last disabled at (41701): [] __irq_exit_rcu+0x145/0x1c0 [ 16.166457][ T301] Preemption disabled at: [ 16.166458][ T301] [<0000000000000000>] 0x0 [ 16.166467][ T301] CPU: 0 UID: 0 PID: 301 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.166472][ T301] Tainted: [W]=WARN [ 16.166473][ T301] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.166475][ T301] Call Trace: [ 16.166478][ T301] [ 16.166480][ T301] dump_stack_lvl+0x6f/0xa0 [ 16.166488][ T301] __might_resched.cold+0x1fe/0x2c1 [ 16.166494][ T301] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.166500][ T301] ? __kmalloc_noprof+0xdb/0x760 [ 16.166507][ T301] __kmalloc_noprof+0x443/0x760 [ 16.166511][ T301] ? alloc_buf.isra.0+0x4b/0x260 [ 16.166520][ T301] ? do_raw_spin_unlock+0x59/0x250 [ 16.166524][ T301] alloc_buf.isra.0+0x4b/0x260 [ 16.166529][ T301] put_chars+0x1e1/0x2f0 [ 16.166534][ T301] ? __send_to_port+0x420/0x420 [ 16.166536][ T301] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.166543][ T301] ? validate_chain+0x38b/0xc20 [ 16.166552][ T301] hvc_console_print+0x292/0x780 [ 16.166563][ T301] ? hvc_write+0x3a0/0x3a0 [ 16.166567][ T301] ? rcu_is_watching+0x16/0xd0 [ 16.166571][ T301] ? lock_acquire+0x13c/0x160 [ 16.166577][ T301] console_emit_next_record+0x22f/0x4c0 [ 16.166584][ T301] ? devkmsg_read+0x4b0/0x4b0 [ 16.166586][ T301] ? console_flush_one_record+0x106/0x710 [ 16.166592][ T301] ? rcu_is_watching+0x16/0xd0 [ 16.166595][ T301] ? lock_acquire+0x13c/0x160 [ 16.166602][ T301] console_flush_one_record+0x46f/0x710 [ 16.166609][ T301] ? console_emit_next_record+0x4c0/0x4c0 [ 16.166611][ T301] ? __lock_acquire+0x518/0xc20 [ 16.166621][ T301] console_unlock+0xee/0x1f0 [ 16.166625][ T301] ? console_flush_one_record+0x710/0x710 [ 16.166628][ T301] ? rcu_is_watching+0x16/0xd0 [ 16.166631][ T301] ? lock_acquire+0x60/0x160 [ 16.166638][ T301] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.166640][ T301] ? vprintk_emit+0x320/0x3e0 [ 16.166645][ T301] vprintk_emit+0x37c/0x3e0 [ 16.166651][ T301] ? wake_up_klogd_work_func+0x90/0x90 [ 16.166657][ T301] ? __lock_acquire+0x518/0xc20 [ 16.166663][ T301] _printk+0xc7/0x100 [ 16.166668][ T301] ? snapshot_read.cold+0x21/0x21 [ 16.166673][ T301] ? do_raw_spin_lock+0x131/0x280 [ 16.166677][ T301] ? __rwlock_init+0x150/0x150 [ 16.166683][ T301] ? do_raw_spin_lock+0x131/0x280 [ 16.166688][ T301] do_exit.cold+0x82/0x9c [ 16.166694][ T301] ? exit_notify+0x890/0x890 [ 16.166696][ T301] ? __lock_release.isra.0+0x69/0x1a0 [ 16.166701][ T301] ? rcu_is_watching+0x16/0xd0 [ 16.166708][ T301] do_group_exit+0xb8/0x370 [ 16.166713][ T301] __x64_sys_exit_group+0x3c/0x50 [ 16.166716][ T301] x64_sys_call+0x1567/0x1570 [ 16.166720][ T301] do_syscall_64+0xff/0x530 [ 16.166727][ T301] ? exc_page_fault+0xee/0x100 [ 16.166732][ T301] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.166736][ T301] RIP: 0033:0x7f356d0611b8 [ 16.166740][ T301] Code: Unable to access opcode bytes at 0x7f356d06118e. [ 16.166742][ T301] RSP: 002b:00007ffd701f3a88 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 16.166746][ T301] RAX: ffffffffffffffda RBX: 00007f356d191f88 RCX: 00007f356d0611b8 [ 16.166748][ T301] RDX: 00007f356cdabfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 16.166749][ T301] RBP: 00007ffd701f3ae0 R08: 0000000000000000 R09: 0000000000000000 [ 16.166751][ T301] R10: 00007ffd701f38a0 R11: 0000000000000246 R12: 0000000000000001 [ 16.166752][ T301] R13: 0000000000000000 R14: 00007f356d190680 R15: 00007f356d191fa0 [ 16.166766][ T301] [ 16.479231][ T308] ip (308) used greatest stack depth: 24128 bytes left [ 17.046680][ T322] ip (322) used greatest stack depth: 23696 bytes left [ 30.447303][ T677] iperf3 (677) used greatest stack depth: 23536 bytes left [ 30.447326][ T677] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 30.447328][ T677] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 677, name: iperf3 [ 30.447330][ T677] preempt_count: 2, expected: 0 [ 30.447331][ T677] RCU nest depth: 0, expected: 0 [ 30.447332][ T677] locks held by iperf3/677: 5, last CPU#2: [ 30.447334][ T677] #0: ffffffffb24127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 30.447347][ T677] #1: ffffffffb2579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 30.447353][ T677] #2: ffffffffb2579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 30.447356][ T677] #3: ffffffffb2499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 30.447360][ T677] #4: ffffffffb2499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 30.447365][ T677] irq event stamp: 2430680 [ 30.447366][ T677] hardirqs last enabled at (2430679): [] __down_trylock_console_sem+0x86/0xa0 [ 30.447368][ T677] hardirqs last disabled at (2430680): [] console_emit_next_record+0x3d4/0x4c0 [ 30.447370][ T677] softirqs last enabled at (2430258): [] fpu__clear_user_states+0x104/0x290 [ 30.447374][ T677] softirqs last disabled at (2430256): [] fpu__clear_user_states+0x6d/0x290 [ 30.447376][ T677] Preemption disabled at: [ 30.447377][ T677] [<0000000000000000>] 0x0 [ 30.447384][ T677] CPU: 2 UID: 0 PID: 677 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.447387][ T677] Tainted: [W]=WARN [ 30.447388][ T677] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.447390][ T677] Call Trace: [ 30.447392][ T677] [ 30.447393][ T677] dump_stack_lvl+0x6f/0xa0 [ 30.447400][ T677] __might_resched.cold+0x1fe/0x2c1 [ 30.447404][ T677] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 30.447408][ T677] ? __kmalloc_noprof+0xdb/0x760 [ 30.447414][ T677] __kmalloc_noprof+0x443/0x760 [ 30.447416][ T677] ? alloc_buf.isra.0+0x4b/0x260 [ 30.447422][ T677] ? do_raw_spin_unlock+0x59/0x250 [ 30.447425][ T677] alloc_buf.isra.0+0x4b/0x260 [ 30.447428][ T677] put_chars+0x1e1/0x2f0 [ 30.447431][ T677] ? prb_final_commit+0x50/0x50 [ 30.447433][ T677] ? __send_to_port+0x420/0x420 [ 30.447436][ T677] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 30.447441][ T677] ? rcu_read_lock_any_held+0x3c/0x90 [ 30.447443][ T677] ? validate_chain+0x38b/0xc20 [ 30.447447][ T677] hvc_console_print+0x292/0x780 [ 30.447450][ T677] ? mark_usage+0x61/0x170 [ 30.447452][ T677] ? __lock_acquire+0x518/0xc20 [ 30.447454][ T677] ? __lock_acquire+0x518/0xc20 [ 30.447458][ T677] ? hvc_write+0x3a0/0x3a0 [ 30.447460][ T677] ? console_emit_next_record+0x1df/0x4c0 [ 30.447463][ T677] ? rcu_is_watching+0x16/0xd0 [ 30.447466][ T677] ? lock_acquire+0x13c/0x160 [ 30.447470][ T677] console_emit_next_record+0x22f/0x4c0 [ 30.447474][ T677] ? devkmsg_read+0x4b0/0x4b0 [ 30.447476][ T677] ? console_flush_one_record+0x106/0x710 [ 30.447479][ T677] ? rcu_is_watching+0x16/0xd0 [ 30.447481][ T677] ? lock_acquire+0x13c/0x160 [ 30.447485][ T677] console_flush_one_record+0x46f/0x710 [ 30.447489][ T677] ? console_emit_next_record+0x4c0/0x4c0 [ 30.447491][ T677] ? __lock_acquire+0x518/0xc20 [ 30.447496][ T677] console_unlock+0xee/0x1f0 [ 30.447499][ T677] ? console_flush_one_record+0x710/0x710 [ 30.447501][ T677] ? rcu_is_watching+0x16/0xd0 [ 30.447504][ T677] ? lock_acquire+0x60/0x160 [ 30.447507][ T677] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.447509][ T677] ? vprintk_emit+0x320/0x3e0 [ 30.447512][ T677] vprintk_emit+0x37c/0x3e0 [ 30.447516][ T677] ? wake_up_klogd_work_func+0x90/0x90 [ 30.447520][ T677] ? __lock_acquire+0x518/0xc20 [ 30.447524][ T677] _printk+0xc7/0x100 [ 30.447528][ T677] ? snapshot_read.cold+0x21/0x21 [ 30.447531][ T677] ? do_raw_spin_lock+0x131/0x280 [ 30.447533][ T677] ? __rwlock_init+0x150/0x150 [ 30.447537][ T677] ? do_raw_spin_lock+0x131/0x280 [ 30.447540][ T677] do_exit.cold+0x82/0x9c [ 30.447544][ T677] ? exit_notify+0x890/0x890 [ 30.447549][ T677] __x64_sys_exit+0x42/0x50 [ 30.447551][ T677] x64_sys_call+0x156c/0x1570 [ 30.447553][ T677] do_syscall_64+0xff/0x530 [ 30.447558][ T677] ? exc_page_fault+0xee/0x100 [ 30.447560][ T677] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.447563][ T677] RIP: 0033:0x7f1bead32c49 [ 30.447565][ T677] Code: Unable to access opcode bytes at 0x7f1bead32c1f. [ 30.447566][ T677] RSP: 002b:00007f1bea4f1e60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 30.447569][ T677] RAX: ffffffffffffffda RBX: 00007f1bea4f26c0 RCX: 00007f1bead32c49 [ 30.447570][ T677] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 30.447571][ T677] RBP: 00007f1bea4f1f70 R08: 0000000000000001 R09: 00007f1bea4f26c0 [ 30.447572][ T677] R10: 0000000000000008 R11: 0000000000000246 R12: 00007f1be9cf2000 [ 30.447573][ T677] R13: 00007ffd1f5e3450 R14: 0000000000000002 R15: 00007ffd1f5e3557 [ 30.447579][ T677] [ 32.570684][ T772] tun0: deleting peer with id 1, reason 1 [ 32.570863][ T772] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 32.570865][ T772] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 772, name: ovpn-cli [ 32.570867][ T772] preempt_count: 202, expected: 0 [ 32.570868][ T772] RCU nest depth: 0, expected: 0 [ 32.570868][ T772] locks held by ovpn-cli/772: 6, last CPU#2: [ 32.570871][ T772] #0: ffffffffb2d44ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 32.570883][ T772] #1: ff11000009f5ce68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 32.570891][ T772] #2: ffffffffb2579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 32.570904][ T772] #3: ffffffffb2579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 32.570907][ T772] #4: ffffffffb2499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 32.570911][ T772] #5: ffffffffb2499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 32.570915][ T772] irq event stamp: 36875 [ 32.570916][ T772] hardirqs last enabled at (36874): [] __down_trylock_console_sem+0x86/0xa0 [ 32.570918][ T772] hardirqs last disabled at (36875): [] console_emit_next_record+0x3d4/0x4c0 [ 32.570920][ T772] softirqs last enabled at (36842): [] __alloc_skb+0x4c2/0x5f0 [ 32.570924][ T772] softirqs last disabled at (36870): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 32.570927][ T772] Preemption disabled at: [ 32.570928][ T772] [<0000000000000000>] 0x0 [ 32.570934][ T772] CPU: 2 UID: 0 PID: 772 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 32.570938][ T772] Tainted: [W]=WARN [ 32.570939][ T772] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 32.570940][ T772] Call Trace: [ 32.570942][ T772] [ 32.570944][ T772] dump_stack_lvl+0x6f/0xa0 [ 32.570950][ T772] __might_resched.cold+0x1fe/0x2c1 [ 32.570955][ T772] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 32.570959][ T772] ? __kmalloc_noprof+0xdb/0x760 [ 32.570964][ T772] __kmalloc_noprof+0x443/0x760 [ 32.570966][ T772] ? alloc_buf.isra.0+0x4b/0x260 [ 32.570972][ T772] ? do_raw_spin_unlock+0x59/0x250 [ 32.570975][ T772] alloc_buf.isra.0+0x4b/0x260 [ 32.570978][ T772] put_chars+0x1e1/0x2f0 [ 32.570981][ T772] ? __send_to_port+0x420/0x420 [ 32.570982][ T772] ? check_prev_add+0x316/0xe90 [ 32.570986][ T772] ? validate_chain+0x34a/0xc20 [ 32.570990][ T772] hvc_console_print+0x292/0x780 [ 32.570993][ T772] ? mark_usage+0x61/0x170 [ 32.570995][ T772] ? __lock_acquire+0x518/0xc20 [ 32.570997][ T772] ? __lock_acquire+0x518/0xc20 [ 32.571001][ T772] ? hvc_write+0x3a0/0x3a0 [ 32.571002][ T772] ? lock_acquire.part.0+0xd4/0x280 [ 32.571006][ T772] ? lock_acquire+0x13c/0x160 [ 32.571010][ T772] console_emit_next_record+0x22f/0x4c0 [ 32.571014][ T772] ? devkmsg_read+0x4b0/0x4b0 [ 32.571016][ T772] ? console_flush_one_record+0x106/0x710 [ 32.571019][ T772] ? rcu_is_watching+0x16/0xd0 [ 32.571023][ T772] ? lock_acquire+0x13c/0x160 [ 32.571027][ T772] console_flush_one_record+0x46f/0x710 [ 32.571031][ T772] ? console_emit_next_record+0x4c0/0x4c0 [ 32.571032][ T772] ? __lock_acquire+0x518/0xc20 [ 32.571037][ T772] console_unlock+0xee/0x1f0 [ 32.571040][ T772] ? console_flush_one_record+0x710/0x710 [ 32.571042][ T772] ? rcu_is_watching+0x16/0xd0 [ 32.571044][ T772] ? lock_acquire+0x60/0x160 [ 32.571048][ T772] ? __down_trylock_console_sem+0x5e/0xa0 [ 32.571050][ T772] ? vprintk_emit+0x320/0x3e0 [ 32.571053][ T772] vprintk_emit+0x37c/0x3e0 [ 32.571056][ T772] ? wake_up_klogd_work_func+0x90/0x90 [ 32.571058][ T772] ? kernel_text_address+0x149/0x170 [ 32.571061][ T772] ? __kernel_text_address+0x12/0x30 [ 32.571063][ T772] ? write_profile+0xf0/0xf0 [ 32.571065][ T772] ? unwind_get_return_address+0x67/0xd0 [ 32.571070][ T772] _printk+0xc7/0x100 [ 32.571074][ T772] ? snapshot_read.cold+0x21/0x21 [ 32.571078][ T772] ? mark_usage+0x61/0x170 [ 32.571079][ T772] ? netdev_name+0x43/0x60 [ 32.571082][ T772] ? __netdev_printk+0x17f/0x1d0 [ 32.571086][ T772] netdev_info+0xe2/0x116 [ 32.571088][ T772] ? netdev_notice+0x120/0x120 [ 32.571089][ T772] ? find_held_lock+0x2b/0x80 [ 32.571092][ T772] ? mark_usage+0x61/0x170 [ 32.571095][ T772] ? __lock_acquire+0x518/0xc20 [ 32.571100][ T772] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 32.571105][ T772] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 32.571109][ T772] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 32.571114][ T772] ovpn_peer_remove+0x394/0x640 [ovpn] [ 32.571118][ T772] ? do_raw_spin_lock+0x131/0x280 [ 32.571120][ T772] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 32.571127][ T772] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 32.571130][ T772] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 32.571137][ T772] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 32.571140][ T772] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 32.571144][ T772] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 32.571146][ T772] ? ref_tracker_alloc+0x28d/0x430 [ 32.571157][ T772] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 32.571161][ T772] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 32.571167][ T772] genl_family_rcv_msg_doit+0x206/0x300 [ 32.571170][ T772] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 32.571172][ T772] ? __lock_release.isra.0+0x69/0x1a0 [ 32.571178][ T772] ? rcu_is_watching+0x16/0xd0 [ 32.571180][ T772] ? cap_capable+0x1d7/0x3d0 [ 32.571184][ T772] ? write_profile+0xf0/0xf0 [ 32.571185][ T772] ? unwind_get_return_address+0x67/0xd0 [ 32.571189][ T772] genl_family_rcv_msg+0x3a4/0x640 [ 32.571192][ T772] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 32.571195][ T772] ? rcu_read_lock_any_held+0x3c/0x90 [ 32.571197][ T772] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 32.571200][ T772] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 32.571202][ T772] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 32.571205][ T772] ? __lock_acquire+0x518/0xc20 [ 32.571211][ T772] genl_rcv_msg+0xbb/0x160 [ 32.571214][ T772] netlink_rcv_skb+0x14e/0x3a0 [ 32.571216][ T772] ? genl_family_rcv_msg+0x640/0x640 [ 32.571220][ T772] ? netlink_ack+0xcf0/0xcf0 [ 32.571226][ T772] ? netlink_deliver_tap+0xc5/0x330 [ 32.571229][ T772] ? netlink_deliver_tap+0x13c/0x330 [ 32.571233][ T772] genl_rcv+0x28/0x40 [ 32.571235][ T772] netlink_unicast+0x486/0x750 [ 32.571239][ T772] ? netlink_attachskb+0x810/0x810 [ 32.571242][ T772] ? __lock_acquire+0x518/0xc20 [ 32.571246][ T772] netlink_sendmsg+0x735/0xc60 [ 32.571250][ T772] ? netlink_unicast+0x750/0x750 [ 32.571254][ T772] ? __might_fault+0x97/0x140 [ 32.571259][ T772] ____sys_sendmsg+0x415/0x880 [ 32.571263][ T772] ? copy_msghdr_from_user+0x279/0x420 [ 32.571265][ T772] ? get_timestamp.constprop.0+0x390/0x390 [ 32.571267][ T772] ? move_addr_to_kernel+0x40/0x40 [ 32.571274][ T772] ___sys_sendmsg+0x14e/0x1d0 [ 32.571277][ T772] ? copy_msghdr_from_user+0x420/0x420 [ 32.571279][ T772] ? kfree+0x22/0x590 [ 32.571294][ T772] __sys_sendmsg+0x12c/0x1d0 [ 32.571297][ T772] ? __sys_sendmsg_sock+0x20/0x20 [ 32.571302][ T772] ? rcu_is_watching+0x16/0xd0 [ 32.571305][ T772] ? rcu_is_watching+0x16/0xd0 [ 32.571308][ T772] do_syscall_64+0xff/0x530 [ 32.571312][ T772] ? exc_page_fault+0xee/0x100 [ 32.571314][ T772] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 32.571316][ T772] RIP: 0033:0x7f528892954e [ 32.571319][ T772] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 32.571321][ T772] RSP: 002b:00007ffd5cfc0180 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 32.571323][ T772] RAX: ffffffffffffffda RBX: 0000000018db0130 RCX: 00007f528892954e [ 32.571325][ T772] RDX: 0000000000000000 RSI: 00007ffd5cfc0220 RDI: 0000000000000005 [ 32.571326][ T772] RBP: 00007ffd5cfc0190 R08: 0000000000000000 R09: 0000000000000000 [ 32.571326][ T772] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000018db0200 [ 32.571327][ T772] R13: 00007ffd5cfc0220 R14: 0000000018db1260 R15: 000000000040bda8 [ 32.571334][ T772] [ 32.649599][ T772] ovpn-cli (772) used greatest stack depth: 23528 bytes left [ 32.724058][ T776] tun1: deleting peer with id 10, reason 1 [ 35.737488][ T824] tun0: deleting peer with id 2, reason 1 [ 35.737511][ T824] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 35.737513][ T824] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 824, name: ovpn-cli [ 35.737515][ T824] preempt_count: 202, expected: 0 [ 35.737516][ T824] RCU nest depth: 0, expected: 0 [ 35.737517][ T824] locks held by ovpn-cli/824: 6, last CPU#0: [ 35.737519][ T824] #0: ffffffffb2d44ba8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 35.737532][ T824] #1: ff11000009f5ce68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 35.737540][ T824] #2: ffffffffb2579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 35.737548][ T824] #3: ffffffffb2579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 35.737551][ T824] #4: ffffffffb2499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 35.737555][ T824] #5: ffffffffb2499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 35.737560][ T824] irq event stamp: 25999 [ 35.737561][ T824] hardirqs last enabled at (25998): [] __down_trylock_console_sem+0x86/0xa0 [ 35.737564][ T824] hardirqs last disabled at (25999): [] console_emit_next_record+0x3d4/0x4c0 [ 35.737566][ T824] softirqs last enabled at (25966): [] __alloc_skb+0x4c2/0x5f0 [ 35.737570][ T824] softirqs last disabled at (25994): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 35.737574][ T824] Preemption disabled at: [ 35.737575][ T824] [<0000000000000000>] 0x0 [ 35.737583][ T824] CPU: 0 UID: 0 PID: 824 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 35.737586][ T824] Tainted: [W]=WARN [ 35.737587][ T824] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 35.737589][ T824] Call Trace: [ 35.737591][ T824] [ 35.737592][ T824] dump_stack_lvl+0x6f/0xa0 [ 35.737599][ T824] __might_resched.cold+0x1fe/0x2c1 [ 35.737604][ T824] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 35.737609][ T824] ? __kmalloc_noprof+0xdb/0x760 [ 35.737614][ T824] __kmalloc_noprof+0x443/0x760 [ 35.737616][ T824] ? alloc_buf.isra.0+0x4b/0x260 [ 35.737622][ T824] ? do_raw_spin_unlock+0x59/0x250 [ 35.737625][ T824] alloc_buf.isra.0+0x4b/0x260 [ 35.737629][ T824] put_chars+0x1e1/0x2f0 [ 35.737632][ T824] ? __send_to_port+0x420/0x420 [ 35.737635][ T824] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 35.737639][ T824] ? rcu_read_lock_any_held+0x3c/0x90 [ 35.737642][ T824] ? validate_chain+0x38b/0xc20 [ 35.737646][ T824] hvc_console_print+0x292/0x780 [ 35.737649][ T824] ? mark_usage+0x61/0x170 [ 35.737651][ T824] ? __lock_acquire+0x518/0xc20 [ 35.737653][ T824] ? __lock_acquire+0x518/0xc20 [ 35.737657][ T824] ? hvc_write+0x3a0/0x3a0 [ 35.737658][ T824] ? lock_acquire.part.0+0xd4/0x280 [ 35.737663][ T824] ? lock_acquire+0x13c/0x160 [ 35.737667][ T824] console_emit_next_record+0x22f/0x4c0 [ 35.737673][ T824] ? devkmsg_read+0x4b0/0x4b0 [ 35.737676][ T824] ? console_flush_one_record+0x106/0x710 [ 35.737679][ T824] ? rcu_is_watching+0x16/0xd0 [ 35.737682][ T824] ? lock_acquire+0x13c/0x160 [ 35.737685][ T824] console_flush_one_record+0x46f/0x710 [ 35.737690][ T824] ? console_emit_next_record+0x4c0/0x4c0 [ 35.737691][ T824] ? __lock_acquire+0x518/0xc20 [ 35.737697][ T824] console_unlock+0xee/0x1f0 [ 35.737700][ T824] ? console_flush_one_record+0x710/0x710 [ 35.737702][ T824] ? rcu_is_watching+0x16/0xd0 [ 35.737704][ T824] ? lock_acquire+0x60/0x160 [ 35.737708][ T824] ? __down_trylock_console_sem+0x5e/0xa0 [ 35.737709][ T824] ? vprintk_emit+0x320/0x3e0 [ 35.737713][ T824] vprintk_emit+0x37c/0x3e0 [ 35.737717][ T824] ? wake_up_klogd_work_func+0x90/0x90 [ 35.737718][ T824] ? kernel_text_address+0x149/0x170 [ 35.737724][ T824] ? __kernel_text_address+0x12/0x30 [ 35.737726][ T824] ? write_profile+0xf0/0xf0 [ 35.737728][ T824] ? unwind_get_return_address+0x67/0xd0 [ 35.737734][ T824] _printk+0xc7/0x100 [ 35.737737][ T824] ? snapshot_read.cold+0x21/0x21 [ 35.737742][ T824] ? mark_usage+0x61/0x170 [ 35.737743][ T824] ? netdev_name+0x43/0x60 [ 35.737746][ T824] ? __netdev_printk+0x17f/0x1d0 [ 35.737750][ T824] netdev_info+0xe2/0x116 [ 35.737752][ T824] ? netdev_notice+0x120/0x120 [ 35.737754][ T824] ? find_held_lock+0x2b/0x80 [ 35.737756][ T824] ? mark_usage+0x61/0x170 [ 35.737759][ T824] ? __lock_acquire+0x518/0xc20 [ 35.737765][ T824] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 35.737773][ T824] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 35.737778][ T824] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 35.737783][ T824] ovpn_peer_remove+0x394/0x640 [ovpn] [ 35.737787][ T824] ? do_raw_spin_lock+0x131/0x280 [ 35.737789][ T824] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 35.737796][ T824] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 35.737800][ T824] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 35.737806][ T824] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 35.737810][ T824] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 35.737814][ T824] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 35.737817][ T824] ? ref_tracker_alloc+0x28d/0x430 [ 35.737827][ T824] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 35.737832][ T824] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 35.737837][ T824] genl_family_rcv_msg_doit+0x206/0x300 [ 35.737841][ T824] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 35.737843][ T824] ? __lock_release.isra.0+0x69/0x1a0 [ 35.737849][ T824] ? rcu_is_watching+0x16/0xd0 [ 35.737851][ T824] ? cap_capable+0x1d7/0x3d0 [ 35.737855][ T824] ? write_profile+0xf0/0xf0 [ 35.737857][ T824] ? unwind_get_return_address+0x67/0xd0 [ 35.737860][ T824] genl_family_rcv_msg+0x3a4/0x640 [ 35.737866][ T824] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 35.737870][ T824] ? rcu_read_lock_any_held+0x3c/0x90 [ 35.737872][ T824] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 35.737875][ T824] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 35.737877][ T824] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 35.737881][ T824] ? __lock_acquire+0x518/0xc20 [ 35.737887][ T824] genl_rcv_msg+0xbb/0x160 [ 35.737891][ T824] netlink_rcv_skb+0x14e/0x3a0 [ 35.737893][ T824] ? genl_family_rcv_msg+0x640/0x640 [ 35.737896][ T824] ? netlink_ack+0xcf0/0xcf0 [ 35.737908][ T824] ? netlink_deliver_tap+0xc5/0x330 [ 35.737911][ T824] ? netlink_deliver_tap+0x13c/0x330 [ 35.737915][ T824] genl_rcv+0x28/0x40 [ 35.737917][ T824] netlink_unicast+0x486/0x750 [ 35.737921][ T824] ? netlink_attachskb+0x810/0x810 [ 35.737924][ T824] ? __lock_acquire+0x518/0xc20 [ 35.737928][ T824] netlink_sendmsg+0x735/0xc60 [ 35.737933][ T824] ? netlink_unicast+0x750/0x750 [ 35.737937][ T824] ? __might_fault+0x97/0x140 [ 35.737943][ T824] ____sys_sendmsg+0x415/0x880 [ 35.737946][ T824] ? copy_msghdr_from_user+0x279/0x420 [ 35.737949][ T824] ? get_timestamp.constprop.0+0x390/0x390 [ 35.737951][ T824] ? move_addr_to_kernel+0x40/0x40 [ 35.737958][ T824] ___sys_sendmsg+0x14e/0x1d0 [ 35.737961][ T824] ? copy_msghdr_from_user+0x420/0x420 [ 35.737963][ T824] ? kfree+0x22/0x590 [ 35.737982][ T824] __sys_sendmsg+0x12c/0x1d0 [ 35.737985][ T824] ? __sys_sendmsg_sock+0x20/0x20 [ 35.737991][ T824] ? rcu_is_watching+0x16/0xd0 [ 35.737994][ T824] ? rcu_is_watching+0x16/0xd0 [ 35.737997][ T824] do_syscall_64+0xff/0x530 [ 35.738001][ T824] ? exc_page_fault+0xee/0x100 [ 35.738004][ T824] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 35.738006][ T824] RIP: 0033:0x7efec194754e [ 35.738008][ T824] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 35.738010][ T824] RSP: 002b:00007ffead89a440 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 35.738013][ T824] RAX: ffffffffffffffda RBX: 00000000224d5130 RCX: 00007efec194754e [ 35.738014][ T824] RDX: 0000000000000000 RSI: 00007ffead89a4e0 RDI: 0000000000000005 [ 35.738015][ T824] RBP: 00007ffead89a450 R08: 0000000000000000 R09: 0000000000000000 [ 35.738016][ T824] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000224d5200 [ 35.738017][ T824] R13: 00007ffead89a4e0 R14: 00000000224d6260 R15: 000000000040bda8 [ 35.738024][ T824] [ 35.874349][ T828] tun2: deleting peer with id 11, reason 1 [ 41.173952][ T57] tun0: deleting peer with id 4, reason 2 [ 41.174033][ T57] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 41.174036][ T57] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 57, name: kworker/3:1 [ 41.174038][ T57] preempt_count: 202, expected: 0 [ 41.174039][ T57] RCU nest depth: 0, expected: 0 [ 41.174040][ T57] locks held by kworker/3:1/57: 7, last CPU#3: [ 41.174042][ T57] #0: ff1100000b12ef40 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 41.174054][ T57] #1: ffa00000003dfd10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 41.174058][ T57] #2: ff11000009f5ce68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 41.174067][ T57] #3: ffffffffb2579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 41.174072][ T57] #4: ffffffffb2579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 41.174077][ T57] #5: ffffffffb2499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 41.174083][ T57] #6: ffffffffb2499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 41.174087][ T57] irq event stamp: 40409 [ 41.174088][ T57] hardirqs last enabled at (40408): [] __down_trylock_console_sem+0x86/0xa0 [ 41.174090][ T57] hardirqs last disabled at (40409): [] console_emit_next_record+0x3d4/0x4c0 [ 41.174092][ T57] softirqs last enabled at (40270): [] handle_softirqs+0x67c/0x900 [ 41.174095][ T57] softirqs last disabled at (40402): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 41.174099][ T57] Preemption disabled at: [ 41.174100][ T57] [<0000000000000000>] 0x0 [ 41.174108][ T57] CPU: 3 UID: 0 PID: 57 Comm: kworker/3:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 41.174112][ T57] Tainted: [W]=WARN [ 41.174113][ T57] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 41.174115][ T57] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 41.174119][ T57] Call Trace: [ 41.174121][ T57] [ 41.174124][ T57] dump_stack_lvl+0x6f/0xa0 [ 41.174131][ T57] __might_resched.cold+0x1fe/0x2c1 [ 41.174135][ T57] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 41.174140][ T57] ? __kmalloc_noprof+0xdb/0x760 [ 41.174145][ T57] __kmalloc_noprof+0x443/0x760 [ 41.174148][ T57] ? alloc_buf.isra.0+0x4b/0x260 [ 41.174154][ T57] ? do_raw_spin_unlock+0x59/0x250 [ 41.174157][ T57] alloc_buf.isra.0+0x4b/0x260 [ 41.174161][ T57] put_chars+0x1e1/0x2f0 [ 41.174164][ T57] ? __send_to_port+0x420/0x420 [ 41.174168][ T57] ? validate_chain+0x34a/0xc20 [ 41.174172][ T57] hvc_console_print+0x292/0x780 [ 41.174176][ T57] ? mark_usage+0x61/0x170 [ 41.174178][ T57] ? __lock_acquire+0x518/0xc20 [ 41.174179][ T57] ? __lock_acquire+0x518/0xc20 [ 41.174183][ T57] ? hvc_write+0x3a0/0x3a0 [ 41.174186][ T57] ? console_emit_next_record+0x1df/0x4c0 [ 41.174189][ T57] ? rcu_is_watching+0x16/0xd0 [ 41.174193][ T57] ? lock_acquire+0x13c/0x160 [ 41.174197][ T57] console_emit_next_record+0x22f/0x4c0 [ 41.174201][ T57] ? devkmsg_read+0x4b0/0x4b0 [ 41.174203][ T57] ? console_flush_one_record+0x106/0x710 [ 41.174207][ T57] ? rcu_is_watching+0x16/0xd0 [ 41.174209][ T57] ? lock_acquire+0x13c/0x160 [ 41.174213][ T57] console_flush_one_record+0x46f/0x710 [ 41.174218][ T57] ? console_emit_next_record+0x4c0/0x4c0 [ 41.174219][ T57] ? __lock_acquire+0x518/0xc20 [ 41.174225][ T57] console_unlock+0xee/0x1f0 [ 41.174228][ T57] ? console_flush_one_record+0x710/0x710 [ 41.174230][ T57] ? rcu_is_watching+0x16/0xd0 [ 41.174232][ T57] ? lock_acquire+0x60/0x160 [ 41.174236][ T57] ? __down_trylock_console_sem+0x5e/0xa0 [ 41.174238][ T57] ? vprintk_emit+0x320/0x3e0 [ 41.174241][ T57] vprintk_emit+0x37c/0x3e0 [ 41.174245][ T57] ? wake_up_klogd_work_func+0x90/0x90 [ 41.174249][ T57] ? __lock_release.isra.0+0x69/0x1a0 [ 41.174250][ T57] ? rcu_is_watching+0x16/0xd0 [ 41.174254][ T57] _printk+0xc7/0x100 [ 41.174258][ T57] ? snapshot_read.cold+0x21/0x21 [ 41.174261][ T57] ? __add_to_free_list+0x81/0x5c0 [ 41.174264][ T57] ? __mod_zone_page_state+0xe1/0x190 [ 41.174268][ T57] ? netdev_name+0x43/0x60 [ 41.174271][ T57] ? __netdev_printk+0x17f/0x1d0 [ 41.174274][ T57] netdev_info+0xe2/0x116 [ 41.174277][ T57] ? netdev_notice+0x120/0x120 [ 41.174278][ T57] ? rcu_read_lock_any_held+0x3c/0x90 [ 41.174284][ T57] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 41.174287][ T57] ? rcu_read_lock_any_held+0x3c/0x90 [ 41.174291][ T57] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 41.174297][ T57] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 41.174304][ T57] ovpn_peer_remove+0x394/0x640 [ovpn] [ 41.174309][ T57] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 41.174312][ T57] ? __rwlock_init+0x150/0x150 [ 41.174314][ T57] ? mark_held_locks+0x40/0x70 [ 41.174319][ T57] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 41.174323][ T57] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 41.174326][ T57] ? __rwlock_init+0x150/0x150 [ 41.174331][ T57] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 41.174336][ T57] ? process_one_work+0xdfc/0x1560 [ 41.174339][ T57] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 41.174343][ T57] ? rcu_is_watching+0x16/0xd0 [ 41.174345][ T57] ? lock_acquire+0x13c/0x160 [ 41.174347][ T57] ? rcu_is_watching+0x16/0xd0 [ 41.174351][ T57] process_one_work+0xe3e/0x1560 [ 41.174359][ T57] ? __queue_delayed_work+0x470/0x470 [ 41.174364][ T57] ? lock_acquire.part.0+0xd4/0x280 [ 41.174373][ T57] worker_thread+0x4f1/0xd60 [ 41.174377][ T57] ? rescuer_thread+0x1340/0x1340 [ 41.174379][ T57] ? __kthread_parkme+0xbd/0x210 [ 41.174383][ T57] ? rescuer_thread+0x1340/0x1340 [ 41.174386][ T57] ? rescuer_thread+0x1340/0x1340 [ 41.174388][ T57] kthread+0x367/0x460 [ 41.174390][ T57] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 41.174393][ T57] ? kthread_affine_preferred+0x4c0/0x4c0 [ 41.174396][ T57] ret_from_fork+0x474/0x6b0 [ 41.174401][ T57] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 41.174404][ T57] ? __switch_to+0x5a3/0xe00 [ 41.174407][ T57] ? kthread_affine_preferred+0x4c0/0x4c0 [ 41.174410][ T57] ret_from_fork_asm+0x11/0x20 [ 41.174419][ T57] [ 41.207940][ T57] tun0: deleting peer with id 3, reason 2 [ 41.208303][ T57] tun0: deleting peer with id 5, reason 2 [ 42.261011][ T57] tun0: deleting peer with id 6, reason 2 [ 42.261034][ T57] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 42.261036][ T57] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 57, name: kworker/3:1 [ 42.261038][ T57] preempt_count: 202, expected: 0 [ 42.261039][ T57] RCU nest depth: 0, expected: 0 [ 42.261040][ T57] locks held by kworker/3:1/57: 7, last CPU#3: [ 42.261042][ T57] #0: ff1100000b12ef40 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 42.261058][ T57] #1: ffa00000003dfd10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 42.261062][ T57] #2: ff11000009f5ce68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 42.261072][ T57] #3: ffffffffb2579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 42.261077][ T57] #4: ffffffffb2579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 42.261080][ T57] #5: ffffffffb2499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 42.261084][ T57] #6: ffffffffb2499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 42.261089][ T57] irq event stamp: 41573 [ 42.261089][ T57] hardirqs last enabled at (41572): [] __down_trylock_console_sem+0x86/0xa0 [ 42.261092][ T57] hardirqs last disabled at (41573): [] console_emit_next_record+0x3d4/0x4c0 [ 42.261094][ T57] softirqs last enabled at (41030): [] ovpn_peer_release+0x37/0xe0 [ovpn] [ 42.261098][ T57] softirqs last disabled at (41566): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 42.261102][ T57] Preemption disabled at: [ 42.261103][ T57] [<0000000000000000>] 0x0 [ 42.261109][ T57] CPU: 3 UID: 0 PID: 57 Comm: kworker/3:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 42.261113][ T57] Tainted: [W]=WARN [ 42.261114][ T57] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 42.261116][ T57] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 42.261120][ T57] Call Trace: [ 42.261122][ T57] [ 42.261125][ T57] dump_stack_lvl+0x6f/0xa0 [ 42.261132][ T57] __might_resched.cold+0x1fe/0x2c1 [ 42.261136][ T57] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 42.261141][ T57] ? __kmalloc_noprof+0xdb/0x760 [ 42.261146][ T57] __kmalloc_noprof+0x443/0x760 [ 42.261149][ T57] ? alloc_buf.isra.0+0x4b/0x260 [ 42.261155][ T57] ? do_raw_spin_unlock+0x59/0x250 [ 42.261158][ T57] alloc_buf.isra.0+0x4b/0x260 [ 42.261161][ T57] put_chars+0x1e1/0x2f0 [ 42.261164][ T57] ? prb_final_commit+0x50/0x50 [ 42.261166][ T57] ? __send_to_port+0x420/0x420 [ 42.261169][ T57] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 42.261174][ T57] ? rcu_read_lock_any_held+0x3c/0x90 [ 42.261176][ T57] ? validate_chain+0x38b/0xc20 [ 42.261180][ T57] hvc_console_print+0x292/0x780 [ 42.261183][ T57] ? mark_usage+0x61/0x170 [ 42.261185][ T57] ? __lock_acquire+0x518/0xc20 [ 42.261187][ T57] ? __lock_acquire+0x518/0xc20 [ 42.261191][ T57] ? hvc_write+0x3a0/0x3a0 [ 42.261193][ T57] ? console_emit_next_record+0x1df/0x4c0 [ 42.261196][ T57] ? rcu_is_watching+0x16/0xd0 [ 42.261199][ T57] ? lock_acquire+0x13c/0x160 [ 42.261203][ T57] console_emit_next_record+0x22f/0x4c0 [ 42.261207][ T57] ? devkmsg_read+0x4b0/0x4b0 [ 42.261209][ T57] ? console_flush_one_record+0x106/0x710 [ 42.261212][ T57] ? rcu_is_watching+0x16/0xd0 [ 42.261214][ T57] ? lock_acquire+0x13c/0x160 [ 42.261218][ T57] console_flush_one_record+0x46f/0x710 [ 42.261222][ T57] ? console_emit_next_record+0x4c0/0x4c0 [ 42.261224][ T57] ? __lock_acquire+0x518/0xc20 [ 42.261230][ T57] console_unlock+0xee/0x1f0 [ 42.261233][ T57] ? console_flush_one_record+0x710/0x710 [ 42.261234][ T57] ? rcu_is_watching+0x16/0xd0 [ 42.261237][ T57] ? lock_acquire+0x60/0x160 [ 42.261241][ T57] ? __down_trylock_console_sem+0x5e/0xa0 [ 42.261242][ T57] ? vprintk_emit+0x320/0x3e0 [ 42.261246][ T57] vprintk_emit+0x37c/0x3e0 [ 42.261249][ T57] ? wake_up_klogd_work_func+0x90/0x90 [ 42.261253][ T57] ? __lock_release.isra.0+0x69/0x1a0 [ 42.261254][ T57] ? rcu_is_watching+0x16/0xd0 [ 42.261258][ T57] _printk+0xc7/0x100 [ 42.261262][ T57] ? snapshot_read.cold+0x21/0x21 [ 42.261265][ T57] ? __add_to_free_list+0x81/0x5c0 [ 42.261268][ T57] ? __mod_zone_page_state+0xe1/0x190 [ 42.261272][ T57] ? netdev_name+0x43/0x60 [ 42.261275][ T57] ? __netdev_printk+0x17f/0x1d0 [ 42.261278][ T57] netdev_info+0xe2/0x116 [ 42.261281][ T57] ? netdev_notice+0x120/0x120 [ 42.261282][ T57] ? rcu_read_lock_any_held+0x3c/0x90 [ 42.261289][ T57] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 42.261293][ T57] ? rcu_read_lock_any_held+0x3c/0x90 [ 42.261298][ T57] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 42.261303][ T57] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 42.261310][ T57] ovpn_peer_remove+0x394/0x640 [ovpn] [ 42.261314][ T57] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 42.261317][ T57] ? __rwlock_init+0x150/0x150 [ 42.261319][ T57] ? mark_held_locks+0x40/0x70 [ 42.261324][ T57] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 42.261328][ T57] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 42.261331][ T57] ? __rwlock_init+0x150/0x150 [ 42.261337][ T57] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 42.261341][ T57] ? process_one_work+0xdfc/0x1560 [ 42.261344][ T57] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 42.261347][ T57] ? rcu_is_watching+0x16/0xd0 [ 42.261349][ T57] ? lock_acquire+0x13c/0x160 [ 42.261351][ T57] ? rcu_is_watching+0x16/0xd0 [ 42.261355][ T57] process_one_work+0xe3e/0x1560 [ 42.261362][ T57] ? __queue_delayed_work+0x470/0x470 [ 42.261365][ T57] ? lock_acquire.part.0+0xd4/0x280 [ 42.261373][ T57] worker_thread+0x4f1/0xd60 [ 42.261377][ T57] ? rescuer_thread+0x1340/0x1340 [ 42.261379][ T57] ? __kthread_parkme+0xbd/0x210 [ 42.261383][ T57] ? rescuer_thread+0x1340/0x1340 [ 42.261386][ T57] ? rescuer_thread+0x1340/0x1340 [ 42.261388][ T57] kthread+0x367/0x460 [ 42.261390][ T57] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 42.261393][ T57] ? kthread_affine_preferred+0x4c0/0x4c0 [ 42.261396][ T57] ret_from_fork+0x474/0x6b0 [ 42.261401][ T57] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 42.261406][ T57] ? __switch_to+0x5a3/0xe00 [ 42.261410][ T57] ? kthread_affine_preferred+0x4c0/0x4c0 [ 42.261413][ T57] ret_from_fork_asm+0x11/0x20 [ 42.261422][ T57] [ 47.381365][ T10] tun3: deleting peer with id 12, reason 2 [ 47.381390][ T10] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 47.381392][ T10] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 [ 47.381394][ T10] preempt_count: 202, expected: 0 [ 47.381395][ T10] RCU nest depth: 0, expected: 0 [ 47.381396][ T10] locks held by kworker/0:1/10: 7, last CPU#0: [ 47.381398][ T10] #0: ff1100000b12ef40 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 47.381411][ T10] #1: ffa00000000a7d10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 47.381415][ T10] #2: ff1100000a4dce68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 47.381423][ T10] #3: ffffffffb2579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 47.381428][ T10] #4: ffffffffb2579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 47.381432][ T10] #5: ffffffffb2499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 47.381435][ T10] #6: ffffffffb2499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 47.381439][ T10] irq event stamp: 25183 [ 47.381440][ T10] hardirqs last enabled at (25182): [] __down_trylock_console_sem+0x86/0xa0 [ 47.381443][ T10] hardirqs last disabled at (25183): [] console_emit_next_record+0x3d4/0x4c0 [ 47.381445][ T10] softirqs last enabled at (24804): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 47.381448][ T10] softirqs last disabled at (25172): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 47.381452][ T10] Preemption disabled at: [ 47.381452][ T10] [<0000000000000000>] 0x0 [ 47.381460][ T10] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 47.381463][ T10] Tainted: [W]=WARN [ 47.381464][ T10] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 47.381466][ T10] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 47.381471][ T10] Call Trace: [ 47.381472][ T10] [ 47.381474][ T10] dump_stack_lvl+0x6f/0xa0 [ 47.381480][ T10] __might_resched.cold+0x1fe/0x2c1 [ 47.381485][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 47.381489][ T10] ? __kmalloc_noprof+0xdb/0x760 [ 47.381494][ T10] __kmalloc_noprof+0x443/0x760 [ 47.381497][ T10] ? alloc_buf.isra.0+0x4b/0x260 [ 47.381503][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 47.381505][ T10] alloc_buf.isra.0+0x4b/0x260 [ 47.381509][ T10] put_chars+0x1e1/0x2f0 [ 47.381511][ T10] ? prb_final_commit+0x50/0x50 [ 47.381513][ T10] ? __send_to_port+0x420/0x420 [ 47.381516][ T10] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 47.381521][ T10] ? rcu_read_lock_any_held+0x3c/0x90 [ 47.381523][ T10] ? validate_chain+0x38b/0xc20 [ 47.381526][ T10] hvc_console_print+0x292/0x780 [ 47.381530][ T10] ? mark_usage+0x61/0x170 [ 47.381532][ T10] ? __lock_acquire+0x518/0xc20 [ 47.381534][ T10] ? __lock_acquire+0x518/0xc20 [ 47.381537][ T10] ? hvc_write+0x3a0/0x3a0 [ 47.381540][ T10] ? console_emit_next_record+0x1df/0x4c0 [ 47.381543][ T10] ? rcu_is_watching+0x16/0xd0 [ 47.381545][ T10] ? lock_acquire+0x13c/0x160 [ 47.381549][ T10] console_emit_next_record+0x22f/0x4c0 [ 47.381553][ T10] ? devkmsg_read+0x4b0/0x4b0 [ 47.381554][ T10] ? console_flush_one_record+0x106/0x710 [ 47.381558][ T10] ? rcu_is_watching+0x16/0xd0 [ 47.381560][ T10] ? lock_acquire+0x13c/0x160 [ 47.381564][ T10] console_flush_one_record+0x46f/0x710 [ 47.381568][ T10] ? console_emit_next_record+0x4c0/0x4c0 [ 47.381570][ T10] ? __lock_acquire+0x518/0xc20 [ 47.381575][ T10] console_unlock+0xee/0x1f0 [ 47.381578][ T10] ? console_flush_one_record+0x710/0x710 [ 47.381579][ T10] ? rcu_is_watching+0x16/0xd0 [ 47.381582][ T10] ? lock_acquire+0x60/0x160 [ 47.381585][ T10] ? __down_trylock_console_sem+0x5e/0xa0 [ 47.381587][ T10] ? vprintk_emit+0x320/0x3e0 [ 47.381590][ T10] vprintk_emit+0x37c/0x3e0 [ 47.381594][ T10] ? wake_up_klogd_work_func+0x90/0x90 [ 47.381597][ T10] ? __lock_release.isra.0+0x69/0x1a0 [ 47.381601][ T10] _printk+0xc7/0x100 [ 47.381605][ T10] ? snapshot_read.cold+0x21/0x21 [ 47.381607][ T10] ? try_to_wake_up+0x153/0x1130 [ 47.381610][ T10] ? select_fallback_rq+0x510/0x510 [ 47.381612][ T10] ? netdev_name+0x43/0x60 [ 47.381615][ T10] ? __netdev_printk+0x17f/0x1d0 [ 47.381619][ T10] netdev_info+0xe2/0x116 [ 47.381621][ T10] ? netdev_notice+0x120/0x120 [ 47.381626][ T10] ? __queue_work+0x3ab/0xd30 [ 47.381632][ T10] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 47.381637][ T10] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 47.381640][ T10] ? mark_held_locks+0x40/0x70 [ 47.381643][ T10] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 47.381644][ T10] ? lockdep_hardirqs_on+0x91/0x130 [ 47.381650][ T10] ovpn_peer_remove+0x394/0x640 [ovpn] [ 47.381654][ T10] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 47.381656][ T10] ? __rwlock_init+0x150/0x150 [ 47.381659][ T10] ? mark_held_locks+0x40/0x70 [ 47.381663][ T10] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 47.381667][ T10] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 47.381670][ T10] ? __rwlock_init+0x150/0x150 [ 47.381675][ T10] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 47.381679][ T10] ? process_one_work+0xdfc/0x1560 [ 47.381682][ T10] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 47.381685][ T10] ? rcu_is_watching+0x16/0xd0 [ 47.381687][ T10] ? lock_acquire+0x13c/0x160 [ 47.381689][ T10] ? rcu_is_watching+0x16/0xd0 [ 47.381692][ T10] ? process_one_work+0xdfc/0x1560 [ 47.381694][ T10] process_one_work+0xe3e/0x1560 [ 47.381700][ T10] ? __queue_delayed_work+0x470/0x470 [ 47.381703][ T10] ? lock_acquire.part.0+0xd4/0x280 [ 47.381711][ T10] worker_thread+0x4f1/0xd60 [ 47.381715][ T10] ? rescuer_thread+0x1340/0x1340 [ 47.381717][ T10] ? __kthread_parkme+0xbd/0x210 [ 47.381723][ T10] ? rescuer_thread+0x1340/0x1340 [ 47.381726][ T10] ? rescuer_thread+0x1340/0x1340 [ 47.381728][ T10] kthread+0x367/0x460 [ 47.381730][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 47.381733][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 47.381735][ T10] ret_from_fork+0x474/0x6b0 [ 47.381739][ T10] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 47.381743][ T10] ? __switch_to+0x5a3/0xe00 [ 47.381746][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 47.381748][ T10] ret_from_fork_asm+0x11/0x20 [ 47.381757][ T10] [ 47.444796][ T65] tun4: deleting peer with id 13, reason 2 [ 47.572790][ T57] tun5: deleting peer with id 14, reason 2 [ 47.637777][ T65] tun6: deleting peer with id 15, reason 2