[ 33.563468][ T422] ip (422) used greatest stack depth: 23312 bytes left [ 33.563486][ T422] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 33.563488][ T422] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 422, name: ip [ 33.563489][ T422] preempt_count: 2, expected: 0 [ 33.563491][ T422] RCU nest depth: 0, expected: 0 [ 33.563491][ T422] locks held by ip/422: 5, last CPU#1: [ 33.563494][ T422] #0: ffffffffa64027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 33.563506][ T422] #1: ffffffffa6569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 33.563512][ T422] #2: ffffffffa6569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 33.563516][ T422] #3: ffffffffa6489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 33.563520][ T422] #4: ffffffffa6489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 33.563524][ T422] irq event stamp: 20302 [ 33.563525][ T422] hardirqs last enabled at (20301): [] __down_trylock_console_sem+0x86/0xa0 [ 33.563528][ T422] hardirqs last disabled at (20302): [] console_emit_next_record+0x3d4/0x4c0 [ 33.563529][ T422] softirqs last enabled at (20010): [] handle_softirqs+0x67c/0x900 [ 33.563531][ T422] softirqs last disabled at (20005): [] __irq_exit_rcu+0x145/0x1c0 [ 33.563533][ T422] Preemption disabled at: [ 33.563534][ T422] [<0000000000000000>] 0x0 [ 33.563541][ T422] CPU: 1 UID: 0 PID: 422 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 33.563545][ T422] Tainted: [W]=WARN [ 33.563546][ T422] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 33.563547][ T422] Call Trace: [ 33.563549][ T422] [ 33.563550][ T422] dump_stack_lvl+0x6f/0xa0 [ 33.563557][ T422] __might_resched.cold+0x1fe/0x2c1 [ 33.563562][ T422] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 33.563566][ T422] ? __kmalloc_noprof+0xdb/0x760 [ 33.563572][ T422] __kmalloc_noprof+0x443/0x760 [ 33.563574][ T422] ? alloc_buf.isra.0+0x4b/0x260 [ 33.563580][ T422] ? do_raw_spin_unlock+0x59/0x250 [ 33.563583][ T422] alloc_buf.isra.0+0x4b/0x260 [ 33.563586][ T422] put_chars+0x1e1/0x2f0 [ 33.563589][ T422] ? __send_to_port+0x420/0x420 [ 33.563590][ T422] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 33.563595][ T422] ? validate_chain+0x38b/0xc20 [ 33.563600][ T422] hvc_console_print+0x292/0x780 [ 33.563606][ T422] ? hvc_write+0x3a0/0x3a0 [ 33.563609][ T422] ? rcu_is_watching+0x16/0xd0 [ 33.563611][ T422] ? lock_acquire+0x13c/0x160 [ 33.563615][ T422] console_emit_next_record+0x22f/0x4c0 [ 33.563619][ T422] ? devkmsg_read+0x4b0/0x4b0 [ 33.563621][ T422] ? console_flush_one_record+0x106/0x710 [ 33.563624][ T422] ? rcu_is_watching+0x16/0xd0 [ 33.563627][ T422] ? lock_acquire+0x13c/0x160 [ 33.563630][ T422] console_flush_one_record+0x46f/0x710 [ 33.563635][ T422] ? console_emit_next_record+0x4c0/0x4c0 [ 33.563637][ T422] ? __lock_acquire+0x518/0xc20 [ 33.563642][ T422] console_unlock+0xee/0x1f0 [ 33.563645][ T422] ? console_flush_one_record+0x710/0x710 [ 33.563646][ T422] ? rcu_is_watching+0x16/0xd0 [ 33.563649][ T422] ? lock_acquire+0x60/0x160 [ 33.563653][ T422] ? __down_trylock_console_sem+0x5e/0xa0 [ 33.563654][ T422] ? vprintk_emit+0x320/0x3e0 [ 33.563658][ T422] vprintk_emit+0x37c/0x3e0 [ 33.563661][ T422] ? wake_up_klogd_work_func+0x90/0x90 [ 33.563665][ T422] ? __lock_acquire+0x518/0xc20 [ 33.563668][ T422] _printk+0xc7/0x100 [ 33.563672][ T422] ? snapshot_read.cold+0x21/0x21 [ 33.563675][ T422] ? do_raw_spin_lock+0x131/0x280 [ 33.563678][ T422] ? __rwlock_init+0x150/0x150 [ 33.563681][ T422] ? do_raw_spin_lock+0x131/0x280 [ 33.563684][ T422] do_exit.cold+0x82/0x9c [ 33.563688][ T422] ? exit_notify+0x890/0x890 [ 33.563690][ T422] ? __lock_release.isra.0+0x69/0x1a0 [ 33.563693][ T422] ? rcu_is_watching+0x16/0xd0 [ 33.563697][ T422] do_group_exit+0xb8/0x370 [ 33.563700][ T422] __x64_sys_exit_group+0x3c/0x50 [ 33.563701][ T422] x64_sys_call+0x1567/0x1570 [ 33.563704][ T422] do_syscall_64+0xff/0x530 [ 33.563707][ T422] ? exc_page_fault+0xee/0x100 [ 33.563710][ T422] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 33.563712][ T422] RIP: 0033:0x7f2796c461b8 [ 33.563714][ T422] Code: Unable to access opcode bytes at 0x7f2796c4618e. [ 33.563716][ T422] RSP: 002b:00007ffe170cefd8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 33.563718][ T422] RAX: ffffffffffffffda RBX: 00007f2796d76f88 RCX: 00007f2796c461b8 [ 33.563719][ T422] RDX: 00007f2796990fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 33.563720][ T422] RBP: 00007ffe170cf030 R08: 0000000000000000 R09: 0000000000008010 [ 33.563721][ T422] R10: 00007ffe170cedf0 R11: 0000000000000246 R12: 0000000000000001 [ 33.563722][ T422] R13: 0000000000000000 R14: 00007f2796d75680 R15: 00007f2796d76fa0 [ 33.563729][ T422]