[ 25.564368][ T1087] iperf3 (1087) used greatest stack depth: 23760 bytes left [ 25.564387][ T1087] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 25.564390][ T1087] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1087, name: iperf3 [ 25.564391][ T1087] preempt_count: 2, expected: 0 [ 25.564392][ T1087] RCU nest depth: 0, expected: 0 [ 25.564393][ T1087] locks held by iperf3/1087: 5, last CPU#1: [ 25.564395][ T1087] #0: ffffffffba0167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 25.564406][ T1087] #1: ffffffffba17ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 25.564411][ T1087] #2: ffffffffba17de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 25.564415][ T1087] #3: ffffffffba09d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 25.564419][ T1087] #4: ffffffffba09d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 25.564423][ T1087] irq event stamp: 23352 [ 25.564424][ T1087] hardirqs last enabled at (23351): [] __down_trylock_console_sem+0x86/0xa0 [ 25.564427][ T1087] hardirqs last disabled at (23352): [] console_emit_next_record+0x3d4/0x4c0 [ 25.564430][ T1087] softirqs last enabled at (21634): [] handle_softirqs+0x67c/0x900 [ 25.564432][ T1087] softirqs last disabled at (21625): [] __irq_exit_rcu+0x145/0x1c0 [ 25.564434][ T1087] Preemption disabled at: [ 25.564435][ T1087] [<0000000000000000>] 0x0 [ 25.564442][ T1087] CPU: 1 UID: 0 PID: 1087 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 25.564445][ T1087] Tainted: [W]=WARN [ 25.564446][ T1087] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 25.564448][ T1087] Call Trace: [ 25.564450][ T1087] [ 25.564451][ T1087] dump_stack_lvl+0x6f/0xa0 [ 25.564458][ T1087] __might_resched.cold+0x1fe/0x2c1 [ 25.564462][ T1087] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 25.564466][ T1087] ? __kmalloc_noprof+0xdb/0x760 [ 25.564471][ T1087] __kmalloc_noprof+0x443/0x760 [ 25.564472][ T1087] ? alloc_buf.isra.0+0x4b/0x260 [ 25.564479][ T1087] ? do_raw_spin_unlock+0x59/0x250 [ 25.564482][ T1087] alloc_buf.isra.0+0x4b/0x260 [ 25.564485][ T1087] put_chars+0x1e1/0x2f0 [ 25.564488][ T1087] ? __send_to_port+0x420/0x420 [ 25.564489][ T1087] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 25.564492][ T1087] ? validate_chain+0x38b/0xc20 [ 25.564498][ T1087] hvc_console_print+0x292/0x780 [ 25.564505][ T1087] ? hvc_write+0x3a0/0x3a0 [ 25.564508][ T1087] ? rcu_is_watching+0x16/0xd0 [ 25.564510][ T1087] ? lock_acquire+0x13c/0x160 [ 25.564514][ T1087] console_emit_next_record+0x22f/0x4c0 [ 25.564518][ T1087] ? devkmsg_read+0x4b0/0x4b0 [ 25.564520][ T1087] ? console_flush_one_record+0x106/0x710 [ 25.564523][ T1087] ? rcu_is_watching+0x16/0xd0 [ 25.564525][ T1087] ? lock_acquire+0x13c/0x160 [ 25.564529][ T1087] console_flush_one_record+0x46f/0x710 [ 25.564533][ T1087] ? console_emit_next_record+0x4c0/0x4c0 [ 25.564535][ T1087] ? __lock_acquire+0x518/0xc20 [ 25.564540][ T1087] console_unlock+0xee/0x1f0 [ 25.564543][ T1087] ? console_flush_one_record+0x710/0x710 [ 25.564545][ T1087] ? rcu_is_watching+0x16/0xd0 [ 25.564546][ T1087] ? lock_acquire+0xe0/0x160 [ 25.564550][ T1087] ? __down_trylock_console_sem+0x5e/0xa0 [ 25.564552][ T1087] ? vprintk_emit+0x320/0x3e0 [ 25.564555][ T1087] vprintk_emit+0x37c/0x3e0 [ 25.564558][ T1087] ? wake_up_klogd_work_func+0x90/0x90 [ 25.564559][ T1087] ? do_raw_spin_unlock+0x59/0x250 [ 25.564562][ T1087] ? __lock_acquire+0x518/0xc20 [ 25.564566][ T1087] _printk+0xc7/0x100 [ 25.564569][ T1087] ? snapshot_read.cold+0x21/0x21 [ 25.564572][ T1087] ? do_raw_spin_lock+0x131/0x280 [ 25.564574][ T1087] ? __rwlock_init+0x150/0x150 [ 25.564578][ T1087] ? do_raw_spin_lock+0x131/0x280 [ 25.564581][ T1087] do_exit.cold+0x82/0x9c [ 25.564585][ T1087] ? exit_notify+0x890/0x890 [ 25.564586][ T1087] ? __lock_release.isra.0+0x69/0x1a0 [ 25.564589][ T1087] ? rcu_is_watching+0x16/0xd0 [ 25.564592][ T1087] do_group_exit+0xb8/0x370 [ 25.564595][ T1087] __x64_sys_exit_group+0x3c/0x50 [ 25.564597][ T1087] x64_sys_call+0x1567/0x1570 [ 25.564600][ T1087] do_syscall_64+0xff/0x530 [ 25.564604][ T1087] ? exc_page_fault+0xee/0x100 [ 25.564607][ T1087] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 25.564609][ T1087] RIP: 0033:0x7fd541a4a1b8 [ 25.564611][ T1087] Code: Unable to access opcode bytes at 0x7fd541a4a18e. [ 25.564612][ T1087] RSP: 002b:00007ffdd7aa7818 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 25.564615][ T1087] RAX: ffffffffffffffda RBX: 00007fd541b7af88 RCX: 00007fd541a4a1b8 [ 25.564616][ T1087] RDX: 00007fd5411e03c8 RSI: ffffffffffffffb0 RDI: 0000000000000001 [ 25.564617][ T1087] RBP: 00007ffdd7aa7870 R08: 0000000000000000 R09: 0000000000000000 [ 25.564618][ T1087] R10: 00007ffdd7aa7650 R11: 0000000000000246 R12: 0000000000000001 [ 25.564618][ T1087] R13: 0000000000000001 R14: 00007fd541b79680 R15: 00007fd541b7afa0 [ 25.564625][ T1087]