[ 22.151971][ T518] iperf3 (518) used greatest stack depth: 23296 bytes left [ 22.151992][ T518] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 22.151994][ T518] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 518, name: iperf3 [ 22.151996][ T518] preempt_count: 2, expected: 0 [ 22.151997][ T518] RCU nest depth: 0, expected: 0 [ 22.151998][ T518] locks held by iperf3/518: 5, last CPU#3: [ 22.152000][ T518] #0: ffffffffb72127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 22.152012][ T518] #1: ffffffffb7379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 22.152018][ T518] #2: ffffffffb7379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 22.152021][ T518] #3: ffffffffb7299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 22.152026][ T518] #4: ffffffffb7299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 22.152030][ T518] irq event stamp: 7353006 [ 22.152031][ T518] hardirqs last enabled at (7353005): [] __down_trylock_console_sem+0x86/0xa0 [ 22.152033][ T518] hardirqs last disabled at (7353006): [] console_emit_next_record+0x3d4/0x4c0 [ 22.152035][ T518] softirqs last enabled at (7352598): [] fpu__clear_user_states+0x104/0x290 [ 22.152039][ T518] softirqs last disabled at (7352596): [] fpu__clear_user_states+0x6d/0x290 [ 22.152041][ T518] Preemption disabled at: [ 22.152042][ T518] [<0000000000000000>] 0x0 [ 22.152049][ T518] CPU: 3 UID: 0 PID: 518 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 22.152053][ T518] Tainted: [W]=WARN [ 22.152054][ T518] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 22.152056][ T518] Call Trace: [ 22.152058][ T518] [ 22.152059][ T518] dump_stack_lvl+0x6f/0xa0 [ 22.152065][ T518] __might_resched.cold+0x1fe/0x2c1 [ 22.152070][ T518] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 22.152074][ T518] ? __kmalloc_noprof+0xdb/0x760 [ 22.152079][ T518] __kmalloc_noprof+0x443/0x760 [ 22.152081][ T518] ? alloc_buf.isra.0+0x4b/0x260 [ 22.152087][ T518] ? do_raw_spin_unlock+0x59/0x250 [ 22.152090][ T518] alloc_buf.isra.0+0x4b/0x260 [ 22.152093][ T518] put_chars+0x1e1/0x2f0 [ 22.152096][ T518] ? prb_final_commit+0x50/0x50 [ 22.152098][ T518] ? __send_to_port+0x420/0x420 [ 22.152101][ T518] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 22.152105][ T518] ? rcu_read_lock_any_held+0x3c/0x90 [ 22.152108][ T518] ? validate_chain+0x38b/0xc20 [ 22.152111][ T518] hvc_console_print+0x292/0x780 [ 22.152115][ T518] ? mark_usage+0x61/0x170 [ 22.152116][ T518] ? __lock_acquire+0x518/0xc20 [ 22.152118][ T518] ? __lock_acquire+0x518/0xc20 [ 22.152122][ T518] ? hvc_write+0x3a0/0x3a0 [ 22.152124][ T518] ? console_emit_next_record+0x1df/0x4c0 [ 22.152127][ T518] ? rcu_is_watching+0x16/0xd0 [ 22.152130][ T518] ? lock_acquire+0x13c/0x160 [ 22.152134][ T518] console_emit_next_record+0x22f/0x4c0 [ 22.152138][ T518] ? devkmsg_read+0x4b0/0x4b0 [ 22.152140][ T518] ? console_flush_one_record+0x106/0x710 [ 22.152143][ T518] ? rcu_is_watching+0x16/0xd0 [ 22.152145][ T518] ? lock_acquire+0x13c/0x160 [ 22.152149][ T518] console_flush_one_record+0x46f/0x710 [ 22.152153][ T518] ? console_emit_next_record+0x4c0/0x4c0 [ 22.152155][ T518] ? __lock_acquire+0x518/0xc20 [ 22.152160][ T518] console_unlock+0xee/0x1f0 [ 22.152163][ T518] ? console_flush_one_record+0x710/0x710 [ 22.152165][ T518] ? rcu_is_watching+0x16/0xd0 [ 22.152168][ T518] ? lock_acquire+0x60/0x160 [ 22.152171][ T518] ? __down_trylock_console_sem+0x5e/0xa0 [ 22.152173][ T518] ? vprintk_emit+0x320/0x3e0 [ 22.152176][ T518] vprintk_emit+0x37c/0x3e0 [ 22.152180][ T518] ? wake_up_klogd_work_func+0x90/0x90 [ 22.152184][ T518] ? __lock_acquire+0x518/0xc20 [ 22.152187][ T518] _printk+0xc7/0x100 [ 22.152191][ T518] ? snapshot_read.cold+0x21/0x21 [ 22.152194][ T518] ? do_raw_spin_lock+0x131/0x280 [ 22.152196][ T518] ? __rwlock_init+0x150/0x150 [ 22.152200][ T518] ? do_raw_spin_lock+0x131/0x280 [ 22.152203][ T518] do_exit.cold+0x82/0x9c [ 22.152207][ T518] ? exit_notify+0x890/0x890 [ 22.152212][ T518] __x64_sys_exit+0x42/0x50 [ 22.152214][ T518] x64_sys_call+0x156c/0x1570 [ 22.152216][ T518] do_syscall_64+0xff/0x530 [ 22.152220][ T518] ? exc_page_fault+0xee/0x100 [ 22.152223][ T518] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.152225][ T518] RIP: 0033:0x7f6eeec07c49 [ 22.152228][ T518] Code: Unable to access opcode bytes at 0x7f6eeec07c1f. [ 22.152229][ T518] RSP: 002b:00007f6eee3c6e60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 22.152231][ T518] RAX: ffffffffffffffda RBX: 00007f6eee3c76c0 RCX: 00007f6eeec07c49 [ 22.152233][ T518] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 22.152233][ T518] RBP: 00007f6eee3c6f70 R08: 0000000000000001 R09: 00007f6eee3c76c0 [ 22.152234][ T518] R10: 0000000000000008 R11: 0000000000000246 R12: 00007f6eedbc7000 [ 22.152235][ T518] R13: 00007ffe17f8eb30 R14: 0000000000000002 R15: 00007ffe17f8ec37 [ 22.152242][ T518] [ 22.256677][ T364] tun1: deleting peer with id 10, reason 4 [ 22.258388][ T343] tun0: deleting peer with id 4, reason 4 [ 22.258391][ T392] tun3: deleting peer with id 12, reason 4 [ 22.258410][ T378] tun2: deleting peer with id 11, reason 4 [ 22.259091][ T343] tun0: deleting peer with id 3, reason 4 [ 22.259816][ T343] tun0: deleting peer with id 5, reason 4 [ 22.260265][ T343] tun0: deleting peer with id 1, reason 4 [ 22.260677][ T343] tun0: deleting peer with id 6, reason 4 [ 22.261066][ T343] tun0: deleting peer with id 2, reason 4 [ 22.261801][ T434] tun6: deleting peer with id 15, reason 4 [ 22.263337][ T420] tun5: deleting peer with id 14, reason 4 [ 22.264606][ T406] tun4: deleting peer with id 13, reason 4