[ 90.072591][ T112] su (112) used greatest stack depth: 23776 bytes left [ 90.072612][ T112] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 90.072614][ T112] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 112, name: su [ 90.072616][ T112] preempt_count: 2, expected: 0 [ 90.072617][ T112] RCU nest depth: 0, expected: 0 [ 90.072618][ T112] locks held by su/112: 5, last CPU#3: [ 90.072620][ T112] #0: ffffffff8e8127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 90.072631][ T112] #1: ffffffff8e979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 90.072637][ T112] #2: ffffffff8e979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 90.072640][ T112] #3: ffffffff8e899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 90.072644][ T112] #4: ffffffff8e899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 90.072648][ T112] irq event stamp: 143732 [ 90.072649][ T112] hardirqs last enabled at (143731): [] __down_trylock_console_sem+0x86/0xa0 [ 90.072651][ T112] hardirqs last disabled at (143732): [] console_emit_next_record+0x3d4/0x4c0 [ 90.072653][ T112] softirqs last enabled at (142288): [] handle_softirqs+0x67c/0x900 [ 90.072655][ T112] softirqs last disabled at (142281): [] __irq_exit_rcu+0x145/0x1c0 [ 90.072657][ T112] Preemption disabled at: [ 90.072658][ T112] [<0000000000000000>] 0x0 [ 90.072665][ T112] CPU: 3 UID: 0 PID: 112 Comm: su Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 90.072668][ T112] Tainted: [W]=WARN [ 90.072669][ T112] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 90.072671][ T112] Call Trace: [ 90.072673][ T112] [ 90.072674][ T112] dump_stack_lvl+0x6f/0xa0 [ 90.072680][ T112] __might_resched.cold+0x1fe/0x2c1 [ 90.072684][ T112] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 90.072688][ T112] ? __kmalloc_noprof+0xdb/0x760 [ 90.072693][ T112] __kmalloc_noprof+0x443/0x760 [ 90.072695][ T112] ? alloc_buf.isra.0+0x4b/0x260 [ 90.072702][