[ 111.806645][ T116] bash (116) used greatest stack depth: 23872 bytes left [ 111.806667][ T116] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 111.806670][ T116] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 116, name: bash [ 111.806672][ T116] preempt_count: 2, expected: 0 [ 111.806673][ T116] RCU nest depth: 0, expected: 0 [ 111.806674][ T116] locks held by bash/116: 5, last CPU#3: [ 111.806676][ T116] #0: ffffffff97e027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 111.806689][ T116] #1: ffffffff97f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 111.806694][ T116] #2: ffffffff97f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 111.806698][ T116] #3: ffffffff97e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 111.806702][ T116] #4: ffffffff97e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 111.806706][ T116] irq event stamp: 94022 [ 111.806707][ T116] hardirqs last enabled at (94021): [] __down_trylock_console_sem+0x86/0xa0 [ 111.806709][ T116] hardirqs last disabled at (94022): [] console_emit_next_record+0x3f8/0x4f0 [ 111.806711][ T116] softirqs last enabled at (91576): [] handle_softirqs+0x67c/0x900 [ 111.806714][ T116] softirqs last disabled at (91569): [] __irq_exit_rcu+0x145/0x1c0 [ 111.806716][ T116] Preemption disabled at: [ 111.806717][ T116] [<0000000000000000>] 0x0 [ 111.806724][ T116] CPU: 3 UID: 0 PID: 116 Comm: bash Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 111.806728][ T116] Tainted: [W]=WARN [ 111.806729][ T116] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 111.806731][ T116] Call Trace: [ 111.806732][ T116] [ 111.806734][ T116] dump_stack_lvl+0x6f/0xa0 [ 111.806741][ T116] __might_resched.cold+0x1fe/0x2c1 [ 111.806745][ T116] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 111.806749][ T116] ? __kmalloc_noprof+0xdb/0x760 [ 111.806754][ T116] __kmalloc_noprof+0x443/0x760 [ 111.806756][ T116] ? alloc_buf.isra.0+0x4b/0x260 [ 111.806762][ T116] ? do_raw_spin_unlock+0x59/0x250 [ 111.806764][ T116] alloc_buf.isra.0+0x4b/0x260 [ 111.806767][ T116] put_chars+0x1e1/0x2f0 [ 111.806770][ T116] ? __send_to_port+0x420/0x420 [ 111.806771][ T116] ? printk_get_next_message+0x2fe/0x7d0 [ 111.806774][ T116] ? rcu_read_lock_any_held+0x3c/0x90 [ 111.806778][ T116] ? validate_chain+0x38b/0xc20 [ 111.806782][ T116] hvc_console_print+0x292/0x780 [ 111.806785][ T116] ? __lock_acquire+0x518/0xc20 [ 111.806786][ T116] ? __lock_acquire+0x518/0xc20 [ 111.806790][ T116] ? hvc_write+0x3a0/0x3a0 [ 111.806793][ T116] ? rcu_is_watching+0x16/0xd0 [ 111.806796][ T116] ? lock_acquire+0x13c/0x160 [ 111.806800][ T116] console_emit_next_record+0x252/0x4f0 [ 111.806804][ T116] ? devkmsg_read+0x4e0/0x4e0 [ 111.806808][ T116] ? rcu_is_watching+0x16/0xd0 [ 111.806810][ T116] ? lock_acquire+0x13c/0x160 [ 111.806814][ T116] console_flush_one_record+0x46f/0x710 [ 111.806818][ T116] ? console_emit_next_record+0x4f0/0x4f0 [ 111.806819][ T116] ? __lock_acquire+0x518/0xc20 [ 111.806825][ T116] console_unlock+0xee/0x1f0 [ 111.806828][ T116] ? console_flush_one_record+0x710/0x710 [ 111.806830][ T116] ? rcu_is_watching+0x16/0xd0 [ 111.806832][ T116] ? lock_acquire+0x60/0x160 [ 111.806835][ T116] ? __down_trylock_console_sem+0x5e/0xa0 [ 111.806836][ T116] ? vprintk_emit+0x320/0x3e0 [ 111.806839][ T116] vprintk_emit+0x37c/0x3e0 [ 111.806843][ T116] ? wake_up_klogd_work_func+0x90/0x90 [ 111.806846][ T116] ? __lock_acquire+0x518/0xc20 [ 111.806849][ T116] _printk+0xc7/0x100 [ 111.806853][ T116] ? snapshot_read.cold+0x21/0x21 [ 111.806856][ T116] ? do_raw_spin_lock+0x131/0x280 [ 111.806858][ T116] ? __rwlock_init+0x150/0x150 [ 111.806862][ T116] ? do_raw_spin_lock+0x131/0x280 [ 111.806864][ T116] do_exit.cold+0x82/0x9c [ 111.806868][ T116] ? exit_notify+0x890/0x890 [ 111.806870][ T116] ? __lock_release.isra.0+0x69/0x1a0 [ 111.806872][ T116] ? rcu_is_watching+0x16/0xd0 [ 111.806876][ T116] do_group_exit+0xb8/0x370 [ 111.806880][ T116] __x64_sys_exit_group+0x3c/0x50 [ 111.806882][ T116] x64_sys_call+0x1567/0x1570 [ 111.806884][ T116] do_syscall_64+0xff/0x530 [ 111.806887][ T116] ? exc_page_fault+0xee/0x100 [ 111.806891][ T116] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 111.806893][ T116] RIP: 0033:0x7eff649b21b8 [ 111.806895][ T116] Code: Unable to access opcode bytes at 0x7eff649b218e. [ 111.806896][ T116] RSP: 002b:00007ffcb2271c48 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 111.806899][ T116] RAX: ffffffffffffffda RBX: 00007eff64ae2f88 RCX: 00007eff649b21b8 [ 111.806900][ T116] RDX: 00007eff648efa48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 111.806901][ T116] RBP: 00007ffcb2271ca0 R08: 0000000000000000 R09: 0000000000000020 [ 111.806902][ T116] R10: 00007ffcb2271ae0 R11: 0000000000000246 R12: 0000000000000001 [ 111.806903][ T116] R13: 0000000000000000 R14: 00007eff64ae1680 R15: 00007eff64ae2fa0 [ 111.806909][ T116]