[ 71.180149][ T110] su (110) used greatest stack depth: 24104 bytes left [ 71.180168][ T110] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 71.180170][ T110] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 110, name: su [ 71.180172][ T110] preempt_count: 2, expected: 0 [ 71.180173][ T110] RCU nest depth: 0, expected: 0 [ 71.180174][ T110] locks held by su/110: 5, last CPU#3: [ 71.180176][ T110] #0: ffffffff976267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 71.180188][ T110] #1: ffffffff9778dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 71.180193][ T110] #2: ffffffff9778dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 71.180197][ T110] #3: ffffffff976ad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 71.180201][ T110] #4: ffffffff976ad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 71.180204][ T110] irq event stamp: 150514 [ 71.180205][ T110] hardirqs last enabled at (150513): [] __down_trylock_console_sem+0x86/0xa0 [ 71.180208][ T110] hardirqs last disabled at (150514): [] console_emit_next_record+0x3d4/0x4c0 [ 71.180210][ T110] softirqs last enabled at (148524): [] handle_softirqs+0x67c/0x900 [ 71.180212][ T110] softirqs last disabled at (148513): [] __irq_exit_rcu+0x145/0x1c0 [ 71.180214][ T110] Preemption disabled at: [ 71.180214][ T110] [<0000000000000000>] 0x0 [ 71.180221][ T110] CPU: 3 UID: 0 PID: 110 Comm: su Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 71.180225][ T110] Tainted: [W]=WARN [ 71.180226][ T110] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 71.180228][ T110] Call Trace: [ 71.180229][ T110] [ 71.180231][ T110] dump_stack_lvl+0x6f/0xa0 [ 71.180237][ T110] __might_resched.cold+0x1fe/0x2c1 [ 71.180242][ T110] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 71.180246][ T110] ? __kmalloc_noprof+0xdb/0x760 [ 71.180250][ T110] __kmalloc_noprof+0x443/0x760 [ 71.180252][ T110] ? alloc_buf.isra.0+0x4b/0x260 [ 71.180259][ T110] ? do_raw_spin_unlock+0x59/0x250 [ 71.180261][ T110] alloc_buf.isra.0+0x4b/0x260 [ 71.180265][ T110] put_chars+0x1e1/0x2f0 [ 71.180268][ T110] ? __send_to_port+0x420/0x420 [ 71.180270][ T110] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 71.180274][ T110] ? validate_chain+0x38b/0xc20 [ 71.180279][ T110] hvc_console_print+0x292/0x780 [ 71.180287][ T110] ? hvc_write+0x3a0/0x3a0 [ 71.180289][ T110] ? rcu_is_watching+0x16/0xd0 [ 71.180291][ T110] ? lock_acquire+0x13c/0x160 [ 71.180295][ T110] console_emit_next_record+0x22f/0x4c0 [ 71.180299][ T110] ? devkmsg_read+0x4b0/0x4b0 [ 71.180300][ T110] ? console_flush_one_record+0x106/0x710 [ 71.180303][ T110] ? rcu_is_watching+0x16/0xd0 [ 71.180306][ T110] ? lock_acquire+0x13c/0x160 [ 71.180309][ T110] console_flush_one_record+0x46f/0x710 [ 71.180313][ T110] ? console_emit_next_record+0x4c0/0x4c0 [ 71.180315][ T110] ? __lock_acquire+0x518/0xc20 [ 71.180319][ T110] console_unlock+0xee/0x1f0 [ 71.180322][ T110] ? console_flush_one_record+0x710/0x710 [ 71.180324][ T110] ? rcu_is_watching+0x16/0xd0 [ 71.180326][ T110] ? lock_acquire+0x60/0x160 [ 71.180329][ T110] ? __down_trylock_console_sem+0x5e/0xa0 [ 71.180330][ T110] ? vprintk_emit+0x320/0x3e0 [ 71.180334][ T110] vprintk_emit+0x37c/0x3e0 [ 71.180337][ T110] ? wake_up_klogd_work_func+0x90/0x90 [ 71.180340][ T110] ? __lock_acquire+0x518/0xc20 [ 71.180344][ T110] _printk+0xc7/0x100 [ 71.180347][ T110] ? snapshot_read.cold+0x21/0x21 [ 71.180350][ T110] ? do_raw_spin_lock+0x131/0x280 [ 71.180352][ T110] ? __rwlock_init+0x150/0x150 [ 71.180356][ T110] ? do_raw_spin_lock+0x131/0x280 [ 71.180358][ T110] do_exit.cold+0x82/0x9c [ 71.180362][ T110] ? exit_notify+0x890/0x890 [ 71.180364][ T110] ? __lock_release.isra.0+0x69/0x1a0 [ 71.180366][ T110] ? rcu_is_watching+0x16/0xd0 [ 71.180370][ T110] do_group_exit+0xb8/0x370 [ 71.180373][ T110] __x64_sys_exit_group+0x3c/0x50 [ 71.180376][ T110] x64_sys_call+0x1567/0x1570 [ 71.180377][ T110] do_syscall_64+0xff/0x530 [ 71.180381][ T110] ? exc_page_fault+0xee/0x100 [ 71.180385][ T110] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 71.180387][ T110] RIP: 0033:0x7f4a8b3501b8 [ 71.180390][ T110] Code: Unable to access opcode bytes at 0x7f4a8b35018e. [ 71.180391][ T110] RSP: 002b:00007ffdc4d1e698 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 71.180393][ T110] RAX: ffffffffffffffda RBX: 00007f4a8b480f88 RCX: 00007f4a8b3501b8 [ 71.180399][ T110] RDX: 00007f4a8b23cac8 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 71.180400][ T110] RBP: 00007ffdc4d1e6f0 R08: 0000000000000000 R09: 0000000000000000 [ 71.180401][ T110] R10: 00007ffdc4d1e410 R11: 0000000000000246 R12: 0000000000000002 [ 71.180402][ T110] R13: 0000000000000000 R14: 00007f4a8b47f680 R15: 00007f4a8b480fa0 [ 71.180409][ T110]