[ 10.576427][ T212] ip (212) used greatest stack depth: 24160 bytes left [ 10.576443][ T212] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.576445][ T212] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 212, name: ip [ 10.576447][ T212] preempt_count: 2, expected: 0 [ 10.576448][ T212] RCU nest depth: 0, expected: 0 [ 10.576449][ T212] locks held by ip/212: 5, last CPU#0: [ 10.576451][ T212] #0: ffffffff8d8167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.576462][ T212] #1: ffffffff8d97ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.576467][ T212] #2: ffffffff8d97de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.576472][ T212] #3: ffffffff8d89d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.576475][ T212] #4: ffffffff8d89d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.576479][ T212] irq event stamp: 40126 [ 10.576480][ T212] hardirqs last enabled at (40125): [] __down_trylock_console_sem+0x86/0xa0 [ 10.576483][ T212] hardirqs last disabled at (40126): [] console_emit_next_record+0x3d4/0x4c0 [ 10.576486][ T212] softirqs last enabled at (39754): [] handle_softirqs+0x67c/0x900 [ 10.576488][ T212] softirqs last disabled at (39749): [] __irq_exit_rcu+0x145/0x1c0 [ 10.576490][ T212] Preemption disabled at: [ 10.576491][ T212] [<0000000000000000>] 0x0 [ 10.576497][ T212] CPU: 0 UID: 0 PID: 212 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.576501][ T212] Tainted: [W]=WARN [ 10.576502][ T212] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.576503][ T212] Call Trace: [ 10.576505][ T212] [ 10.576507][ T212] dump_stack_lvl+0x6f/0xa0 [ 10.576513][ T212] __might_resched.cold+0x1fe/0x2c1 [ 10.576517][ T212] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.576522][ T212] ? __kmalloc_noprof+0xdb/0x760 [ 10.576526][ T212] __kmalloc_noprof+0x443/0x760 [ 10.576528][ T212] ? alloc_buf.isra.0+0x4b/0x260 [ 10.576535][ T212] ? do_raw_spin_unlock+0x59/0x250 [ 10.576538][ T212] alloc_buf.isra.0+0x4b/0x260 [ 10.576542][ T212] put_chars+0x1e1/0x2f0 [ 10.576544][ T212] ? __send_to_port+0x420/0x420 [ 10.576545][ T212] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.576549][ T212] ? validate_chain+0x38b/0xc20 [ 10.576554][ T212] hvc_console_print+0x292/0x780 [ 10.576562][ T212] ? hvc_write+0x3a0/0x3a0 [ 10.576565][ T212] ? rcu_is_watching+0x16/0xd0 [ 10.576567][ T212] ? lock_acquire+0x13c/0x160 [ 10.576571][ T212] console_emit_next_record+0x22f/0x4c0 [ 10.576575][ T212] ? devkmsg_read+0x4b0/0x4b0 [ 10.576577][ T212] ? console_flush_one_record+0x106/0x710 [ 10.576580][ T212] ? rcu_is_watching+0x16/0xd0 [ 10.576582][ T212] ? lock_acquire+0x13c/0x160 [ 10.576586][ T212] console_flush_one_record+0x46f/0x710 [ 10.576590][ T212] ? console_emit_next_record+0x4c0/0x4c0 [ 10.576592][ T212] ? __lock_acquire+0x518/0xc20 [ 10.576598][ T212] console_unlock+0xee/0x1f0 [ 10.576600][ T212] ? console_flush_one_record+0x710/0x710 [ 10.576602][ T212] ? rcu_is_watching+0x16/0xd0 [ 10.576604][ T212] ? lock_acquire+0xe0/0x160 [ 10.576608][ T212] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.576610][ T212] ? vprintk_emit+0x320/0x3e0 [ 10.576612][ T212] vprintk_emit+0x37c/0x3e0 [ 10.576616][ T212] ? wake_up_klogd_work_func+0x90/0x90 [ 10.576619][ T212] ? __lock_acquire+0x518/0xc20 [ 10.576622][ T212] _printk+0xc7/0x100 [ 10.576626][ T212] ? snapshot_read.cold+0x21/0x21 [ 10.576629][ T212] ? do_raw_spin_lock+0x131/0x280 [ 10.576632][ T212] ? __rwlock_init+0x150/0x150 [ 10.576636][ T212] ? do_raw_spin_lock+0x131/0x280 [ 10.576638][ T212] do_exit.cold+0x82/0x9c [ 10.576642][ T212] ? exit_notify+0x890/0x890 [ 10.576643][ T212] ? __lock_release.isra.0+0x69/0x1a0 [ 10.576646][ T212] ? rcu_is_watching+0x16/0xd0 [ 10.576650][ T212] do_group_exit+0xb8/0x370 [ 10.576653][ T212] __x64_sys_exit_group+0x3c/0x50 [ 10.576655][ T212] x64_sys_call+0x1567/0x1570 [ 10.576657][ T212] do_syscall_64+0xff/0x530 [ 10.576661][ T212] ? exc_page_fault+0xee/0x100 [ 10.576664][ T212] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.576666][ T212] RIP: 0033:0x7f874c0e71b8 [ 10.576668][ T212] Code: Unable to access opcode bytes at 0x7f874c0e718e. [ 10.576670][ T212] RSP: 002b:00007ffd3fbeb6d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.576672][ T212] RAX: ffffffffffffffda RBX: 00007f874c217f88 RCX: 00007f874c0e71b8 [ 10.576673][ T212] RDX: 00007f874be31fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.576674][ T212] RBP: 00007ffd3fbeb730 R08: 0000000000000000 R09: 0000000000000000 [ 10.576675][ T212] R10: 00007ffd3fbeb4f0 R11: 0000000000000246 R12: 0000000000000001 [ 10.576676][ T212] R13: 0000000000000000 R14: 00007f874c216680 R15: 00007f874c217fa0 [ 10.576683][ T212]