[ 101.858268][ T117] su (117) used greatest stack depth: 24072 bytes left [ 101.858285][ T117] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 101.858287][ T117] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 117, name: su [ 101.858288][ T117] preempt_count: 2, expected: 0 [ 101.858289][ T117] RCU nest depth: 0, expected: 0 [ 101.858290][ T117] locks held by su/117: 5, last CPU#3: [ 101.858292][ T117] #0: ffffffffb34167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 101.858307][ T117] #1: ffffffffb357ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 101.858312][ T117] #2: ffffffffb357de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 101.858316][ T117] #3: ffffffffb349d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 101.858320][ T117] #4: ffffffffb349d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 101.858324][ T117] irq event stamp: 161280 [ 101.858325][ T117] hardirqs last enabled at (161279): [] __down_trylock_console_sem+0x86/0xa0 [ 101.858328][ T117] hardirqs last disabled at (161280): [] console_emit_next_record+0x3d4/0x4c0 [ 101.858330][ T117] softirqs last enabled at (159408): [] handle_softirqs+0x67c/0x900 [ 101.858332][ T117] softirqs last disabled at (159403): [] __irq_exit_rcu+0x145/0x1c0 [ 101.858334][ T117] Preemption disabled at: [ 101.858335][ T117] [<0000000000000000>] 0x0 [ 101.858342][ T117] CPU: 3 UID: 0 PID: 117 Comm: su Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 101.858345][ T117] Tainted: [W]=WARN [ 101.858346][ T117] Hardware name: Bochs Bochs, BIOS Bochs 01