[ 195.224264][ T109] su (109) used greatest stack depth: 24104 bytes left [ 195.224285][ T109] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 195.224287][ T109] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 109, name: su [ 195.224288][ T109] preempt_count: 2, expected: 0 [ 195.224289][ T109] RCU nest depth: 0, expected: 0 [ 195.224290][ T109] locks held by su/109: 5, last CPU#3: [ 195.224292][ T109] #0: ffffffffb66027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 195.224305][ T109] #1: ffffffffb6769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 195.224311][ T109] #2: ffffffffb6769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 195.224314][ T109] #3: ffffffffb6689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 195.224318][ T109] #4: ffffffffb6689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 195.224322][ T109] irq event stamp: 153254 [ 195.224323][ T109] hardirqs last enabled at (153253): [] __down_trylock_console_sem+0x86/0xa0 [ 195.224325][ T109] hardirqs last disabled at (153254): [] console_emit_next_record+0x3d4/0x4c0 [ 195.224327][ T109] softirqs last enabled at (151564): [] handle_softirqs+0x67c/0x900 [ 195.224329][ T109] softirqs last disabled at (150531): [] __irq_exit_rcu+0x145/0x1c0 [ 195.224331][ T109] Preemption disabled at: [ 195.224332][ T109] [<0000000000000000>] 0x0 [ 195.224339][ T109] CPU: 3 UID: 0 PID: 109 Comm: su Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 195.224343][ T109] Tainted: [W]=WARN [ 195.224343][ T109] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 195.224345][ T109] Call Trace: [ 195.224347][ T109] [ 195.224349][ T109] dump_stack_lvl+0x6f/0xa0 [ 195.224355][ T109] __might_resched.cold+0x1fe/0x2c1 [ 195.224359][ T109] ? perf_trace_sched_switc