[ 8.846528][ T131] sed (131) used greatest stack depth: 24848 bytes left [ 8.846551][ T131] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.846553][ T131] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 131, name: sed [ 8.846555][ T131] preempt_count: 2, expected: 0 [ 8.846556][ T131] RCU nest depth: 0, expected: 0 [ 8.846558][ T131] locks held by sed/131: 5, last CPU#0: [ 8.846560][ T131] #0: ffffffffbd0027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 8.846574][ T131] #1: ffffffffbd169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.846580][ T131] #2: ffffffffbd169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.846585][ T131] #3: ffffffffbd089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.846589][ T131] #4: ffffffffbd089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 8.846594][ T131] irq event stamp: 14138 [ 8.846595][ T131] hardirqs last enabled at (14137): [] __down_trylock_console_sem+0x86/0xa0 [ 8.846599][ T131] hardirqs last disabled at (14138): [] console_emit_next_record+0x3d4/0x4c0 [ 8.846601][ T131] softirqs last enabled at (13950): [] handle_softirqs+0x67c/0x900 [ 8.846604][ T131] softirqs last disabled at (13945): [] __irq_exit_rcu+0x145/0x1c0 [ 8.846607][ T131] Preemption disabled at: [ 8.846608][ T131] [<0000000000000000>] 0x0 [ 8.846615][ T131] CPU: 0 UID: 0 PID: 131 Comm: sed Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.846620][ T131] Tainted: [W]=WARN [ 8.846621][ T131] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.846623][ T131] Call Trace: [ 8.846625][ T131] [ 8.846627][ T131] dump_stack_lvl+0x6f/0xa0 [ 8.846633][ T131] __might_resched.cold+0x1fe/0x2c1 [ 8.846638][ T131] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.846642][ T131] ? __kmalloc_noprof+0xdb/0x760 [ 8.846649][ T131] __kmalloc_noprof+0x443/0x760 [ 8.846652][ T131] ? alloc_buf.isra.0+0x4b/0x260 [ 8.846659][ T131] ? do_raw_spin_unlock+0x59/0x250 [ 8.846663][ T131] alloc_buf.isra.0+0x4b/0x260 [ 8.846667][ T131] put_chars+0x1e1/0x2f0 [ 8.846671][ T131] ? __send_to_port+0x420/0x420 [ 8.846673][ T131] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.846678][ T131] ? validate_chain+0x38b/0xc20 [ 8.846686][ T131] hvc_console_print+0x292/0x780 [ 8.846695][ T131] ? hvc_write+0x3a0/0x3a0 [ 8.846698][ T131] ? rcu_is_watching+0x16/0xd0 [ 8.846701][ T131] ? lock_acquire+0x13c/0x160 [ 8.846707][ T131] console_emit_next_record+0x22f/0x4c0 [ 8.846711][ T131] ? devkmsg_read+0x4b0/0x4b0 [ 8.846713][ T131] ? console_flush_one_record+0x106/0x710 [ 8.846717][ T131] ? rcu_is_watching+0x16/0xd0 [ 8.846719][ T131] ? lock_acquire+0x13c/0x160 [ 8.846725][ T131] console_flush_one_record+0x46f/0x710 [ 8.846730][ T131] ? console_emit_next_record+0x4c0/0x4c0 [ 8.846732][ T131] ? __lock_acquire+0x518/0xc20 [ 8.846740][ T131] console_unlock+0xee/0x1f0 [ 8.846743][ T131] ? console_flush_one_record+0x710/0x710 [ 8.846745][ T131] ? rcu_is_watching+0x16/0xd0 [ 8.846748][ T131] ? lock_acquire+0x60/0x160 [ 8.846753][ T131] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.846755][ T131] ? vprintk_emit+0x320/0x3e0 [ 8.846760][ T131] vprintk_emit+0x37c/0x3e0 [ 8.846764][ T131] ? wake_up_klogd_work_func+0x90/0x90 [ 8.846768][ T131] ? __lock_acquire+0x518/0xc20 [ 8.846774][ T131] _printk+0xc7/0x100 [ 8.846778][ T131] ? snapshot_read.cold+0x21/0x21 [ 8.846782][ T131] ? do_raw_spin_lock+0x131/0x280 [ 8.846786][ T131] ? __rwlock_init+0x150/0x150 [ 8.846791][ T131] ? do_raw_spin_lock+0x131/0x280 [ 8.846795][ T131] do_exit.cold+0x82/0x9c [ 8.846800][ T131] ? exit_notify+0x890/0x890 [ 8.846801][ T131] ? __lock_release.isra.0+0x69/0x1a0 [ 8.846806][ T131] ? rcu_is_watching+0x16/0xd0 [ 8.846811][ T131] do_group_exit+0xb8/0x370 [ 8.846815][ T131] __x64_sys_exit_group+0x3c/0x50 [ 8.846818][ T131] x64_sys_call+0x1567/0x1570 [ 8.846821][ T131] do_syscall_64+0xff/0x530 [ 8.846825][ T131] ? exc_page_fault+0xee/0x100 [ 8.846829][ T131] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.846832][ T131] RIP: 0033:0x7f47d2faa1b8 [ 8.846835][ T131] Code: Unable to access opcode bytes at 0x7f47d2faa18e. [ 8.846836][ T131] RSP: 002b:00007ffe8080dd78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 8.846839][ T131] RAX: ffffffffffffffda RBX: 00007f47d30daf88 RCX: 00007f47d2faa1b8 [ 8.846840][ T131] RDX: 00007f47d2e07b48 RSI: fffffffffffffec8 RDI: 0000000000000000 [ 8.846841][ T131] RBP: 00007ffe8080ddd0 R08: 00000000ffffffff R09: 0000000000001010 [ 8.846843][ T131] R10: 00007ffe8080dbf0 R11: 0000000000000246 R12: 0000000000000002 [ 8.846844][ T131] R13: 0000000000000000 R14: 00007f47d30d9680 R15: 00007f47d30dafa0 [ 8.846854][ T131]