[ 10.006908][ T206] ip (206) used greatest stack depth: 24352 bytes left [ 10.006929][ T206] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.006931][ T206] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 206, name: ip [ 10.006933][ T206] preempt_count: 2, expected: 0 [ 10.006934][ T206] RCU nest depth: 0, expected: 0 [ 10.006935][ T206] locks held by ip/206: 5, last CPU#1: [ 10.006937][ T206] #0: ffffffffbba027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.006949][ T206] #1: ffffffffbbb69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.006955][ T206] #2: ffffffffbbb69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.006958][ T206] #3: ffffffffbba89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.006961][ T206] #4: ffffffffbba89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.006965][ T206] irq event stamp: 24134 [ 10.006966][ T206] hardirqs last enabled at (24133): [] __down_trylock_console_sem+0x86/0xa0 [ 10.006970][ T206] hardirqs last disabled at (24134): [] console_emit_next_record+0x3d4/0x4c0 [ 10.006971][ T206] softirqs last enabled at (23654): [] handle_softirqs+0x67c/0x900 [ 10.006973][ T206] softirqs last disabled at (22577): [] __irq_exit_rcu+0x145/0x1c0 [ 10.006976][ T206] Preemption disabled at: [ 10.006976][ T206] [<0000000000000000>] 0x0 [ 10.006983][ T206] CPU: 1 UID: 0 PID: 206 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.006986][ T206] Tainted: [W]=WARN [ 10.006987][ T206] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.006989][ T206] Call Trace: [ 10.006991][ T206] [ 10.006992][ T206] dump_stack_lvl+0x6f/0xa0 [ 10.006997][ T206] __might_resched.cold+0x1fe/0x2c1 [ 10.007002][ T206] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.007005][ T206] ? __kmalloc_noprof+0xdb/0x760 [ 10.007011][ T206] __kmalloc_noprof+0x443/0x760 [ 10.007013][ T206] ? alloc_buf.isra.0+0x4b/0x260 [ 10.007019][ T206] ? do_raw_spin_unlock+0x59/0x250 [ 10.007022][ T206] alloc_buf.isra.0+0x4b/0x260 [ 10.007026][ T206] put_chars+0x1e1/0x2f0 [ 10.007029][ T206] ? __send_to_port+0x420/0x420 [ 10.007030][ T206] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.007035][ T206] ? validate_chain+0x38b/0xc20 [ 10.007040][ T206] hvc_console_print+0x292/0x780 [ 10.007047][ T206] ? hvc_write+0x3a0/0x3a0 [ 10.007049][ T206] ? rcu_is_watching+0x16/0xd0 [ 10.007051][ T206] ? lock_acquire+0x13c/0x160 [ 10.007055][ T206] console_emit_next_record+0x22f/0x4c0 [ 10.007058][ T206] ? devkmsg_read+0x4b0/0x4b0 [ 10.007059][ T206] ? console_flush_one_record+0x106/0x710 [ 10.007062][ T206] ? rcu_is_watching+0x16/0xd0 [ 10.007064][ T206] ? lock_acquire+0x13c/0x160 [ 10.007067][ T206] console_flush_one_record+0x46f/0x710 [ 10.007071][ T206] ? console_emit_next_record+0x4c0/0x4c0 [ 10.007072][ T206] ? __lock_acquire+0x518/0xc20 [ 10.007078][ T206] console_unlock+0xee/0x1f0 [ 10.007080][ T206] ? console_flush_one_record+0x710/0x710 [ 10.007081][ T206] ? rcu_is_watching+0x16/0xd0 [ 10.007083][ T206] ? lock_acquire+0x60/0x160 [ 10.007086][ T206] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.007088][ T206] ? vprintk_emit+0x320/0x3e0 [ 10.007091][ T206] vprintk_emit+0x37c/0x3e0 [ 10.007094][ T206] ? wake_up_klogd_work_func+0x90/0x90 [ 10.007097][ T206] ? __lock_acquire+0x518/0xc20 [ 10.007101][ T206] _printk+0xc7/0x100 [ 10.007105][ T206] ? snapshot_read.cold+0x21/0x21 [ 10.007107][ T206] ? do_raw_spin_lock+0x131/0x280 [ 10.007110][ T206] ? __rwlock_init+0x150/0x150 [ 10.007114][ T206] ? do_raw_spin_lock+0x131/0x280 [ 10.007117][ T206] do_exit.cold+0x82/0x9c [ 10.007120][ T206] ? exit_notify+0x890/0x890 [ 10.007122][ T206] ? __lock_release.isra.0+0x69/0x1a0 [ 10.007125][ T206] ? rcu_is_watching+0x16/0xd0 [ 10.007128][ T206] do_group_exit+0xb8/0x370 [ 10.007131][ T206] __x64_sys_exit_group+0x3c/0x50 [ 10.007133][ T206] x64_sys_call+0x1567/0x1570 [ 10.007136][ T206] do_syscall_64+0xff/0x530 [ 10.007140][ T206] ? exc_page_fault+0xee/0x100 [ 10.007143][ T206] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.007145][ T206] RIP: 0033:0x7f06b9db91b8 [ 10.007147][ T206] Code: Unable to access opcode bytes at 0x7f06b9db918e. [ 10.007148][ T206] RSP: 002b:00007ffea74bf268 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.007151][ T206] RAX: ffffffffffffffda RBX: 00007f06b9ee9f88 RCX: 00007f06b9db91b8 [ 10.007152][ T206] RDX: 00007f06b9b03fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.007153][ T206] RBP: 00007ffea74bf2c0 R08: 0000000000000000 R09: 0000000000008010 [ 10.007154][ T206] R10: 00007ffea74bf080 R11: 0000000000000246 R12: 0000000000000001 [ 10.007154][ T206] R13: 0000000000000000 R14: 00007f06b9ee8680 R15: 00007f06b9ee9fa0 [ 10.007161][ T206]