[ 10.121414][ T189] ip (189) used greatest stack depth: 23928 bytes left [ 10.121431][ T189] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.121433][ T189] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 189, name: ip [ 10.121435][ T189] preempt_count: 2, expected: 0 [ 10.121436][ T189] RCU nest depth: 0, expected: 0 [ 10.121437][ T189] locks held by ip/189: 5, last CPU#2: [ 10.121439][ T189] #0: ffffffffba6267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.121451][ T189] #1: ffffffffba78dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.121457][ T189] #2: ffffffffba78dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.121460][ T189] #3: ffffffffba6ad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.121464][ T189] #4: ffffffffba6ad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.121468][ T189] irq event stamp: 29654 [ 10.121469][ T189] hardirqs last enabled at (29653): [] __down_trylock_console_sem+0x86/0xa0 [ 10.121471][ T189] hardirqs last disabled at (29654): [] console_emit_next_record+0x3d4/0x4c0 [ 10.121473][ T189] softirqs last enabled at (28662): [] handle_softirqs+0x67c/0x900 [ 10.121474][ T189] softirqs last disabled at (28025): [] __irq_exit_rcu+0x145/0x1c0 [ 10.121477][ T189] Preemption disabled at: [ 10.121477][ T189] [<0000000000000000>] 0x0 [ 10.121483][ T189] CPU: 2 UID: 0 PID: 189 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.121487][ T189] Tainted: [W]=WARN [ 10.121488][ T189] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.121489][ T189] Call Trace: [ 10.121491][ T189] [ 10.121492][ T189] dump_stack_lvl+0x6f/0xa0 [ 10.121499][ T189] __might_resched.cold+0x1fe/0x2c1 [ 10.121503][ T189] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.121507][ T189] ? __kmalloc_noprof+0xdb/0x760 [ 10.121511][ T189] __kmalloc_noprof+0x443/0x760 [ 10.121513][ T189] ? alloc_buf.isra.0+0x4b/0x260 [ 10.121520][ T189] ? do_raw_spin_unlock+0x59/0x250 [ 10.121522][ T189] alloc_buf.isra.0+0x4b/0x260 [ 10.121526][ T189] put_chars+0x1e1/0x2f0 [ 10.121529][ T189] ? __send_to_port+0x420/0x420 [ 10.121531][ T189] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.121535][ T189] ? validate_chain+0x38b/0xc20 [ 10.121541][ T189] hvc_console_print+0x292/0x780 [ 10.121548][ T189] ? hvc_write+0x3a0/0x3a0 [ 10.121551][ T189] ? rcu_is_watching+0x16/0xd0 [ 10.121553][ T189] ? lock_acquire+0x13c/0x160 [ 10.121556][ T189] console_emit_next_record+0x22f/0x4c0 [ 10.121560][ T189] ? devkmsg_read+0x4b0/0x4b0 [ 10.121562][ T189] ? console_flush_one_record+0x106/0x710 [ 10.121565][ T189] ? rcu_is_watching+0x16/0xd0 [ 10.121567][ T189] ? lock_acquire+0x13c/0x160 [ 10.121570][ T189] console_flush_one_record+0x46f/0x710 [ 10.121574][ T189] ? console_emit_next_record+0x4c0/0x4c0 [ 10.121576][ T189] ? __lock_acquire+0x518/0xc20 [ 10.121581][ T189] console_unlock+0xee/0x1f0 [ 10.121583][ T189] ? console_flush_one_record+0x710/0x710 [ 10.121585][ T189] ? rcu_is_watching+0x16/0xd0 [ 10.121587][ T189] ? lock_acquire+0x60/0x160 [ 10.121590][ T189] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.121592][ T189] ? vprintk_emit+0x320/0x3e0 [ 10.121595][ T189] vprintk_emit+0x37c/0x3e0 [ 10.121598][ T189] ? wake_up_klogd_work_func+0x90/0x90 [ 10.121602][ T189] ? __lock_acquire+0x518/0xc20 [ 10.121605][ T189] _printk+0xc7/0x100 [ 10.121609][ T189] ? snapshot_read.cold+0x21/0x21 [ 10.121612][ T189] ? do_raw_spin_lock+0x131/0x280 [ 10.121614][ T189] ? __rwlock_init+0x150/0x150 [ 10.121618][ T189] ? do_raw_spin_lock+0x131/0x280 [ 10.121620][ T189] do_exit.cold+0x82/0x9c [ 10.121624][ T189] ? exit_notify+0x890/0x890 [ 10.121625][ T189] ? __lock_release.isra.0+0x69/0x1a0 [ 10.121628][ T189] ? rcu_is_watching+0x16/0xd0 [ 10.121632][ T189] do_group_exit+0xb8/0x370 [ 10.121635][ T189] __x64_sys_exit_group+0x3c/0x50 [ 10.121639][ T189] x64_sys_call+0x1567/0x1570 [ 10.121641][ T189] do_syscall_64+0xff/0x530 [ 10.121645][ T189] ? exc_page_fault+0xee/0x100 [ 10.121648][ T189] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.121651][ T189] RIP: 0033:0x7f4eefce81b8 [ 10.121653][ T189] Code: Unable to access opcode bytes at 0x7f4eefce818e. [ 10.121654][ T189] RSP: 002b:00007ffe846eeb68 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.121657][ T189] RAX: ffffffffffffffda RBX: 00007f4eefe18f88 RCX: 00007f4eefce81b8 [ 10.121658][ T189] RDX: 00007f4eefa32fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.121659][ T189] RBP: 00007ffe846eebc0 R08: 0000000000000000 R09: 0000000000000050 [ 10.121660][ T189] R10: 00007ffe846ee980 R11: 0000000000000246 R12: 0000000000000001 [ 10.121661][ T189] R13: 0000000000000000 R14: 00007f4eefe17680 R15: 00007f4eefe18fa0 [ 10.121667][ T189]