[ 20.874730][ T516] iperf3 (516) used greatest stack depth: 23408 bytes left [ 20.874751][ T516] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 20.874753][ T516] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 516, name: iperf3 [ 20.874755][ T516] preempt_count: 2, expected: 0 [ 20.874756][ T516] RCU nest depth: 0, expected: 0 [ 20.874757][ T516] locks held by iperf3/516: 5, last CPU#0: [ 20.874759][ T516] #0: ffffffffa70127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 20.874772][ T516] #1: ffffffffa7179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 20.874777][ T516] #2: ffffffffa7179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 20.874781][ T516] #3: ffffffffa7099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 20.874785][ T516] #4: ffffffffa7099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 20.874789][ T516] irq event stamp: 7644564 [ 20.874790][ T516] hardirqs last enabled at (7644563): [] __down_trylock_console_sem+0x86/0xa0 [ 20.874792][ T516] hardirqs last disabled at (7644564): [] console_emit_next_record+0x3d4/0x4c0 [ 20.874794][ T516] softirqs last enabled at (7644182): [] handle_softirqs+0x67c/0x900 [ 20.874796][ T516] softirqs last disabled at (7643281): [] __irq_exit_rcu+0x145/0x1c0 [ 20.874798][ T516] Preemption disabled at: [ 20.874799][ T516] [<0000000000000000>] 0x0 [ 20.874806][ T516] CPU: 0 UID: 0 PID: 516 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 20.874810][ T516] Tainted: [W]=WARN [ 20.874811][ T516] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.874812][ T516] Call Trace: [ 20.874814][ T516] [ 20.874816][ T516] dump_stack_lvl+0x6f/0xa0 [ 20.874822][ T516] __might_resched.cold+0x1fe/0x2c1 [ 20.874826][ T516] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 20.874830][ T516] ? __kmalloc_noprof+0xdb/0x760 [ 20.874835][ T516] __kmalloc_noprof+0x443/0x760 [ 20.874837][ T516] ? alloc_buf.isra.0+0x4b/0x260 [ 20.874843][ T516] ? do_raw_spin_unlock+0x59/0x250 [ 20.874846][ T516] alloc_buf.isra.0+0x4b/0x260 [ 20.874849][ T516] put_chars+0x1e1/0x2f0 [ 20.874851][ T516] ? prb_final_commit+0x50/0x50 [ 20.874853][ T516] ? __send_to_port+0x420/0x420 [ 20.874856][ T516] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 20.874861][ T516] ? rcu_read_lock_any_held+0x3c/0x90 [ 20.874863][ T516] ? validate_chain+0x38b/0xc20 [ 20.874867][ T516] hvc_console_print+0x292/0x780 [ 20.874870][ T516] ? mark_usage+0x61/0x170 [ 20.874872][ T516] ? __lock_acquire+0x518/0xc20 [ 20.874873][ T516] ? __lock_acquire+0x518/0xc20 [ 20.874877][ T516] ? hvc_write+0x3a0/0x3a0 [ 20.874879][ T516] ? console_emit_next_record+0x1df/0x4c0 [ 20.874882][ T516] ? rcu_is_watching+0x16/0xd0 [ 20.874885][ T516] ? lock_acquire+0x13c/0x160 [ 20.874888][ T516] console_emit_next_record+0x22f/0x4c0 [ 20.874892][ T516] ? devkmsg_read+0x4b0/0x4b0 [ 20.874894][ T516] ? console_flush_one_record+0x106/0x710 [ 20.874897][ T516] ? rcu_is_watching+0x16/0xd0 [ 20.874899][ T516] ? lock_acquire+0x13c/0x160 [ 20.874903][ T516] console_flush_one_record+0x46f/0x710 [ 20.874907][ T516] ? console_emit_next_record+0x4c0/0x4c0 [ 20.874909][ T516] ? __lock_acquire+0x518/0xc20 [ 20.874914][ T516] console_unlock+0xee/0x1f0 [ 20.874916][ T516] ? console_flush_one_record+0x710/0x710 [ 20.874918][ T516] ? rcu_is_watching+0x16/0xd0 [ 20.874920][ T516] ? lock_acquire+0x60/0x160 [ 20.874924][ T516] ? __down_trylock_console_sem+0x5e/0xa0 [ 20.874925][ T516] ? vprintk_emit+0x320/0x3e0 [ 20.874929][ T516] vprintk_emit+0x37c/0x3e0 [ 20.874932][ T516] ? wake_up_klogd_work_func+0x90/0x90 [ 20.874936][ T516] ? __lock_acquire+0x518/0xc20 [ 20.874939][ T516] _printk+0xc7/0x100 [ 20.874942][ T516] ? snapshot_read.cold+0x21/0x21 [ 20.874945][ T516] ? do_raw_spin_lock+0x131/0x280 [ 20.874948][ T516] ? __rwlock_init+0x150/0x150 [ 20.874951][ T516] ? do_raw_spin_lock+0x131/0x280 [ 20.874954][ T516] do_exit.cold+0x82/0x9c [ 20.874958][ T516] ? exit_notify+0x890/0x890 [ 20.874963][ T516] __x64_sys_exit+0x42/0x50 [ 20.874964][ T516] x64_sys_call+0x156c/0x1570 [ 20.874967][ T516] do_syscall_64+0xff/0x530 [ 20.874971][ T516] ? exc_page_fault+0xee/0x100 [ 20.874973][ T516] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 20.874976][ T516] RIP: 0033:0x7f2c30a8fc49 [ 20.874978][ T516] Code: Unable to access opcode bytes at 0x7f2c30a8fc1f. [ 20.874979][ T516] RSP: 002b:00007f2c3024ee60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 20.874982][ T516] RAX: ffffffffffffffda RBX: 00007f2c3024f6c0 RCX: 00007f2c30a8fc49 [ 20.874983][ T516] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 20.874984][ T516] RBP: 00007f2c3024ef70 R08: 0000000000000001 R09: 00007f2c3024f6c0 [ 20.874985][ T516] R10: 0000000000000008 R11: 0000000000000246 R12: 00007f2c2fa4f000 [ 20.874986][ T516] R13: 00007ffde9a83190 R14: 0000000000000002 R15: 00007ffde9a83297 [ 20.874992][ T516] [ 20.966410][ T390] tun3: deleting peer with id 12, reason 4 [ 20.968743][ T362] tun1: deleting peer with id 10, reason 4 [ 20.968780][ T376] tun2: deleting peer with id 11, reason 4 [ 20.970107][ T341] tun0: deleting peer with id 4, reason 4 [ 20.970294][ T404] tun4: deleting peer with id 13, reason 4 [ 20.970445][ T341] tun0: deleting peer with id 3, reason 4 [ 20.971027][ T341] tun0: deleting peer with id 5, reason 4 [ 20.971343][ T341] tun0: deleting peer with id 1, reason 4 [ 20.971718][ T341] tun0: deleting peer with id 6, reason 4 [ 20.972033][ T341] tun0: deleting peer with id 2, reason 4 [ 20.973345][ T418] tun5: deleting peer with id 14, reason 4 [ 20.975060][ T432] tun6: deleting peer with id 15, reason 4