[ 50.464195][ T109] su (109) used greatest stack depth: 24104 bytes left [ 50.464211][ T109] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 50.464213][ T109] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 109, name: su [ 50.464214][ T109] preempt_count: 2, expected: 0 [ 50.464215][ T109] RCU nest depth: 0, expected: 0 [ 50.464216][ T109] locks held by su/109: 5, last CPU#3: [ 50.464218][ T109] #0: ffffffffa6c027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 50.464230][ T109] #1: ffffffffa6d69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 50.464235][ T109] #2: ffffffffa6d69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 50.464239][ T109] #3: ffffffffa6c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 50.464242][ T109] #4: ffffffffa6c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 50.464245][ T109] irq event stamp: 150304 [ 50.464246][ T109] hardirqs last enabled at (150303): [] __down_trylock_console_sem+0x86/0xa0 [ 50.464249][ T109] hardirqs last disabled at (150304): [] console_emit_next_record+0x3d4/0x4c0 [ 50.464251][ T109] softirqs last enabled at (148396): [] handle_softirqs+0x67c/0x900 [ 50.464253][ T109] softirqs last disabled at (148385): [] __irq_exit_rcu+0x145/0x1c0 [ 50.464255][ T109] Preemption disabled at: [ 50.464256][ T109] [<0000000000000000>] 0x0 [ 50.464262][ T109] CPU: 3 UID: 0 PID: 109 Comm: su Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 50.464265][ T109] Tainted: [W]=WARN [ 50.464266][ T109] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 50.464268][ T109] Call Trace: [ 50.464269][ T109] [ 50.464271][ T109] dump_stack_lvl+0x6f/0xa0 [ 50.464276][ T109] __might_resched.cold+0x1fe/0x2c1 [ 50.464281][ T109] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 50.464284][ T109] ? __kmalloc_noprof+0xdb/0x760 [ 50.464289][ T109] __kmalloc_noprof+0x443/0x760 [ 50.464291][ T109] ? alloc_buf.isra.0+0x4b/0x260 [ 50.464298][ T109] ? do_raw_spin_unlock+0x59/0x250 [ 50.464300][ T109] alloc_buf.isra.0+0x4b/0x260 [ 50.464303][ T109] put_chars+0x1e1/0x2f0 [ 50.464306][ T109] ? __send_to_port+0x420/0x420 [ 50.464308][ T109] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 50.464312][ T109] ? validate_chain+0x38b/0xc20 [ 50.464317][ T109] hvc_console_print+0x292/0x780 [ 50.464323][ T109] ? hvc_write+0x3a0/0x3a0 [ 50.464326][ T109] ? rcu_is_watching+0x16/0xd0 [ 50.464328][ T109] ? lock_acquire+0x13c/0x160 [ 50.464332][ T109] console_emit_next_record+0x22f/0x4c0 [ 50.464335][ T109] ? devkmsg_read+0x4b0/0x4b0 [ 50.464336][ T109] ? console_flush_one_record+0x106/0x710 [ 50.464339][ T109] ? rcu_is_watching+0x16/0xd0 [ 50.464341][ T109] ? lock_acquire+0x13c/0x160 [ 50.464345][ T109] console_flush_one_record+0x46f/0x710 [ 50.464348][ T109] ? console_emit_next_record+0x4c0/0x4c0 [ 50.464349][ T109] ? __lock_acquire+0x518/0xc20 [ 50.464355][ T109] console_unlock+0xee/0x1f0 [ 50.464357][ T109] ? console_flush_one_record+0x710/0x710 [ 50.464358][ T109] ? rcu_is_watching+0x16/0xd0 [ 50.464360][ T109] ? lock_acquire+0x60/0x160 [ 50.464363][ T109] ? __down_trylock_console_sem+0x5e/0xa0 [ 50.464365][ T109] ? vprintk_emit+0x320/0x3e0 [ 50.464368][ T109] vprintk_emit+0x37c/0x3e0 [ 50.464371][ T109] ? wake_up_klogd_work_func+0x90/0x90 [ 50.464374][ T109] ? __lock_acquire+0x518/0xc20 [ 50.464378][ T109] _printk+0xc7/0x100 [ 50.464382][ T109] ? snapshot_read.cold+0x21/0x21 [ 50.464384][ T109] ? do_raw_spin_lock+0x131/0x280 [ 50.464387][ T109] ? __rwlock_init+0x150/0x150 [ 50.464391][ T109] ? do_raw_spin_lock+0x131/0x280 [ 50.464394][ T109] do_exit.cold+0x82/0x9c [ 50.464397][ T109] ? exit_notify+0x890/0x890 [ 50.464399][ T109] ? __lock_release.isra.0+0x69/0x1a0 [ 50.464402][ T109] ? rcu_is_watching+0x16/0xd0 [ 50.464405][ T109] do_group_exit+0xb8/0x370 [ 50.464408][ T109] __x64_sys_exit_group+0x3c/0x50 [ 50.464410][ T109] x64_sys_call+0x1567/0x1570 [ 50.464413][ T109] do_syscall_64+0xff/0x530 [ 50.464417][ T109] ? exc_page_fault+0xee/0x100 [ 50.464419][ T109] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 50.464422][ T109] RIP: 0033:0x7fb75c3d61b8 [ 50.464424][ T109] Code: Unable to access opcode bytes at 0x7fb75c3d618e. [ 50.464425][ T109] RSP: 002b:00007fffe9c91ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 50.464427][ T109] RAX: ffffffffffffffda RBX: 00007fb75c506f88 RCX: 00007fb75c3d61b8 [ 50.464428][ T109] RDX: 0000