[ 55.139751][ T114] bash (114) used greatest stack depth: 24848 bytes left [ 55.139770][ T114] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 55.139772][ T114] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 114, name: bash [ 55.139774][ T114] preempt_count: 2, expected: 0 [ 55.139775][ T114] RCU nest depth: 0, expected: 0 [ 55.139776][ T114] locks held by bash/114: 5, last CPU#0: [ 55.139778][ T114] #0: ffffffffaa2027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 55.139790][ T114] #1: ffffffffaa369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 55.139796][ T114] #2: ffffffffaa369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 55.139799][ T114] #3: ffffffffaa289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 55.139802][ T114] #4: ffffffffaa289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 55.139806][ T114] irq event stamp: 74650 [ 55.139807][ T114] hardirqs last enabled at (74649): [] __down_trylock_console_sem+0x86/0xa0 [ 55.139810][ T114] hardirqs last disabled at (74650): [] console_emit_next_record+0x3d4/0x4c0 [ 55.139812][ T114] softirqs last enabled at (73004): [] handle_softirqs+0x67c/0x900 [ 55.139814][ T114] softirqs last disabled at (72997): [] __irq_exit_rcu+0x145/0x1c0 [ 55.139816][ T114] Preemption disabled at: [ 55.139817][ T114] [<0000000000000000>] 0x0 [ 55.139824][ T114] CPU: 0 UID: 0 PID: 114 Comm: bash Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 55.139827][ T114] Tainted: [W]=WARN [ 55.139828][ T114] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 55.139830][ T114] Call Trace: [ 55.139832][ T114] [ 55.139833][ T114] dump_stack_lvl+0x6f/0xa0 [ 55.139838][ T114] __might_resched.cold+0x1fe/0x2c1 [ 55.139843][ T114] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 55.139846][ T114] ? __kmalloc_noprof+0xdb/0x760 [ 55.139852][ T114] __kmalloc_noprof+0x443/0x760 [ 55.139854][ T114] ? alloc_buf.isra.0+0x4b/0x260 [ 55.139860][ T114] ? do_raw_spin_unlock+0x59/0x250 [ 55.139863][ T114] alloc_buf.isra.0+0x4b/0x260 [ 55.139867][ T114] put_chars+0x1e1/0x2f0 [ 55.139870][ T114] ? __send_to_port+0x420/0x420 [ 55.139871][ T114] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 55.139875][ T114] ? validate_chain+0x38b/0xc20 [ 55.139881][ T114] hvc_console_print+0x292/0x780 [ 55.139887][ T114] ? hvc_write+0x3a0/0x3a0 [ 55.139890][ T114] ? rcu_is_watching+0x16/0xd0 [ 55.139892][ T114] ? lock_acquire+0x13c/0x160 [ 55.139896][ T114] console_emit_next_record+0x22f/0x4c0 [ 55.139899][ T114] ? devkmsg_read+0x4b0/0x4b0 [ 55.139900][ T114] ? console_flush_one_record+0x106/0x710 [ 55.139903][ T114] ? rcu_is_watching+0x16/0xd0 [ 55.139905][ T114] ? lock_acquire+0x13c/0x160 [ 55.139909][ T114] console_flush_one_record+0x46f/0x710 [ 55.139912][ T114] ? console_emit_next_record+0x4c0/0x4c0 [ 55.139914][ T114] ? __lock_acquire+0x518/0xc20 [ 55.139919][ T114] console_unlock+0xee/0x1f0 [ 55.139921][ T114] ? console_flush_one_record+0x710/0x710 [ 55.139923][ T114] ? rcu_is_watching+0x16/0xd0 [ 55.139924][ T114] ? lock_acquire+0x60/0x160 [ 55.139928][ T114] ? __down_trylock_console_sem+0x5e/0xa0 [ 55.139930][ T114] ? vprintk_emit+0x320/0x3e0 [ 55.139933][ T114] vprintk_emit+0x37c/0x3e0 [ 55.139936][ T114] ? wake_up_klogd_work_func+0x90/0x90 [ 55.139939][ T114] ? __lock_acquire+0x518/0xc20 [ 55.139943][ T114] _printk+0xc7/0x100 [ 55.139947][ T114] ? snapshot_read.cold+0x21/0x21 [ 55.139949][ T114] ? do_raw_spin_lock+0x131/0x280 [ 55.139952][ T114] ? __rwlock_init+0x150/0x150 [ 55.139956][ T114] ? do_raw_spin_lock+0x131/0x280 [ 55.139959][ T114] do_exit.cold+0x82/0x9c [ 55.139962][ T114] ? exit_notify+0x890/0x890 [ 55.139964][ T114] ? __lock_release.isra.0+0x69/0x1a0 [ 55.139967][ T114] ? rcu_is_watching+0x16/0xd0 [ 55.139970][ T114] do_group_exit+0xb8/0x370 [ 55.139973][ T114] __x64_sys_exit_group+0x3c/0x50 [ 55.139975][ T114] x64_sys_call+0x1567/0x1570 [ 55.139978][ T114] do_syscall_64+0xff/0x530 [ 55.139982][ T114] ? exc_page_fault+0xee/0x100 [ 55.139985][ T114] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 55.139987][ T114] RIP: 0033:0x7f7db958d1b8 [ 55.139990][ T114] Code: Unable to access opcode bytes at 0x7f7db958d18e. [ 55.139990][ T114] RSP: 002b:00007ffe3563e7a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 55.139993][ T114] RAX: ffffffffffffffda RBX: 00007f7db96bdf88 RCX: 00007f7db958d1b8 [ 55.139994][ T114] RDX: 00007f7db94caa48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 55.139995][ T114] RBP: 00007ffe3563e800 R08: 0000000000000000 R09: 0000000000000020 [ 55.139996][ T114] R10: 00007ffe3563e640 R11: 0000000000000246 R12: 0000000000000001 [ 55.139996][ T114] R13: 0000000000000000 R14: 00007f7db96bc680 R15: 00007f7db96bdfa0 [ 55.140003][ T114] [ 55.266586][ T109] su (109) used greatest stack depth: 24104 bytes left