[ 56.085675][ T111] su (111) used greatest stack depth: 24104 bytes left [ 56.085695][ T111] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 56.085697][ T111] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 111, name: su [ 56.085698][ T111] preempt_count: 2, expected: 0 [ 56.085699][ T111] RCU nest depth: 0, expected: 0 [ 56.085700][ T111] locks held by su/111: 5, last CPU#0: [ 56.085702][ T111] #0: ffffffffab802f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 56.085714][ T111] #1: ffffffffab96a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 56.085719][ T111] #2: ffffffffab96a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 56.085723][ T111] #3: ffffffffab889de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 56.085726][ T111] #4: ffffffffab889ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 56.085729][ T111] irq event stamp: 157614 [ 56.085730][ T111] hardirqs last enabled at (157613): [] __down_trylock_console_sem+0x86/0xa0 [ 56.085734][ T111] hardirqs last disabled at (157614): [] console_emit_next_record+0x3d4/0x4c0 [ 56.085735][ T111] softirqs last enabled at (156060): [] handle_softirqs+0x67c/0x900 [ 56.085738][ T111] softirqs last disabled at (156055): [] __irq_exit_rcu+0x145/0x1c0 [ 56.085740][ T111] Preemption disabled at: [ 56.085741][ T111] [<0000000000000000>] 0x0 [ 56.085747][ T111] CPU: 0 UID: 0 PID: 111 Comm: su Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 56.085751][ T111] Tainted: [W]=WARN [ 56.085752][ T111] Hardware name: Bochs Bochs, BIOS Bochs 01