[ 13.085911][ T115] bash (115) used greatest stack depth: 24848 bytes left [ 13.085930][ T115] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.085932][ T115] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 115, name: bash [ 13.085934][ T115] preempt_count: 2, expected: 0 [ 13.085935][ T115] RCU nest depth: 0, expected: 0 [ 13.085936][ T115] locks held by bash/115: 5, last CPU#1: [ 13.085938][ T115] #0: ffffffffa60027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 13.085950][ T115] #1: ffffffffa6169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.085955][ T115] #2: ffffffffa6169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.085958][ T115] #3: ffffffffa6089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.085962][ T115] #4: ffffffffa6089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.085965][ T115] irq event stamp: 71820 [ 13.085966][ T115] hardirqs last enabled at (71819): [] __down_trylock_console_sem+0x86/0xa0 [ 13.085970][ T115] hardirqs last disabled at (71820): [] console_emit_next_record+0x3d4/0x4c0 [ 13.085971][ T115] softirqs last enabled at (71272): [] handle_softirqs+0x67c/0x900 [ 13.085973][ T115] softirqs last disabled at (71263): [] __irq_exit_rcu+0x145/0x1c0 [ 13.085976][ T115] Preemption disabled at: [ 13.085977][ T115] [<0000000000000000>] 0x0 [ 13.085984][ T115] CPU: 1 UID: 0 PID: 115 Comm: bash Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.085987][ T115] Tainted: [W]=WARN [ 13.085988][ T115] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.085990][ T115] Call Trace: [ 13.085991][ T115] [ 13.085993][ T115] dump_stack_lvl+0x6f/0xa0 [ 13.085998][ T115] __might_resched.cold+0x1fe/0x2c1 [ 13.086003][ T115] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.086006][ T115] ? __kmalloc_noprof+0xdb/0x760 [ 13.086011][ T115] __kmalloc_noprof+0x443/0x760 [ 13.086014][ T115] ? alloc_buf.isra.0+0x4b/0x260 [ 13.086020][ T115] ? do_raw_spin_unlock+0x59/0x250 [ 13.086022][ T115] alloc_buf.isra.0+0x4b/0x260 [ 13.086026][ T115] put_chars+0x1e1/0x2f0 [ 13.086029][ T115] ? __send_to_port+0x420/0x420 [ 13.086030][ T115] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.086034][ T115] ? validate_chain+0x38b/0xc20 [ 13.086040][ T115] hvc_console_print+0x292/0x780 [ 13.086046][ T115] ? hvc_write+0x3a0/0x3a0 [ 13.086048][ T115] ? rcu_is_watching+0x16/0xd0 [ 13.086050][ T115] ? lock_acquire+0x13c/0x160 [ 13.086055][ T115] console_emit_next_record+0x22f/0x4c0 [ 13.086058][ T115] ? devkmsg_read+0x4b0/0x4b0 [ 13.086059][ T115] ? console_flush_one_record+0x106/0x710 [ 13.086062][ T115] ? rcu_is_watching+0x16/0xd0 [ 13.086064][ T115] ? lock_acquire+0x13c/0x160 [ 13.086068][ T115] console_flush_one_record+0x46f/0x710 [ 13.086071][ T115] ? console_emit_next_record+0x4c0/0x4c0 [ 13.086073][ T115] ? __lock_acquire+0x518/0xc20 [ 13.086078][ T115] console_unlock+0xee/0x1f0 [ 13.086080][ T115] ? console_flush_one_record+0x710/0x710 [ 13.086081][ T115] ? rcu_is_watching+0x16/0xd0 [ 13.086087][ T115] ? lock_acquire+0x60/0x160 [ 13.086091][ T115] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.086093][ T115] ? vprintk_emit+0x320/0x3e0 [ 13.086095][ T115] vprintk_emit+0x37c/0x3e0 [ 13.086098][ T115] ? wake_up_klogd_work_func+0x90/0x90 [ 13.086101][ T115] ? __lock_acquire+0x518/0xc20 [ 13.086105][ T115] _printk+0xc7/0x100 [ 13.086109][ T115] ? snapshot_read.cold+0x21/0x21 [ 13.086112][ T115] ? do_raw_spin_lock+0x131/0x280 [ 13.086114][ T115] ? __rwlock_init+0x150/0x150 [ 13.086118][ T115] ? do_raw_spin_lock+0x131/0x280 [ 13.086121][ T115] do_exit.cold+0x82/0x9c [ 13.086125][ T115] ? exit_notify+0x890/0x890 [ 13.086126][ T115] ? __lock_release.isra.0+0x69/0x1a0 [ 13.086129][ T115] ? rcu_is_watching+0x16/0xd0 [ 13.086132][ T115] do_group_exit+0xb8/0x370 [ 13.086135][ T115] __x64_sys_exit_group+0x3c/0x50 [ 13.086137][ T115] x64_sys_call+0x1567/0x1570 [ 13.086140][ T115] do_syscall_64+0xff/0x530 [ 13.086144][ T115] ? exc_page_fault+0xee/0x100 [ 13.086147][ T115] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.086149][ T115] RIP: 0033:0x7f33dce381b8 [ 13.086151][ T115] Code: Unable to access opcode bytes at 0x7f33dce3818e. [ 13.086153][ T115] RSP: 002b:00007ffcf81a8168 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 13.086155][ T115] RAX: ffffffffffffffda RBX: 00007f33dcf68f88 RCX: 00007f33dce381b8 [ 13.086156][ T115] RDX: 00007f33dcd75a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 13.086157][ T115] RBP: 00007ffcf81a81c0 R08: 0000000000000000 R09: 0000000000000020 [ 13.086158][ T115] R10: 00007ffcf81a8000 R11: 0000000000000246 R12: 0000000000000001 [ 13.086159][ T115] R13: 0000000000000000 R14: 00007f33dcf67680 R15: 00007f33dcf68fa0 [ 13.086165][ T115] [ 13.210926][ T110] su (110) used greatest stack depth: 24104 bytes left