[ 8.242949][ T133] sed (133) used greatest stack depth: 24848 bytes left [ 8.242965][ T133] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.242967][ T133] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 133, name: sed [ 8.242968][ T133] preempt_count: 2, expected: 0 [ 8.242969][ T133] RCU nest depth: 0, expected: 0 [ 8.242970][ T133] locks held by sed/133: 5, last CPU#0: [ 8.242972][ T133] #0: ffffffffa14127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 8.242983][ T133] #1: ffffffffa1579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.242989][ T133] #2: ffffffffa1579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.242993][ T133] #3: ffffffffa1499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.242997][ T133] #4: ffffffffa1499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 8.243001][ T133] irq event stamp: 14210 [ 8.243001][ T133] hardirqs last enabled at (14209): [] __down_trylock_console_sem+0x86/0xa0 [ 8.243004][ T133] hardirqs last disabled at (14210): [] console_emit_next_record+0x3d4/0x4c0 [ 8.243006][ T133] softirqs last enabled at (12980): [] handle_softirqs+0x67c/0x900 [ 8.243008][ T133] softirqs last disabled at (12469): [] __irq_exit_rcu+0x145/0x1c0 [ 8.243010][ T133] Preemption disabled at: [ 8.243011][ T133] [<0000000000000000>] 0x0 [ 8.243017][ T133] CPU: 0 UID: 0 PID: 133 Comm: sed Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.243021][ T133] Tainted: [W]=WARN [ 8.243021][ T133] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.243023][ T133] Call Trace: [ 8.243024][ T133] [ 8.243026][ T133] dump_stack_lvl+0x6f/0xa0 [ 8.243032][ T133] __might_resched.cold+0x1fe/0x2c1 [ 8.243037][ T133] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.243041][ T133] ? __kmalloc_noprof+0xdb/0x760 [ 8.243045][ T133] __kmalloc_noprof+0x443/0x760 [ 8.243048][ T133] ? alloc_buf.isra.0+0x4b/0x260 [ 8.243054][ T133] ? do_raw_spin_unlock+0x59/0x250 [ 8.243056][ T133] alloc_buf.isra.0+0x4b/0x260 [ 8.243059][ T133] put_chars+0x1e1/0x2f0 [ 8.243062][ T133] ? __send_to_port+0x420/0x420 [ 8.243064][ T133] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.243068][ T133] ? validate_chain+0x38b/0xc20 [ 8.243074][ T133] hvc_console_print+0x292/0x780 [ 8.243080][ T133] ? hvc_write+0x3a0/0x3a0 [ 8.243082][ T133] ? rcu_is_watching+0x16/0xd0 [ 8.243085][ T133] ? lock_acquire+0x13c/0x160 [ 8.243089][ T133] console_emit_next_record+0x22f/0x4c0 [ 8.243092][ T133] ? devkmsg_read+0x4b0/0x4b0 [ 8.243094][ T133] ? console_flush_one_record+0x106/0x710 [ 8.243097][ T133] ? rcu_is_watching+0x16/0xd0 [ 8.243099][ T133] ? lock_acquire+0x13c/0x160 [ 8.243103][ T133] console_flush_one_record+0x46f/0x710 [ 8.243107][ T133] ? console_emit_next_record+0x4c0/0x4c0 [ 8.243109][ T133] ? __lock_acquire+0x518/0xc20 [ 8.243114][ T133] console_unlock+0xee/0x1f0 [ 8.243117][ T133] ? console_flush_one_record+0x710/0x710 [ 8.243118][ T133] ? rcu_is_watching+0x16/0xd0 [ 8.243121][ T133] ? lock_acquire+0x60/0x160 [ 8.243129][ T133] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.243131][ T133] ? vprintk_emit+0x320/0x3e0 [ 8.243135][ T133] vprintk_emit+0x37c/0x3e0 [ 8.243138][ T133] ? wake_up_klogd_work_func+0x90/0x90 [ 8.243141][ T133] ? __lock_acquire+0x518/0xc20 [ 8.243145][ T133] _printk+0xc7/0x100 [ 8.243148][ T133] ? snapshot_read.cold+0x21/0x21 [ 8.243151][ T133] ? do_raw_spin_lock+0x131/0x280 [ 8.243154][ T133] ? __rwlock_init+0x150/0x150 [ 8.243157][ T133] ? do_raw_spin_lock+0x131/0x280 [ 8.243160][ T133] do_exit.cold+0x82/0x9c [ 8.243163][ T133] ? exit_notify+0x890/0x890 [ 8.243165][ T133] ? __lock_release.isra.0+0x69/0x1a0 [ 8.243167][ T133] ? rcu_is_watching+0x16/0xd0 [ 8.243171][ T133] do_group_exit+0xb8/0x370 [ 8.243174][ T133] __x64_sys_exit_group+0x3c/0x50 [ 8.243176][ T133] x64_sys_call+0x1567/0x1570 [ 8.243179][ T133] do_syscall_64+0xff/0x530 [ 8.243183][ T133] ? exc_page_fault+0xee/0x100 [ 8.243185][ T133] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.243187][ T133] RIP: 0033:0x7f943a02d1b8 [ 8.243189][ T133] Code: Unable to access opcode bytes at 0x7f943a02d18e. [ 8.243191][ T133] RSP: 002b:00007ffdb8f710a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 8.243193][ T133] RAX: ffffffffffffffda RBX: 00007f943a15df88 RCX: 00007f943a02d1b8 [ 8.243194][ T133] RDX: 00007f9439e8ab48 RSI: fffffffffffffec8 RDI: 0000000000000000 [ 8.243195][ T133] RBP: 00007ffdb8f71100 R08: 00000000ffffffff R09: 0000000000001010 [ 8.243196][ T133] R10: 00007ffdb8f70f20 R11: 0000000000000246 R12: 0000000000000002 [ 8.243197][ T133] R13: 0000000000000000 R14: 00007f943a15c680 R15: 00007f943a15dfa0 [ 8.243204][ T133]