[ 33.082134][ T679] iperf3 (679) used greatest stack depth: 23296 bytes left [ 33.082155][ T679] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 33.082157][ T679] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 679, name: iperf3 [ 33.082159][ T679] preempt_count: 2, expected: 0 [ 33.082160][ T679] RCU nest depth: 0, expected: 0 [ 33.082161][ T679] locks held by iperf3/679: 5, last CPU#2: [ 33.082163][ T679] #0: ffffffffa72127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 33.082176][ T679] #1: ffffffffa7379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 33.082183][ T679] #2: ffffffffa7379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 33.082187][ T679] #3: ffffffffa7299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 33.082190][ T679] #4: ffffffffa7299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 33.082195][ T679] irq event stamp: 1945528 [ 33.082195][ T679] hardirqs last enabled at (1945527): [] __down_trylock_console_sem+0x86/0xa0 [ 33.082198][ T679] hardirqs last disabled at (1945528): [] console_emit_next_record+0x3d4/0x4c0 [ 33.082200][ T679] softirqs last enabled at (1944120): [] handle_softirqs+0x67c/0x900 [ 33.082202][ T679] softirqs last disabled at (1943219): [] __irq_exit_rcu+0x145/0x1c0 [ 33.082205][ T679] Preemption disabled at: [ 33.082206][ T679] [<0000000000000000>] 0x0 [ 33.082213][ T679] CPU: 2 UID: 0 PID: 679 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 33.082223][ T679] Tainted: [W]=WARN [ 33.082224][ T679] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 33.082226][ T679] Call Trace: [ 33.082227][ T679] [ 33.082229][ T679] dump_stack_lvl+0x6f/0xa0 [ 33.082235][ T679] __might_resched.cold+0x1fe/0x2c1 [ 33.082240][ T679] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 33.082244][ T679] ? __kmalloc_noprof+0xdb/0x760 [ 33.082249][ T679] __kmalloc_noprof+0x443/0x760 [ 33.082252][ T679] ? alloc_buf.isra.0+0x4b/0x260 [ 33.082258][ T679] ? do_raw_spin_unlock+0x59/0x250 [ 33.082261][ T679] alloc_buf.isra.0+0x4b/0x260 [ 33.082264][ T679] put_chars+0x1e1/0x2f0 [ 33.082266][ T679] ? prb_final_commit+0x50/0x50 [ 33.082269][ T679] ? __send_to_port+0x420/0x420 [ 33.082272][ T679] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 33.082276][ T679] ? rcu_read_lock_any_held+0x3c/0x90 [ 33.082279][ T679] ? validate_chain+0x38b/0xc20 [ 33.082282][ T679] hvc_console_print+0x292/0x780 [ 33.082286][ T679] ? mark_usage+0x61/0x170 [ 33.082288][ T679] ? __lock_acquire+0x518/0xc20 [ 33.082289][ T679] ? __lock_acquire+0x518/0xc20 [ 33.082293][ T679] ? hvc_write+0x3a0/0x3a0 [ 33.082295][ T679] ? console_emit_next_record+0x1df/0x4c0 [ 33.082299][ T679] ? rcu_is_watching+0x16/0xd0 [ 33.082301][ T679] ? lock_acquire+0x13c/0x160 [ 33.082305][ T679] console_emit_next_record+0x22f/0x4c0 [ 33.082309][ T679] ? devkmsg_read+0x4b0/0x4b0 [ 33.082311][ T679] ? console_flush_one_record+0x106/0x710 [ 33.082314][ T679] ? rcu_is_watching+0x16/0xd0 [ 33.082316][ T679] ? lock_acquire+0x13c/0x160 [ 33.082320][ T679] console_flush_one_record+0x46f/0x710 [ 33.082324][ T679] ? console_emit_next_record+0x4c0/0x4c0 [ 33.082326][ T679] ? __lock_acquire+0x518/0xc20 [ 33.082331][ T679] console_unlock+0xee/0x1f0 [ 33.082334][ T679] ? console_flush_one_record+0x710/0x710 [ 33.082336][ T679] ? rcu_is_watching+0x16/0xd0 [ 33.082339][ T679] ? lock_acquire+0x60/0x160 [ 33.082342][ T679] ? __down_trylock_console_sem+0x5e/0xa0 [ 33.082344][ T679] ? vprintk_emit+0x320/0x3e0 [ 33.082347][ T679] vprintk_emit+0x37c/0x3e0 [ 33.082351][ T679] ? wake_up_klogd_work_func+0x90/0x90 [ 33.082355][ T679] ? __lock_acquire+0x518/0xc20 [ 33.082358][ T679] _printk+0xc7/0x100 [ 33.082362][ T679] ? snapshot_read.cold+0x21/0x21 [ 33.082365][ T679] ? do_raw_spin_lock+0x131/0x280 [ 33.082368][ T679] ? __rwlock_init+0x150/0x150 [ 33.082372][ T679] ? do_raw_spin_lock+0x131/0x280 [ 33.082375][ T679] do_exit.cold+0x82/0x9c [ 33.082379][ T679] ? exit_notify+0x890/0x890 [ 33.082384][ T679] __x64_sys_exit+0x42/0x50 [ 33.082386][ T679] x64_sys_call+0x156c/0x1570 [ 33.082388][ T679] do_syscall_64+0xff/0x530 [ 33.082392][ T679] ? exc_page_fault+0xee/0x100 [ 33.082395][ T679] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 33.082397][ T679] RIP: 0033:0x7f6355eadc49 [ 33.082400][ T679] Code: Unable to access opcode bytes at 0x7f6355eadc1f. [ 33.082401][ T679] RSP: 002b:00007f635566ce60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 33.082404][ T679] RAX: ffffffffffffffda RBX: 00007f635566d6c0 RCX: 00007f6355eadc49 [ 33.082405][ T679] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 33.082406][ T679] RBP: 00007f635566cf70 R08: 0000000000000001 R09: 00007f635566d6c0 [ 33.082407][ T679] R10: 0000000000000008 R11: 0000000000000246 R12: 00007f6354e6d000 [ 33.082408][ T679] R13: 00007ffe5f347580 R14: 0000000000000002 R15: 00007ffe5f347687 [ 33.082415][ T679] [ 35.234599][ T773] tun0: deleting peer with id 1, reason 1 [ 35.234751][ T773] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 35.234753][ T773] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 773, name: ovpn-cli [ 35.234754][ T773] preempt_count: 202, expected: 0 [ 35.234755][ T773] RCU nest depth: 0, expected: 0 [ 35.234756][ T773] locks held by ovpn-cli/773: 6, last CPU#3: [ 35.234758][ T773] #0: ffffffffa7b44b68 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 35.234770][ T773] #1: ff11000015d94e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 35.234778][ T773] #2: ffffffffa7379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 35.234785][ T773] #3: ffffffffa7379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 35.234788][ T773] #4: ffffffffa7299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 35.234792][ T773] #5: ffffffffa7299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 35.234796][ T773] irq event stamp: 37887 [ 35.234797][ T773] hardirqs last enabled at (37886): [] __down_trylock_console_sem+0x86/0xa0 [ 35.234800][ T773] hardirqs last disabled at (37887): [] console_emit_next_record+0x3d4/0x4c0 [ 35.234802][ T773] softirqs last enabled at (37854): [] __alloc_skb+0x4c2/0x5f0 [ 35.234805][ T773] softirqs last disabled at (37882): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 35.234809][ T773] Preemption disabled at: [ 35.234810][ T773] [<0000000000000000>] 0x0 [ 35.234816][ T773] CPU: 3 UID: 0 PID: 773 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 35.234820][ T773] Tainted: [W]=WARN [ 35.234821][ T773] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 35.234823][ T773] Call Trace: [ 35.234824][ T773] [ 35.234826][ T773] dump_stack_lvl+0x6f/0xa0 [ 35.234832][ T773] __might_resched.cold+0x1fe/0x2c1 [ 35.234837][ T773] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 35.234841][ T773] ? __kmalloc_noprof+0xdb/0x760 [ 35.234848][ T773] __kmalloc_noprof+0x443/0x760 [ 35.234852][ T773] ? alloc_buf.isra.0+0x4b/0x260 [ 35.234860][ T773] ? do_raw_spin_unlock+0x59/0x250 [ 35.234863][ T773] alloc_buf.isra.0+0x4b/0x260 [ 35.234867][ T773] put_chars+0x1e1/0x2f0 [ 35.234870][ T773] ? __send_to_port+0x420/0x420 [ 35.234872][ T773] ? check_prev_add+0x316/0xe90 [ 35.234876][ T773] ? validate_chain+0x34a/0xc20 [ 35.234879][ T773] hvc_console_print+0x292/0x780 [ 35.234882][ T773] ? mark_usage+0x61/0x170 [ 35.234884][ T773] ? __lock_acquire+0x518/0xc20 [ 35.234886][ T773] ? __lock_acquire+0x518/0xc20 [ 35.234890][ T773] ? hvc_write+0x3a0/0x3a0 [ 35.234891][ T773] ? lock_acquire.part.0+0xd4/0x280 [ 35.234896][ T773] ? lock_acquire+0x13c/0x160 [ 35.234900][ T773] console_emit_next_record+0x22f/0x4c0 [ 35.234903][ T773] ? devkmsg_read+0x4b0/0x4b0 [ 35.234905][ T773] ? console_flush_one_record+0x106/0x710 [ 35.234908][ T773] ? rcu_is_watching+0x16/0xd0 [ 35.234912][ T773] ? lock_acquire+0x13c/0x160 [ 35.234916][ T773] console_flush_one_record+0x46f/0x710 [ 35.234920][ T773] ? console_emit_next_record+0x4c0/0x4c0 [ 35.234922][ T773] ? __lock_acquire+0x518/0xc20 [ 35.234927][ T773] console_unlock+0xee/0x1f0 [ 35.234930][ T773] ? console_flush_one_record+0x710/0x710 [ 35.234932][ T773] ? rcu_is_watching+0x16/0xd0 [ 35.234934][ T773] ? lock_acquire+0x60/0x160 [ 35.234938][ T773] ? __down_trylock_console_sem+0x5e/0xa0 [ 35.234940][ T773] ? vprintk_emit+0x320/0x3e0 [ 35.234943][ T773] vprintk_emit+0x37c/0x3e0 [ 35.234946][ T773] ? wake_up_klogd_work_func+0x90/0x90 [ 35.234948][ T773] ? kernel_text_address+0x149/0x170 [ 35.234952][ T773] ? __kernel_text_address+0x12/0x30 [ 35.234953][ T773] ? write_profile+0xf0/0xf0 [ 35.234955][ T773] ? unwind_get_return_address+0x67/0xd0 [ 35.234961][ T773] _printk+0xc7/0x100 [ 35.234964][ T773] ? snapshot_read.cold+0x21/0x21 [ 35.234968][ T773] ? mark_usage+0x61/0x170 [ 35.234970][ T773] ? netdev_name+0x43/0x60 [ 35.234973][ T773] ? __netdev_printk+0x17f/0x1d0 [ 35.234976][ T773] netdev_info+0xe2/0x116 [ 35.234978][ T773] ? netdev_notice+0x120/0x120 [ 35.234980][ T773] ? find_held_lock+0x2b/0x80 [ 35.234982][ T773] ? mark_usage+0x61/0x170 [ 35.234985][ T773] ? __lock_acquire+0x518/0xc20 [ 35.234991][ T773] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 35.234996][ T773] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 35.235000][ T773] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 35.235005][ T773] ovpn_peer_remove+0x394/0x640 [ovpn] [ 35.235008][ T773] ? do_raw_spin_lock+0x131/0x280 [ 35.235011][ T773] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 35.235017][ T773] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 35.235021][ T773] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 35.235027][ T773] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 35.235030][ T773] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 35.235034][ T773] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 35.235037][ T773] ? ref_tracker_alloc+0x28d/0x430 [ 35.235048][ T773] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 35.235052][ T773] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 35.235058][ T773] genl_family_rcv_msg_doit+0x206/0x300 [ 35.235062][ T773] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 35.235064][ T773] ? __lock_release.isra.0+0x69/0x1a0 [ 35.235069][ T773] ? rcu_is_watching+0x16/0xd0 [ 35.235072][ T773] ? cap_capable+0x1d7/0x3d0 [ 35.235076][ T773] ? write_profile+0xf0/0xf0 [ 35.235077][ T773] ? unwind_get_return_address+0x67/0xd0 [ 35.235080][ T773] genl_family_rcv_msg+0x3a4/0x640 [ 35.235084][ T773] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 35.235087][ T773] ? rcu_read_lock_any_held+0x3c/0x90 [ 35.235089][ T773] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 35.235092][ T773] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 35.235094][ T773] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 35.235098][ T773] ? __lock_acquire+0x518/0xc20 [ 35.235103][ T773] genl_rcv_msg+0xbb/0x160 [ 35.235106][ T773] netlink_rcv_skb+0x14e/0x3a0 [ 35.235108][ T773] ? genl_family_rcv_msg+0x640/0x640 [ 35.235112][ T773] ? netlink_ack+0xcf0/0xcf0 [ 35.235119][ T773] ? netlink_deliver_tap+0xc5/0x330 [ 35.235121][ T773] ? netlink_deliver_tap+0x13c/0x330 [ 35.235125][ T773] genl_rcv+0x28/0x40 [ 35.235127][ T773] netlink_unicast+0x486/0x750 [ 35.235131][ T773] ? netlink_attachskb+0x810/0x810 [ 35.235134][ T773] ? __lock_acquire+0x518/0xc20 [ 35.235138][ T773] netlink_sendmsg+0x735/0xc60 [ 35.235142][ T773] ? netlink_unicast+0x750/0x750 [ 35.235146][ T773] ? __might_fault+0x97/0x140 [ 35.235152][ T773] ____sys_sendmsg+0x415/0x880 [ 35.235156][ T773] ? copy_msghdr_from_user+0x279/0x420 [ 35.235158][ T773] ? get_timestamp.constprop.0+0x390/0x390 [ 35.235160][ T773] ? move_addr_to_kernel+0x40/0x40 [ 35.235170][ T773] ___sys_sendmsg+0x14e/0x1d0 [ 35.235173][ T773] ? copy_msghdr_from_user+0x420/0x420 [ 35.235175][ T773] ? kfree+0x22/0x590 [ 35.235190][ T773] __sys_sendmsg+0x12c/0x1d0 [ 35.235194][ T773] ? __sys_sendmsg_sock+0x20/0x20 [ 35.235199][ T773] ? rcu_is_watching+0x16/0xd0 [ 35.235202][ T773] ? rcu_is_watching+0x16/0xd0 [ 35.235205][ T773] do_syscall_64+0xff/0x530 [ 35.235208][ T773] ? exc_page_fault+0xee/0x100 [ 35.235211][ T773] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 35.235214][ T773] RIP: 0033:0x7f6bd8eb154e [ 35.235216][ T773] 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.235218][ T773] RSP: 002b:00007ffdb9ecc1a0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 35.235220][ T773] RAX: ffffffffffffffda RBX: 000000002d73e130 RCX: 00007f6bd8eb154e [ 35.235222][ T773] RDX: 0000000000000000 RSI: 00007ffdb9ecc240 RDI: 0000000000000005 [ 35.235223][ T773] RBP: 00007ffdb9ecc1b0 R08: 0000000000000000 R09: 0000000000000000 [ 35.235224][ T773] R10: 0000000000000000 R11: 0000000000000202 R12: 000000002d73e200 [ 35.235224][ T773] R13: 00007ffdb9ecc240 R14: 000000002d73f260 R15: 000000000040bda8 [ 35.235237][ T773] [ 35.409389][ T777] tun1: deleting peer with id 10, reason 1 [ 38.670109][ T825] tun0: deleting peer with id 2, reason 1 [ 38.670130][ T825] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 38.670132][ T825] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 825, name: ovpn-cli [ 38.670134][ T825] preempt_count: 202, expected: 0 [ 38.670135][ T825] RCU nest depth: 0, expected: 0 [ 38.670136][ T825] locks held by ovpn-cli/825: 6, last CPU#3: [ 38.670138][ T825] #0: ffffffffa7b44b68 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 38.670151][ T825] #1: ff11000015d94e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_del+0xa0/0x590 [ovpn] [ 38.670160][ T825] #2: ffffffffa7379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 38.670170][ T825] #3: ffffffffa7379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 38.670174][ T825] #4: ffffffffa7299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 38.670178][ T825] #5: ffffffffa7299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 38.670182][ T825] irq event stamp: 30449 [ 38.670183][ T825] hardirqs last enabled at (30448): [] __down_trylock_console_sem+0x86/0xa0 [ 38.670186][ T825] hardirqs last disabled at (30449): [] console_emit_next_record+0x3d4/0x4c0 [ 38.670188][ T825] softirqs last enabled at (30416): [] __alloc_skb+0x4c2/0x5f0 [ 38.670192][ T825] softirqs last disabled at (30444): [] ovpn_peer_del+0xa0/0x590 [ovpn] [ 38.670196][ T825] Preemption disabled at: [ 38.670197][ T825] [<0000000000000000>] 0x0 [ 38.670204][ T825] CPU: 3 UID: 0 PID: 825 Comm: ovpn-cli Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 38.670208][ T825] Tainted: [W]=WARN [ 38.670209][ T825] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 38.670211][ T825] Call Trace: [ 38.670213][ T825] [ 38.670214][ T825] dump_stack_lvl+0x6f/0xa0 [ 38.670221][ T825] __might_resched.cold+0x1fe/0x2c1 [ 38.670226][ T825] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 38.670230][ T825] ? __kmalloc_noprof+0xdb/0x760 [ 38.670236][ T825] __kmalloc_noprof+0x443/0x760 [ 38.670238][ T825] ? alloc_buf.isra.0+0x4b/0x260 [ 38.670244][ T825] ? do_raw_spin_unlock+0x59/0x250 [ 38.670252][ T825] alloc_buf.isra.0+0x4b/0x260 [ 38.670256][ T825] put_chars+0x1e1/0x2f0 [ 38.670259][ T825] ? __send_to_port+0x420/0x420 [ 38.670262][ T825] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 38.670267][ T825] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.670269][ T825] ? validate_chain+0x38b/0xc20 [ 38.670274][ T825] hvc_console_print+0x292/0x780 [ 38.670277][ T825] ? mark_usage+0x61/0x170 [ 38.670279][ T825] ? __lock_acquire+0x518/0xc20 [ 38.670280][ T825] ? __lock_acquire+0x518/0xc20 [ 38.670285][ T825] ? hvc_write+0x3a0/0x3a0 [ 38.670286][ T825] ? lock_acquire.part.0+0xd4/0x280 [ 38.670291][ T825] ? lock_acquire+0x13c/0x160 [ 38.670295][ T825] console_emit_next_record+0x22f/0x4c0 [ 38.670299][ T825] ? devkmsg_read+0x4b0/0x4b0 [ 38.670301][ T825] ? console_flush_one_record+0x106/0x710 [ 38.670305][ T825] ? rcu_is_watching+0x16/0xd0 [ 38.670307][ T825] ? lock_acquire+0x13c/0x160 [ 38.670312][ T825] console_flush_one_record+0x46f/0x710 [ 38.670316][ T825] ? console_emit_next_record+0x4c0/0x4c0 [ 38.670318][ T825] ? __lock_acquire+0x518/0xc20 [ 38.670324][ T825] console_unlock+0xee/0x1f0 [ 38.670327][ T825] ? console_flush_one_record+0x710/0x710 [ 38.670329][ T825] ? rcu_is_watching+0x16/0xd0 [ 38.670331][ T825] ? lock_acquire+0x60/0x160 [ 38.670335][ T825] ? __down_trylock_console_sem+0x5e/0xa0 [ 38.670337][ T825] ? vprintk_emit+0x320/0x3e0 [ 38.670341][ T825] vprintk_emit+0x37c/0x3e0 [ 38.670345][ T825] ? wake_up_klogd_work_func+0x90/0x90 [ 38.670347][ T825] ? kernel_text_address+0x149/0x170 [ 38.670350][ T825] ? __kernel_text_address+0x12/0x30 [ 38.670351][ T825] ? write_profile+0xf0/0xf0 [ 38.670354][ T825] ? unwind_get_return_address+0x67/0xd0 [ 38.670359][ T825] _printk+0xc7/0x100 [ 38.670363][ T825] ? snapshot_read.cold+0x21/0x21 [ 38.670367][ T825] ? mark_usage+0x61/0x170 [ 38.670369][ T825] ? netdev_name+0x43/0x60 [ 38.670372][ T825] ? __netdev_printk+0x17f/0x1d0 [ 38.670376][ T825] netdev_info+0xe2/0x116 [ 38.670379][ T825] ? netdev_notice+0x120/0x120 [ 38.670380][ T825] ? find_held_lock+0x2b/0x80 [ 38.670383][ T825] ? mark_usage+0x61/0x170 [ 38.670386][ T825] ? __lock_acquire+0x518/0xc20 [ 38.670392][ T825] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 38.670397][ T825] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 38.670401][ T825] ? ovpn_peer_get_by_id+0x1fd/0x7a0 [ovpn] [ 38.670407][ T825] ovpn_peer_remove+0x394/0x640 [ovpn] [ 38.670411][ T825] ? do_raw_spin_lock+0x131/0x280 [ 38.670414][ T825] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 38.670421][ T825] ovpn_peer_del+0x1e5/0x590 [ovpn] [ 38.670425][ T825] ? ovpn_peer_add+0x330/0x330 [ovpn] [ 38.670432][ T825] ovpn_nl_peer_del_doit+0x25c/0x6c0 [ovpn] [ 38.670435][ T825] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 38.670439][ T825] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 38.670442][ T825] ? ref_tracker_alloc+0x28d/0x430 [ 38.670453][ T825] ? ovpn_get_dev_from_attrs+0x170/0x660 [ovpn] [ 38.670458][ T825] ? ovpn_get_dev_from_attrs+0x17a/0x660 [ovpn] [ 38.670463][ T825] genl_family_rcv_msg_doit+0x206/0x300 [ 38.670467][ T825] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 38.670469][ T825] ? __lock_release.isra.0+0x69/0x1a0 [ 38.670475][ T825] ? rcu_is_watching+0x16/0xd0 [ 38.670478][ T825] ? cap_capable+0x1d7/0x3d0 [ 38.670482][ T825] ? write_profile+0xf0/0xf0 [ 38.670483][ T825] ? unwind_get_return_address+0x67/0xd0 [ 38.670487][ T825] genl_family_rcv_msg+0x3a4/0x640 [ 38.670491][ T825] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 38.670494][ T825] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.670495][ T825] ? ovpn_nl_send_peer+0x1300/0x1300 [ovpn] [ 38.670498][ T825] ? ovpn_nl_peer_get_dumpit+0xa40/0xa40 [ovpn] [ 38.670501][ T825] ? ovpn_nl_pre_doit+0x90/0x90 [ovpn] [ 38.670504][ T825] ? __lock_acquire+0x518/0xc20 [ 38.670510][ T825] genl_rcv_msg+0xbb/0x160 [ 38.670514][ T825] netlink_rcv_skb+0x14e/0x3a0 [ 38.670516][ T825] ? genl_family_rcv_msg+0x640/0x640 [ 38.670520][ T825] ? netlink_ack+0xcf0/0xcf0 [ 38.670527][ T825] ? netlink_deliver_tap+0xc5/0x330 [ 38.670529][ T825] ? netlink_deliver_tap+0x13c/0x330 [ 38.670533][ T825] genl_rcv+0x28/0x40 [ 38.670536][ T825] netlink_unicast+0x486/0x750 [ 38.670540][ T825] ? netlink_attachskb+0x810/0x810 [ 38.670543][ T825] ? __lock_acquire+0x518/0xc20 [ 38.670547][ T825] netlink_sendmsg+0x735/0xc60 [ 38.670552][ T825] ? netlink_unicast+0x750/0x750 [ 38.670556][ T825] ? __might_fault+0x97/0x140 [ 38.670562][ T825] ____sys_sendmsg+0x415/0x880 [ 38.670566][ T825] ? copy_msghdr_from_user+0x279/0x420 [ 38.670568][ T825] ? get_timestamp.constprop.0+0x390/0x390 [ 38.670570][ T825] ? move_addr_to_kernel+0x40/0x40 [ 38.670578][ T825] ___sys_sendmsg+0x14e/0x1d0 [ 38.670581][ T825] ? copy_msghdr_from_user+0x420/0x420 [ 38.670583][ T825] ? kfree+0x22/0x590 [ 38.670601][ T825] __sys_sendmsg+0x12c/0x1d0 [ 38.670606][ T825] ? __sys_sendmsg_sock+0x20/0x20 [ 38.670613][ T825] ? rcu_is_watching+0x16/0xd0 [ 38.670616][ T825] ? rcu_is_watching+0x16/0xd0 [ 38.670619][ T825] do_syscall_64+0xff/0x530 [ 38.670623][ T825] ? exc_page_fault+0xee/0x100 [ 38.670626][ T825] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 38.670628][ T825] RIP: 0033:0x7f2b03b4654e [ 38.670631][ T825] 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 [ 38.670632][ T825] RSP: 002b:00007ffee2d0c270 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 38.670635][ T825] RAX: ffffffffffffffda RBX: 000000002d782130 RCX: 00007f2b03b4654e [ 38.670637][ T825] RDX: 0000000000000000 RSI: 00007ffee2d0c310 RDI: 0000000000000005 [ 38.670638][ T825] RBP: 00007ffee2d0c280 R08: 0000000000000000 R09: 0000000000000000 [ 38.670639][ T825] R10: 0000000000000000 R11: 0000000000000202 R12: 000000002d782200 [ 38.670640][ T825] R13: 00007ffee2d0c310 R14: 000000002d783260 R15: 000000000040bda8 [ 38.670647][ T825] [ 38.837784][ T829] tun2: deleting peer with id 11, reason 1 [ 44.105551][ T50] tun0: deleting peer with id 4, reason 2 [ 44.105634][ T50] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 44.105637][ T50] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 50, name: kworker/2:1 [ 44.105639][ T50] preempt_count: 202, expected: 0 [ 44.105641][ T50] RCU nest depth: 0, expected: 0 [ 44.105642][ T50] locks held by kworker/2:1/50: 7, last CPU#2: [ 44.105645][ T50] #0: ff1100000d15b340 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 44.105661][ T50] #1: ffa000000036fd10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 44.105666][ T50] #2: ff11000015d94e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 44.105678][ T50] #3: ffffffffa7379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 44.105686][ T50] #4: ffffffffa7379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 44.105691][ T50] #5: ffffffffa7299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 44.105697][ T50] #6: ffffffffa7299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 44.105704][ T50] irq event stamp: 20405 [ 44.105705][ T50] hardirqs last enabled at (20404): [] __down_trylock_console_sem+0x86/0xa0 [ 44.105708][ T50] hardirqs last disabled at (20405): [] console_emit_next_record+0x3d4/0x4c0 [ 44.105711][ T50] softirqs last enabled at (20274): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 44.105717][ T50] softirqs last disabled at (20398): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 44.105723][ T50] Preemption disabled at: [ 44.105724][ T50] [<0000000000000000>] 0x0 [ 44.105734][ T50] CPU: 2 UID: 0 PID: 50 Comm: kworker/2:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 44.105739][ T50] Tainted: [W]=WARN [ 44.105740][ T50] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 44.105743][ T50] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 44.105750][ T50] Call Trace: [ 44.105752][ T50] [ 44.105756][ T50] dump_stack_lvl+0x6f/0xa0 [ 44.105765][ T50] __might_resched.cold+0x1fe/0x2c1 [ 44.105771][ T50] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 44.105777][ T50] ? __kmalloc_noprof+0xdb/0x760 [ 44.105784][ T50] __kmalloc_noprof+0x443/0x760 [ 44.105788][ T50] ? alloc_buf.isra.0+0x4b/0x260 [ 44.105797][ T50] ? do_raw_spin_unlock+0x59/0x250 [ 44.105801][ T50] alloc_buf.isra.0+0x4b/0x260 [ 44.105807][ T50] put_chars+0x1e1/0x2f0 [ 44.105812][ T50] ? __send_to_port+0x420/0x420 [ 44.105820][ T50] ? validate_chain+0x34a/0xc20 [ 44.105827][ T50] hvc_console_print+0x292/0x780 [ 44.105831][ T50] ? mark_usage+0x61/0x170 [ 44.105834][ T50] ? __lock_acquire+0x518/0xc20 [ 44.105837][ T50] ? __lock_acquire+0x518/0xc20 [ 44.105844][ T50] ? hvc_write+0x3a0/0x3a0 [ 44.105848][ T50] ? console_emit_next_record+0x1df/0x4c0 [ 44.105853][ T50] ? rcu_is_watching+0x16/0xd0 [ 44.105859][ T50] ? lock_acquire+0x13c/0x160 [ 44.105866][ T50] console_emit_next_record+0x22f/0x4c0 [ 44.105872][ T50] ? devkmsg_read+0x4b0/0x4b0 [ 44.105875][ T50] ? console_flush_one_record+0x106/0x710 [ 44.105880][ T50] ? rcu_is_watching+0x16/0xd0 [ 44.105884][ T50] ? lock_acquire+0x13c/0x160 [ 44.105891][ T50] console_flush_one_record+0x46f/0x710 [ 44.105898][ T50] ? console_emit_next_record+0x4c0/0x4c0 [ 44.105901][ T50] ? __lock_acquire+0x518/0xc20 [ 44.105911][ T50] console_unlock+0xee/0x1f0 [ 44.105916][ T50] ? console_flush_one_record+0x710/0x710 [ 44.105918][ T50] ? rcu_is_watching+0x16/0xd0 [ 44.105922][ T50] ? lock_acquire+0x60/0x160 [ 44.105929][ T50] ? __down_trylock_console_sem+0x5e/0xa0 [ 44.105932][ T50] ? vprintk_emit+0x320/0x3e0 [ 44.105937][ T50] vprintk_emit+0x37c/0x3e0 [ 44.105943][ T50] ? wake_up_klogd_work_func+0x90/0x90 [ 44.105954][ T50] _printk+0xc7/0x100 [ 44.105959][ T50] ? snapshot_read.cold+0x21/0x21 [ 44.105967][ T50] ? netdev_name+0x43/0x60 [ 44.105972][ T50] ? __netdev_printk+0x17f/0x1d0 [ 44.105978][ T50] netdev_info+0xe2/0x116 [ 44.105982][ T50] ? netdev_notice+0x120/0x120 [ 44.105984][ T50] ? rcu_read_lock_any_held+0x3c/0x90 [ 44.105994][ T50] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 44.105998][ T50] ? rcu_read_lock_any_held+0x3c/0x90 [ 44.106005][ T50] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 44.106014][ T50] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 44.106028][ T50] ovpn_peer_remove+0x394/0x640 [ovpn] [ 44.106035][ T50] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 44.106040][ T50] ? __rwlock_init+0x150/0x150 [ 44.106043][ T50] ? mark_held_locks+0x40/0x70 [ 44.106051][ T50] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 44.106059][ T50] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 44.106065][ T50] ? __rwlock_init+0x150/0x150 [ 44.106075][ T50] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 44.106083][ T50] ? process_one_work+0xdfc/0x1560 [ 44.106088][ T50] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 44.106093][ T50] ? rcu_is_watching+0x16/0xd0 [ 44.106097][ T50] ? lock_acquire+0x13c/0x160 [ 44.106100][ T50] ? rcu_is_watching+0x16/0xd0 [ 44.106107][ T50] process_one_work+0xe3e/0x1560 [ 44.106119][ T50] ? __queue_delayed_work+0x470/0x470 [ 44.106124][ T50] ? lock_acquire.part.0+0xd4/0x280 [ 44.106139][ T50] worker_thread+0x4f1/0xd60 [ 44.106152][ T50] ? rescuer_thread+0x1340/0x1340 [ 44.106155][ T50] kthread+0x367/0x460 [ 44.106159][ T50] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 44.106163][ T50] ? kthread_affine_preferred+0x4c0/0x4c0 [ 44.106173][ T50] ret_from_fork+0x474/0x6b0 [ 44.106180][ T50] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 44.106185][ T50] ? __switch_to+0x5a3/0xe00 [ 44.106190][ T50] ? kthread_affine_preferred+0x4c0/0x4c0 [ 44.106195][ T50] ret_from_fork_asm+0x11/0x20 [ 44.106211][ T50] [ 44.151920][ T50] tun0: deleting peer with id 3, reason 2 [ 44.152500][ T50] tun0: deleting peer with id 5, reason 2 [ 45.194219][ T50] tun0: deleting peer with id 6, reason 2 [ 45.194243][ T50] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 45.194245][ T50] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 50, name: kworker/2:1 [ 45.194247][ T50] preempt_count: 202, expected: 0 [ 45.194248][ T50] RCU nest depth: 0, expected: 0 [ 45.194249][ T50] locks held by kworker/2:1/50: 7, last CPU#2: [ 45.194252][ T50] #0: ff1100000d15b340 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 45.194265][ T50] #1: ffa000000036fd10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 45.194269][ T50] #2: ff11000015d94e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 45.194279][ T50] #3: ffffffffa7379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 45.194291][ T50] #4: ffffffffa7379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 45.194294][ T50] #5: ffffffffa7299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 45.194298][ T50] #6: ffffffffa7299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 45.194302][ T50] irq event stamp: 21635 [ 45.194303][ T50] hardirqs last enabled at (21634): [] __down_trylock_console_sem+0x86/0xa0 [ 45.194306][ T50] hardirqs last disabled at (21635): [] console_emit_next_record+0x3d4/0x4c0 [ 45.194308][ T50] softirqs last enabled at (21294): [] ovpn_peer_release+0x37/0xe0 [ovpn] [ 45.194312][ T50] softirqs last disabled at (21628): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 45.194316][ T50] Preemption disabled at: [ 45.194316][ T50] [<0000000000000000>] 0x0 [ 45.194324][ T50] CPU: 2 UID: 0 PID: 50 Comm: kworker/2:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 45.194327][ T50] Tainted: [W]=WARN [ 45.194328][ T50] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 45.194330][ T50] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 45.194335][ T50] Call Trace: [ 45.194336][ T50] [ 45.194340][ T50] dump_stack_lvl+0x6f/0xa0 [ 45.194347][ T50] __might_resched.cold+0x1fe/0x2c1 [ 45.194351][ T50] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 45.194356][ T50] ? __kmalloc_noprof+0xdb/0x760 [ 45.194361][ T50] __kmalloc_noprof+0x443/0x760 [ 45.194363][ T50] ? alloc_buf.isra.0+0x4b/0x260 [ 45.194370][ T50] ? do_raw_spin_unlock+0x59/0x250 [ 45.194373][ T50] alloc_buf.isra.0+0x4b/0x260 [ 45.194377][ T50] put_chars+0x1e1/0x2f0 [ 45.194379][ T50] ? prb_final_commit+0x50/0x50 [ 45.194382][ T50] ? __send_to_port+0x420/0x420 [ 45.194385][ T50] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 45.194389][ T50] ? rcu_read_lock_any_held+0x3c/0x90 [ 45.194392][ T50] ? validate_chain+0x38b/0xc20 [ 45.194396][ T50] hvc_console_print+0x292/0x780 [ 45.194400][ T50] ? mark_usage+0x61/0x170 [ 45.194402][ T50] ? __lock_acquire+0x518/0xc20 [ 45.194403][ T50] ? __lock_acquire+0x518/0xc20 [ 45.194407][ T50] ? hvc_write+0x3a0/0x3a0 [ 45.194409][ T50] ? console_emit_next_record+0x1df/0x4c0 [ 45.194413][ T50] ? rcu_is_watching+0x16/0xd0 [ 45.194415][ T50] ? lock_acquire+0x13c/0x160 [ 45.194419][ T50] console_emit_next_record+0x22f/0x4c0 [ 45.194424][ T50] ? devkmsg_read+0x4b0/0x4b0 [ 45.194425][ T50] ? console_flush_one_record+0x106/0x710 [ 45.194429][ T50] ? rcu_is_watching+0x16/0xd0 [ 45.194431][ T50] ? lock_acquire+0x13c/0x160 [ 45.194435][ T50] console_flush_one_record+0x46f/0x710 [ 45.194439][ T50] ? console_emit_next_record+0x4c0/0x4c0 [ 45.194441][ T50] ? __lock_acquire+0x518/0xc20 [ 45.194447][ T50] console_unlock+0xee/0x1f0 [ 45.194450][ T50] ? console_flush_one_record+0x710/0x710 [ 45.194452][ T50] ? rcu_is_watching+0x16/0xd0 [ 45.194454][ T50] ? lock_acquire+0x60/0x160 [ 45.194458][ T50] ? __down_trylock_console_sem+0x5e/0xa0 [ 45.194459][ T50] ? vprintk_emit+0x320/0x3e0 [ 45.194463][ T50] vprintk_emit+0x37c/0x3e0 [ 45.194467][ T50] ? wake_up_klogd_work_func+0x90/0x90 [ 45.194470][ T50] ? __lock_release.isra.0+0x69/0x1a0 [ 45.194472][ T50] ? rcu_is_watching+0x16/0xd0 [ 45.194475][ T50] _printk+0xc7/0x100 [ 45.194479][ T50] ? snapshot_read.cold+0x21/0x21 [ 45.194483][ T50] ? __add_to_free_list+0x81/0x5c0 [ 45.194485][ T50] ? __mod_zone_page_state+0xe1/0x190 [ 45.194488][ T50] ? netdev_name+0x43/0x60 [ 45.194492][ T50] ? __netdev_printk+0x17f/0x1d0 [ 45.194495][ T50] netdev_info+0xe2/0x116 [ 45.194498][ T50] ? netdev_notice+0x120/0x120 [ 45.194499][ T50] ? rcu_read_lock_any_held+0x3c/0x90 [ 45.194504][ T50] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 45.194507][ T50] ? rcu_read_lock_any_held+0x3c/0x90 [ 45.194511][ T50] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 45.194516][ T50] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 45.194523][ T50] ovpn_peer_remove+0x394/0x640 [ovpn] [ 45.194528][ T50] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 45.194530][ T50] ? __rwlock_init+0x150/0x150 [ 45.194533][ T50] ? mark_held_locks+0x40/0x70 [ 45.194537][ T50] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 45.194542][ T50] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 45.194545][ T50] ? __rwlock_init+0x150/0x150 [ 45.194550][ T50] ovpn_peer_keepalive_work+0x253/0x580 [ovpn] [ 45.194555][ T50] ? process_one_work+0xdfc/0x1560 [ 45.194558][ T50] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 45.194561][ T50] ? rcu_is_watching+0x16/0xd0 [ 45.194563][ T50] ? lock_acquire+0x13c/0x160 [ 45.194565][ T50] ? rcu_is_watching+0x16/0xd0 [ 45.194569][ T50] process_one_work+0xe3e/0x1560 [ 45.194576][ T50] ? __queue_delayed_work+0x470/0x470 [ 45.194579][ T50] ? lock_acquire.part.0+0xd4/0x280 [ 45.194587][ T50] worker_thread+0x4f1/0xd60 [ 45.194594][ T50] ? rescuer_thread+0x1340/0x1340 [ 45.194596][ T50] kthread+0x367/0x460 [ 45.194600][ T50] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 45.194603][ T50] ? kthread_affine_preferred+0x4c0/0x4c0 [ 45.194605][ T50] ret_from_fork+0x474/0x6b0 [ 45.194610][ T50] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 45.194613][ T50] ? __switch_to+0x5a3/0xe00 [ 45.194616][ T50] ? kthread_affine_preferred+0x4c0/0x4c0 [ 45.194619][ T50] ret_from_fork_asm+0x11/0x20 [ 45.194628][ T50] [ 50.314772][ T50] tun3: deleting peer with id 12, reason 2 [ 50.314797][ T50] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 50.314800][ T50] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 50, name: kworker/2:1 [ 50.314801][ T50] preempt_count: 202, expected: 0 [ 50.314803][ T50] RCU nest depth: 0, expected: 0 [ 50.314804][ T50] locks held by kworker/2:1/50: 7, last CPU#2: [ 50.314806][ T50] #0: ff1100000d15b340 ((wq_completion)ovpn){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 50.314819][ T50] #1: ffa000000036fd10 ((work_completion)(&(&ovpn->keepalive_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 50.314823][ T50] #2: ff11000007691e68 (&ovpn->lock){+...}-{3:3}, at: ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 50.314831][ T50] #3: ffffffffa7379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 50.314836][ T50] #4: ffffffffa7379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 50.314840][ T50] #5: ffffffffa7299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 50.314845][ T50] #6: ffffffffa7299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 50.314851][ T50] irq event stamp: 23595 [ 50.314852][ T50] hardirqs last enabled at (23594): [] __down_trylock_console_sem+0x86/0xa0 [ 50.314855][ T50] hardirqs last disabled at (23595): [] console_emit_next_record+0x3d4/0x4c0 [ 50.314858][ T50] softirqs last enabled at (23442): [] unlock_ovpn+0x1e/0x110 [ovpn] [ 50.314862][ T50] softirqs last disabled at (23584): [] ovpn_peer_keepalive_work+0xcc/0x580 [ovpn] [ 50.314866][ T50] Preemption disabled at: [ 50.314867][ T50] [<0000000000000000>] 0x0 [ 50.314875][ T50] CPU: 2 UID: 0 PID: 50 Comm: kworker/2:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 50.314879][ T50] Tainted: [W]=WARN [ 50.314880][ T50] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 50.314882][ T50] Workqueue: ovpn ovpn_peer_keepalive_work [ovpn] [ 50.314887][ T50] Call Trace: [ 50.314888][ T50] [ 50.314891][ T50] dump_stack_lvl+0x6f/0xa0 [ 50.314898][ T50] __might_resched.cold+0x1fe/0x2c1 [ 50.314903][ T50] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 50.314907][ T50] ? __kmalloc_noprof+0xdb/0x760 [ 50.314912][ T50] __kmalloc_noprof+0x443/0x760 [ 50.314915][ T50] ? alloc_buf.isra.0+0x4b/0x260 [ 50.314921][ T50] ? do_raw_spin_unlock+0x59/0x250 [ 50.314924][ T50] alloc_buf.isra.0+0x4b/0x260 [ 50.314928][ T50] put_chars+0x1e1/0x2f0 [ 50.314930][ T50] ? prb_final_commit+0x50/0x50 [ 50.314932][ T50] ? __send_to_port+0x420/0x420 [ 50.314935][ T50] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 50.314940][ T50] ? rcu_read_lock_any_held+0x3c/0x90 [ 50.314942][ T50] ? validate_chain+0x38b/0xc20 [ 50.314946][ T50] hvc_console_print+0x292/0x780 [ 50.314950][ T50] ? mark_usage+0x61/0x170 [ 50.314952][ T50] ? __lock_acquire+0x518/0xc20 [ 50.314953][ T50] ? __lock_acquire+0x518/0xc20 [ 50.314957][ T50] ? hvc_write+0x3a0/0x3a0 [ 50.314960][ T50] ? console_emit_next_record+0x1df/0x4c0 [ 50.314963][ T50] ? rcu_is_watching+0x16/0xd0 [ 50.314965][ T50] ? lock_acquire+0x13c/0x160 [ 50.314970][ T50] console_emit_next_record+0x22f/0x4c0 [ 50.314974][ T50] ? devkmsg_read+0x4b0/0x4b0 [ 50.314976][ T50] ? console_flush_one_record+0x106/0x710 [ 50.314979][ T50] ? rcu_is_watching+0x16/0xd0 [ 50.314981][ T50] ? lock_acquire+0x13c/0x160 [ 50.314985][ T50] console_flush_one_record+0x46f/0x710 [ 50.314990][ T50] ? console_emit_next_record+0x4c0/0x4c0 [ 50.314992][ T50] ? __lock_acquire+0x518/0xc20 [ 50.314997][ T50] console_unlock+0xee/0x1f0 [ 50.315000][ T50] ? console_flush_one_record+0x710/0x710 [ 50.315002][ T50] ? rcu_is_watching+0x16/0xd0 [ 50.315004][ T50] ? lock_acquire+0x60/0x160 [ 50.315008][ T50] ? __down_trylock_console_sem+0x5e/0xa0 [ 50.315010][ T50] ? vprintk_emit+0x320/0x3e0 [ 50.315013][ T50] vprintk_emit+0x37c/0x3e0 [ 50.315018][ T50] ? wake_up_klogd_work_func+0x90/0x90 [ 50.315021][ T50] ? __lock_release.isra.0+0x69/0x1a0 [ 50.315025][ T50] _printk+0xc7/0x100 [ 50.315029][ T50] ? snapshot_read.cold+0x21/0x21 [ 50.315031][ T50] ? try_to_wake_up+0x153/0x1130 [ 50.315034][ T50] ? select_fallback_rq+0x510/0x510 [ 50.315036][ T50] ? netdev_name+0x43/0x60 [ 50.315040][ T50] ? __netdev_printk+0x17f/0x1d0 [ 50.315043][ T50] netdev_info+0xe2/0x116 [ 50.315046][ T50] ? netdev_notice+0x120/0x120 [ 50.315051][ T50] ? __queue_work+0x3ab/0xd30 [ 50.315054][ T50] ? kthread+0x367/0x460 [ 50.315059][ T50] ovpn_nl_peer_del_notify+0x115/0x503 [ovpn] [ 50.315064][ T50] ? ovpn_nl_key_new_doit.cold+0x24/0x24 [ovpn] [ 50.315068][ T50] ? mark_held_locks+0x40/0x70 [ 50.315070][ T50] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 50.315072][ T50] ? lockdep_hardirqs_on+0x91/0x130 [ 50.315078][ T50] ovpn_peer_remove+0x394/0x640 [ovpn] [ 50.315082][ T50] ? __ovpn_peer_hash_transp_addr+0x650/0x650 [ovpn] [ 50.315084][ T50] ? __rwlock_init+0x150/0x150 [ 50.315087][ T50] ? mark_held_locks+0x40/0x70 [ 50.315091][ T50] ovpn_peer_keepalive_work_single+0x416/0x600 [ovpn] [ 50.315095][ T50] ? ovpn_peers_release_mp+0x490/0x490 [ovpn] [ 50.315098][ T50] ? __rwlock_init+0x150/0x150 [ 50.315104][ T50] ovpn_peer_keepalive_work+0x389/0x580 [ovpn] [ 50.315108][ T50] ? process_one_work+0xdfc/0x1560 [ 50.315111][ T50] ? ovpn_peers_free+0xb0/0xb0 [ovpn] [ 50.315114][ T50] ? rcu_is_watching+0x16/0xd0 [ 50.315116][ T50] ? lock_acquire+0x13c/0x160 [ 50.315118][ T50] ? rcu_is_watching+0x16/0xd0 [ 50.315122][ T50] ? process_one_work+0xdfc/0x1560 [ 50.315124][ T50] process_one_work+0xe3e/0x1560 [ 50.315130][ T50] ? __queue_delayed_work+0x470/0x470 [ 50.315133][ T50] ? lock_acquire.part.0+0xd4/0x280 [ 50.315141][ T50] worker_thread+0x4f1/0xd60 [ 50.315148][ T50] ? rescuer_thread+0x1340/0x1340 [ 50.315151][ T50] kthread+0x367/0x460 [ 50.315152][ T50] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 50.315155][ T50] ? kthread_affine_preferred+0x4c0/0x4c0 [ 50.315158][ T50] ret_from_fork+0x474/0x6b0 [ 50.315162][ T50] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 50.315166][ T50] ? __switch_to+0x5a3/0xe00 [ 50.315172][ T50] ? kthread_affine_preferred+0x4c0/0x4c0 [ 50.315175][ T50] ret_from_fork_asm+0x11/0x20 [ 50.315184][ T50] [ 50.442220][ T67] tun4: deleting peer with id 13, reason 2 [ 50.569285][ T10] tun5: deleting peer with id 14, reason 2 [ 50.633221][ T50] tun6: deleting peer with id 15, reason 2