[ 153.172626][ T112] su (112) used greatest stack depth: 24104 bytes left [ 153.172642][ T112] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 153.172645][ T112] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 112, name: su [ 153.172646][ T112] preempt_count: 2, expected: 0 [ 153.172647][ T112] RCU nest depth: 0, expected: 0 [ 153.172648][ T112] INFO: lockdep is turned off. [ 153.172649][ T112] irq event stamp: 123990 [ 153.172650][ T112] hardirqs last enabled at (123989): [] _raw_spin_unlock_irqrestore+0x53/0x80 [ 153.172659][ T112] hardirqs last disabled at (123990): [] __schedule+0x1246/0x20e0 [ 153.172662][ T112] softirqs last enabled at (123882): [] fpu_clone+0xd9/0x410 [ 153.172665][ T112] softirqs last disabled at (123880): [] fpu_clone+0x82/0x410 [ 153.172667][ T112] Preemption disabled at: [ 153.172668][ T112] [<0000000000000000>] 0x0 [ 153.172674][ T112] CPU: 3 UID: 0 PID: 112 Comm: su Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 153.172677][ T112] Tainted: [W]=WARN [ 153.172678][ T112] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 153.172680][ T112] Call Trace: [ 153.172681][ T112] [ 153.172683][ T112] dump_stack_lvl+0x6f/0xa0 [ 153.172687][ T112] __might_resched.cold+0x1fe/0x2c1 [ 153.172691][ T112] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 153.172694][ T112] ? __asan_memcpy+0x3c/0x60 [ 153.172697][ T112] ? rcu_is_watching+0x16/0xd0 [ 153.172701][ T112] __kmalloc_noprof+0x443/0x760 [ 153.172704][ T112] ? __rwlock_init+0x150/0x150 [ 153.172707][ T112] ? alloc_buf.isra.0+0x4b/0x260 [ 153.172713][ T112] ? do_raw_spin_unlock+0x59/0x250 [ 153.172715][ T112] alloc_buf.isra.0+0x4b/0x260 [ 153.172718][ T112] put_chars+0x1e1/0x2f0 [ 153.172720][ T112] ? __send_to_port+0x420/0x420 [ 153.172721][ T112] ? console_prepend_replay+0x20/0x20 [ 153.172725][ T112] hvc_console_print+0x292/0x780 [ 153.172728][ T112] ? hvc_write+0x3a0/0x3a0 [ 153.172730][ T112] ? rcu_is_watching+0x16/0xd0 [ 153.172731][ T112] ? lock_acquire+0x13c/0x160 [ 153.172734][ T112] console_emit_next_record+0x22f/0x4c0 [ 153.172736][ T112] ? devkmsg_read+0x4b0/0x4b0 [ 153.172738][ T112] ? rcu_is_watching+0x16/0