[ 10.806977][ T114] bash (114) used greatest stack depth: 24512 bytes left [ 10.806993][ T114] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.806995][ T114] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 114, name: bash [ 10.806996][ T114] preempt_count: 2, expected: 0 [ 10.806997][ T114] RCU nest depth: 0, expected: 0 [ 10.806998][ T114] locks held by bash/114: 5, last CPU#2: [ 10.807000][ T114] #0: ffffffff9c8027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.807012][ T114] #1: ffffffff9c969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.807017][ T114] #2: ffffffff9c969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.807020][ T114] #3: ffffffff9c889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.807023][ T114] #4: ffffffff9c889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.807026][ T114] irq event stamp: 74644 [ 10.807027][ T114] hardirqs last enabled at (74643): [] __down_trylock_console_sem+0x86/0xa0 [ 10.807030][ T114] hardirqs last disabled at (74644): [] console_emit_next_record+0x3d4/0x4c0 [ 10.807032][ T114] softirqs last enabled at (72972): [] handle_softirqs+0x67c/0x900 [ 10.807034][ T114] softirqs last disabled at (72963): [] __irq_exit_rcu+0x145/0x1c0 [ 10.807036][ T114] Preemption disabled at: [ 10.807037][ T114] [<0000000000000000>] 0x0 [ 10.807043][ T114] CPU: 2 UID: 0 PID: 114 Comm: bash Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.807046][ T114] Tainted: [W]=WARN [ 10.807047][ T114] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.807049][ T114] Call Trace: [ 10.807050][ T114] [ 10.807052][ T114] dump_stack_lvl+0x6f/0xa0 [ 10.807057][ T114] __might_resched.cold+0x1fe/0x2c1 [ 10.807061][ T114] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.807064][ T114] ? __kmalloc_noprof+0xdb/0x760 [ 10.807070][ T114] __kmalloc_noprof+0x443/0x760 [ 10.807072][ T114] ? alloc_buf.isra.0+0x4b/0x260 [ 10.807078][ T114] ? do_raw_spin_unlock+0x59/0x250 [ 10.807081][ T114] alloc_buf.isra.0+0x4b/0x260 [ 10.807088][ T114] put_chars+0x1e1/0x2f0 [ 10.807091][ T114] ? __send_to_port+0x420/0x420 [ 10.807092][ T114] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.807097][ T114] ? validate_chain+0x38b/0xc20 [ 10.807102][ T114] hvc_console_print+0x292/0x780 [ 10.807108][ T114] ? hvc_write+0x3a0/0x3a0 [ 10.807110][ T114] ? rcu_is_watching+0x16/0xd0 [ 10.807112][ T114] ? lock_acquire+0x13c/0x160 [ 10.807116][ T114] console_emit_next_record+0x22f/0x4c0 [ 10.807120][ T114] ? devkmsg_read+0x4b0/0x4b0 [ 10.807121][ T114] ? console_flush_one_record+0x106/0x710 [ 10.807124][ T114] ? rcu_is_watching+0x16/0xd0 [ 10.807125][ T114] ? lock_acquire+0x13c/0x160 [ 10.807129][ T114] console_flush_one_record+0x46f/0x710 [ 10.807133][ T114] ? console_emit_next_record+0x4c0/0x4c0 [ 10.807134][ T114] ? __lock_acquire+0x518/0xc20 [ 10.807139][ T114] console_unlock+0xee/0x1f0 [ 10.807141][ T114] ? console_flush_one_record+0x710/0x710 [ 10.807143][ T114] ? rcu_is_watching+0x16/0xd0 [ 10.807144][ T114] ? lock_acquire+0x60/0x160 [ 10.807148][ T114] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.807150][ T114] ? vprintk_emit+0x320/0x3e0 [ 10.807153][ T114] vprintk_emit+0x37c/0x3e0 [ 10.807156][ T114] ? wake_up_klogd_work_func+0x90/0x90 [ 10.807159][ T114] ? __lock_acquire+0x518/0xc20 [ 10.807162][ T114] _printk+0xc7/0x100 [ 10.807166][ T114] ? snapshot_read.cold+0x21/0x21 [ 10.807169][ T114] ? do_raw_spin_lock+0x131/0x280 [ 10.807171][ T114] ? __rwlock_init+0x150/0x150 [ 10.807175][ T114] ? do_raw_spin_lock+0x131/0x280 [ 10.807178][ T114] do_exit.cold+0x82/0x9c [ 10.807182][ T114] ? exit_notify+0x890/0x890 [ 10.807183][ T114] ? __lock_release.isra.0+0x69/0x1a0 [ 10.807186][ T114] ? rcu_is_watching+0x16/0xd0 [ 10.807190][ T114] do_group_exit+0xb8/0x370 [ 10.807193][ T114] __x64_sys_exit_group+0x3c/0x50 [ 10.807195][ T114] x64_sys_call+0x1567/0x1570 [ 10.807198][ T114] do_syscall_64+0xff/0x530 [ 10.807202][ T114] ? exc_page_fault+0xee/0x100 [ 10.807205][ T114] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.807207][ T114] RIP: 0033:0x7fcbc4b991b8 [ 10.807209][ T114] Code: Unable to access opcode bytes at 0x7fcbc4b9918e. [ 10.807210][ T114] RSP: 002b:00007ffec5ac3508 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.807213][ T114] RAX: ffffffffffffffda RBX: 00007fcbc4cc9f88 RCX: 00007fcbc4b991b8 [ 10.807214][ T114] RDX: 00007fcbc4ad6a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 10.807215][ T114] RBP: 00007ffec5ac3560 R08: 0000000000000000 R09: 0000000000000020 [ 10.807216][ T114] R10: 00007ffec5ac33a0 R11: 0000000000000246 R12: 0000000000000001 [ 10.807217][ T114] R13: 0000000000000000 R14: 00007fcbc4cc8680 R15: 00007fcbc4cc9fa0 [ 10.807223][ T114] [ 10.912288][ T109] su (109) used greatest stack depth: 24104 bytes left