[ 9.189339][ T178] ip (178) used greatest stack depth: 24192 bytes left [ 9.189354][ T178] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.189356][ T178] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 178, name: ip [ 9.189358][ T178] preempt_count: 2, expected: 0 [ 9.189358][ T178] RCU nest depth: 0, expected: 0 [ 9.189359][ T178] locks held by ip/178: 5, last CPU#0: [ 9.189361][ T178] #0: ffffffff9b202f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 9.189373][ T178] #1: ffffffff9b36a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.189378][ T178] #2: ffffffff9b36a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.189381][ T178] #3: ffffffff9b289de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.189384][ T178] #4: ffffffff9b289ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.189388][ T178] irq event stamp: 26136 [ 9.189388][ T178] hardirqs last enabled at (26135): [] __down_trylock_console_sem+0x86/0xa0 [ 9.189392][ T178] hardirqs last disabled at (26136): [] console_emit_next_record+0x3d4/0x4c0 [ 9.189393][ T178] softirqs last enabled at (25566): [] handle_softirqs+0x67c/0x900 [ 9.189396][ T178] softirqs last disabled at (25557): [] __irq_exit_rcu+0x145/0x1c0 [ 9.189398][ T178] Preemption disabled at: [ 9.189399][ T178] [<0000000000000000>] 0x0 [ 9.189406][ T178] CPU: 0 UID: 0 PID: 178 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.189409][ T178] Tainted: [W]=WARN [ 9.189410][ T178] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.189412][ T178] Call Trace: [ 9.189413][ T178] [ 9.189415][ T178] dump_stack_lvl+0x6f/0xa0 [ 9.189420][ T178] __might_resched.cold+0x1fe/0x2c1 [ 9.189424][ T178] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.189427][ T178] ? __kmalloc_noprof+0xdb/0x760 [ 9.189432][ T178] __kmalloc_noprof+0x443/0x760 [ 9.189435][ T178] ? alloc_buf.isra.0+0x4b/0x260 [ 9.189440][ T178] ? do_raw_spin_unlock+0x59/0x250 [ 9.189443][ T178] alloc_buf.isra.0+0x4b/0x260 [ 9.189447][ T178] put_chars+0x1e1/0x2f0 [ 9.189449][ T178] ? __send_to_port+0x420/0x420 [ 9.189456][ T178] hvc_console_print+0x292/0x780 [ 9.189462][ T178] ? hvc_write+0x3a0/0x3a0 [ 9.189465][ T178] ? lock_acquire+0x13c/0x160 [ 9.189469][ T178] console_emit_next_record+0x22f/0x4c0 [ 9.189473][ T178] ? devkmsg_read+0x4b0/0x4b0 [ 9.189474][ T178] ? console_flush_one_record+0x106/0x710 [ 9.189477][ T178] ? rcu_is_watching+0x16/0xd0 [ 9.189480][ T178] ? lock_acquire+0x13c/0x160 [ 9.189484][ T178] console_flush_one_record+0x46f/0x710 [ 9.189488][ T178] ? console_emit_next_record+0x4c0/0x4c0 [ 9.189489][ T178] ? __lock_acquire+0x518/0xc20 [ 9.189494][ T178] console_unlock+0xee/0x1f0 [ 9.189496][ T178] ? console_flush_one_record+0x710/0x710 [ 9.189498][ T178] ? rcu_is_watching+0x16/0xd0 [ 9.189499][ T178] ? lock_acquire+0x60/0x160 [ 9.189503][ T178] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.189505][ T178] ? vprintk_emit+0x320/0x3e0 [ 9.189508][ T178] vprintk_emit+0x37c/0x3e0 [ 9.189511][ T178] ? wake_up_klogd_work_func+0x90/0x90 [ 9.189514][ T178] ? __lock_acquire+0x518/0xc20 [ 9.189517][ T178] _printk+0xc7/0x100 [ 9.189521][ T178] ? snapshot_read.cold+0x21/0x21 [ 9.189523][ T178] ? do_raw_spin_lock+0x131/0x280 [ 9.189526][ T178] ? __rwlock_init+0x150/0x150 [ 9.189530][ T178] ? do_raw_spin_lock+0x131/0x280 [ 9.189533][ T178] do_exit.cold+0x82/0x9c [ 9.189537][ T178] ? exit_notify+0x890/0x890 [ 9.189538][ T178] ? __lock_release.isra.0+0x69/0x1a0 [ 9.189541][ T178] ? rcu_is_watching+0x16/0xd0 [ 9.189545][ T178] do_group_exit+0xb8/0x370 [ 9.189548][ T178] __x64_sys_exit_group+0x3c/0x50 [ 9.189550][ T178] x64_sys_call+0x1567/0x1570 [ 9.189553][ T178] do_syscall_64+0x10e/0x570 [ 9.189556][ T178] ? exc_page_fault+0xee/0x100 [ 9.189560][ T178] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.189562][ T178] RIP: 0033:0x7f8a0783b1b8 [ 9.189564][ T178] Code: Unable to access opcode bytes at 0x7f8a0783b18e. [ 9.189565][ T178] RSP: 002b:00007ffd74eacf38 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.189568][ T178] RAX: ffffffffffffffda RBX: 00007f8a0796bf88 RCX: 00007f8a0783b1b8 [ 9.189569][ T178] RDX: 00007f8a07585fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.189570][ T178] RBP: 00007ffd74eacf90 R08: 0000000000000000 R09: 0000000000000050 [ 9.189571][ T178] R10: 00007ffd74eacd50 R11: 0000000000000246 R12: 0000000000000001 [ 9.189571][ T178] R13: 0000000000000000 R14: 00007f8a0796a680 R15: 00007f8a0796bfa0 [ 9.189578][ T178]