[ 11.393527][ T225] ip (225) used greatest stack depth: 23880 bytes left [ 11.393548][ T225] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.393550][ T225] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 225, name: ip [ 11.393552][ T225] preempt_count: 2, expected: 0 [ 11.393553][ T225] RCU nest depth: 0, expected: 0 [ 11.393554][ T225] locks held by ip/225: 5, last CPU#0: [ 11.393556][ T225] #0: ffffffff904167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.393568][ T225] #1: ffffffff9057ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.393573][ T225] #2: ffffffff9057de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.393577][ T225] #3: ffffffff9049d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.393581][ T225] #4: ffffffff9049d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.393585][ T225] irq event stamp: 47170 [ 11.393586][ T225] hardirqs last enabled at (47169): [] __down_trylock_console_sem+0x86/0xa0 [ 11.393589][ T225] hardirqs last disabled at (47170): [] console_emit_next_record+0x3d4/0x4c0 [ 11.393591][ T225] softirqs last enabled at (45952): [] handle_softirqs+0x67c/0x900 [ 11.393594][ T225] softirqs last disabled at (45339): [] __irq_exit_rcu+0x145/0x1c0 [ 11.393596][ T225] Preemption disabled at: [ 11.393597][ T225] [<0000000000000000>] 0x0 [ 11.393604][ T225] CPU: 0 UID: 0 PID: 225 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.393607][ T225] Tainted: [W]=WARN [ 11.393608][ T225] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.393610][ T225] Call Trace: [ 11.393612][ T225] [ 11.393613][ T225] dump_stack_lvl+0x6f/0xa0 [ 11.393620][ T225] __might_resched.cold+0x1fe/0x2c1 [ 11.393625][ T225] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.393629][ T225] ? __kmalloc_noprof+0xdb/0x760 [ 11.393634][ T225] __kmalloc_noprof+0x443/0x760 [ 11.393635][ T225] ? alloc_buf.isra.0+0x4b/0x260 [ 11.393642][ T225] ? do_raw_spin_unlock+0x59/0x250 [ 11.393645][ T225] alloc_buf.isra.0+0x4b/0x260 [ 11.393649][ T225] put_chars+0x1e1/0x2f0 [ 11.393651][ T225] ? __send_to_port+0x420/0x420 [ 11.393652][ T225] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.393656][ T225] ? validate_chain+0x38b/0xc20 [ 11.393662][ T225] hvc_console_print+0x292/0x780 [ 11.393669][ T225] ? hvc_write+0x3a0/0x3a0 [ 11.393672][ T225] ? rcu_is_watching+0x16/0xd0 [ 11.393674][ T225] ? lock_acquire+0x13c/0x160 [ 11.393678][ T225] console_emit_next_record+0x22f/0x4c0 [ 11.393682][ T225] ? devkmsg_read+0x4b0/0x4b0 [ 11.393684][ T225] ? console_flush_one_record+0x106/0x710 [ 11.393687][ T225] ? rcu_is_watching+0x16/0xd0 [ 11.393689][ T225] ? lock_acquire+0x13c/0x160 [ 11.393693][ T225] console_flush_one_record+0x46f/0x710 [ 11.393697][ T225] ? console_emit_next_record+0x4c0/0x4c0 [ 11.393699][ T225] ? __lock_acquire+0x518/0xc20 [ 11.393705][ T225] console_unlock+0xee/0x1f0 [ 11.393708][ T225] ? console_flush_one_record+0x710/0x710 [ 11.393710][ T225] ? rcu_is_watching+0x16/0xd0 [ 11.393711][ T225] ? lock_acquire+0xe0/0x160 [ 11.393715][ T225] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.393717][ T225] ? vprintk_emit+0x320/0x3e0 [ 11.393720][ T225] vprintk_emit+0x37c/0x3e0 [ 11.393723][ T225] ? wake_up_klogd_work_func+0x90/0x90 [ 11.393726][ T225] ? __lock_acquire+0x518/0xc20 [ 11.393730][ T225] _printk+0xc7/0x100 [ 11.393733][ T225] ? snapshot_read.cold+0x21/0x21 [ 11.393736][ T225] ? do_raw_spin_lock+0x131/0x280 [ 11.393739][ T225] ? __rwlock_init+0x150/0x150 [ 11.393743][ T225] ? do_raw_spin_lock+0x131/0x280 [ 11.393745][ T225] do_exit.cold+0x82/0x9c [ 11.393749][ T225] ? exit_notify+0x890/0x890 [ 11.393751][ T225] ? __lock_release.isra.0+0x69/0x1a0 [ 11.393753][ T225] ? rcu_is_watching+0x16/0xd0 [ 11.393757][ T225] do_group_exit+0xb8/0x370 [ 11.393760][ T225] __x64_sys_exit_group+0x3c/0x50 [ 11.393762][ T225] x64_sys_call+0x1567/0x1570 [ 11.393764][ T225] do_syscall_64+0xff/0x530 [ 11.393768][ T225] ? exc_page_fault+0xee/0x100 [ 11.393771][ T225] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.393774][ T225] RIP: 0033:0x7f4c020291b8 [ 11.393776][ T225] Code: Unable to access opcode bytes at 0x7f4c0202918e. [ 11.393777][ T225] RSP: 002b:00007ffc8396b7a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.393780][ T225] RAX: ffffffffffffffda RBX: 00007f4c02159f88 RCX: 00007f4c020291b8 [ 11.393781][ T225] RDX: 00007f4c01d73fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.393782][ T225] RBP: 00007ffc8396b800 R08: 0000000000000000 R09: 0000000000000050 [ 11.393783][ T225] R10: 00007ffc8396b5c0 R11: 0000000000000246 R12: 0000000000000001 [ 11.393784][ T225] R13: 0000000000000000 R14: 00007f4c02158680 R15: 00007f4c02159fa0 [ 11.393790][ T225]