[ 9.863164][ T208] ip (208) used greatest stack depth: 23664 bytes left [ 9.863181][ T208] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.863183][ T208] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 208, name: ip [ 9.863185][ T208] preempt_count: 2, expected: 0 [ 9.863186][ T208] RCU nest depth: 0, expected: 0 [ 9.863187][ T208] locks held by ip/208: 5, last CPU#2: [ 9.863188][ T208] #0: ffffffff97c167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.863200][ T208] #1: ffffffff97d7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.863205][ T208] #2: ffffffff97d7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.863210][ T208] #3: ffffffff97c9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.863213][ T208] #4: ffffffff97c9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.863217][ T208] irq event stamp: 27142 [ 9.863218][ T208] hardirqs last enabled at (27141): [] __down_trylock_console_sem+0x86/0xa0 [ 9.863221][ T208] hardirqs last disabled at (27142): [] console_emit_next_record+0x3d4/0x4c0 [ 9.863223][ T208] softirqs last enabled at (26580): [] handle_softirqs+0x67c/0x900 [ 9.863225][ T208] softirqs last disabled at (26575): [] __irq_exit_rcu+0x145/0x1c0 [ 9.863228][ T208] Preemption disabled at: [ 9.863228][ T208] [<0000000000000000>] 0x0 [ 9.863235][ T208] CPU: 2 UID: 0 PID: 208 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.863238][ T208] Tainted: [W]=WARN [ 9.863239][ T208] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.863241][ T208] Call Trace: [ 9.863242][ T208] [ 9.863244][ T208] dump_stack_lvl+0x6f/0xa0 [ 9.863250][ T208] __might_resched.cold+0x1fe/0x2c1 [ 9.863255][ T208] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.863259][ T208] ? __kmalloc_noprof+0xdb/0x760 [ 9.863263][ T208] __kmalloc_noprof+0x443/0x760 [ 9.863265][ T208] ? alloc_buf.isra.0+0x4b/0x260 [ 9.863272][ T208] ? do_raw_spin_unlock+0x59/0x250 [ 9.863274][ T208] alloc_buf.isra.0+0x4b/0x260 [ 9.863278][ T208] put_chars+0x1e1/0x2f0 [ 9.863280][ T208] ? __send_to_port+0x420/0x420 [ 9.863282][ T208] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.863285][ T208] ? validate_chain+0x38b/0xc20 [ 9.863291][ T208] hvc_console_print+0x292/0x780 [ 9.863298][ T208] ? hvc_write+0x3a0/0x3a0 [ 9.863301][ T208] ? rcu_is_watching+0x16/0xd0 [ 9.863303][ T208] ? lock_acquire+0x13c/0x160 [ 9.863307][ T208] console_emit_next_record+0x22f/0x4c0 [ 9.863311][ T208] ? devkmsg_read+0x4b0/0x4b0 [ 9.863313][ T208] ? console_flush_one_record+0x106/0x710 [ 9.863316][ T208] ? rcu_is_watching+0x16/0xd0 [ 9.863318][ T208] ? lock_acquire+0x13c/0x160 [ 9.863321][ T208] console_flush_one_record+0x46f/0x710 [ 9.863326][ T208] ? console_emit_next_record+0x4c0/0x4c0 [ 9.863327][ T208] ? __lock_acquire+0x518/0xc20 [ 9.863333][ T208] console_unlock+0xee/0x1f0 [ 9.863335][ T208] ? console_flush_one_record+0x710/0x710 [ 9.863337][ T208] ? rcu_is_watching+0x16/0xd0 [ 9.863339][ T208] ? lock_acquire+0xe0/0x160 [ 9.863342][ T208] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.863344][ T208] ? vprintk_emit+0x320/0x3e0 [ 9.863347][ T208] vprintk_emit+0x37c/0x3e0 [ 9.863350][ T208] ? wake_up_klogd_work_func+0x90/0x90 [ 9.863353][ T208] ? __lock_acquire+0x518/0xc20 [ 9.863356][ T208] _printk+0xc7/0x100 [ 9.863360][ T208] ? snapshot_read.cold+0x21/0x21 [ 9.863363][ T208] ? do_raw_spin_lock+0x131/0x280 [ 9.863365][ T208] ? __rwlock_init+0x150/0x150 [ 9.863369][ T208] ? do_raw_spin_lock+0x131/0x280 [ 9.863372][ T208] do_exit.cold+0x82/0x9c [ 9.863375][ T208] ? exit_notify+0x890/0x890 [ 9.863377][ T208] ? __lock_release.isra.0+0x69/0x1a0 [ 9.863379][ T208] ? rcu_is_watching+0x16/0xd0 [ 9.863383][ T208] do_group_exit+0xb8/0x370 [ 9.863386][ T208] __x64_sys_exit_group+0x3c/0x50 [ 9.863387][ T208] x64_sys_call+0x1567/0x1570 [ 9.863390][ T208] do_syscall_64+0xff/0x530 [ 9.863394][ T208] ? exc_page_fault+0xee/0x100 [ 9.863397][ T208] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.863399][ T208] RIP: 0033:0x7fddb729f1b8 [ 9.863401][ T208] Code: Unable to access opcode bytes at 0x7fddb729f18e. [ 9.863402][ T208] RSP: 002b:00007ffcb441e588 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.863405][ T208] RAX: ffffffffffffffda RBX: 00007fddb73cff88 RCX: 00007fddb729f1b8 [ 9.863406][ T208] RDX: 00007fddb6fe9fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.863407][ T208] RBP: 00007ffcb441e5e0 R08: 0000000000000000 R09: 0000000000000050 [ 9.863408][ T208] R10: 00007ffcb441e3a0 R11: 0000000000000246 R12: 0000000000000001 [ 9.863408][ T208] R13: 0000000000000000 R14: 00007fddb73ce680 R15: 00007fddb73cffa0 [ 9.863415][ T208]