[ 14.459754][ T299] ip (299) used greatest stack depth: 24384 bytes left [ 14.459769][ T299] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.459770][ T299] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 299, name: ip [ 14.459772][ T299] preempt_count: 2, expected: 0 [ 14.459773][ T299] RCU nest depth: 0, expected: 0 [ 14.459774][ T299] locks held by ip/299: 5, last CPU#0: [ 14.459776][ T299] #0: ffffffffa58127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 14.459787][ T299] #1: ffffffffa5979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.459792][ T299] #2: ffffffffa5979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.459796][ T299] #3: ffffffffa5899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.459800][ T299] #4: ffffffffa5899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 14.459803][ T299] irq event stamp: 34922 [ 14.459804][ T299] hardirqs last enabled at (34921): [] __down_trylock_console_sem+0x86/0xa0 [ 14.459807][ T299] hardirqs last disabled at (34922): [] console_emit_next_record+0x3d4/0x4c0 [ 14.459809][ T299] softirqs last enabled at (33640): [] netlink_release+0x17b/0xcf0 [ 14.459813][ T299] softirqs last disabled at (33638): [] netlink_release+0xd2/0xcf0 [ 14.459815][ T299] Preemption disabled at: [ 14.459816][ T299] [<0000000000000000>] 0x0 [ 14.459823][ T299] CPU: 0 UID: 0 PID: 299 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.459826][ T299] Tainted: [W]=WARN [ 14.459827][ T299] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.459828][ T299] Call Trace: [ 14.459830][ T299] [ 14.459831][ T299] dump_stack_lvl+0x6f/0xa0 [ 14.459837][ T299] __might_resched.cold+0x1fe/0x2c1 [ 14.459841][ T299] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.459845][ T299] ? __kmalloc_noprof+0xdb/0x760 [ 14.459850][ T299] __kmalloc_noprof+0x443/0x760 [ 14.459852][ T299] ? alloc_buf.isra.0+0x4b/0x260 [ 14.459858][ T299] ? do_raw_spin_unlock+0x59/0x250 [ 14.459861][ T299] alloc_buf.isra.0+0x4b/0x260 [ 14.459864][ T299] put_chars+0x1e1/0x2f0 [ 14.459867][ T299] ? __send_to_port+0x420/0x420 [ 14.459868][ T299] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.459873][ T299] ? validate_chain+0x38b/0xc20 [ 14.459878][ T299] hvc_console_print+0x292/0x780 [ 14.459885][ T299] ? hvc_write+0x3a0/0x3a0 [ 14.459887][ T299] ? rcu_is_watching+0x16/0xd0 [ 14.459889][ T299] ? lock_acquire+0x13c/0x160 [ 14.459893][ T299] console_emit_next_record+0x22f/0x4c0 [ 14.459897][ T299] ? devkmsg_read+0x4b0/0x4b0 [ 14.459899][ T299] ? console_flush_one_record+0x106/0x710 [ 14.459902][ T299] ? rcu_is_watching+0x16/0xd0 [ 14.459904][ T299] ? lock_acquire+0x13c/0x160 [ 14.459908][ T299] console_flush_one_record+0x46f/0x710 [ 14.459912][ T299] ? console_emit_next_record+0x4c0/0x4c0 [ 14.459914][ T299] ? __lock_acquire+0x518/0xc20 [ 14.459919][ T299] console_unlock+0xee/0x1f0 [ 14.459921][ T299] ? console_flush_one_record+0x710/0x710 [ 14.459923][ T299] ? rcu_is_watching+0x16/0xd0 [ 14.459925][ T299] ? lock_acquire+0x60/0x160 [ 14.459929][ T299] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.459930][ T299] ? vprintk_emit+0x320/0x3e0 [ 14.459934][ T299] vprintk_emit+0x37c/0x3e0 [ 14.459937][ T299] ? wake_up_klogd_work_func+0x90/0x90 [ 14.459941][ T299] ? __lock_acquire+0x518/0xc20 [ 14.459944][ T299] _printk+0xc7/0x100 [ 14.459947][ T299] ? snapshot_read.cold+0x21/0x21 [ 14.459950][ T299] ? do_raw_spin_lock+0x131/0x280 [ 14.459953][ T299] ? __rwlock_init+0x150/0x150 [ 14.459956][ T299] ? do_raw_spin_lock+0x131/0x280 [ 14.459959][ T299] do_exit.cold+0x82/0x9c [ 14.459962][ T299] ? exit_notify+0x890/0x890 [ 14.459964][ T299] ? __lock_release.isra.0+0x69/0x1a0 [ 14.459966][ T299] ? rcu_is_watching+0x16/0xd0 [ 14.459970][ T299] do_group_exit+0xb8/0x370 [ 14.459973][ T299] __x64_sys_exit_group+0x3c/0x50 [ 14.459975][ T299] x64_sys_call+0x1567/0x1570 [ 14.459978][ T299] do_syscall_64+0xff/0x530 [ 14.459981][ T299] ? exc_page_fault+0xee/0x100 [ 14.459984][ T299] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.459986][ T299] RIP: 0033:0x7fe0825411b8 [ 14.459988][ T299] Code: Unable to access opcode bytes at 0x7fe08254118e. [ 14.459989][ T299] RSP: 002b:00007fff1255d978 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 14.459991][ T299] RAX: ffffffffffffffda RBX: 00007fe082671f88 RCX: 00007fe0825411b8 [ 14.459992][ T299] RDX: 00007fe08228bfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 14.459993][ T299] RBP: 00007fff1255d9d0 R08: 0000000000000000 R09: 0000000000000000 [ 14.459994][ T299] R10: 00007fff1255d790 R11: 0000000000000246 R12: 0000000000000001 [ 14.459995][ T299] R13: 0000000000000000 R14: 00007fe082670680 R15: 00007fe082671fa0 [ 14.460001][ T299] [ 14.900495][ T313] ip (313) used greatest stack depth: 24240 bytes left [ 15.071348][ T319] ip (319) used greatest stack depth: 24200 bytes left [ 21.969584][ C2] tun0: no available key for peer 3, key-id: 0 [ 21.969618][ C2] [ 21.969619][ C2] ======================================================== [ 21.969620][ C2] WARNING: possible irq lock inversion dependency detected [ 21.969622][ C2] 7.2.0-virtme #1 Tainted: G W [ 21.969624][ C2] -------------------------------------------------------- [ 21.969624][ C2] ovpn-cli/406 just changed the state of lock: [ 21.969625][ C2] ffffffffa5899660 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 21.969639][ C2] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 21.969640][ C2] (fs_reclaim){+.+.}-{0:0} [ 21.969641][ C2] [ 21.969641][ C2] [ 21.969641][ C2] and interrupts could create inverse lock ordering between them. [ 21.969641][ C2] [ 21.969642][ C2] [ 21.969642][ C2] other info that might help us debug this: [ 21.969642][ C2] Possible interrupt unsafe locking scenario: [ 21.969642][ C2] [ 21.969643][ C2] CPU0 CPU1 [ 21.969644][ C2] ---- ---- [ 21.969644][ C2] lock(fs_reclaim); [ 21.969645][ C2] local_irq_disable(); [ 21.969646][ C2] lock(console_owner); [ 21.969646][ C2] lock(fs_reclaim); [ 21.969647][ C2] [ 21.969648][ C2] lock(console_owner); [ 21.969648][ C2] [ 21.969648][ C2] *** DEADLOCK *** [ 21.969648][ C2] [ 21.969649][ C2] locks held by ovpn-cli/406: 6, last CPU#2: [ 21.969650][ C2] #0: ffffffffa5990b00 (rcu_read_lock){....}-{1:3}, at: process_backlog+0x3f1/0x14c0 [ 21.969656][ C2] #1: ffffffffa5990b00 (rcu_read_lock){....}-{1:3}, at: ip_local_deliver_finish+0x2ba/0x610 [ 21.969661][ C2] #2: ff1100001d52d318 (slock-AF_INET/1){+.-.}-{3:3}, at: tcp_v4_rcv+0x1a81/0x2b70 [ 21.969666][ C2] #3: ffffffffa5990b00 (rcu_read_lock){....}-{1:3}, at: ovpn_tcp_data_ready+0x62/0x390 [ovpn] [ 21.969672][ C2] #4: ffffffffa5979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 21.969675][ C2] #5: ffffffffa5979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 21.969679][ C2] [ 21.969679][ C2] the shortest dependencies between 2nd lock and 1st lock: [ 21.969683][ C2] -> (fs_reclaim){+.+.}-{0:0} { [ 21.969686][ C2] HARDIRQ-ON-W at: [ 21.969687][ C2] __lock_acquire+0x388/0xc20 [ 21.969690][ C2] lock_acquire.part.0+0xd4/0x280 [ 21.969691][ C2] fs_reclaim_acquire+0xd5/0x120 [ 21.969694][ C2] __kmalloc_cache_noprof+0x6e/0x620 [ 21.969697][ C2] kthread_create_worker_on_node+0xea/0x210 [ 21.969699][ C2] workqueue_init+0x2a/0x680 [ 21.969703][ C2] kernel_init_freeable+0x2fe/0x630 [ 21.969705][ C2] kernel_init+0x21/0x150 [ 21.969708][ C2] ret_from_fork+0x474/0x6b0 [ 21.969711][ C2] ret_from_fork_asm+0x11/0x20 [ 21.969714][ C2] SOFTIRQ-ON-W at: [ 21.969715][ C2] __lock_acquire+0x388/0xc20 [ 21.969716][ C2] lock_acquire.part.0+0xd4/0x280 [ 21.969717][ C2] fs_reclaim_acquire+0xd5/0x120 [ 21.969718][ C2] __kmalloc_cache_noprof+0x6e/0x620 [ 21.969720][ C2] kthread_create_worker_on_node+0xea/0x210 [ 21.969721][ C2] workqueue_init+0x2a/0x680 [ 21.969722][ C2] kernel_init_freeable+0x2fe/0x630 [ 21.969724][ C2] kernel_init+0x21/0x150 [ 21.969725][ C2] ret_from_fork+0x474/0x6b0 [ 21.969726][ C2] ret_from_fork_asm+0x11/0x20 [ 21.969727][ C2] INITIAL USE at: [ 21.969728][ C2] __lock_acquire+0x388/0xc20 [ 21.969729][ C2] lock_acquire.part.0+0xd4/0x280 [ 21.969731][ C2] fs_reclaim_acquire+0xd5/0x120 [ 21.969732][ C2] __kmalloc_cache_noprof+0x6e/0x620 [ 21.969733][ C2] kthread_create_worker_on_node+0xea/0x210 [ 21.969735][ C2] workqueue_init+0x2a/0x680 [ 21.969736][ C2] kernel_init_freeable+0x2fe/0x630 [ 21.969737][ C2] kernel_init+0x21/0x150 [ 21.969738][ C2] ret_from_fork+0x474/0x6b0 [ 21.969739][ C2] ret_from_fork_asm+0x11/0x20 [ 21.969741][ C2] } [ 21.969741][ C2] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 21.969745][ C2] ... acquired at: [ 21.969746][ C2] __lock_acquire+0x518/0xc20 [ 21.969747][ C2] lock_acquire.part.0+0xd4/0x280 [ 21.969748][ C2] fs_reclaim_acquire+0xd5/0x120 [ 21.969749][ C2] __kmalloc_noprof+0xd3/0x760 [ 21.969751][ C2] alloc_buf.isra.0+0x4b/0x260 [ 21.969754][ C2] put_chars+0x1e1/0x2f0 [ 21.969755][ C2] hvc_console_print+0x292/0x780 [ 21.969757][ C2] console_emit_next_record+0x22f/0x4c0 [ 21.969759][ C2] console_flush_one_record+0x46f/0x710 [ 21.969760][ C2] console_unlock+0xee/0x1f0 [ 21.969762][ C2] vprintk_emit+0x37c/0x3e0 [ 21.969763][ C2] dev_vprintk_emit+0x27f/0x2c0 [ 21.969767][ C2] dev_printk_emit+0xb9/0xee [ 21.969768][ C2] _dev_info+0xe2/0x116 [ 21.969770][ C2] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 21.969772][ C2] cmos_do_probe+0x73b/0x98a [ 21.969774][ C2] platform_probe+0xfe/0x1f0 [ 21.969776][ C2] call_driver_probe+0x61/0x1c0 [ 21.969778][ C2] really_probe+0x199/0x760 [ 21.969780][ C2] __driver_probe_device+0x24f/0x440 [ 21.969781][ C2] driver_probe_device+0x4a/0xf0 [ 21.969783][ C2] __driver_attach+0x1b8/0x540 [ 21.969784][ C2] bus_for_each_dev+0x130/0x1e0 [ 21.969786][ C2] bus_add_driver+0x2c8/0x530 [ 21.969787][ C2] driver_register+0x1a3/0x390 [ 21.969789][ C2] __platform_driver_probe+0x13f/0x270 [ 21.969790][ C2] cmos_init+0x31/0x40 [ 21.969793][ C2] do_one_initcall+0x124/0x4f0 [ 21.969794][ C2] kernel_init_freeable+0x596/0x630 [ 21.969796][ C2] kernel_init+0x21/0x150 [ 21.969797][ C2] ret_from_fork+0x474/0x6b0 [ 21.969798][ C2] ret_from_fork_asm+0x11/0x20 [ 21.969799][ C2] [ 21.969800][ C2] -> (console_owner){..-.}-{0:0} { [ 21.969801][ C2] IN-SOFTIRQ-W at: [ 21.969802][ C2] __lock_acquire+0x388/0xc20 [ 21.969803][ C2] lock_acquire.part.0+0xd4/0x280 [ 21.969804][ C2] console_lock_spinning_enable+0x5c/0x60 [ 21.969806][ C2] console_emit_next_record+0x1d1/0x4c0 [ 21.969808][ C2] console_flush_one_record+0x46f/0x710 [ 21.969809][ C2] console_unlock+0xee/0x1f0 [ 21.969811][ C2] vprintk_emit+0x37c/0x3e0 [ 21.969812][ C2] _printk+0xc7/0x100 [ 21.969815][ C2] ovpn_recv.cold+0x7e/0x94 [ovpn] [ 21.969818][ C2] ovpn_tcp_rcv+0x274/0x9a0 [ovpn] [ 21.969820][ C2] __strp_recv+0x20f/0x1c20 [ 21.969823][ C2] __tcp_read_sock+0x1c7/0x850 [ 21.969825][ C2] strp_read_sock+0x20f/0x2b0 [ 21.969827][ C2] strp_data_ready+0x18e/0x2c0 [ 21.969829][ C2] ovpn_tcp_data_ready+0xf1/0x390 [ovpn] [ 21.969831][ C2] tcp_rcv_established+0x1e1d/0x3910 [ 21.969833][ C2] tcp_v4_do_rcv+0x4f6/0xb90 [ 21.969835][ C2] tcp_v4_rcv+0x1caa/0x2b70 [ 21.969836][ C2] ip_protocol_deliver_rcu+0x82/0x350 [ 21.969837][ C2] ip_local_deliver_finish+0x36f/0x610 [ 21.969839][ C2] ip_local_deliver+0x184/0x4c0 [ 21.969840][ C2] ip_rcv+0xdc/0x3d0 [ 21.969841][ C2] __netif_receive_skb_one_core+0xfc/0x180 [ 21.969843][ C2] process_backlog+0x431/0x14c0 [ 21.969845][ C2] __napi_poll+0xa7/0x3b0 [ 21.969846][ C2] net_rx_action+0x513/0xf50 [ 21.969848][ C2] handle_softirqs+0x1d3/0x900 [ 21.969850][ C2] do_softirq+0xac/0xe0 [ 21.969852][ C2] __local_bh_enable_ip+0x118/0x150 [ 21.969853][ C2] ovpn_tcp_sendmsg+0x2c2/0x7d0 [ovpn] [ 21.969855][ C2] __sys_sendto+0x2aa/0x400 [ 21.969858][ C2] __x64_sys_sendto+0xe4/0x1f0 [ 21.969859][ C2] do_syscall_64+0xff/0x530 [ 21.969862][ C2] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 21.969864][ C2] INITIAL USE at: [ 21.969865][ C2] } [ 21.969865][ C2] ... key at: [] console_owner_dep_map+0x0/0x60 [ 21.969869][ C2] ... acquired at: [ 21.969869][ C2] mark_lock+0x1d7/0xa00 [ 21.969870][ C2] mark_usage+0x42/0x170 [ 21.969872][ C2] __lock_acquire+0x388/0xc20 [ 21.969873][ C2] lock_acquire.part.0+0xd4/0x280 [ 21.969874][ C2] console_lock_spinning_enable+0x5c/0x60 [ 21.969876][ C2] console_emit_next_record+0x1d1/0x4c0 [ 21.969877][ C2] console_flush_one_record+0x46f/0x710 [ 21.969879][ C2] console_unlock+0xee/0x1f0 [ 21.969880][ C2] vprintk_emit+0x37c/0x3e0 [ 21.969882][ C2] _printk+0xc7/0x100 [ 21.969883][ C2] ovpn_recv.cold+0x7e/0x94 [ovpn] [ 21.969885][ C2] ovpn_tcp_rcv+0x274/0x9a0 [ovpn] [ 21.969887][ C2] __strp_recv+0x20f/0x1c20 [ 21.969889][ C2] __tcp_read_sock+0x1c7/0x850 [ 21.969890][ C2] strp_read_sock+0x20f/0x2b0 [ 21.969892][ C2] strp_data_ready+0x18e/0x2c0 [ 21.969893][ C2] ovpn_tcp_data_ready+0xf1/0x390 [ovpn] [ 21.969895][ C2] tcp_rcv_established+0x1e1d/0x3910 [ 21.969897][ C2] tcp_v4_do_rcv+0x4f6/0xb90 [ 21.969898][ C2] tcp_v4_rcv+0x1caa/0x2b70 [ 21.969900][ C2] ip_protocol_deliver_rcu+0x82/0x350 [ 21.969901][ C2] ip_local_deliver_finish+0x36f/0x610 [ 21.969902][ C2] ip_local_deliver+0x184/0x4c0 [ 21.969903][ C2] ip_rcv+0xdc/0x3d0 [ 21.969905][ C2] __netif_receive_skb_one_core+0xfc/0x180 [ 21.969906][ C2] process_backlog+0x431/0x14c0 [ 21.969908][ C2] __napi_poll+0xa7/0x3b0 [ 21.969909][ C2] net_rx_action+0x513/0xf50 [ 21.969911][ C2] handle_softirqs+0x1d3/0x900 [ 21.969912][ C2] do_softirq+0xac/0xe0 [ 21.969913][ C2] __local_bh_enable_ip+0x118/0x150 [ 21.969914][ C2] ovpn_tcp_sendmsg+0x2c2/0x7d0 [ovpn] [ 21.969916][ C2] __sys_sendto+0x2aa/0x400 [ 21.969918][ C2] __x64_sys_sendto+0xe4/0x1f0 [ 21.969919][ C2] do_syscall_64+0xff/0x530 [ 21.969921][ C2] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 21.969922][ C2] [ 21.969922][ C2] [ 21.969922][ C2] stack backtrace: [ 21.969925][ C2] CPU: 2 UID: 0 PID: 406 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 21.969928][ C2] Tainted: [W]=WARN [ 21.969929][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.969930][ C2] Call Trace: [ 21.969931][ C2] [ 21.969933][ C2] dump_stack_lvl+0x6f/0xa0 [ 21.969937][ C2] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 21.969939][ C2] mark_lock_irq+0x989/0x9c0 [ 21.969942][ C2] mark_lock+0x1d7/0xa00 [ 21.969944][ C2] mark_usage+0x42/0x170 [ 21.969945][ C2] __lock_acquire+0x388/0xc20 [ 21.969947][ C2] lock_acquire.part.0+0xd4/0x280 [ 21.969949][ C2] ? console_lock_spinning_enable+0x40/0x60 [ 21.969951][ C2] ? rcu_is_watching+0x16/0xd0 [ 21.969955][ C2] ? lock_acquire+0x13c/0x160 [ 21.969956][ C2] console_lock_spinning_enable+0x5c/0x60 [ 21.969958][ C2] ? console_lock_spinning_enable+0x40/0x60 [ 21.969960][ C2] console_emit_next_record+0x1d1/0x4c0 [ 21.969962][ C2] ? devkmsg_read+0x4b0/0x4b0 [ 21.969963][ C2] ? console_flush_one_record+0x106/0x710 [ 21.969965][ C2] ? rcu_is_watching+0x16/0xd0 [ 21.969967][ C2] ? lock_acquire+0x13c/0x160 [ 21.969969][ C2] console_flush_one_record+0x46f/0x710 [ 21.969971][ C2] ? console_emit_next_record+0x4c0/0x4c0 [ 21.969973][ C2] ? __lock_acquire+0x518/0xc20 [ 21.969975][ C2] console_unlock+0xee/0x1f0 [ 21.969977][ C2] ? console_flush_one_record+0x710/0x710 [ 21.969978][ C2] ? rcu_is_watching+0x16/0xd0 [ 21.969980][ C2] ? lock_acquire+0x60/0x160 [ 21.969982][ C2] ? __down_trylock_console_sem+0x5e/0xa0 [ 21.969984][ C2] ? vprintk_emit+0x320/0x3e0 [ 21.969986][ C2] vprintk_emit+0x37c/0x3e0 [ 21.969988][ C2] ? wake_up_klogd_work_func+0x90/0x90 [ 21.969990][ C2] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 21.969992][ C2] _printk+0xc7/0x100 [ 21.969994][ C2] ? snapshot_read.cold+0x21/0x21 [ 21.969995][ C2] ? ___ratelimit+0x4e7/0xa00 [ 21.969998][ C2] ? ovpn_netdev_write+0x730/0x730 [ovpn] [ 21.970002][ C2] ? idr_get_free+0x830/0x830 [ 21.970004][ C2] ovpn_recv.cold+0x7e/0x94 [ovpn] [ 21.970007][ C2] ovpn_tcp_rcv+0x274/0x9a0 [ovpn] [ 21.970010][ C2] ? ovpn_tcp_write_space+0x2e0/0x2e0 [ovpn] [ 21.970012][ C2] ? __copy_skb_header+0xb7/0x510 [ 21.970015][ C2] ? ovpn_tcp_disconnect+0x10/0x10 [ovpn] [ 21.970017][ C2] ? sock_queue_err_skb+0xb0/0x680 [ 21.970019][ C2] __strp_recv+0x20f/0x1c20 [ 21.970022][ C2] __tcp_read_sock+0x1c7/0x850 [ 21.970024][ C2] ? strp_process+0xb0/0xb0 [ 21.970026][ C2] ? __tcp_transmit_skb+0x1b6e/0x3c10 [ 21.970027][ C2] ? tcp_cleanup_rbuf+0x1c0/0x1c0 [ 21.970029][ C2] ? mark_usage+0x61/0x170 [ 21.970031][ C2] strp_read_sock+0x20f/0x2b0 [ 21.970033][ C2] ? strp_stop+0x50/0x50 [ 21.970035][ C2] ? rcu_is_watching+0x16/0xd0 [ 21.970037][ C2] ? lock_acquire+0x13c/0x160 [ 21.970039][ C2] strp_data_ready+0x18e/0x2c0 [ 21.970041][ C2] ovpn_tcp_data_ready+0xf1/0x390 [ovpn] [ 21.970043][ C2] tcp_rcv_established+0x1e1d/0x3910 [ 21.970046][ C2] ? __tcp_check_space+0x600/0x600 [ 21.970048][ C2] ? tcp_v4_rcv+0x1a81/0x2b70 [ 21.970050][ C2] ? do_raw_spin_lock+0x131/0x280 [ 21.970052][ C2] tcp_v4_do_rcv+0x4f6/0xb90 [ 21.970054][ C2] tcp_v4_rcv+0x1caa/0x2b70 [ 21.970057][ C2] ? mark_usage+0x61/0x170 [ 21.970058][ C2] ? tcp_add_backlog+0x1e30/0x1e30 [ 21.970060][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 21.970062][ C2] ? ip_local_deliver_finish+0x2ba/0x610 [ 21.970064][ C2] ip_protocol_deliver_rcu+0x82/0x350 [ 21.970066][ C2] ? process_backlog+0x3f1/0x14c0 [ 21.970067][ C2] ip_local_deliver_finish+0x36f/0x610 [ 21.970069][ C2] ip_local_deliver+0x184/0x4c0 [ 21.970071][ C2] ? ip_local_deliver_finish+0x610/0x610 [ 21.970072][ C2] ? ip_rcv_finish_core+0x6ed/0x14c0 [ 21.970075][ C2] ? process_backlog+0x3f1/0x14c0 [ 21.970077][ C2] ip_rcv+0xdc/0x3d0 [ 21.970078][ C2] ? ip_local_deliver+0x4c0/0x4c0 [ 21.970080][ C2] ? rcu_is_watching+0x16/0xd0 [ 21.970081][ C2] ? mark_usage+0x61/0x170 [ 21.970083][ C2] ? __lock_acquire+0x518/0xc20 [ 21.970084][ C2] ? trace_raw_output_rcu_invoke_kfree_bulk_callback+0x57/0x130 [ 21.970087][ C2] __netif_receive_skb_one_core+0xfc/0x180 [ 21.970089][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 21.970090][ C2] ? process_backlog+0x3f1/0x14c0 [ 21.970092][ C2] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 21.970094][ C2] ? rcu_is_watching+0x16/0xd0 [ 21.970096][ C2] process_backlog+0x431/0x14c0 [ 21.970099][ C2] __napi_poll+0xa7/0x3b0 [ 21.970101][ C2] net_rx_action+0x513/0xf50 [ 21.970103][ C2] ? __lock_acquire+0x518/0xc20 [ 21.970105][ C2] ? __napi_poll+0x3b0/0x3b0 [ 21.970108][ C2] ? ktime_get_update_offsets_now+0x2a8/0x490 [ 21.970111][ C2] ? rcu_is_watching+0x16/0xd0 [ 21.970114][ C2] handle_softirqs+0x1d3/0x900 [ 21.970116][ C2] ? _local_bh_enable+0xc0/0xc0 [ 21.970117][ C2] ? do_raw_spin_unlock+0x59/0x250 [ 21.970119][ C2] ? rcu_is_watching+0x16/0xd0 [ 21.970121][ C2] do_softirq+0xac/0xe0 [ 21.970122][ C2] [ 21.970123][ C2] [ 21.970123][ C2] __local_bh_enable_ip+0x118/0x150 [ 21.970125][ C2] ovpn_tcp_sendmsg+0x2c2/0x7d0 [ovpn] [ 21.970128][ C2] ? ovpn_tcp_recvmsg+0x6d0/0x6d0 [ovpn] [ 21.970132][ C2] __sys_sendto+0x2aa/0x400 [ 21.970134][ C2] ? __ia32_sys_getpeername+0xd0/0xd0 [ 21.970137][ C2] ? fput_close_sync+0xde/0x1b0 [ 21.970140][ C2] ? alloc_file_clone+0xe0/0xe0 [ 21.970141][ C2] __x64_sys_sendto+0xe4/0x1f0 [ 21.970143][ C2] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 21.970145][ C2] ? lockdep_hardirqs_on+0x91/0x130 [ 21.970147][ C2] ? do_syscall_64+0xa6/0x530 [ 21.970148][ C2] do_syscall_64+0xff/0x530 [ 21.970150][ C2] ? exc_page_fault+0xee/0x100 [ 21.970151][ C2] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 21.970153][ C2] RIP: 0033:0x7fe12fbe354e [ 21.970155][ C2] 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 [ 21.970157][ C2] RSP: 002b:00007ffd6776d300 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 21.970160][ C2] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe12fbe354e [ 21.970161][ C2] RDX: 00000000000003ea RSI: 00007ffd6776d370 RDI: 0000000000000005 [ 21.970162][ C2] RBP: 00007ffd6776d310 R08: 0000000000000000 R09: 0000000000000000 [ 21.970163][ C2] R10: 0000000000004000 R11: 0000000000000202 R12: 00007ffd6776dc98 [ 21.970164][ C2] R13: 0000000000000008 R14: 00007fe12fece000 R15: 000000000040bda8 [ 21.970166][ C2] [ 21.970170][ C2] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 21.970171][ C2] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 406, name: ovpn-cli [ 21.970172][ C2] preempt_count: 103, expected: 0 [ 21.970173][ C2] RCU nest depth: 3, expected: 0 [ 21.970173][ C2] INFO: lockdep is turned off. [ 21.970174][ C2] irq event stamp: 31273 [ 21.970175][ C2] hardirqs last enabled at (31272): [] __down_trylock_console_sem+0x86/0xa0 [ 21.970177][ C2] hardirqs last disabled at (31273): [] console_emit_next_record+0x3d4/0x4c0 [ 21.970179][ C2] softirqs last enabled at (31156): [] ovpn_tcp_sendmsg+0x2c2/0x7d0 [ovpn] [ 21.970181][ C2] softirqs last disabled at (31157): [] do_softirq+0xac/0xe0 [ 21.970183][ C2] Preemption disabled at: [ 21.970183][ C2] [<0000000000000000>] 0x0 [ 21.970185][ C2] CPU: 2 UID: 0 PID: 406 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 21.970187][ C2] Tainted: [W]=WARN [ 21.970188][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.970188][ C2] Call Trace: [ 21.970189][ C2] [ 21.970190][ C2] dump_stack_lvl+0x6f/0xa0 [ 21.970192][ C2] __might_resched.cold+0x1fe/0x2c1 [ 21.970195][ C2] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 21.970198][ C2] ? rcu_is_watching+0x16/0xd0 [ 21.970200][ C2] __kmalloc_noprof+0x443/0x760 [ 21.970202][ C2] ? __rwlock_init+0x150/0x150 [ 21.970204][ C2] ? alloc_buf.isra.0+0x4b/0x260 [ 21.970205][ C2] ? do_raw_spin_unlock+0x59/0x250 [ 21.970207][ C2] alloc_buf.isra.0+0x4b/0x260 [ 21.970209][ C2] put_chars+0x1e1/0x2f0 [ 21.970211][ C2] ? __send_to_port+0x420/0x420 [ 21.970213][ C2] hvc_console_print+0x292/0x780 [ 21.970215][ C2] ? __lock_acquire+0x388/0xc20 [ 21.970217][ C2] ? hvc_write+0x3a0/0x3a0 [ 21.970219][ C2] ? rcu_is_watching+0x16/0xd0 [ 21.970221][ C2] ? lock_acquire+0x13c/0x160 [ 21.970223][ C2] console_emit_next_record+0x22f/0x4c0 [ 21.970225][ C2] ? devkmsg_read+0x4b0/0x4b0 [ 21.970226][ C2] ? console_flush_one_record+0x106/0x710 [ 21.970228][ C2] ? rcu_is_watching+0x16/0xd0 [ 21.970230][ C2] ? lock_acquire+0x13c/0x160 [ 21.970232][ C2] console_flush_one_record+0x46f/0x710 [ 21.970234][ C2] ? console_emit_next_record+0x4c0/0x4c0 [ 21.970235][ C2] ? __lock_acquire+0x518/0xc20 [ 21.970238][ C2] console_unlock+0xee/0x1f0 [ 21.970239][ C2] ? console_flush_one_record+0x710/0x710 [ 21.970241][ C2] ? rcu_is_watching+0x16/0xd0 [ 21.970243][ C2] ? lock_acquire+0x60/0x160 [ 21.970244][ C2] ? __down_trylock_console_sem+0x5e/0xa0 [ 21.970246][ C2] ? vprintk_emit+0x320/0x3e0 [ 21.970248][ C2] vprintk_emit+0x37c/0x3e0 [ 21.970250][ C2] ? wake_up_klogd_work_func+0x90/0x90 [ 21.970252][ C2] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 21.970254][ C2] _printk+0xc7/0x100 [ 21.970255][ C2] ? snapshot_read.cold+0x21/0x21 [ 21.970257][ C2] ? ___ratelimit+0x4e7/0xa00 [ 21.970259][ C2] ? ovpn_netdev_write+0x730/0x730 [ovpn] [ 21.970261][ C2] ? idr_get_free+0x830/0x830 [ 21.970263][ C2] ovpn_recv.cold+0x7e/0x94 [ovpn] [ 21.970266][ C2] ovpn_tcp_rcv+0x274/0x9a0 [ovpn] [ 21.970269][ C2] ? ovpn_tcp_write_space+0x2e0/0x2e0 [ovpn] [ 21.970271][ C2] ? __copy_skb_header+0xb7/0x510 [ 21.970273][ C2] ? ovpn_tcp_disconnect+0x10/0x10 [ovpn] [ 21.970275][ C2] ? sock_queue_err_skb+0xb0/0x680 [ 21.970277][ C2] __strp_recv+0x20f/0x1c20 [ 21.970280][ C2] __tcp_read_sock+0x1c7/0x850 [ 21.970282][ C2] ? strp_process+0xb0/0xb0 [ 21.970284][ C2] ? __tcp_transmit_skb+0x1b6e/0x3c10 [ 21.970285][ C2] ? tcp_cleanup_rbuf+0x1c0/0x1c0 [ 21.970287][ C2] ? mark_usage+0x61/0x170 [ 21.970293][ C2] strp_read_sock+0x20f/0x2b0 [ 21.970295][ C2] ? strp_stop+0x50/0x50 [ 21.970297][ C2] ? rcu_is_watching+0x16/0xd0 [ 21.970299][ C2] ? lock_acquire+0x13c/0x160 [ 21.970300][ C2] strp_data_ready+0x18e/0x2c0 [ 21.970302][ C2] ovpn_tcp_data_ready+0xf1/0x390 [ovpn] [ 21.970305][ C2] tcp_rcv_established+0x1e1d/0x3910 [ 21.970308][ C2] ? __tcp_check_space+0x600/0x600 [ 21.970310][ C2] ? tcp_v4_rcv+0x1a81/0x2b70 [ 21.970311][ C2] ? do_raw_spin_lock+0x131/0x280 [ 21.970313][ C2] tcp_v4_do_rcv+0x4f6/0xb90 [ 21.970315][ C2] tcp_v4_rcv+0x1caa/0x2b70 [ 21.970318][ C2] ? mark_usage+0x61/0x170 [ 21.970319][ C2] ? tcp_add_backlog+0x1e30/0x1e30 [ 21.970321][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 21.970323][ C2] ? ip_local_deliver_finish+0x2ba/0x610 [ 21.970325][ C2] ip_protocol_deliver_rcu+0x82/0x350 [ 21.970327][ C2] ? process_backlog+0x3f1/0x14c0 [ 21.970328][ C2] ip_local_deliver_finish+0x36f/0x610 [ 21.970330][ C2] ip_local_deliver+0x184/0x4c0 [ 21.970332][ C2] ? ip_local_deliver_finish+0x610/0x610 [ 21.970333][ C2] ? ip_rcv_finish_core+0x6ed/0x14c0 [ 21.970336][ C2] ? process_backlog+0x3f1/0x14c0 [ 21.970337][ C2] ip_rcv+0xdc/0x3d0 [ 21.970339][ C2] ? ip_local_deliver+0x4c0/0x4c0 [ 21.970340][ C2] ? rcu_is_watching+0x16/0xd0 [ 21.970342][ C2] ? mark_usage+0x61/0x170 [ 21.970344][ C2] ? __lock_acquire+0x518/0xc20 [ 21.970345][ C2] ? trace_raw_output_rcu_invoke_kfree_bulk_callback+0x57/0x130 [ 21.970347][ C2] __netif_receive_skb_one_core+0xfc/0x180 [ 21.970349][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 21.970350][ C2] ? process_backlog+0x3f1/0x14c0 [ 21.970352][ C2] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 21.970354][ C2] ? rcu_is_watching+0x16/0xd0 [ 21.970356][ C2] process_backlog+0x431/0x14c0 [ 21.970359][ C2] __napi_poll+0xa7/0x3b0 [ 21.970361][ C2] net_rx_action+0x513/0xf50 [ 21.970363][ C2] ? __lock_acquire+0x518/0xc20 [ 21.970365][ C2] ? __napi_poll+0x3b0/0x3b0 [ 21.970368][ C2] ? ktime_get_update_offsets_now+0x2a8/0x490 [ 21.970370][ C2] ? rcu_is_watching+0x16/0xd0 [ 21.970372][ C2] handle_softirqs+0x1d3/0x900 [ 21.970374][ C2] ? _local_bh_enable+0xc0/0xc0 [ 21.970375][ C2] ? do_raw_spin_unlock+0x59/0x250 [ 21.970377][ C2] ? rcu_is_watching+0x16/0xd0 [ 21.970378][ C2] do_softirq+0xac/0xe0 [ 21.970380][ C2] [ 21.970380][ C2] [ 21.970381][ C2] __local_bh_enable_ip+0x118/0x150 [ 21.970382][ C2] ovpn_tcp_sendmsg+0x2c2/0x7d0 [ovpn] [ 21.970385][ C2] ? ovpn_tcp_recvmsg+0x6d0/0x6d0 [ovpn] [ 21.970389][ C2] __sys_sendto+0x2aa/0x400 [ 21.970391][ C2] ? __ia32_sys_getpeername+0xd0/0xd0 [ 21.970395][ C2] ? fput_close_sync+0xde/0x1b0 [ 21.970396][ C2] ? alloc_file_clone+0xe0/0xe0 [ 21.970397][ C2] __x64_sys_sendto+0xe4/0x1f0 [ 21.970399][ C2] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 21.970400][ C2] ? lockdep_hardirqs_on+0x91/0x130 [ 21.970402][ C2] ? do_syscall_64+0xa6/0x530 [ 21.970403][ C2] do_syscall_64+0xff/0x530 [ 21.970405][ C2] ? exc_page_fault+0xee/0x100 [ 21.970406][ C2] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 21.970407][ C2] RIP: 0033:0x7fe12fbe354e [ 21.970409][ C2] 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 [ 21.970409][ C2] RSP: 002b:00007ffd6776d300 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 21.970411][ C2] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe12fbe354e [ 21.970412][ C2] RDX: 00000000000003ea RSI: 00007ffd6776d370 RDI: 0000000000000005 [ 21.970412][ C2] RBP: 00007ffd6776d310 R08: 0000000000000000 R09: 0000000000000000 [ 21.970413][ C2] R10: 0000000000004000 R11: 0000000000000202 R12: 00007ffd6776dc98 [ 21.970414][ C2] R13: 0000000000000008 R14: 00007fe12fece000 R15: 000000000040bda8 [ 21.970416][ C2] [ 22.119823][ C1] tun0: no available key for peer 4, key-id: 0 [ 22.210100][ C1] tun0: no available key for peer 6, key-id: 0 [ 30.549056][ T611] iperf3 (611) used greatest stack depth: 23128 bytes left [ 30.549074][ T611] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 30.549077][ T611] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 611, name: iperf3 [ 30.549078][ T611] preempt_count: 2, expected: 0 [ 30.549079][ T611] RCU nest depth: 0, expected: 0 [ 30.549080][ T611] INFO: lockdep is turned off. [ 30.549081][ T611] irq event stamp: 0 [ 30.549082][ T611] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 30.549087][ T611] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 30.549093][ T611] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 30.549095][ T611] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 30.549096][ T611] Preemption disabled at: [ 30.549097][ T611] [<0000000000000000>] 0x0 [ 30.549102][ T611] CPU: 2 UID: 0 PID: 611 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.549105][ T611] Tainted: [W]=WARN [ 30.549106][ T611] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.549108][ T611] Call Trace: [ 30.549109][ T611] [ 30.549111][ T611] dump_stack_lvl+0x6f/0xa0 [ 30.549116][ T611] __might_resched.cold+0x1fe/0x2c1 [ 30.549120][ T611] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 30.549123][ T611] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 30.549126][ T611] ? rcu_is_watching+0x16/0xd0 [ 30.549130][ T611] __kmalloc_noprof+0x443/0x760 [ 30.549133][ T611] ? __rwlock_init+0x150/0x150 [ 30.549136][ T611] ? alloc_buf.isra.0+0x4b/0x260 [ 30.549140][ T611] ? do_raw_spin_unlock+0x59/0x250 [ 30.549141][ T611] alloc_buf.isra.0+0x4b/0x260 [ 30.549143][ T611] put_chars+0x1e1/0x2f0 [ 30.549146][ T611] ? prb_final_commit+0x50/0x50 [ 30.549147][ T611] ? __send_to_port+0x420/0x420 [ 30.549149][ T611] ? printk_get_next_message+0x240/0x650 [ 30.549152][ T611] hvc_console_print+0x292/0x780 [ 30.549155][ T611] ? hvc_write+0x3a0/0x3a0 [ 30.549157][ T611] ? do_raw_spin_lock+0x131/0x280 [ 30.549158][ T611] ? vsnprintf+0x668/0x1700 [ 30.549161][ T611] ? __rwlock_init+0x150/0x150 [ 30.549162][ T611] ? rcu_is_watching+0x16/0xd0 [ 30.549164][ T611] ? lock_acquire+0x13c/0x160 [ 30.549166][ T611] console_emit_next_record+0x22f/0x4c0 [ 30.549169][ T611] ? devkmsg_read+0x4b0/0x4b0 [ 30.549171][ T611] ? rcu_is_watching+0x16/0xd0 [ 30.549172][ T611] ? rcu_is_watching+0x16/0xd0 [ 30.549174][ T611] ? rcu_is_watching+0x16/0xd0 [ 30.549176][ T611] ? lock_acquire+0x13c/0x160 [ 30.549177][ T611] ? console_flush_one_record+0x111/0x710 [ 30.549179][ T611] console_flush_one_record+0x46f/0x710 [ 30.549181][ T611] ? console_emit_next_record+0x4c0/0x4c0 [ 30.549184][ T611] console_unlock+0xee/0x1f0 [ 30.549186][ T611] ? lock_acquire+0x13c/0x160 [ 30.549187][ T611] ? console_flush_one_record+0x710/0x710 [ 30.549189][ T611] ? rcu_is_watching+0x16/0xd0 [ 30.549191][ T611] ? lock_release+0x184/0x1f0 [ 30.549192][ T611] ? lock_acquire+0x60/0x160 [ 30.549193][ T611] ? __rcu_read_lock+0x30/0x70 [ 30.549196][ T611] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.549197][ T611] ? vprintk_emit+0x320/0x3e0 [ 30.549199][ T611] vprintk_emit+0x37c/0x3e0 [ 30.549201][ T611] ? wake_up_klogd_work_func+0x90/0x90 [ 30.549204][ T611] _printk+0xc7/0x100 [ 30.549207][ T611] ? snapshot_read.cold+0x21/0x21 [ 30.549208][ T611] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 30.549211][ T611] ? do_raw_spin_lock+0x131/0x280 [ 30.549213][ T611] ? __rwlock_init+0x150/0x150 [ 30.549215][ T611] ? do_raw_spin_lock+0x131/0x280 [ 30.549216][ T611] do_exit.cold+0x82/0x9c [ 30.549219][ T611] ? exit_notify+0x890/0x890 [ 30.549221][ T611] __x64_sys_exit+0x42/0x50 [ 30.549223][ T611] x64_sys_call+0x156c/0x1570 [ 30.549225][ T611] do_syscall_64+0xff/0x530 [ 30.549227][ T611] ? exc_page_fault+0xee/0x100 [ 30.549229][ T611] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.549231][ T611] RIP: 0033:0x7f2a8b8a1c49 [ 30.549233][ T611] Code: Unable to access opcode bytes at 0x7f2a8b8a1c1f. [ 30.549234][ T611] RSP: 002b:00007f2a8b060e60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 30.549237][ T611] RAX: ffffffffffffffda RBX: 00007f2a8b0616c0 RCX: 00007f2a8b8a1c49 [ 30.549238][ T611] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 30.549239][ T611] RBP: 00007f2a8b060f70 R08: 0000000000000001 R09: 00007f2a8b0616c0 [ 30.549240][ T611] R10: 0000000000000008 R11: 0000000000000246 R12: 00007f2a8a861000 [ 30.549241][ T611] R13: 00007ffc44837da0 R14: 0000000000000002 R15: 00007ffc44837ea7 [ 30.549243][ T611] [ 31.728216][ T705] tun0: deleting peer with id 1, reason 1 [ 31.728231][ T705] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 31.728234][ T705] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 705, name: ovpn-cli [ 31.728235][ T705] preempt_count: 202, expected: 0 [ 31.728236][ T705] RCU nest depth: 0, expected: 0 [ 31.728237][ T705] INFO: lockdep is turned off. [ 31.728238][ T705] irq event stamp: 0 [ 31.728239][ T705] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 31.728243][ T705] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 31.728249][ T705] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 31.728251][ T705] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 31.728253][ T705] Preemption disabled at: [ 31.728254][ T705] [<0000000000000000>] 0x0 [ 31.728258][ T705] CPU: 2 UID: 0 PID: 705 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 31.728261][ T705] Tainted: [W]=WARN [ 31.728262][ T705] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 31.728264][ T705] Call Trace: [ 31.728266][ T705] [ 31.728267][ T705] dump_stack_lvl+0x6f/0xa0 [ 31.728272][ T705] __might_resched.cold+0x1fe/0x2c1 [ 31.728276][ T705] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 31.728279][ T705] ? rcu_is_watching+0x16/0xd0 [ 31.728283][ T705] __kmalloc_noprof+0x443/0x760 [ 31.728286][ T705] ? __rwlock_init+0x150/0x150 [ 31.728289][ T705] ? alloc_buf.isra.0+0x4b/0x260 [ 31.728293][ T705] ? do_raw_spin_unlock+0x59/0x250 [ 31.728295][ T705] alloc_buf.isra.0+0x4b/0x260 [ 31.728297][ T705] put_chars+0x1e1/0x2f0 [ 31.728299][ T705] ? __send_to_port+0x420/0x420 [ 31.728301][ T705] ? printk_get_next_message+0x240/0x650 [ 31.728304][ T705] hvc_console_print+0x292/0x780 [ 31.728308][ T705] ? hvc_write+0x3a0/0x3a0 [ 31.728309][ T705] ? __rwlock_init+0x150/0x150 [ 31.728311][ T705] ? rcu_is_watching+0x16/0xd0 [ 31.728312][ T705] ? lock_acquire+0x13c/0x160 [ 31.728315][ T705] console_emit_next_record+0x22f/0x4c0 [ 31.728317][ T705] ? devkmsg_read+0x4b0/0x4b0 [ 31.728319][ T705] ? rcu_is_watching+0x16/0xd0 [ 31.728321][ T705] ? rcu_is_watching+0x16/0xd0 [ 31.728322][ T705] ? rcu_is_watching+0x16/0xd0 [ 31.728324][ T705] ? lock_acquire+0x13c/0x160 [ 31.728325][ T705] ? console_flush_one_record+0x111/0x710 [ 31.728327][ T705] console_flush_one_record+0x46f/0x710 [ 31.728329][ T705] ? console_emit_next_record+0x4c0/0x4c0 [ 31.728332][ T705] console_unlock+0xee/0x1f0 [ 31.728333][ T705] ? lock_acquire+0x13c/0x160 [ 31.728335][ T705] ? console_flush_one_record+0x710/0x710 [ 31.728336][ T705] ? rcu_is_watching+0x16/0xd0 [ 31.728338][ T705] ? lock_release+0x184/0x1f0 [ 31.728340][ T705] ? lock_acquire+0x60/0x160 [ 31.728341][ T705] ? __rcu_read_lock+0x30/0x70 [ 31.728343][ T705] ? __down_trylock_console_sem+0x5e/0xa0 [ 31.728351][ T705] ? vprintk_emit+0x320/0x3e0 [ 31.728353][ T705] vprintk_emit+0x37c/0x3e0 [ 31.728355][ T705] ? wake_up_klogd_work_func+0x90/0x90 [ 31.728357][ T705] ? kernel_text_address+0x149/0x170 [ 31.728359][ T705] ? __kernel_text_address+0x12/0x30 [ 31.728360][ T705] ? write_profile+0xf0/0xf0 [ 31.728362][ T705] ? unwind_get_return_address+0x67/0xd0 [ 31.728365][ T705] _printk+0xc7/0x100 [ 31.728368][ T705] ? snapshot_read.cold+0x21/0x21 [ 31.728370][ T705] ? netdev_name+0x43/0x60 [ 31.728373][ T705] ? __netdev_printk+0x17f/0x1d0 [ 31.728374][ T705] netdev_info+0xe2/0x116 [ 31.728376][ T705] ? netdev_notice+0x120/0x120 [ 31.728377][ T705] ? ovpn_nl_pre_doit+0x44/0x90 [ovpn] [ 31.728383][ T705] ? __module_address+0x36/0x330 [ 31.728386][ T705] ? lock_acquire+0x13c/0x160 [ 31.728387][ T705] ? rcu_is_watching+0x16/0xd0 [ 31.728389][ T705] ? lock_release+0x184/0x1f0 [ 31.728391][ T705] ? ovpn_peer_get_by_id+0x38a/0x7a0 [ovpn] [ 31.728394][ T705] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 31.728398][ T705] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 31.728400][ T705] ? lock_acquire+0x13c/0x160 [ 31.728402][ T705] ? rcu_is_watching+0x16/0xd0 [ 31.728403][ T705] ? lock_release+0x184/0x1f0 [ 31.728405][ T705] ovpn_peer_remove+0x394/0x640 [ovpn] [ 31.728408][ T705] ? do_raw_spin_lock+0x131/0x280 [ 31.728410][ T705] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 31.728413][ T705] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 31.728416][ T705] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 31.728419][ T705] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 31.728421][ T705] ? trace_hardirqs_on+0x36/0x40 [ 31.728424][ T705] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 31.728426][ T705] ? ref_tracker_alloc+0x28d/0x430 [ 31.728432][ T705] ? lock_release+0x184/0x1f0 [ 31.728433][ T705] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 31.728436][ T705] genl_family_rcv_msg_doit+0x206/0x300 [ 31.728441][ T705] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 31.728443][ T705] ? rcu_is_watching+0x16/0xd0 [ 31.728445][ T705] ? rcu_is_watching+0x16/0xd0 [ 31.728447][ T705] ? cap_capable+0x1d7/0x3d0 [ 31.728450][ T705] ? write_profile+0xf0/0xf0 [ 31.728451][ T705] ? unwind_get_return_address+0x67/0xd0 [ 31.728453][ T705] genl_family_rcv_msg+0x3a4/0x640 [ 31.728455][ T705] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 31.728457][ T705] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 31.728459][ T705] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 31.728462][ T705] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 31.728464][ T705] ? filter_irq_stacks+0xd0/0xd0 [ 31.728466][ T705] ? stack_depot_save_flags+0x1bc/0x790 [ 31.728468][ T705] genl_rcv_msg+0xbb/0x160 [ 31.728470][ T705] netlink_rcv_skb+0x14e/0x3a0 [ 31.728472][ T705] ? genl_family_rcv_msg+0x640/0x640 [ 31.728474][ T705] ? netlink_ack+0xcf0/0xcf0 [ 31.728476][ T705] ? lock_acquire+0x13c/0x160 [ 31.728478][ T705] ? rcu_is_watching+0x16/0xd0 [ 31.728480][ T705] ? lock_release+0x184/0x1f0 [ 31.728481][ T705] genl_rcv+0x28/0x40 [ 31.728483][ T705] netlink_unicast+0x486/0x750 [ 31.728485][ T705] ? netlink_attachskb+0x810/0x810 [ 31.728487][ T705] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 31.728488][ T705] ? trace_hardirqs_on+0x36/0x40 [ 31.728489][ T705] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 31.728493][ T705] netlink_sendmsg+0x735/0xc60 [ 31.728495][ T705] ? netlink_unicast+0x750/0x750 [ 31.728497][ T705] ? rcu_is_watching+0x16/0xd0 [ 31.728499][ T705] ? lock_release+0x184/0x1f0 [ 31.728501][ T705] ____sys_sendmsg+0x415/0x880 [ 31.728504][ T705] ? copy_msghdr_from_user+0x279/0x420 [ 31.728506][ T705] ? get_timestamp.constprop.0+0x390/0x390 [ 31.728507][ T705] ? move_addr_to_kernel+0x40/0x40 [ 31.728510][ T705] ___sys_sendmsg+0x14e/0x1d0 [ 31.728512][ T705] ? copy_msghdr_from_user+0x420/0x420 [ 31.728513][ T705] ? kfree+0x22/0x590 [ 31.728518][ T705] __sys_sendmsg+0x12c/0x1d0 [ 31.728520][ T705] ? __sys_sendmsg_sock+0x20/0x20 [ 31.728523][ T705] ? rcu_is_watching+0x16/0xd0 [ 31.728525][ T705] ? rcu_is_watching+0x16/0xd0 [ 31.728526][ T705] do_syscall_64+0xff/0x530 [ 31.728529][ T705] ? exc_page_fault+0xee/0x100 [ 31.728533][ T705] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 31.728534][ T705] RIP: 0033:0x7fca85ca754e [ 31.728536][ T705] 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 [ 31.728538][ T705] RSP: 002b:00007fffe391a530 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 31.728541][ T705] RAX: ffffffffffffffda RBX: 00000000325bb130 RCX: 00007fca85ca754e [ 31.728543][ T705] RDX: 0000000000000000 RSI: 00007fffe391a5d0 RDI: 0000000000000005 [ 31.728544][ T705] RBP: 00007fffe391a540 R08: 0000000000000000 R09: 0000000000000000 [ 31.728544][ T705] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000325bb200 [ 31.728545][ T705] R13: 00007fffe391a5d0 R14: 00000000325bc260 R15: 000000000040bda8 [ 31.728547][ T705] [ 31.812055][ T709] tun1: deleting peer with id 1, reason 1 [ 34.331305][ T757] tun0: deleting peer with id 2, reason 1 [ 34.331322][ T757] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 34.331325][ T757] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 757, name: ovpn-cli [ 34.331326][ T757] preempt_count: 202, expected: 0 [ 34.331327][ T757] RCU nest depth: 0, expected: 0 [ 34.331328][ T757] INFO: lockdep is turned off. [ 34.331329][ T757] irq event stamp: 0 [ 34.331330][ T757] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 34.331335][ T757] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 34.331341][ T757] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 34.331342][ T757] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 34.331344][ T757] Preemption disabled at: [ 34.331345][ T757] [<0000000000000000>] 0x0 [ 34.331350][ T757] CPU: 3 UID: 0 PID: 757 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 34.331353][ T757] Tainted: [W]=WARN [ 34.331354][ T757] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 34.331355][ T757] Call Trace: [ 34.331357][ T757] [ 34.331358][ T757] dump_stack_lvl+0x6f/0xa0 [ 34.331368][ T757] __might_resched.cold+0x1fe/0x2c1 [ 34.331372][ T757] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 34.331376][ T757] ? rcu_is_watching+0x16/0xd0 [ 34.331380][ T757] __kmalloc_noprof+0x443/0x760 [ 34.331383][ T757] ? __rwlock_init+0x150/0x150 [ 34.331386][ T757] ? alloc_buf.isra.0+0x4b/0x260 [ 34.331389][ T757] ? do_raw_spin_unlock+0x59/0x250 [ 34.331391][ T757] alloc_buf.isra.0+0x4b/0x260 [ 34.331393][ T757] put_chars+0x1e1/0x2f0 [ 34.331395][ T757] ? __send_to_port+0x420/0x420 [ 34.331397][ T757] ? printk_get_next_message+0x240/0x650 [ 34.331400][ T757] hvc_console_print+0x292/0x780 [ 34.331404][ T757] ? hvc_write+0x3a0/0x3a0 [ 34.331405][ T757] ? __rwlock_init+0x150/0x150 [ 34.331407][ T757] ? rcu_is_watching+0x16/0xd0 [ 34.331409][ T757] ? lock_acquire+0x13c/0x160 [ 34.331411][ T757] console_emit_next_record+0x22f/0x4c0 [ 34.331413][ T757] ? devkmsg_read+0x4b0/0x4b0 [ 34.331415][ T757] ? rcu_is_watching+0x16/0xd0 [ 34.331417][ T757] ? rcu_is_watching+0x16/0xd0 [ 34.331418][ T757] ? rcu_is_watching+0x16/0xd0 [ 34.331420][ T757] ? lock_acquire+0x13c/0x160 [ 34.331422][ T757] ? console_flush_one_record+0x111/0x710 [ 34.331423][ T757] console_flush_one_record+0x46f/0x710 [ 34.331426][ T757] ? console_emit_next_record+0x4c0/0x4c0 [ 34.331428][ T757] console_unlock+0xee/0x1f0 [ 34.331430][ T757] ? lock_acquire+0x13c/0x160 [ 34.331432][ T757] ? console_flush_one_record+0x710/0x710 [ 34.331433][ T757] ? rcu_is_watching+0x16/0xd0 [ 34.331435][ T757] ? lock_release+0x184/0x1f0 [ 34.331436][ T757] ? lock_acquire+0x60/0x160 [ 34.331438][ T757] ? __rcu_read_lock+0x30/0x70 [ 34.331440][ T757] ? __down_trylock_console_sem+0x5e/0xa0 [ 34.331442][ T757] ? vprintk_emit+0x320/0x3e0 [ 34.331443][ T757] vprintk_emit+0x37c/0x3e0 [ 34.331446][ T757] ? wake_up_klogd_work_func+0x90/0x90 [ 34.331448][ T757] ? kernel_text_address+0x149/0x170 [ 34.331450][ T757] ? __kernel_text_address+0x12/0x30 [ 34.331451][ T757] ? write_profile+0xf0/0xf0 [ 34.331453][ T757] ? unwind_get_return_address+0x67/0xd0 [ 34.331456][ T757] _printk+0xc7/0x100 [ 34.331459][ T757] ? snapshot_read.cold+0x21/0x21 [ 34.331461][ T757] ? netdev_name+0x43/0x60 [ 34.331464][ T757] ? __netdev_printk+0x17f/0x1d0 [ 34.331465][ T757] netdev_info+0xe2/0x116 [ 34.331467][ T757] ? netdev_notice+0x120/0x120 [ 34.331468][ T757] ? ovpn_nl_pre_doit+0x44/0x90 [ovpn] [ 34.331474][ T757] ? __module_address+0x36/0x330 [ 34.331477][ T757] ? lock_acquire+0x13c/0x160 [ 34.331478][ T757] ? rcu_is_watching+0x16/0xd0 [ 34.331480][ T757] ? lock_release+0x184/0x1f0 [ 34.331482][ T757] ? ovpn_peer_get_by_id+0x38a/0x7a0 [ovpn] [ 34.331485][ T757] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 34.331488][ T757] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 34.331491][ T757] ? lock_acquire+0x13c/0x160 [ 34.331492][ T757] ? rcu_is_watching+0x16/0xd0 [ 34.331494][ T757] ? lock_release+0x184/0x1f0 [ 34.331496][ T757] ovpn_peer_remove+0x394/0x640 [ovpn] [ 34.331498][ T757] ? do_raw_spin_lock+0x131/0x280 [ 34.331500][ T757] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 34.331504][ T757] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 34.331507][ T757] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 34.331510][ T757] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 34.331512][ T757] ? trace_hardirqs_on+0x36/0x40 [ 34.331515][ T757] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 34.331517][ T757] ? ref_tracker_alloc+0x28d/0x430 [ 34.331522][ T757] ? lock_release+0x184/0x1f0 [ 34.331524][ T757] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 34.331527][ T757] genl_family_rcv_msg_doit+0x206/0x300 [ 34.331534][ T757] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 34.331536][ T757] ? rcu_is_watching+0x16/0xd0 [ 34.331538][ T757] ? rcu_is_watching+0x16/0xd0 [ 34.331540][ T757] ? cap_capable+0x1d7/0x3d0 [ 34.331543][ T757] ? write_profile+0xf0/0xf0 [ 34.331545][ T757] ? unwind_get_return_address+0x67/0xd0 [ 34.331546][ T757] genl_family_rcv_msg+0x3a4/0x640 [ 34.331549][ T757] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 34.331551][ T757] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 34.331553][ T757] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 34.331555][ T757] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 34.331558][ T757] ? filter_irq_stacks+0xd0/0xd0 [ 34.331559][ T757] ? stack_depot_save_flags+0x1bc/0x790 [ 34.331561][ T757] genl_rcv_msg+0xbb/0x160 [ 34.331564][ T757] netlink_rcv_skb+0x14e/0x3a0 [ 34.331565][ T757] ? genl_family_rcv_msg+0x640/0x640 [ 34.331567][ T757] ? netlink_ack+0xcf0/0xcf0 [ 34.331570][ T757] ? lock_acquire+0x13c/0x160 [ 34.331572][ T757] ? rcu_is_watching+0x16/0xd0 [ 34.331573][ T757] ? lock_release+0x184/0x1f0 [ 34.331575][ T757] genl_rcv+0x28/0x40 [ 34.331577][ T757] netlink_unicast+0x486/0x750 [ 34.331579][ T757] ? netlink_attachskb+0x810/0x810 [ 34.331581][ T757] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 34.331582][ T757] ? trace_hardirqs_on+0x36/0x40 [ 34.331583][ T757] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 34.331587][ T757] netlink_sendmsg+0x735/0xc60 [ 34.331589][ T757] ? netlink_unicast+0x750/0x750 [ 34.331591][ T757] ? rcu_is_watching+0x16/0xd0 [ 34.331593][ T757] ? lock_release+0x184/0x1f0 [ 34.331594][ T757] ____sys_sendmsg+0x415/0x880 [ 34.331598][ T757] ? copy_msghdr_from_user+0x279/0x420 [ 34.331599][ T757] ? get_timestamp.constprop.0+0x390/0x390 [ 34.331601][ T757] ? move_addr_to_kernel+0x40/0x40 [ 34.331604][ T757] ___sys_sendmsg+0x14e/0x1d0 [ 34.331606][ T757] ? copy_msghdr_from_user+0x420/0x420 [ 34.331607][ T757] ? kfree+0x22/0x590 [ 34.331612][ T757] __sys_sendmsg+0x12c/0x1d0 [ 34.331614][ T757] ? __sys_sendmsg_sock+0x20/0x20 [ 34.331617][ T757] ? rcu_is_watching+0x16/0xd0 [ 34.331618][ T757] ? rcu_is_watching+0x16/0xd0 [ 34.331621][ T757] do_syscall_64+0xff/0x530 [ 34.331623][ T757] ? exc_page_fault+0xee/0x100 [ 34.331625][ T757] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 34.331627][ T757] RIP: 0033:0x7f34d363e54e [ 34.331629][ T757] 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.331630][ T757] RSP: 002b:00007fff64608b30 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 34.331634][ T757] RAX: ffffffffffffffda RBX: 000000002465b130 RCX: 00007f34d363e54e [ 34.331635][ T757] RDX: 0000000000000000 RSI: 00007fff64608bd0 RDI: 0000000000000005 [ 34.331636][ T757] RBP: 00007fff64608b40 R08: 0000000000000000 R09: 0000000000000000 [ 34.331637][ T757] R10: 0000000000000000 R11: 0000000000000202 R12: 000000002465b200 [ 34.331638][ T757] R13: 00007fff64608bd0 R14: 000000002465c260 R15: 000000000040bda8 [ 34.331640][ T757] [ 34.417000][ T761] tun2: deleting peer with id 2, reason 1 [ 40.046544][ T66] tun0: deleting peer with id 4, reason 2 [ 40.046560][ T66] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 40.046563][ T66] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 66, name: kworker/2:2 [ 40.046565][ T66] preempt_count: 202, expected: 0 [ 40.046565][ T66] RCU nest depth: 0, expected: 0 [ 40.046566][ T66] INFO: lockdep is turned off. [ 40.046567][ T66] irq event stamp: 16828 [ 40.046568][ T66] hardirqs last enabled at (16827): [] _raw_spin_unlock_irq+0x28/0x50 [ 40.046576][ T66] hardirqs last disabled at (16828): [] __schedule+0x1246/0x20e0 [ 40.046580][ T66] softirqs last enabled at (16532): [] process_one_work+0xe3e/0x1560 [ 40.046584][ T66] softirqs last disabled at (16528): [] neigh_managed_work+0x2d/0x220 [ 40.046588][ T66] Preemption disabled at: [ 40.046589][ T66] [<0000000000000000>] 0x0 [ 40.046595][ T66] CPU: 2 UID: 0 PID: 66 Comm: kworker/2:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 40.046598][ T66] Tainted: [W]=WARN [ 40.046599][ T66] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 40.046601][ T66] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 40.046609][ T66] Call Trace: [ 40.046610][ T66] [ 40.046612][ T66] dump_stack_lvl+0x6f/0xa0 [ 40.046617][ T66] __might_resched.cold+0x1fe/0x2c1 [ 40.046620][ T66] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 40.046623][ T66] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 40.046626][ T66] ? rcu_is_watching+0x16/0xd0 [ 40.046629][ T66] __kmalloc_noprof+0x443/0x760 [ 40.046633][ T66] ? __rwlock_init+0x150/0x150 [ 40.046635][ T66] ? alloc_buf.isra.0+0x4b/0x260 [ 40.046639][ T66] ? do_raw_spin_unlock+0x59/0x250 [ 40.046641][ T66] alloc_buf.isra.0+0x4b/0x260 [ 40.046643][ T66] put_chars+0x1e1/0x2f0 [ 40.046645][ T66] ? prb_final_commit+0x50/0x50 [ 40.046646][ T66] ? __send_to_port+0x420/0x420 [ 40.046648][ T66] ? printk_get_next_message+0x240/0x650 [ 40.046651][ T66] hvc_console_print+0x292/0x780 [ 40.046655][ T66] ? hvc_write+0x3a0/0x3a0 [ 40.046656][ T66] ? do_raw_spin_lock+0x131/0x280 [ 40.046657][ T66] ? vsnprintf+0x527/0x1700 [ 40.046659][ T66] ? __rwlock_init+0x150/0x150 [ 40.046661][ T66] ? rcu_is_watching+0x16/0xd0 [ 40.046663][ T66] ? lock_acquire+0x13c/0x160 [ 40.046665][ T66] console_emit_next_record+0x22f/0x4c0 [ 40.046667][ T66] ? devkmsg_read+0x4b0/0x4b0 [ 40.046669][ T66] ? rcu_is_watching+0x16/0xd0 [ 40.046671][ T66] ? rcu_is_watching+0x16/0xd0 [ 40.046672][ T66] ? rcu_is_watching+0x16/0xd0 [ 40.046674][ T66] ? lock_acquire+0x13c/0x160 [ 40.046676][ T66] ? console_flush_one_record+0x111/0x710 [ 40.046677][ T66] console_flush_one_record+0x46f/0x710 [ 40.046679][ T66] ? console_emit_next_record+0x4c0/0x4c0 [ 40.046682][ T66] console_unlock+0xee/0x1f0 [ 40.046684][ T66] ? lock_acquire+0x13c/0x160 [ 40.046685][ T66] ? console_flush_one_record+0x710/0x710 [ 40.046687][ T66] ? rcu_is_watching+0x16/0xd0 [ 40.046688][ T66] ? lock_release+0x184/0x1f0 [ 40.046690][ T66] ? lock_acquire+0x60/0x160 [ 40.046691][ T66] ? __rcu_read_lock+0x30/0x70 [ 40.046693][ T66] ? __down_trylock_console_sem+0x5e/0xa0 [ 40.046695][ T66] ? vprintk_emit+0x320/0x3e0 [ 40.046697][ T66] vprintk_emit+0x37c/0x3e0 [ 40.046699][ T66] ? wake_up_klogd_work_func+0x90/0x90 [ 40.046701][ T66] ? ret_from_fork_asm+0x11/0x20 [ 40.046703][ T66] ? stack_access_ok+0x1e0/0x1e0 [ 40.046706][ T66] _printk+0xc7/0x100 [ 40.046709][ T66] ? snapshot_read.cold+0x21/0x21 [ 40.046711][ T66] ? write_profile+0xf0/0xf0 [ 40.046713][ T66] ? do_raw_spin_lock+0x131/0x280 [ 40.046715][ T66] ? netdev_name+0x43/0x60 [ 40.046717][ T66] ? __netdev_printk+0x17f/0x1d0 [ 40.046719][ T66] netdev_info+0xe2/0x116 [ 40.046721][ T66] ? netdev_notice+0x120/0x120 [ 40.046723][ T66] ? debug_object_free+0x530/0x530 [ 40.046726][ T66] ? __rwlock_init+0x150/0x150 [ 40.046728][ T66] ? trace_irq_enable.constprop.0+0x30/0x160 [ 40.046731][ T66] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 40.046735][ T66] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 40.046737][ T66] ? remove_and_enqueue_same_base+0x200/0x730 [ 40.046740][ T66] ? do_raw_spin_lock+0x131/0x280 [ 40.046742][ T66] ovpn_peer_remove+0x394/0x640 [ovpn] [ 40.046745][ T66] ? do_raw_spin_lock+0x131/0x280 [ 40.046747][ T66] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 40.046749][ T66] ? __rwlock_init+0x150/0x150 [ 40.046751][ T66] ? rcu_is_watching+0x16/0xd0 [ 40.046753][ T66] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 40.046754][ T66] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 40.046755][ T66] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 40.046758][ T66] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 40.046761][ T66] ? __rwlock_init+0x150/0x150 [ 40.046763][ T66] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 40.046766][ T66] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 40.046769][ T66] ? rcu_is_watching+0x16/0xd0 [ 40.046770][ T66] ? lock_acquire+0x13c/0x160 [ 40.046772][ T66] ? rcu_is_watching+0x16/0xd0 [ 40.046774][ T66] process_one_work+0xe3e/0x1560 [ 40.046777][ T66] ? __queue_delayed_work+0x470/0x470 [ 40.046778][ T66] ? find_held_lock+0x2b/0x80 [ 40.046780][ T66] ? __rwlock_init+0x150/0x150 [ 40.046782][ T66] worker_thread+0x4f1/0xd60 [ 40.046785][ T66] ? rescuer_thread+0x1340/0x1340 [ 40.046786][ T66] ? __kthread_parkme+0xbd/0x210 [ 40.046789][ T66] ? rescuer_thread+0x1340/0x1340 [ 40.046790][ T66] ? rescuer_thread+0x1340/0x1340 [ 40.046792][ T66] kthread+0x367/0x460 [ 40.046794][ T66] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 40.046795][ T66] ? kthread_affine_preferred+0x4c0/0x4c0 [ 40.046797][ T66] ret_from_fork+0x474/0x6b0 [ 40.046799][ T66] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 40.046801][ T66] ? __switch_to+0x5a3/0xe00 [ 40.046803][ T66] ? kthread_affine_preferred+0x4c0/0x4c0 [ 40.046805][ T66] ret_from_fork_asm+0x11/0x20 [ 40.046808][ T66] [ 40.064806][ T66] tun0: deleting peer with id 3, reason 2 [ 40.065016][ T66] tun0: deleting peer with id 5, reason 2 [ 40.065259][ T66] tun0: deleting peer with id 6, reason 2 [ 45.166566][ T10] tun4: deleting peer with id 4, reason 2 [ 45.166580][ T10] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 45.166582][ T10] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 [ 45.166584][ T10] preempt_count: 202, expected: 0 [ 45.166584][ T10] RCU nest depth: 0, expected: 0 [ 45.166585][ T10] INFO: lockdep is turned off. [ 45.166586][ T10] irq event stamp: 30428 [ 45.166587][ T10] hardirqs last enabled at (30427): [] _raw_spin_unlock_irq+0x28/0x50 [ 45.166594][ T10] hardirqs last disabled at (30428): [] __schedule+0x1246/0x20e0 [ 45.166597][ T10] softirqs last enabled at (28722): [] handle_softirqs+0x67c/0x900 [ 45.166601][ T10] softirqs last disabled at (28683): [] do_softirq+0xac/0xe0 [ 45.166603][ T10] Preemption disabled at: [ 45.166604][ T10] [<0000000000000000>] 0x0 [ 45.166609][ T10] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 45.166613][ T10] Tainted: [W]=WARN [ 45.166614][ T10] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 45.166616][ T10] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 45.166623][ T10] Call Trace: [ 45.166624][ T10] [ 45.166625][ T10] dump_stack_lvl+0x6f/0xa0 [ 45.166631][ T10] __might_resched.cold+0x1fe/0x2c1 [ 45.166634][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 45.166638][ T10] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 45.166640][ T10] ? rcu_is_watching+0x16/0xd0 [ 45.166644][ T10] __kmalloc_noprof+0x443/0x760 [ 45.166647][ T10] ? __rwlock_init+0x150/0x150 [ 45.166650][ T10] ? alloc_buf.isra.0+0x4b/0x260 [ 45.166653][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 45.166655][ T10] alloc_buf.isra.0+0x4b/0x260 [ 45.166657][ T10] put_chars+0x1e1/0x2f0 [ 45.166659][ T10] ? prb_final_commit+0x50/0x50 [ 45.166660][ T10] ? __send_to_port+0x420/0x420 [ 45.166662][ T10] ? printk_get_next_message+0x240/0x650 [ 45.166665][ T10] hvc_console_print+0x292/0x780 [ 45.166668][ T10] ? hvc_write+0x3a0/0x3a0 [ 45.166670][ T10] ? do_raw_spin_lock+0x131/0x280 [ 45.166672][ T10] ? vsnprintf+0x527/0x1700 [ 45.166674][ T10] ? __rwlock_init+0x150/0x150 [ 45.166675][ T10] ? rcu_is_watching+0x16/0xd0 [ 45.166677][ T10] ? lock_acquire+0x13c/0x160 [ 45.166679][ T10] console_emit_next_record+0x22f/0x4c0 [ 45.166682][ T10] ? devkmsg_read+0x4b0/0x4b0 [ 45.166684][ T10] ? rcu_is_watching+0x16/0xd0 [ 45.166686][ T10] ? rcu_is_watching+0x16/0xd0 [ 45.166687][ T10] ? rcu_is_watching+0x16/0xd0 [ 45.166689][ T10] ? lock_acquire+0x13c/0x160 [ 45.166691][ T10] ? console_flush_one_record+0x111/0x710 [ 45.166692][ T10] console_flush_one_record+0x46f/0x710 [ 45.166695][ T10] ? console_emit_next_record+0x4c0/0x4c0 [ 45.166697][ T10] console_unlock+0xee/0x1f0 [ 45.166699][ T10] ? lock_acquire+0x13c/0x160 [ 45.166700][ T10] ? console_flush_one_record+0x710/0x710 [ 45.166702][ T10] ? rcu_is_watching+0x16/0xd0 [ 45.166704][ T10] ? lock_release+0x184/0x1f0 [ 45.166705][ T10] ? lock_acquire+0x60/0x160 [ 45.166707][ T10] ? __rcu_read_lock+0x30/0x70 [ 45.166709][ T10] ? __down_trylock_console_sem+0x5e/0xa0 [ 45.166710][ T10] ? vprintk_emit+0x320/0x3e0 [ 45.166712][ T10] vprintk_emit+0x37c/0x3e0 [ 45.166715][ T10] ? wake_up_klogd_work_func+0x90/0x90 [ 45.166717][ T10] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 45.166718][ T10] ? rcu_is_watching+0x16/0xd0 [ 45.166720][ T10] ? trace_sched_wakeup+0x9b/0x160 [ 45.166722][ T10] _printk+0xc7/0x100 [ 45.166725][ T10] ? snapshot_read.cold+0x21/0x21 [ 45.166727][ T10] ? try_to_wake_up+0x153/0x1130 [ 45.166729][ T10] ? select_fallback_rq+0x510/0x510 [ 45.166730][ T10] ? netdev_name+0x43/0x60 [ 45.166733][ T10] ? __netdev_printk+0x17f/0x1d0 [ 45.166735][ T10] netdev_info+0xe2/0x116 [ 45.166736][ T10] ? netdev_notice+0x120/0x120 [ 45.166738][ T10] ? rcu_is_watching+0x16/0xd0 [ 45.166740][ T10] ? __queue_work+0x3ab/0xd30 [ 45.166743][ T10] ? kthread+0x367/0x460 [ 45.166745][ T10] ? trace_irq_enable.constprop.0+0x30/0x160 [ 45.166748][ T10] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 45.166752][ T10] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 45.166754][ T10] ? rcu_is_watching+0x16/0xd0 [ 45.166756][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 45.166758][ T10] ovpn_peer_remove+0x394/0x640 [ovpn] [ 45.166761][ T10] ? do_raw_spin_lock+0x131/0x280 [ 45.166763][ T10] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 45.166766][ T10] ? __rwlock_init+0x150/0x150 [ 45.166767][ T10] ? rcu_is_watching+0x16/0xd0 [ 45.166769][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 45.166770][ T10] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 45.166772][ T10] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 45.166774][ T10] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 45.166777][ T10] ? __rwlock_init+0x150/0x150 [ 45.166779][ T10] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 45.166782][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 45.166784][ T10] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 45.166786][ T10] ? rcu_is_watching+0x16/0xd0 [ 45.166788][ T10] ? lock_acquire+0x13c/0x160 [ 45.166789][ T10] ? rcu_is_watching+0x16/0xd0 [ 45.166792][ T10] ? process_one_work+0xdfc/0x1560 [ 45.166793][ T10] process_one_work+0xe3e/0x1560 [ 45.166796][ T10] ? __queue_delayed_work+0x470/0x470 [ 45.166798][ T10] ? find_held_lock+0x2b/0x80 [ 45.166800][ T10] ? __rwlock_init+0x150/0x150 [ 45.166802][ T10] worker_thread+0x4f1/0xd60 [ 45.166804][ T10] ? rescuer_thread+0x1340/0x1340 [ 45.166806][ T10] ? __kthread_parkme+0xbd/0x210 [ 45.166808][ T10] ? rescuer_thread+0x1340/0x1340 [ 45.166810][ T10] ? rescuer_thread+0x1340/0x1340 [ 45.166811][ T10] kthread+0x367/0x460 [ 45.166813][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 45.166814][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 45.166816][ T10] ret_from_fork+0x474/0x6b0 [ 45.166818][ T10] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 45.166820][ T10] ? __switch_to+0x5a3/0xe00 [ 45.166822][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 45.166824][ T10] ret_from_fork_asm+0x11/0x20 [ 45.166828][ T10] [ 45.167551][ T74] tun3: deleting peer with id 3, reason 2 [ 45.230558][ T66] tun5: deleting peer with id 5, reason 2 [ 45.294553][ T74] tun6: deleting peer with id 6, reason 2