[ 24.407908][ T385] netperf (385) used greatest stack depth: 24488 bytes left [ 24.407931][ T385] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 24.407934][ T385] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 385, name: netperf [ 24.407936][ T385] preempt_count: 2, expected: 0 [ 24.407937][ T385] RCU nest depth: 0, expected: 0 [ 24.407939][ T385] locks held by netperf/385: 5, last CPU#2: [ 24.407941][ T385] #0: ffffffffaf6167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 24.407958][ T385] #1: ffffffffaf77ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 24.407965][ T385] #2: ffffffffaf77de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 24.407971][ T385] #3: ffffffffaf69d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 24.407976][ T385] #4: ffffffffaf69d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 24.407982][ T385] irq event stamp: 840184 [ 24.407983][ T385] hardirqs last enabled at (840183): [] __down_trylock_console_sem+0x86/0xa0 [ 24.407987][ T385] hardirqs last disabled at (840184): [] console_emit_next_record+0x3d4/0x4c0 [ 24.407990][ T385] softirqs last enabled at (839326): [] handle_softirqs+0x67c/0x900 [ 24.407993][ T385] softirqs last disabled at (838405): [] __irq_exit_rcu+0x145/0x1c0 [ 24.407996][ T385] Preemption disabled at: [ 24.407997][ T385] [<0000000000000000>] 0x0 [ 24.408005][ T385] CPU: 2 UID: 0 PID: 385 Comm: netperf Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 24.408010][ T385] Tainted: [W]=WARN [ 24.408011][ T385] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.408013][ T385] Call Trace: [ 24.408015][ T385] [ 24.408017][ T385] dump_stack_lvl+0x6f/0xa0 [ 24.408025][ T385] __might_resched.cold+0x1fe/0x2c1 [ 24.408031][ T385] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 24.408037][ T385] ? __kmalloc_noprof+0xdb/0x760 [ 24.408043][ T385] __kmalloc_noprof+0x443/0x760 [ 24.408046][ T385] ? alloc_buf.isra.0+0x4b/0x260 [ 24.408056][ T385] ? do_raw_spin_unlock+0x59/0x250 [ 24.408059][ T385] alloc_buf.isra.0+0x4b/0x260 [ 24.408065][ T385] put_chars+0x1e1/0x2f0 [ 24.408068][ T385] ? __send_to_port+0x420/0x420 [ 24.408070][ T385] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 24.408075][ T385] ? validate_chain+0x38b/0xc20 [ 24.408084][ T385] hvc_console_print+0x292/0x780 [ 24.408095][ T385] ? hvc_write+0x3a0/0x3a0 [ 24.408099][ T385] ? rcu_is_watching+0x16/0xd0 [ 24.408102][ T385] ? lock_acquire+0x13c/0x160 [ 24.408109][ T385] console_emit_next_record+0x22f/0x4c0 [ 24.408115][ T385] ? devkmsg_read+0x4b0/0x4b0 [ 24.408117][ T385] ? console_flush_one_record+0x106/0x710 [ 24.408122][ T385] ? rcu_is_watching+0x16/0xd0 [ 24.408125][ T385] ? lock_acquire+0x13c/0x160 [ 24.408131][ T385] console_flush_one_record+0x46f/0x710 [ 24.408138][ T385] ? console_emit_next_record+0x4c0/0x4c0 [ 24.408141][ T385] ? __lock_acquire+0x518/0xc20 [ 24.408150][ T385] console_unlock+0xee/0x1f0 [ 24.408154][ T385] ? console_flush_one_record+0x710/0x710 [ 24.408156][ T385] ? rcu_is_watching+0x16/0xd0 [ 24.408159][ T385] ? lock_acquire+0xe0/0x160 [ 24.408165][ T385] ? __down_trylock_console_sem+0x5e/0xa0 [ 24.408167][ T385] ? vprintk_emit+0x320/0x3e0 [ 24.408172][ T385] vprintk_emit+0x37c/0x3e0 [ 24.408177][ T385] ? wake_up_klogd_work_func+0x90/0x90 [ 24.408179][ T385] ? do_raw_spin_unlock+0x59/0x250 [ 24.408184][ T385] ? __lock_acquire+0x518/0xc20 [ 24.408190][ T385] _printk+0xc7/0x100 [ 24.408195][ T385] ? snapshot_read.cold+0x21/0x21 [ 24.408199][ T385] ? do_raw_spin_lock+0x131/0x280 [ 24.408203][ T385] ? __rwlock_init+0x150/0x150 [ 24.408209][ T385] ? do_raw_spin_lock+0x131/0x280 [ 24.408213][ T385] do_exit.cold+0x82/0x9c [ 24.408219][ T385] ? exit_notify+0x890/0x890 [ 24.408221][ T385] ? __lock_release.isra.0+0x69/0x1a0 [ 24.408225][ T385] ? rcu_is_watching+0x16/0xd0 [ 24.408231][ T385] do_group_exit+0xb8/0x370 [ 24.408235][ T385] __x64_sys_exit_group+0x3c/0x50 [ 24.408238][ T385] x64_sys_call+0x1567/0x1570 [ 24.408241][ T385] do_syscall_64+0xff/0x530 [ 24.408246][ T385] ? exc_page_fault+0xee/0x100 [ 24.408251][ T385] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 24.408254][ T385] RIP: 0033:0x7fb6a87ab1b8 [ 24.408257][ T385] Code: Unable to access opcode bytes at 0x7fb6a87ab18e. [ 24.408258][ T385] RSP: 002b:00007ffeab3781b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 24.408261][ T385] RAX: ffffffffffffffda RBX: 00007fb6a88dbf88 RCX: 00007fb6a87ab1b8 [ 24.408263][ T385] RDX: 00007fb6a86ea408 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 24.408265][ T385] RBP: 00007ffeab378210 R08: 0000000000000000 R09: 0000000000000000 [ 24.408266][ T385] R10: 00007ffeab378030 R11: 0000000000000246 R12: 0000000000000001 [ 24.408267][ T385] R13: 0000000000000000 R14: 00007fb6a88da680 R15: 00007fb6a88dbfa0 [ 24.408279][ T385]