[ 26.047178][ T114] bash (114) used greatest stack depth: 24064 bytes left [ 26.047197][ T114] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 26.047199][ T114] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 114, name: bash [ 26.047201][ T114] preempt_count: 2, expected: 0 [ 26.047202][ T114] RCU nest depth: 0, expected: 0 [ 26.047203][ T114] locks held by bash/114: 5, last CPU#0: [ 26.047205][ T114] #0: ffffffff9f8267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 26.047218][ T114] #1: ffffffff9f98dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 26.047223][ T114] #2: ffffffff9f98dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 26.047228][ T114] #3: ffffffff9f8ad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 26.047232][ T114] #4: ffffffff9f8ad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 26.047236][ T114] irq event stamp: 89484 [ 26.047237][ T114] hardirqs last enabled at (89483): [] __down_trylock_console_sem+0x86/0xa0 [ 26.047239][ T114] hardirqs last disabled at (89484): [] console_emit_next_record+0x3d4/0x4c0 [ 26.047241][ T114] softirqs last enabled at (89132): [] handle_softirqs+0x67c/0x900 [ 26.047243][ T114] softirqs last disabled at (89127): [] __irq_exit_rcu+0x145/0x1c0 [ 26.047245][ T114] Preemption disabled at: [ 26.047246][ T114] [<0000000000000000>] 0x0 [ 26.047253][ T114] CPU: 0 UID: 0 PID: 114 Comm: bash Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 26.047256][ T114] Tainted: [W]=WARN [ 26.047257][ T114] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.047259][ T114] Call Trace: [ 26.047261][ T114] [ 26.047263][ T114] dump_stack_lvl+0x6f/0xa0 [ 26.047269][ T114] __might_resched.cold+0x1fe/0x2c1 [ 26.047274][ T114] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 26.047278][ T114] ? __kmalloc_noprof+0xdb/0x760 [ 26.047283][ T114] __kmalloc_noprof+0x443/0x760 [ 26.047285][ T114] ? alloc_buf.isra.0+0x4b/0x260 [ 26.047292][ T114] ? do_raw_spin_unlock+0x59/0x250 [ 26.047294][ T114] alloc_buf.isra.0+0x4b/0x260 [ 26.047298][ T114] put_chars+0x1e1/0x2f0 [ 26.047302][ T114] ? __send_to_port+0x420/0x420 [ 26.047303][ T114] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.047308][ T114] ? validate_chain+0x38b/0xc20 [ 26.047313][ T114] hvc_console_print+0x292/0x780 [ 26.047321][ T114] ? hvc_write+0x3a0/0x3a0 [ 26.047323][ T114] ? rcu_is_watching+0x16/0xd0 [ 26.047326][ T114] ? lock_acquire+0x13c/0x160 [ 26.047329][ T114] console_emit_next_record+0x22f/0x4c0 [ 26.047333][ T114] ? devkmsg_read+0x4b0/0x4b0 [ 26.047335][ T114] ? console_flush_one_record+0x106/0x710 [ 26.047338][ T114] ? rcu_is_watching+0x16/0xd0 [ 26.047340][ T114] ? lock_acquire+0x13c/0x160 [ 26.047344][ T114] console_flush_one_record+0x46f/0x710 [ 26.047348][ T114] ? console_emit_next_record+0x4c0/0x4c0 [ 26.047350][ T114] ? __lock_acquire+0x518/0xc20 [ 26.047355][ T114] console_unlock+0xee/0x1f0 [ 26.047357][ T114] ? console_flush_one_record+0x710/0x710 [ 26.047359][ T114] ? rcu_is_watching+0x16/0xd0 [ 26.047361][ T114] ? lock_acquire+0x60/0x160 [ 26.047364][ T114] ? __down_trylock_console_sem+0x5e/0xa0 [ 26.047366][ T114] ? vprintk_emit+0x320/0x3e0 [ 26.047369][ T114] vprintk_emit+0x37c/0x3e0 [ 26.047372][ T114] ? wake_up_klogd_work_func+0x90/0x90 [ 26.047376][ T114] ? __lock_acquire+0x518/0xc20 [ 26.047379][ T114] _printk+0xc7/0x100 [ 26.047383][ T114] ? snapshot_read.cold+0x21/0x21 [ 26.047386][ T114] ? do_raw_spin_lock+0x131/0x280 [ 26.047389][ T114] ? __rwlock_init+0x150/0x150 [ 26.047392][ T114] ? do_raw_spin_lock+0x131/0x280 [ 26.047395][ T114] do_exit.cold+0x82/0x9c [ 26.047399][ T114] ? exit_notify+0x890/0x890 [ 26.047401][ T114] ? __lock_release.isra.0+0x69/0x1a0 [ 26.047403][ T114] ? rcu_is_watching+0x16/0xd0 [ 26.047408][ T114] do_group_exit+0xb8/0x370 [ 26.047411][ T114] __x64_sys_exit_group+0x3c/0x50 [ 26.047413][ T114] x64_sys_call+0x1567/0x1570 [ 26.047415][ T114] do_syscall_64+0xff/0x530 [ 26.047419][ T114] ? exc_page_fault+0xee/0x100 [ 26.047422][ T114] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 26.047425][ T114] RIP: 0033:0x7f83b1b941b8 [ 26.047427][ T114] Code: Unable to access opcode bytes at 0x7f83b1b9418e. [ 26.047428][ T114] RSP: 002b:00007ffc1b70fe68 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 26.047431][ T114] RAX: ffffffffffffffda RBX: 00007f83b1cc4f88 RCX: 00007f83b1b941b8 [ 26.047432][ T114] RDX: 00007f83b1ad1a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 26.047433][ T114] RBP: 00007ffc1b70fec0 R08: 0000000000000000 R09: 0000000000000020 [ 26.047434][ T114] R10: 00007ffc1b70fd00 R11: 0000000000000246 R12: 0000000000000001 [ 26.047435][ T114] R13: 0000000000000000 R14: 00007f83b1cc3680 R15: 00007f83b1cc4fa0 [ 26.047442][ T114]