[ 11.958758][ T212] ip (212) used greatest stack depth: 23456 bytes left [ 11.958777][ T212] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.958780][ T212] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 212, name: ip [ 11.958782][ T212] preempt_count: 2, expected: 0 [ 11.958783][ T212] RCU nest depth: 0, expected: 0 [ 11.958784][ T212] locks held by ip/212: 5, last CPU#3: [ 11.958787][ T212] #0: ffffffffaea02f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 11.958802][ T212] #1: ffffffffaeb6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.958809][ T212] #2: ffffffffaeb6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.958815][ T212] #3: ffffffffaea89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.958821][ T212] #4: ffffffffaea89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.958826][ T212] irq event stamp: 43678 [ 11.958828][ T212] hardirqs last enabled at (43677): [] __down_trylock_console_sem+0x86/0xa0 [ 11.958832][ T212] hardirqs last disabled at (43678): [] console_emit_next_record+0x3d4/0x4c0 [ 11.958837][ T212] softirqs last enabled at (42800): [] handle_softirqs+0x67c/0x900 [ 11.958841][ T212] softirqs last disabled at (42795): [] __irq_exit_rcu+0x145/0x1c0 [ 11.958844][ T212] Preemption disabled at: [ 11.958846][ T212] [<0000000000000000>] 0x0 [ 11.958854][ T212] CPU: 3 UID: 0 PID: 212 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.958858][ T212] Tainted: [W]=WARN [ 11.958860][ T212] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.958862][ T212] Call Trace: [ 11.958865][ T212] [ 11.958867][ T212] dump_stack_lvl+0x6f/0xa0 [ 11.958874][ T212] __might_resched.cold+0x1fe/0x2c1 [ 11.958881][ T212] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.958886][ T212] ? __kmalloc_noprof+0xdb/0x760 [ 11.958893][ T212] __kmalloc_noprof+0x443/0x760 [ 11.958897][ T212] ? alloc_buf.isra.0+0x4b/0x260 [ 11.958907][ T212] ? do_raw_spin_unlock+0x59/0x250 [ 11.958912][ T212] alloc_buf.isra.0+0x4b/0x260 [ 11.958917][ T212] put_chars+0x1e1/0x2f0 [ 11.958921][ T212] ? __send_to_port+0x420/0x420 [ 11.958933][ T212] hvc_console_print+0x292/0x780 [ 11.958945][ T212] ? hvc_write+0x3a0/0x3a0 [ 11.958955][ T212] ? lock_acquire+0x13c/0x160 [ 11.958963][ T212] console_emit_next_record+0x22f/0x4c0 [ 11.958968][ T212] ? devkmsg_read+0x4b0/0x4b0 [ 11.958970][ T212] ? console_flush_one_record+0x106/0x710 [ 11.958975][ T212] ? rcu_is_watching+0x16/0xd0 [ 11.958980][ T212] ? lock_acquire+0x13c/0x160 [ 11.958987][ T212] console_flush_one_record+0x46f/0x710 [ 11.958994][ T212] ? console_emit_next_record+0x4c0/0x4c0 [ 11.958996][ T212] ? __lock_acquire+0x518/0xc20 [ 11.959006][ T212] console_unlock+0xee/0x1f0 [ 11.959009][ T212] ? console_flush_one_record+0x710/0x710 [ 11.959011][ T212] ? rcu_is_watching+0x16/0xd0 [ 11.959015][ T212] ? lock_acquire+0x60/0x160 [ 11.959021][ T212] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.959024][ T212] ? vprintk_emit+0x320/0x3e0 [ 11.959029][ T212] vprintk_emit+0x37c/0x3e0 [ 11.959035][ T212] ? wake_up_klogd_work_func+0x90/0x90 [ 11.959040][ T212] ? __lock_acquire+0x518/0xc20 [ 11.959047][ T212] _printk+0xc7/0x100 [ 11.959052][ T212] ? snapshot_read.cold+0x21/0x21 [ 11.959057][ T212] ? do_raw_spin_lock+0x131/0x280 [ 11.959061][ T212] ? __rwlock_init+0x150/0x150 [ 11.959068][ T212] ? do_raw_spin_lock+0x131/0x280 [ 11.959073][ T212] do_exit.cold+0x82/0x9c [ 11.959078][ T212] ? exit_notify+0x890/0x890 [ 11.959081][ T212] ? __lock_release.isra.0+0x69/0x1a0 [ 11.959085][ T212] ? rcu_is_watching+0x16/0xd0 [ 11.959092][ T212] do_group_exit+0xb8/0x370 [ 11.959097][ T212] __x64_sys_exit_group+0x3c/0x50 [ 11.959100][ T212] x64_sys_call+0x1567/0x1570 [ 11.959104][ T212] do_syscall_64+0x10e/0x570 [ 11.959109][ T212] ? exc_page_fault+0xee/0x100 [ 11.959114][ T212] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.959117][ T212] RIP: 0033:0x7f50ec8901b8 [ 11.959121][ T212] Code: Unable to access opcode bytes at 0x7f50ec89018e. [ 11.959122][ T212] RSP: 002b:00007ffcce952778 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.959125][ T212] RAX: ffffffffffffffda RBX: 00007f50ec9c0f88 RCX: 00007f50ec8901b8 [ 11.959127][ T212] RDX: 00007f50ec5dafc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.959129][ T212] RBP: 00007ffcce9527d0 R08: 0000000000000000 R09: 0000000000000000 [ 11.959130][ T212] R10: 00007ffcce952590 R11: 0000000000000246 R12: 0000000000000001 [ 11.959132][ T212] R13: 0000000000000000 R14: 00007f50ec9bf680 R15: 00007f50ec9c0fa0 [ 11.959145][ T212]