[ 14.442578][ T276] grep (276) used greatest stack depth: 23376 bytes left [ 14.442600][ T276] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.442603][ T276] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 276, name: grep [ 14.442605][ T276] preempt_count: 2, expected: 0 [ 14.442607][ T276] RCU nest depth: 0, expected: 0 [ 14.442608][ T276] locks held by grep/276: 5, last CPU#1: [ 14.442611][ T276] #0: ffffffff914267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 14.442627][ T276] #1: ffffffff9158dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.442634][ T276] #2: ffffffff9158dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.442640][ T276] #3: ffffffff914ad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.442646][ T276] #4: ffffffff914ad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 14.442652][ T276] irq event stamp: 10620 [ 14.442653][ T276] hardirqs last enabled at (10619): [] __down_trylock_console_sem+0x86/0xa0 [ 14.442656][ T276] hardirqs last disabled at (10620): [] console_emit_next_record+0x3d4/0x4c0 [ 14.442659][ T276] softirqs last enabled at (10532): [] handle_softirqs+0x67c/0x900 [ 14.442662][ T276] softirqs last disabled at (10527): [] __irq_exit_rcu+0x145/0x1c0 [ 14.442665][ T276] Preemption disabled at: [ 14.442666][ T276] [<0000000000000000>] 0x0 [ 14.442675][ T276] CPU: 1 UID: 0 PID: 276 Comm: grep Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.442680][ T276] Tainted: [W]=WARN [ 14.442681][ T276] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.442683][ T276] Call Trace: [ 14.442686][ T276] [ 14.442688][ T276] dump_stack_lvl+0x6f/0xa0 [ 14.442696][ T276] __might_resched.cold+0x1fe/0x2c1 [ 14.442702][ T276] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.442707][ T276] ? __kmalloc_noprof+0xdb/0x760 [ 14.442714][ T276] __kmalloc_noprof+0x443/0x760 [ 14.442718][ T276] ? alloc_buf.isra.0+0x4b/0x260 [ 14.442727][ T276] ? do_raw_spin_unlock+0x59/0x250 [ 14.442731][ T276] alloc_buf.isra.0+0x4b/0x260 [ 14.442736][ T276] put_chars+0x1e1/0x2f0 [ 14.442741][ T276] ? __send_to_port+0x420/0x420 [ 14.442744][ T276] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.442750][ T276] ? validate_chain+0x38b/0xc20 [ 14.442760][ T276] hvc_console_print+0x292/0x780 [ 14.442771][ T276] ? hvc_write+0x3a0/0x3a0 [ 14.442775][ T276] ? rcu_is_watching+0x16/0xd0 [ 14.442779][ T276] ? lock_acquire+0x13c/0x160 [ 14.442786][ T276] console_emit_next_record+0x22f/0x4c0 [ 14.442792][ T276] ? devkmsg_read+0x4b0/0x4b0 [ 14.442794][ T276] ? console_flush_one_record+0x106/0x710 [ 14.442799][ T276] ? rcu_is_watching+0x16/0xd0 [ 14.442803][ T276] ? lock_acquire+0x13c/0x160 [ 14.442809][ T276] console_flush_one_record+0x46f/0x710 [ 14.442816][ T276] ? console_emit_next_record+0x4c0/0x4c0 [ 14.442819][ T276] ? __lock_acquire+0x518/0xc20 [ 14.442828][ T276] console_unlock+0xee/0x1f0 [ 14.442832][ T276] ? console_flush_one_record+0x710/0x710 [ 14.442834][ T276] ? rcu_is_watching+0x16/0xd0 [ 14.442838][ T276] ? lock_acquire+0x60/0x160 [ 14.442844][ T276] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.442846][ T276] ? vprintk_emit+0x320/0x3e0 [ 14.442851][ T276] vprintk_emit+0x37c/0x3e0 [ 14.442857][ T276] ? wake_up_klogd_work_func+0x90/0x90 [ 14.442863][ T276] ? __lock_acquire+0x518/0xc20 [ 14.442869][ T276] _printk+0xc7/0x100 [ 14.442874][ T276] ? snapshot_read.cold+0x21/0x21 [ 14.442878][ T276] ? do_raw_spin_lock+0x131/0x280 [ 14.442882][ T276] ? __rwlock_init+0x150/0x150 [ 14.442889][ T276] ? do_raw_spin_lock+0x131/0x280 [ 14.442893][ T276] do_exit.cold+0x82/0x9c [ 14.442898][ T276] ? exit_notify+0x890/0x890 [ 14.442901][ T276] ? __lock_release.isra.0+0x69/0x1a0 [ 14.442905][ T276] ? rcu_is_watching+0x16/0xd0 [ 14.442912][ T276] do_group_exit+0xb8/0x370 [ 14.442918][ T276] __x64_sys_exit_group+0x3c/0x50 [ 14.442921][ T276] x64_sys_call+0x1567/0x1570 [ 14.442924][ T276] do_syscall_64+0xff/0x530 [ 14.442928][ T276] ? exc_page_fault+0xee/0x100 [ 14.442933][ T276] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.442937][ T276] RIP: 0033:0x7f2a584f81b8 [ 14.442940][ T276] Code: Unable to access opcode bytes at 0x7f2a584f818e. [ 14.442942][ T276] RSP: 002b:00007ffeab93acc8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 14.442945][ T276] RAX: ffffffffffffffda RBX: 00007f2a58628f88 RCX: 00007f2a584f81b8 [ 14.442947][ T276] RDX: 00007f2a58436e88 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 14.442948][ T276] RBP: 00007ffeab93ad20 R08: 0000000000000000 R09: 0000000000001010 [ 14.442950][ T276] R10: 00007ffeab93ab60 R11: 0000000000000246 R12: 0000000000000002 [ 14.442951][ T276] R13: 0000000000000000 R14: 00007f2a58627680 R15: 00007f2a58628fa0 [ 14.442965][ T276]