[ 18.432112][ T115] bash (115) used greatest stack depth: 23824 bytes left [ 18.432132][ T115] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 18.432134][ T115] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 115, name: bash [ 18.432136][ T115] preempt_count: 2, expected: 0 [ 18.432137][ T115] RCU nest depth: 0, expected: 0 [ 18.432138][ T115] locks held by bash/115: 5, last CPU#3: [ 18.432140][ T115] #0: ffffffff8e4027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 18.432152][ T115] #1: ffffffff8e569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 18.432157][ T115] #2: ffffffff8e569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 18.432161][ T115] #3: ffffffff8e489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 18.432164][ T115] #4: ffffffff8e489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 18.432168][ T115] irq event stamp: 64572 [ 18.432169][ T115] hardirqs last enabled at (64571): [] __down_trylock_console_sem+0x86/0xa0 [ 18.432172][ T115] hardirqs last disabled at (64572): [] console_emit_next_record+0x3d4/0x4c0 [ 18.432174][ T115] softirqs last enabled at (64464): [] handle_softirqs+0x67c/0x900 [ 18.432176][ T115] softirqs last disabled at (64455): [] __irq_exit_rcu+0x145/0x1c0 [ 18.432178][ T115] Preemption disabled at: [ 18.432179][ T115] [<0000000000000000>] 0x0 [ 18.432186][ T115] CPU: 3 UID: 0 PID: 115 Comm: bash Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 18.432190][ T115] Tainted: [W]=WARN [ 18.432191][ T115] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.432192][ T115] Call Trace: [ 18.432194][ T115] [ 18.432196][ T115] dump_stack_lvl+0x6f/0xa0 [ 18.432201][ T115] __might_resched.cold+0x1fe/0x2c1 [ 18.432206][ T115] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 18.432209][ T115] ? __kmalloc_noprof+0xdb/0x760 [ 18.432214][ T115] __kmalloc_noprof+0x443/0x760 [ 18.432217][ T115] ? alloc_buf.isra.0+0x4b/0x260 [ 18.432223][ T115] ? do_raw_spin_unlock+0x59/0x250 [ 18.432226][ T115] alloc_buf.isra.0+0x4b/0x260 [ 18.432229][ T115] put_chars+0x1e1/0x2f0 [ 18.432233][ T115] ? __send_to_port+0x420/0x420 [ 18.432234][ T115] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 18.432238][ T115] ? validate_chain+0x38b/0xc20 [ 18.432244][ T115] hvc_console_print+0x292/0x780 [ 18.432251][ T115] ? hvc_write+0x3a0/0x3a0 [ 18.432254][ T115] ? rcu_is_watching+0x16/0xd0 [ 18.432256][ T115] ? lock_acquire+0x13c/0x160 [ 18.432260][ T115] console_emit_next_record+0x22f/0x4c0 [ 18.432263][ T115] ? devkmsg_read+0x4b0/0x4b0 [ 18.432265][ T115] ? console_flush_one_record+0x106/0x710 [ 18.432267][ T115] ? rcu_is_watching+0x16/0xd0 [ 18.432269][ T115] ? lock_acquire+0x13c/0x160 [ 18.432273][ T115] console_flush_one_record+0x46f/0x710 [ 18.432277][ T115] ? console_emit_next_record+0x4c0/0x4c0 [ 18.432278][ T115] ? __lock_acquire+0x518/0xc20 [ 18.432284][ T115] console_unlock+0xee/0x1f0 [ 18.432286][ T115] ? console_flush_one_record+0x710/0x710 [ 18.432287][ T115] ? rcu_is_watching+0x16/0xd0 [ 18.432289][ T115] ? lock_acquire+0x60/0x160 [ 18.432293][ T115] ? __down_trylock_console_sem+0x5e/0xa0 [ 18.432295][ T115] ? vprintk_emit+0x320/0x3e0 [ 18.432298][ T115] vprintk_emit+0x37c/0x3e0 [ 18.432301][ T115] ? wake_up_klogd_work_func+0x90/0x90 [ 18.432304][ T115] ? __lock_acquire+0x518/0xc20 [ 18.432308][ T115] _printk+0xc7/0x100 [ 18.432312][ T115] ? snapshot_read.cold+0x21/0x21 [ 18.432315][ T115] ? do_raw_spin_lock+0x131/0x280 [ 18.432317][ T115] ? __rwlock_init+0x150/0x150 [ 18.432322][ T115] ? do_raw_spin_lock+0x131/0x280 [ 18.432324][ T115] do_exit.cold+0x82/0x9c [ 18.432328][ T115] ? exit_notify+0x890/0x890 [ 18.432329][ T115] ? __lock_release.isra.0+0x69/0x1a0 [ 18.432332][ T115] ? rcu_is_watching+0x16/0xd0 [ 18.432336][ T115] do_group_exit+0xb8/0x370 [ 18.432339][ T115] __x64_sys_exit_group+0x3c/0x50 [ 18.432341][ T115] x64_sys_call+0x1567/0x1570 [ 18.432344][ T115] do_syscall_64+0xff/0x530 [ 18.432348][ T115] ? exc_page_fault+0xee/0x100 [ 18.432351][ T115] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 18.432353][ T115] RIP: 0033:0x7f6785b121b8 [ 18.432356][ T115] Code: Unable to access opcode bytes at 0x7f6785b1218e. [ 18.432357][ T115] RSP: 002b:00007fffb7ec1d88 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 18.432359][ T115] RAX: ffffffffffffffda RBX: 00007f6785c42f88 RCX: 00007f6785b121b8 [ 18.432361][ T115] RDX: 00007f6785a4fa48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 18.432361][ T115] RBP: 00007fffb7ec1de0 R08: 0000000000000000 R09: 0000000000000020 [ 18.432362][ T115] R10: 00007fffb7ec1c20 R11: 0000000000000246 R12: 0000000000000001 [ 18.432363][ T115] R13: 0000000000000000 R14: 00007f6785c41680 R15: 00007f6785c42fa0 [ 18.432370][ T115]