[ 9.335838][ T198] ip (198) used greatest stack depth: 24024 bytes left [ 9.335854][ T198] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.335856][ T198] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 198, name: ip [ 9.335857][ T198] preempt_count: 2, expected: 0 [ 9.335858][ T198] RCU nest depth: 0, expected: 0 [ 9.335859][ T198] locks held by ip/198: 5, last CPU#3: [ 9.335861][ T198] #0: ffffffffa98167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.335872][ T198] #1: ffffffffa997ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.335877][ T198] #2: ffffffffa997de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.335881][ T198] #3: ffffffffa989d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.335884][ T198] #4: ffffffffa989d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.335888][ T198] irq event stamp: 18202 [ 9.335889][ T198] hardirqs last enabled at (18201): [] __down_trylock_console_sem+0x86/0xa0 [ 9.335892][ T198] hardirqs last disabled at (18202): [] console_emit_next_record+0x3d4/0x4c0 [ 9.335894][ T198] softirqs last enabled at (18118): [] handle_softirqs+0x67c/0x900 [ 9.335896][ T198] softirqs last disabled at (17455): [] __irq_exit_rcu+0x145/0x1c0 [ 9.335898][ T198] Preemption disabled at: [ 9.335899][ T198] [<0000000000000000>] 0x0 [ 9.335905][ T198] CPU: 3 UID: 0 PID: 198 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.335908][ T198] Tainted: [W]=WARN [ 9.335909][ T198] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.335911][ T198] Call Trace: [ 9.335912][ T198] [ 9.335914][ T198] dump_stack_lvl+0x6f/0xa0 [ 9.335921][ T198] __might_resched.cold+0x1fe/0x2c1 [ 9.335925][ T198] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.335929][ T198] ? __kmalloc_noprof+0xdb/0x760 [ 9.335933][ T198] __kmalloc_noprof+0x443/0x760 [ 9.335935][ T198] ? alloc_buf.isra.0+0x4b/0x260 [ 9.335942][ T198] ? do_raw_spin_unlock+0x59/0x250 [ 9.335945][ T198] alloc_buf.isra.0+0x4b/0x260 [ 9.335948][ T198] put_chars+0x1e1/0x2f0 [ 9.335950][ T198] ? __send_to_port+0x420/0x420 [ 9.335952][ T198] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.335955][ T198] ? validate_chain+0x38b/0xc20 [ 9.335960][ T198] hvc_console_print+0x292/0x780 [ 9.335968][ T198] ? hvc_write+0x3a0/0x3a0 [ 9.335970][ T198] ? rcu_is_watching+0x16/0xd0 [ 9.335972][ T198] ? lock_acquire+0x13c/0x160 [ 9.335976][ T198] console_emit_next_record+0x22f/0x4c0 [ 9.335980][ T198] ? devkmsg_read+0x4b0/0x4b0 [ 9.335982][ T198] ? console_flush_one_record+0x106/0x710 [ 9.335985][ T198] ? rcu_is_watching+0x16/0xd0 [ 9.335987][ T198] ? lock_acquire+0x13c/0x160 [ 9.335990][ T198] console_flush_one_record+0x46f/0x710 [ 9.335994][ T198] ? console_emit_next_record+0x4c0/0x4c0 [ 9.335996][ T198] ? __lock_acquire+0x518/0xc20 [ 9.336001][ T198] console_unlock+0xee/0x1f0 [ 9.336004][ T198] ? console_flush_one_record+0x710/0x710 [ 9.336006][ T198] ? rcu_is_watching+0x16/0xd0 [ 9.336008][ T198] ? lock_acquire+0xe0/0x160 [ 9.336011][ T198] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.336013][ T198] ? vprintk_emit+0x320/0x3e0 [ 9.336015][ T198] vprintk_emit+0x37c/0x3e0 [ 9.336018][ T198] ? wake_up_klogd_work_func+0x90/0x90 [ 9.336021][ T198] ? __lock_acquire+0x518/0xc20 [ 9.336025][ T198] _printk+0xc7/0x100 [ 9.336028][ T198] ? snapshot_read.cold+0x21/0x21 [ 9.336031][ T198] ? do_raw_spin_lock+0x131/0x280 [ 9.336033][ T198] ? __rwlock_init+0x150/0x150 [ 9.336037][ T198] ? do_raw_spin_lock+0x131/0x280 [ 9.336040][ T198] do_exit.cold+0x82/0x9c [ 9.336044][ T198] ? exit_notify+0x890/0x890 [ 9.336045][ T198] ? __lock_release.isra.0+0x69/0x1a0 [ 9.336048][ T198] ? rcu_is_watching+0x16/0xd0 [ 9.336051][ T198] do_group_exit+0xb8/0x370 [ 9.336054][ T198] __x64_sys_exit_group+0x3c/0x50 [ 9.336055][ T198] x64_sys_call+0x1567/0x1570 [ 9.336058][ T198] do_syscall_64+0xff/0x530 [ 9.336062][ T198] ? exc_page_fault+0xee/0x100 [ 9.336065][ T198] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.336067][ T198] RIP: 0033:0x7f91064371b8 [ 9.336069][ T198] Code: Unable to access opcode bytes at 0x7f910643718e. [ 9.336070][ T198] RSP: 002b:00007ffe500faa68 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.336072][ T198] RAX: ffffffffffffffda RBX: 00007f9106567f88 RCX: 00007f91064371b8 [ 9.336073][ T198] RDX: 00007f9106181fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.336074][ T198] RBP: 00007ffe500faac0 R08: 0000000000000000 R09: 0000000000000050 [ 9.336075][ T198] R10: 00007ffe500fa880 R11: 0000000000000246 R12: 0000000000000001 [ 9.336076][ T198] R13: 0000000000000000 R14: 00007f9106566680 R15: 00007f9106567fa0 [ 9.336083][ T198]