[ 8.177277][ T131] sed (131) used greatest stack depth: 24760 bytes left [ 8.177294][ T131] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.177296][ T131] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 131, name: sed [ 8.177298][ T131] preempt_count: 2, expected: 0 [ 8.177299][ T131] RCU nest depth: 0, expected: 0 [ 8.177299][ T131] locks held by sed/131: 5, last CPU#0: [ 8.177302][ T131] #0: ffffffff84a027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 8.177314][ T131] #1: ffffffff84b69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.177320][ T131] #2: ffffffff84b69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.177324][ T131] #3: ffffffff84a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.177327][ T131] #4: ffffffff84a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 8.177330][ T131] irq event stamp: 12088 [ 8.177331][ T131] hardirqs last enabled at (12087): [] __down_trylock_console_sem+0x86/0xa0 [ 8.177334][ T131] hardirqs last disabled at (12088): [] console_emit_next_record+0x3d4/0x4c0 [ 8.177336][ T131] softirqs last enabled at (10852): [] handle_softirqs+0x67c/0x900 [ 8.177338][ T131] softirqs last disabled at (10733): [] __irq_exit_rcu+0x145/0x1c0 [ 8.177340][ T131] Preemption disabled at: [ 8.177341][ T131] [<0000000000000000>] 0x0 [ 8.177348][ T131] CPU: 0 UID: 0 PID: 131 Comm: sed Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.177351][ T131] Tainted: [W]=WARN [ 8.177352][ T131] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.177354][ T131] Call Trace: [ 8.177356][ T131] [ 8.177357][ T131] dump_stack_lvl+0x6f/0xa0 [ 8.177363][ T131] __might_resched.cold+0x1fe/0x2c1 [ 8.177367][ T131] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.177371][ T131] ? __kmalloc_noprof+0xdb/0x760 [ 8.177376][ T131] __kmalloc_noprof+0x443/0x760 [ 8.177379][ T131] ? alloc_buf.isra.0+0x4b/0x260 [ 8.177385][ T131] ? do_raw_spin_unlock+0x59/0x250 [ 8.177388][ T131] alloc_buf.isra.0+0x4b/0x260 [ 8.177392][ T131] put_chars+0x1e1/0x2f0 [ 8.177395][ T131] ? __send_to_port+0x420/0x420 [ 8.177397][ T131] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.177401][ T131] ? validate_chain+0x38b/0xc20 [ 8.177407][ T131] hvc_console_print+0x292/0x780 [ 8.177414][ T131] ? hvc_write+0x3a0/0x3a0 [ 8.177416][ T131] ? rcu_is_watching+0x16/0xd0 [ 8.177418][ T131] ? lock_acquire+0x13c/0x160 [ 8.177423][ T131] console_emit_next_record+0x22f/0x4c0 [ 8.177426][ T131] ? devkmsg_read+0x4b0/0x4b0 [ 8.177428][ T131] ? console_flush_one_record+0x106/0x710 [ 8.177431][ T131] ? rcu_is_watching+0x16/0xd0 [ 8.177433][ T131] ? lock_acquire+0x13c/0x160 [ 8.177437][ T131] console_flush_one_record+0x46f/0x710 [ 8.177440][ T131] ? console_emit_next_record+0x4c0/0x4c0 [ 8.177442][ T131] ? __lock_acquire+0x518/0xc20 [ 8.177448][ T131] console_unlock+0xee/0x1f0 [ 8.177450][ T131] ? console_flush_one_record+0x710/0x710 [ 8.177451][ T131] ? rcu_is_watching+0x16/0xd0 [ 8.177453][ T131] ? lock_acquire+0x60/0x160 [ 8.177457][ T131] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.177459][ T131] ? vprintk_emit+0x320/0x3e0 [ 8.177462][ T131] vprintk_emit+0x37c/0x3e0 [ 8.177466][ T131] ? wake_up_klogd_work_func+0x90/0x90 [ 8.177469][ T131] ? __lock_acquire+0x518/0xc20 [ 8.177473][ T131] _printk+0xc7/0x100 [ 8.177477][ T131] ? snapshot_read.cold+0x21/0x21 [ 8.177480][ T131] ? do_raw_spin_lock+0x131/0x280 [ 8.177483][ T131] ? __rwlock_init+0x150/0x150 [ 8.177487][ T131] ? do_raw_spin_lock+0x131/0x280 [ 8.177490][ T131] do_exit.cold+0x82/0x9c [ 8.177494][ T131] ? exit_notify+0x890/0x890 [ 8.177496][ T131] ? __lock_release.isra.0+0x69/0x1a0 [ 8.177499][ T131] ? rcu_is_watching+0x16/0xd0 [ 8.177503][ T131] do_group_exit+0xb8/0x370 [ 8.177506][ T131] __x64_sys_exit_group+0x3c/0x50 [ 8.177508][ T131] x64_sys_call+0x1567/0x1570 [ 8.177511][ T131] do_syscall_64+0xff/0x530 [ 8.177515][ T131] ? exc_page_fault+0xee/0x100 [ 8.177518][ T131] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.177520][ T131] RIP: 0033:0x7f43071e51b8 [ 8.177523][ T131] Code: Unable to access opcode bytes at 0x7f43071e518e. [ 8.177524][ T131] RSP: 002b:00007ffcc1d4bd58 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 8.177526][ T131] RAX: ffffffffffffffda RBX: 00007f4307315f88 RCX: 00007f43071e51b8 [ 8.177527][ T131] RDX: 00007f4307042b48 RSI: fffffffffffffec8 RDI: 0000000000000000 [ 8.177528][ T131] RBP: 00007ffcc1d4bdb0 R08: 00000000ffffffff R09: 0000000000001010 [ 8.177529][ T131] R10: 00007ffcc1d4bbd0 R11: 0000000000000246 R12: 0000000000000002 [ 8.177530][ T131] R13: 0000000000000000 R14: 00007f4307314680 R15: 00007f4307315fa0 [ 8.177537][ T131]