[ 8.758337][ T163] grep (163) used greatest stack depth: 24432 bytes left [ 8.758355][ T163] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.758358][ T163] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 163, name: grep [ 8.758359][ T163] preempt_count: 2, expected: 0 [ 8.758360][ T163] RCU nest depth: 0, expected: 0 [ 8.758361][ T163] locks held by grep/163: 5, last CPU#1: [ 8.758363][ T163] #0: ffffffffae0027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 8.758376][ T163] #1: ffffffffae169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.758381][ T163] #2: ffffffffae169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.758384][ T163] #3: ffffffffae089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.758387][ T163] #4: ffffffffae089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 8.758391][ T163] irq event stamp: 25098 [ 8.758392][ T163] hardirqs last enabled at (25097): [] __down_trylock_console_sem+0x86/0xa0 [ 8.758395][ T163] hardirqs last disabled at (25098): [] console_emit_next_record+0x3d4/0x4c0 [ 8.758397][ T163] softirqs last enabled at (23934): [] handle_softirqs+0x67c/0x900 [ 8.758399][ T163] softirqs last disabled at (23923): [] __irq_exit_rcu+0x145/0x1c0 [ 8.758401][ T163] Preemption disabled at: [ 8.758402][ T163] [<0000000000000000>] 0x0 [ 8.758409][ T163] CPU: 1 UID: 0 PID: 163 Comm: grep Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.758413][ T163] Tainted: [W]=WARN [ 8.758413][ T163] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.758415][ T163] Call Trace: [ 8.758416][ T163] [ 8.758418][ T163] dump_stack_lvl+0x6f/0xa0 [ 8.758424][ T163] __might_resched.cold+0x1fe/0x2c1 [ 8.758428][ T163] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.758432][ T163] ? __kmalloc_noprof+0xdb/0x760 [ 8.758437][ T163] __kmalloc_noprof+0x443/0x760 [ 8.758439][ T163] ? alloc_buf.isra.0+0x4b/0x260 [ 8.758445][ T163] ? do_raw_spin_unlock+0x59/0x250 [ 8.758448][ T163] alloc_buf.isra.0+0x4b/0x260 [ 8.758451][ T163] put_chars+0x1e1/0x2f0 [ 8.758454][ T163] ? __send_to_port+0x420/0x420 [ 8.758456][ T163] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.758460][ T163] ? validate_chain+0x38b/0xc20 [ 8.758465][ T163] hvc_console_print+0x292/0x780 [ 8.758471][ T163] ? hvc_write+0x3a0/0x3a0 [ 8.758474][ T163] ? rcu_is_watching+0x16/0xd0 [ 8.758475][ T163] ? lock_acquire+0x13c/0x160 [ 8.758480][ T163] console_emit_next_record+0x22f/0x4c0 [ 8.758483][ T163] ? devkmsg_read+0x4b0/0x4b0 [ 8.758484][ T163] ? console_flush_one_record+0x106/0x710 [ 8.758487][ T163] ? rcu_is_watching+0x16/0xd0 [ 8.758489][ T163] ? lock_acquire+0x13c/0x160 [ 8.758492][ T163] console_flush_one_record+0x46f/0x710 [ 8.758496][ T163] ? console_emit_next_record+0x4c0/0x4c0 [ 8.758497][ T163] ? __lock_acquire+0x518/0xc20 [ 8.758502][ T163] console_unlock+0xee/0x1f0 [ 8.758505][ T163] ? console_flush_one_record+0x710/0x710 [ 8.758506][ T163] ? rcu_is_watching+0x16/0xd0 [ 8.758507][ T163] ? lock_acquire+0x60/0x160 [ 8.758511][ T163] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.758513][ T163] ? vprintk_emit+0x320/0x3e0 [ 8.758516][ T163] vprintk_emit+0x37c/0x3e0 [ 8.758519][ T163] ? wake_up_klogd_work_func+0x90/0x90 [ 8.758522][ T163] ? __lock_acquire+0x518/0xc20 [ 8.758525][ T163] _printk+0xc7/0x100 [ 8.758529][ T163] ? snapshot_read.cold+0x21/0x21 [ 8.758532][ T163] ? do_raw_spin_lock+0x131/0x280 [ 8.758534][ T163] ? __rwlock_init+0x150/0x150 [ 8.758538][ T163] ? do_raw_spin_lock+0x131/0x280 [ 8.758541][ T163] do_exit.cold+0x82/0x9c [ 8.758544][ T163] ? exit_notify+0x890/0x890 [ 8.758546][ T163] ? __lock_release.isra.0+0x69/0x1a0 [ 8.758549][ T163] ? rcu_is_watching+0x16/0xd0 [ 8.758552][ T163] do_group_exit+0xb8/0x370 [ 8.758555][ T163] __x64_sys_exit_group+0x3c/0x50 [ 8.758557][ T163] x64_sys_call+0x1567/0x1570 [ 8.758560][ T163] do_syscall_64+0xff/0x530 [ 8.758564][ T163] ? exc_page_fault+0xee/0x100 [ 8.758567][ T163] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.758569][ T163] RIP: 0033:0x7f27827191b8 [ 8.758571][ T163] Code: Unable to access opcode bytes at 0x7f278271918e. [ 8.758572][ T163] RSP: 002b:00007ffe99f0ab18 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 8.758574][ T163] RAX: ffffffffffffffda RBX: 00007f2782849f88 RCX: 00007f27827191b8 [ 8.758576][ T163] RDX: 00007f2782657e88 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 8.758577][ T163] RBP: 00007ffe99f0ab70 R08: 0000000000000000 R09: 0000000000001010 [ 8.758578][ T163] R10: 00007ffe99f0a9b0 R11: 0000000000000246 R12: 0000000000000002 [ 8.758578][ T163] R13: 0000000000000000 R14: 00007f2782848680 R15: 00007f2782849fa0 [ 8.758585][ T163]