[ 56.523502][ T109] su (109) used greatest stack depth: 23776 bytes left [ 56.523522][ T109] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 56.523524][ T109] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 109, name: su [ 56.523526][ T109] preempt_count: 2, expected: 0 [ 56.523527][ T109] RCU nest depth: 0, expected: 0 [ 56.523528][ T109] locks held by su/109: 5, last CPU#0: [ 56.523530][ T109] #0: ffffffff9d6027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 56.523541][ T109] #1: ffffffff9d769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 56.523546][ T109] #2: ffffffff9d769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 56.523550][ T109] #3: ffffffff9d689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 56.523553][ T109] #4: ffffffff9d689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0