[ 8.286663][ T132] sed (132) used greatest stack depth: 24352 bytes left [ 8.286683][ T132] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.286685][ T132] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 132, name: sed [ 8.286687][ T132] preempt_count: 2, expected: 0 [ 8.286687][ T132] RCU nest depth: 0, expected: 0 [ 8.286688][ T132] locks held by sed/132: 5, last CPU#0: [ 8.286691][ T132] #0: ffffffff9ce027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 8.286703][ T132] #1: ffffffff9cf69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.286708][ T132] #2: ffffffff9cf69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.286711][ T132] #3: ffffffff9ce89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.286714][ T132] #4: ffffffff9ce89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 8.286718][ T132] irq event stamp: 14142 [ 8.286719][ T132] hardirqs last enabled at (14141): [] __down_trylock_console_sem+0x86/0xa0 [ 8.286722][ T132] hardirqs last disabled at (14142): [] console_emit_next_record+0x3d4/0x4c0 [ 8.286724][ T132] softirqs last enabled at (13828): [] handle_softirqs+0x67c/0x900 [ 8.286726][ T132] softirqs last disabled at (13823): [] __irq_exit_rcu+0x145/0x1c0 [ 8.286728][ T132] Preemption disabled at: [ 8.286729][ T132] [<0000000000000000>] 0x0 [ 8.286736][ T132] CPU: 0 UID: 0 PID: 132 Comm: sed Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.286740][ T132] Tainted: [W]=WARN [ 8.286741][ T132] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.286742][ T132] Call Trace: [ 8.286744][ T132] [ 8.286746][ T132] dump_stack_lvl+0x6f/0xa0 [ 8.286751][ T132] __might_resched.cold+0x1fe/0x2c1 [ 8.286755][ T132] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.286759][ T132] ? __kmalloc_noprof+0xdb/0x760 [ 8.286764][ T132] __kmalloc_noprof+0x443/0x760 [ 8.286766][ T132] ? alloc_buf.isra.0+0x4b/0x260 [ 8.286772][ T132] ? do_raw_spin_unlock+0x59/0x250 [ 8.286775][ T132] alloc_buf.isra.0+0x4b/0x260 [ 8.286779][ T132] put_chars+0x1e1/0x2f0 [ 8.286782][ T132] ? __send_to_port+0x420/0x420 [ 8.286784][ T132] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.286788][ T132] ? validate_chain+0x38b/0xc20 [ 8.286793][ T132] hvc_console_print+0x292/0x780 [ 8.286800][ T132] ? hvc_write+0x3a0/0x3a0 [ 8.286802][ T132] ? rcu_is_watching+0x16/0xd0 [ 8.286804][ T132] ? lock_acquire+0x13c/0x160 [ 8.286808][ T132] console_emit_next_record+0x22f/0x4c0 [ 8.286811][ T132] ? devkmsg_read+0x4b0/0x4b0 [ 8.286813][ T132] ? console_flush_one_record+0x106/0x710 [ 8.286815][ T132] ? rcu_is_watching+0x16/0xd0 [ 8.286817][ T132] ? lock_acquire+0x13c/0x160 [ 8.286821][ T132] console_flush_one_record+0x46f/0x710 [ 8.286825][ T132] ? console_emit_next_record+0x4c0/0x4c0 [ 8.286826][ T132] ? __lock_acquire+0x518/0xc20 [ 8.286831][ T132] console_unlock+0xee/0x1f0 [ 8.286833][ T132] ? console_flush_one_record+0x710/0x710 [ 8.286835][ T132] ? rcu_is_watching+0x16/0xd0 [ 8.286836][ T132] ? lock_acquire+0x60/0x160 [ 8.286840][ T132] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.286842][ T132] ? vprintk_emit+0x320/0x3e0 [ 8.286845][ T132] vprintk_emit+0x37c/0x3e0 [ 8.286848][ T132] ? wake_up_klogd_work_func+0x90/0x90 [ 8.286851][ T132] ? __lock_acquire+0x518/0xc20 [ 8.286855][ T132] _printk+0xc7/0x100 [ 8.286858][ T132] ? snapshot_read.cold+0x21/0x21 [ 8.286861][ T132] ? do_raw_spin_lock+0x131/0x280 [ 8.286864][ T132] ? __rwlock_init+0x150/0x150 [ 8.286868][ T132] ? do_raw_spin_lock+0x131/0x280 [ 8.286871][ T132] do_exit.cold+0x82/0x9c [ 8.286874][ T132] ? exit_notify+0x890/0x890 [ 8.286875][ T132] ? __lock_release.isra.0+0x69/0x1a0 [ 8.286878][ T132] ? rcu_is_watching+0x16/0xd0 [ 8.286882][ T132] do_group_exit+0xb8/0x370 [ 8.286885][ T132] __x64_sys_exit_group+0x3c/0x50 [ 8.286887][ T132] x64_sys_call+0x1567/0x1570 [ 8.286889][ T132] do_syscall_64+0xff/0x530 [ 8.286893][ T132] ? exc_page_fault+0xee/0x100 [ 8.286896][ T132] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.286898][ T132] RIP: 0033:0x7fd05dfd41b8 [ 8.286901][ T132] Code: Unable to access opcode bytes at 0x7fd05dfd418e. [ 8.286902][ T132] RSP: 002b:00007ffc3cc06498 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 8.286904][ T132] RAX: ffffffffffffffda RBX: 00007fd05e104f88 RCX: 00007fd05dfd41b8 [ 8.286906][ T132] RDX: 00007fd05de31b48 RSI: fffffffffffffec8 RDI: 0000000000000000 [ 8.286906][ T132] RBP: 00007ffc3cc064f0 R08: 00000000ffffffff R09: 0000000000001010 [ 8.286907][ T132] R10: 00007ffc3cc06310 R11: 0000000000000246 R12: 0000000000000002 [ 8.286908][ T132] R13: 0000000000000000 R14: 00007fd05e103680 R15: 00007fd05e104fa0 [ 8.286915][ T132]