[ 8.788758][ T144] sha1sum (144) used greatest stack depth: 23808 bytes left [ 8.788778][ T144] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.788780][ T144] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 144, name: sha1sum [ 8.788782][ T144] preempt_count: 2, expected: 0 [ 8.788782][ T144] RCU nest depth: 0, expected: 0 [ 8.788783][ T144] locks held by sha1sum/144: 5, last CPU#3: [ 8.788785][ T144] #0: ffffffff9c0167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 8.788797][ T144] #1: ffffffff9c17ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.788802][ T144] #2: ffffffff9c17de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.788806][ T144] #3: ffffffff9c09d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.788810][ T144] #4: ffffffff9c09d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 8.788814][ T144] irq event stamp: 15202 [ 8.788815][ T144] hardirqs last enabled at (15201): [] __down_trylock_console_sem+0x86/0xa0 [ 8.788818][ T144] hardirqs last disabled at (15202): [] console_emit_next_record+0x3d4/0x4c0 [ 8.788820][ T144] softirqs last enabled at (13354): [] handle_softirqs+0x67c/0x900 [ 8.788822][ T144] softirqs last disabled at (13349): [] __irq_exit_rcu+0x145/0x1c0 [ 8.788824][ T144] Preemption disabled at: [ 8.788825][ T144] [<0000000000000000>] 0x0 [ 8.788831][ T144] CPU: 3 UID: 0 PID: 144 Comm: sha1sum Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.788835][ T144] Tainted: [W]=WARN [ 8.788836][ T144] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.788838][ T144] Call Trace: [ 8.788840][ T144] [ 8.788841][ T144] dump_stack_lvl+0x6f/0xa0 [ 8.788848][ T144] __might_resched.cold+0x1fe/0x2c1 [ 8.788852][ T144] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.788856][ T144] ? __kmalloc_noprof+0xdb/0x760 [ 8.788861][ T144] __kmalloc_noprof+0x443/0x760 [ 8.788862][ T144] ? alloc_buf.isra.0+0x4b/0x260 [ 8.788869][ T144] ? do_raw_spin_unlock+0x59/0x250 [ 8.788871][ T144] alloc_buf.isra.0+0x4b/0x260 [ 8.788875][ T144] put_chars+0x1e1/0x2f0 [ 8.788877][ T144] ? __send_to_port+0x420/0x420 [ 8.788878][ T144] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.788882][ T144] ? validate_chain+0x38b/0xc20 [ 8.788887][ T144] hvc_console_print+0x292/0x780 [ 8.788894][ T144] ? hvc_write+0x3a0/0x3a0 [ 8.788897][ T144] ? rcu_is_watching+0x16/0xd0 [ 8.788899][ T144] ? lock_acquire+0x13c/0x160 [ 8.788903][ T144] console_emit_next_record+0x22f/0x4c0 [ 8.788907][ T144] ? devkmsg_read+0x4b0/0x4b0 [ 8.788909][ T144] ? console_flush_one_record+0x106/0x710 [ 8.788912][ T144] ? rcu_is_watching+0x16/0xd0 [ 8.788913][ T144] ? lock_acquire+0x13c/0x160 [ 8.788917][ T144] console_flush_one_record+0x46f/0x710 [ 8.788921][ T144] ? console_emit_next_record+0x4c0/0x4c0 [ 8.788923][ T144] ? __lock_acquire+0x518/0xc20 [ 8.788928][ T144] console_unlock+0xee/0x1f0 [ 8.788931][ T144] ? console_flush_one_record+0x710/0x710 [ 8.788933][ T144] ? rcu_is_watching+0x16/0xd0 [ 8.788934][ T144] ? lock_acquire+0xe0/0x160 [ 8.788938][ T144] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.788940][ T144] ? vprintk_emit+0x320/0x3e0 [ 8.788942][ T144] vprintk_emit+0x37c/0x3e0 [ 8.788945][ T144] ? wake_up_klogd_work_func+0x90/0x90 [ 8.788948][ T144] ? __lock_acquire+0x518/0xc20 [ 8.788952][ T144] _printk+0xc7/0x100 [ 8.788955][ T144] ? snapshot_read.cold+0x21/0x21 [ 8.788958][ T144] ? do_raw_spin_lock+0x131/0x280 [ 8.788961][ T144] ? __rwlock_init+0x150/0x150 [ 8.788964][ T144] ? do_raw_spin_lock+0x131/0x280 [ 8.788967][ T144] do_exit.cold+0x82/0x9c [ 8.788971][ T144] ? exit_notify+0x890/0x890 [ 8.788972][ T144] ? __lock_release.isra.0+0x69/0x1a0 [ 8.788975][ T144] ? rcu_is_watching+0x16/0xd0 [ 8.788978][ T144] do_group_exit+0xb8/0x370 [ 8.788981][ T144] __x64_sys_exit_group+0x3c/0x50 [ 8.788983][ T144] x64_sys_call+0x1567/0x1570 [ 8.788985][ T144] do_syscall_64+0xff/0x530 [ 8.788989][ T144] ? exc_page_fault+0xee/0x100 [ 8.788992][ T144] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.788994][ T144] RIP: 0033:0x7efd0775f1b8 [ 8.788996][ T144] Code: Unable to access opcode bytes at 0x7efd0775f18e. [ 8.788997][ T144] RSP: 002b:00007ffc310cfff8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 8.789000][ T144] RAX: ffffffffffffffda RBX: 00007efd0788ff88 RCX: 00007efd0775f1b8 [ 8.789001][ T144] RDX: 00007efd07673e88 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 8.789002][ T144] RBP: 00007ffc310d0050 R08: 00007ffc310cffa0 R09: 0000000000001010 [ 8.789003][ T144] R10: 00007ffc310cfe90 R11: 0000000000000246 R12: 0000000000000002 [ 8.789004][ T144] R13: 0000000000000000 R14: 00007efd0788e680 R15: 00007efd0788ffa0 [ 8.789013][ T144]