[ 9.732331][ T206] ip (206) used greatest stack depth: 23840 bytes left [ 9.732346][ T206] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.732348][ T206] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 206, name: ip [ 9.732349][ T206] preempt_count: 2, expected: 0 [ 9.732350][ T206] RCU nest depth: 0, expected: 0 [ 9.732351][ T206] locks held by ip/206: 5, last CPU#0: [ 9.732353][ T206] #0: ffffffff8f4167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.732364][ T206] #1: ffffffff8f57ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.732368][ T206] #2: ffffffff8f57de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.732373][ T206] #3: ffffffff8f49d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.732376][ T206] #4: ffffffff8f49d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.732380][ T206] irq event stamp: 26696 [ 9.732381][ T206] hardirqs last enabled at (26695): [] __down_trylock_console_sem+0x86/0xa0 [ 9.732384][ T206] hardirqs last disabled at (26696): [] console_emit_next_record+0x3d4/0x4c0 [ 9.732387][ T206] softirqs last enabled at (24802): [] handle_softirqs+0x67c/0x900 [ 9.732389][ T206] softirqs last disabled at (24795): [] __irq_exit_rcu+0x145/0x1c0 [ 9.732391][ T206] Preemption disabled at: [ 9.732392][ T206] [<0000000000000000>] 0x0 [ 9.732398][ T206] CPU: 0 UID: 0 PID: 206 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.732402][ T206] Tainted: [W]=WARN [ 9.732402][ T206] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.732404][ T206] Call Trace: [ 9.732405][ T206] [ 9.732407][ T206] dump_stack_lvl+0x6f/0xa0 [ 9.732413][ T206] __might_resched.cold+0x1fe/0x2c1 [ 9.732417][ T206] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.732421][ T206] ? __kmalloc_noprof+0xdb/0x760 [ 9.732426][ T206] __kmalloc_noprof+0x443/0x760 [ 9.732427][ T206] ? alloc_buf.isra.0+0x4b/0x260 [ 9.732434][ T206] ? do_raw_spin_unlock+0x59/0x250 [ 9.732437][ T206] alloc_buf.isra.0+0x4b/0x260 [ 9.732440][ T206] put_chars+0x1e1/0x2f0 [ 9.732442][ T206] ? __send_to_port+0x420/0x420 [ 9.732444][ T206] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.732447][ T206] ? validate_chain+0x38b/0xc20 [ 9.732452][ T206] hvc_console_print+0x292/0x780 [ 9.732460][ T206] ? hvc_write+0x3a0/0x3a0 [ 9.732462][ T206] ? rcu_is_watching+0x16/0xd0 [ 9.732464][ T206] ? lock_acquire+0x13c/0x160 [ 9.732468][ T206] console_emit_next_record+0x22f/0x4c0 [ 9.732472][ T206] ? devkmsg_read+0x4b0/0x4b0 [ 9.732474][ T206] ? console_flush_one_record+0x106/0x710 [ 9.732477][ T206] ? rcu_is_watching+0x16/0xd0 [ 9.732479][ T206] ? lock_acquire+0x13c/0x160 [ 9.732483][ T206] console_flush_one_record+0x46f/0x710 [ 9.732487][ T206] ? console_emit_next_record+0x4c0/0x4c0 [ 9.732488][ T206] ? __lock_acquire+0x518/0xc20 [ 9.732494][ T206] console_unlock+0xee/0x1f0 [ 9.732496][ T206] ? console_flush_one_record+0x710/0x710 [ 9.732498][ T206] ? rcu_is_watching+0x16/0xd0 [ 9.732500][ T206] ? lock_acquire+0xe0/0x160 [ 9.732503][ T206] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.732505][ T206] ? vprintk_emit+0x320/0x3e0 [ 9.732508][ T206] vprintk_emit+0x37c/0x3e0 [ 9.732511][ T206] ? wake_up_klogd_work_func+0x90/0x90 [ 9.732514][ T206] ? __lock_acquire+0x518/0xc20 [ 9.732517][ T206] _printk+0xc7/0x100 [ 9.732524][ T206] ? snapshot_read.cold+0x21/0x21 [ 9.732527][ T206] ? do_raw_spin_lock+0x131/0x280 [ 9.732530][ T206] ? __rwlock_init+0x150/0x150 [ 9.732534][ T206] ? do_raw_spin_lock+0x131/0x280 [ 9.732536][ T206] do_exit.cold+0x82/0x9c [ 9.732540][ T206] ? exit_notify+0x890/0x890 [ 9.732541][ T206] ? __lock_release.isra.0+0x69/0x1a0 [ 9.732544][ T206] ? rcu_is_watching+0x16/0xd0 [ 9.732547][ T206] do_group_exit+0xb8/0x370 [ 9.732550][ T206] __x64_sys_exit_group+0x3c/0x50 [ 9.732552][ T206] x64_sys_call+0x1567/0x1570 [ 9.732554][ T206] do_syscall_64+0xff/0x530 [ 9.732558][ T206] ? exc_page_fault+0xee/0x100 [ 9.732561][ T206] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.732563][ T206] RIP: 0033:0x7efecc3a61b8 [ 9.732565][ T206] Code: Unable to access opcode bytes at 0x7efecc3a618e. [ 9.732566][ T206] RSP: 002b:00007ffdb86e2118 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.732568][ T206] RAX: ffffffffffffffda RBX: 00007efecc4d6f88 RCX: 00007efecc3a61b8 [ 9.732570][ T206] RDX: 00007efecc0f0fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.732571][ T206] RBP: 00007ffdb86e2170 R08: 0000000000000000 R09: 0000000000000050 [ 9.732571][ T206] R10: 00007ffdb86e1f30 R11: 0000000000000246 R12: 0000000000000001 [ 9.732572][ T206] R13: 0000000000000000 R14: 00007efecc4d5680 R15: 00007efecc4d6fa0 [ 9.732579][ T206]