[ 10.304070][ T173] ip (173) used greatest stack depth: 24352 bytes left [ 10.304090][ T173] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.304095][ T173] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 173, name: ip [ 10.304096][ T173] preempt_count: 2, expected: 0 [ 10.304098][ T173] RCU nest depth: 0, expected: 0 [ 10.304099][ T173] locks held by ip/173: 5, last CPU#0: [ 10.304101][ T173] #0: ffffffff8f6027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.304113][ T173] #1: ffffffff8f769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.304119][ T173] #2: ffffffff8f769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.304122][ T173] #3: ffffffff8f689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.304125][ T173] #4: ffffffff8f689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.304129][ T173] irq event stamp: 18902 [ 10.304130][ T173] hardirqs last enabled at (18901): [] __down_trylock_console_sem+0x86/0xa0 [ 10.304134][ T173] hardirqs last disabled at (18902): [] console_emit_next_record+0x3d4/0x4c0 [ 10.304135][ T173] softirqs last enabled at (18636): [] handle_softirqs+0x67c/0x900 [ 10.304137][ T173] softirqs last disabled at (17627): [] __irq_exit_rcu+0x145/0x1c0 [ 10.304140][ T173] Preemption disabled at: [ 10.304141][ T173] [<0000000000000000>] 0x0 [ 10.304147][ T173] CPU: 0 UID: 0 PID: 173 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.304151][ T173] Tainted: [W]=WARN [ 10.304152][ T173] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.304153][ T173] Call Trace: [ 10.304155][ T173] [ 10.304156][ T173] dump_stack_lvl+0x6f/0xa0 [ 10.304162][ T173] __might_resched.cold+0x1fe/0x2c1 [ 10.304167][ T173] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.304170][ T173] ? __kmalloc_noprof+0xdb/0x760 [ 10.304175][ T173] __kmalloc_noprof+0x443/0x760 [ 10.304178][ T173] ? alloc_buf.isra.0+0x4b/0x260 [ 10.304184][ T173] ? do_raw_spin_unlock+0x59/0x250 [ 10.304187][ T173] alloc_buf.isra.0+0x4b/0x260 [ 10.304190][ T173] put_chars+0x1e1/0x2f0 [ 10.304194][ T173] ? __send_to_port+0x420/0x420 [ 10.304195][ T173] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.304199][ T173] ? validate_chain+0x38b/0xc20 [ 10.304205][ T173] hvc_console_print+0x292/0x780 [ 10.304212][ T173] ? hvc_write+0x3a0/0x3a0 [ 10.304214][ T173] ? rcu_is_watching+0x16/0xd0 [ 10.304216][ T173] ? lock_acquire+0x13c/0x160 [ 10.304220][ T173] console_emit_next_record+0x22f/0x4c0 [ 10.304224][ T173] ? devkmsg_read+0x4b0/0x4b0 [ 10.304225][ T173] ? console_flush_one_record+0x106/0x710 [ 10.304228][ T173] ? rcu_is_watching+0x16/0xd0 [ 10.304230][ T173] ? lock_acquire+0x13c/0x160 [ 10.304234][ T173] console_flush_one_record+0x46f/0x710 [ 10.304237][ T173] ? console_emit_next_record+0x4c0/0x4c0 [ 10.304239][ T173] ? __lock_acquire+0x518/0xc20 [ 10.304244][ T173] console_unlock+0xee/0x1f0 [ 10.304246][ T173] ? console_flush_one_record+0x710/0x710 [ 10.304248][ T173] ? rcu_is_watching+0x16/0xd0 [ 10.304250][ T173] ? lock_acquire+0x60/0x160 [ 10.304253][ T173] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.304255][ T173] ? vprintk_emit+0x320/0x3e0 [ 10.304258][ T173] vprintk_emit+0x37c/0x3e0 [ 10.304261][ T173] ? wake_up_klogd_work_func+0x90/0x90 [ 10.304264][ T173] ? __lock_acquire+0x518/0xc20 [ 10.304268][ T173] _printk+0xc7/0x100 [ 10.304272][ T173] ? snapshot_read.cold+0x21/0x21 [ 10.304275][ T173] ? do_raw_spin_lock+0x131/0x280 [ 10.304278][ T173] ? __rwlock_init+0x150/0x150 [ 10.304282][ T173] ? do_raw_spin_lock+0x131/0x280 [ 10.304285][ T173] do_exit.cold+0x82/0x9c [ 10.304288][ T173] ? exit_notify+0x890/0x890 [ 10.304289][ T173] ? __lock_release.isra.0+0x69/0x1a0 [ 10.304292][ T173] ? rcu_is_watching+0x16/0xd0 [ 10.304296][ T173] do_group_exit+0xb8/0x370 [ 10.304299][ T173] __x64_sys_exit_group+0x3c/0x50 [ 10.304301][ T173] x64_sys_call+0x1567/0x1570 [ 10.304304][ T173] do_syscall_64+0xff/0x530 [ 10.304308][ T173] ? exc_page_fault+0xee/0x100 [ 10.304311][ T173] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.304313][ T173] RIP: 0033:0x7fe6d41b01b8 [ 10.304315][ T173] Code: Unable to access opcode bytes at 0x7fe6d41b018e. [ 10.304316][ T173] RSP: 002b:00007ffc929148b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.304319][ T173] RAX: ffffffffffffffda RBX: 00007fe6d42e0f88 RCX: 00007fe6d41b01b8 [ 10.304320][ T173] RDX: 00007fe6d3efafc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.304321][ T173] RBP: 00007ffc92914910 R08: 0000000000000000 R09: 0000000000008010 [ 10.304322][ T173] R10: 00007ffc929146d0 R11: 0000000000000246 R12: 0000000000000001 [ 10.304323][ T173] R13: 0000000000000000 R14: 00007fe6d42df680 R15: 00007fe6d42e0fa0 [ 10.304330][ T173]