[ 9.373340][ T130] sed (130) used greatest stack depth: 23328 bytes left [ 9.373359][ T130] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.373361][ T130] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 130, name: sed [ 9.373363][ T130] preempt_count: 2, expected: 0 [ 9.373366][ T130] RCU nest depth: 0, expected: 0 [ 9.373367][ T130] locks held by sed/130: 5, last CPU#2: [ 9.373370][ T130] #0: ffffffffac8267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.373382][ T130] #1: ffffffffac98dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.373388][ T130] #2: ffffffffac98dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.373392][ T130] #3: ffffffffac8ad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.373395][ T130] #4: ffffffffac8ad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.373399][ T130] irq event stamp: 21562 [ 9.373400][ T130] hardirqs last enabled at (21561): [] __down_trylock_console_sem+0x86/0xa0 [ 9.373402][ T130] hardirqs last disabled at (21562): [] console_emit_next_record+0x3d4/0x4c0 [ 9.373404][ T130] softirqs last enabled at (20312): [] handle_softirqs+0x67c/0x900 [ 9.373406][ T130] softirqs last disabled at (19439): [] __irq_exit_rcu+0x145/0x1c0 [ 9.373408][ T130] Preemption disabled at: [ 9.373409][ T130] [<0000000000000000>] 0x0 [ 9.373417][ T130] CPU: 2 UID: 0 PID: 130 Comm: sed Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.373420][ T130] Tainted: [W]=WARN [ 9.373421][ T130] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.373423][ T130] Call Trace: [ 9.373425][ T130] [ 9.373426][ T130] dump_stack_lvl+0x6f/0xa0 [ 9.373432][ T130] __might_resched.cold+0x1fe/0x2c1 [ 9.373437][ T130] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.373441][ T130] ? __kmalloc_noprof+0xdb/0x760 [ 9.373446][ T130] __kmalloc_noprof+0x443/0x760 [ 9.373448][ T130] ? alloc_buf.isra.0+0x4b/0x260 [ 9.373454][ T130] ? do_raw_spin_unlock+0x59/0x250 [ 9.373457][ T130] alloc_buf.isra.0+0x4b/0x260 [ 9.373460][ T130] put_chars+0x1e1/0x2f0 [ 9.373464][ T130] ? __send_to_port+0x420/0x420 [ 9.373465][ T130] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.373470][ T130] ? validate_chain+0x38b/0xc20 [ 9.373475][ T130] hvc_console_print+0x292/0x780 [ 9.373482][ T130] ? hvc_write+0x3a0/0x3a0 [ 9.373485][ T130] ? rcu_is_watching+0x16/0xd0 [ 9.373487][ T130] ? lock_acquire+0x13c/0x160 [ 9.373491][ T130] console_emit_next_record+0x22f/0x4c0 [ 9.373495][ T130] ? devkmsg_read+0x4b0/0x4b0 [ 9.373496][ T130] ? console_flush_one_record+0x106/0x710 [ 9.373499][ T130] ? rcu_is_watching+0x16/0xd0 [ 9.373501][ T130] ? lock_acquire+0x13c/0x160 [ 9.373505][ T130] console_flush_one_record+0x46f/0x710 [ 9.373509][ T130] ? console_emit_next_record+0x4c0/0x4c0 [ 9.373510][ T130] ? __lock_acquire+0x518/0xc20 [ 9.373515][ T130] console_unlock+0xee/0x1f0 [ 9.373518][ T130] ? console_flush_one_record+0x710/0x710 [ 9.373520][ T130] ? rcu_is_watching+0x16/0xd0 [ 9.373522][ T130] ? lock_acquire+0x60/0x160 [ 9.373525][ T130] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.373527][ T130] ? vprintk_emit+0x320/0x3e0 [ 9.373530][ T130] vprintk_emit+0x37c/0x3e0 [ 9.373533][ T130] ? wake_up_klogd_work_func+0x90/0x90 [ 9.373536][ T130] ? __lock_acquire+0x518/0xc20 [ 9.373540][ T130] _printk+0xc7/0x100 [ 9.373544][ T130] ? snapshot_read.cold+0x21/0x21 [ 9.373547][ T130] ? do_raw_spin_lock+0x131/0x280 [ 9.373549][ T130] ? __rwlock_init+0x150/0x150 [ 9.373552][ T130] ? do_raw_spin_lock+0x131/0x280 [ 9.373555][ T130] do_exit.cold+0x82/0x9c [ 9.373559][ T130] ? exit_notify+0x890/0x890 [ 9.373561][ T130] ? __lock_release.isra.0+0x69/0x1a0 [ 9.373563][ T130] ? rcu_is_watching+0x16/0xd0 [ 9.373567][ T130] do_group_exit+0xb8/0x370 [ 9.373570][ T130] __x64_sys_exit_group+0x3c/0x50 [ 9.373573][ T130] x64_sys_call+0x1567/0x1570 [ 9.373574][ T130] do_syscall_64+0xff/0x530 [ 9.373578][ T130] ? exc_page_fault+0xee/0x100 [ 9.373581][ T130] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.373583][ T130] RIP: 0033:0x7f61cf6191b8 [ 9.373586][ T130] Code: Unable to access opcode bytes at 0x7f61cf61918e. [ 9.373587][ T130] RSP: 002b:00007ffdce2673b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.373589][ T130] RAX: ffffffffffffffda RBX: 00007f61cf749f88 RCX: 00007f61cf6191b8 [ 9.373591][ T130] RDX: 00007f61cf476b48 RSI: fffffffffffffec8 RDI: 0000000000000000 [ 9.373592][ T130] RBP: 00007ffdce267410 R08: 00000000ffffffff R09: 0000000000001010 [ 9.373593][ T130] R10: 00007ffdce267230 R11: 0000000000000246 R12: 0000000000000002 [ 9.373593][ T130] R13: 0000000000000000 R14: 00007f61cf748680 R15: 00007f61cf749fa0 [ 9.373600][ T130]