[ 53.848288][ T109] su (109) used greatest stack depth: 24104 bytes left [ 53.848309][ T109] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 53.848311][ T109] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 109, name: su [ 53.848313][ T109] preempt_count: 2, expected: 0 [ 53.848314][ T109] RCU nest depth: 0, expected: 0 [ 53.848315][ T109] locks held by su/109: 5, last CPU#3: [ 53.848317][ T109] #0: ffffffffa7e027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 53.848330][ T109] #1: ffffffffa7f69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 53.848335][ T109] #2: ffffffffa7f69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 53.848339][ T109] #3: ffffffffa7e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 53.848342][ T109] #4: ffffffffa7e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 53.848345][ T109] irq event stamp: 162170 [ 53.848346][ T109] hardirqs last enabled at (162169): [] __down_trylock_console_sem+0x86/0xa0 [ 53.848350][ T109] hardirqs last disabled at (162170): [] console_emit_next_record+0x3d4/0x4c0 [ 53.848351][ T109] softirqs last enabled at (157562): [] handle_softirqs+0x67c/0x900 [ 53.848353][ T109] softirqs last disabled at (156053): [] __irq_exit_rcu+0x145/0x1c0 [ 53.848356][ T109] Preemption disabled at: [ 53.848357][ T109] [<0000000000000000>] 0x0 [ 53.848364][ T109] CPU: 3 UID: 0 PID: 109 Comm: su Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 53.848367][ T109] Tainted: [W]=WARN [ 53.848368][ T109] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 53.848370][ T109] Call Trace: [ 53.848372][ T109] [ 53.848373][ T109] dump_stack_lvl+0x6f/0xa0 [ 53.848379][ T109] __might_resched.cold+0x1fe/0x2c1 [ 53.848383][ T109] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 53.848386][ T109] ? __kmalloc_noprof+0xdb/0x760 [ 53.848392][ T109] __kmalloc_noprof+0x443/0x760 [ 53.848394][