[ 51.676829][ T110] su (110) used greatest stack depth: 24104 bytes left [ 51.676844][ T110] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 51.676846][ T110] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 110, name: su [ 51.676847][ T110] preempt_count: 2, expected: 0 [ 51.676848][ T110] RCU nest depth: 0, expected: 0 [ 51.676849][ T110] locks held by su/110: 5, last CPU#1: [ 51.676852][ T110] #0: ffffffffa4c027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 51.676868][ T110] #1: ffffffffa4d69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 51.676873][ T110] #2: ffffffffa4d69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 51.676877][ T110] #3: ffffffffa4c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 51.676880][ T110] #4: ffffffffa4c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 51.676883][ T110] irq event stamp: 168364 [ 51.676884][ T110] hardirqs last enabled at (168363): [] __down_trylock_console_sem+0x86/0xa0 [ 51.676887][ T110] hardirqs last disabled at (168364): [] console_emit_next_record+0x3d4/0x4c0 [ 51.676889][ T110] softirqs last enabled at (167702): [] handle_softirqs+0x67c/0x900 [ 51.676891][ T110] softirqs last disabled at (167691): [] __irq_exit_rcu+0x145/0x1c0 [ 51.676893][ T110] Preemption disabled at: [ 51.676894][ T110] [<0000000000000000>] 0x0 [ 51.676900][ T110] CPU: 1 UID: 0 PID: 110 Comm: su Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 51.676903][ T110] Tainted: [W]=WARN [ 51.676904][ T110] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 51.676906][ T110] Call Trace: [ 51.676907][ T110] [ 51.676909][ T110] dump_stack_lvl+0x6f/0xa0 [ 51.676915][ T110] __might_resched.cold+0x1fe/0x2c1 [ 51.676919][ T110] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 51.676922][ T110] ? __kmalloc_noprof+0xdb/0x760 [ 51.676927][ T110] __kmalloc_noprof+0x443/0x760 [ 51.676930][ T110] ? alloc_buf.isra.0+0x4b/0x260 [ 51.676935][ T110] ? do_raw_spin_unlock+0x59/0x250 [ 51.676938][ T110] alloc_buf.isra.0+0x4b/0x