[ 9.082001][ T138] uname (138) used greatest stack depth: 24608 bytes left [ 9.082024][ T138] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.082027][ T138] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 138, name: uname [ 9.082029][ T138] preempt_count: 2, expected: 0 [ 9.082030][ T138] RCU nest depth: 0, expected: 0 [ 9.082032][ T138] locks held by uname/138: 5, last CPU#3: [ 9.082034][ T138] #0: ffffffff920167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.082049][ T138] #1: ffffffff9217ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.082056][ T138] #2: ffffffff9217de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.082062][ T138] #3: ffffffff9209d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.082068][ T138] #4: ffffffff9209d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.082074][ T138] irq event stamp: 9358 [ 9.082075][ T138] hardirqs last enabled at (9357): [] __down_trylock_console_sem+0x86/0xa0 [ 9.082079][ T138] hardirqs last disabled at (9358): [] console_emit_next_record+0x3d4/0x4c0 [ 9.082082][ T138] softirqs last enabled at (8738): [] handle_softirqs+0x67c/0x900 [ 9.082085][ T138] softirqs last disabled at (8281): [] __irq_exit_rcu+0x145/0x1c0 [ 9.082088][ T138] Preemption disabled at: [ 9.082089][ T138] [<0000000000000000>] 0x0 [ 9.082103][ T138] CPU: 3 UID: 0 PID: 138 Comm: uname Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.082107][ T138] Tainted: [W]=WARN [ 9.082108][ T138] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.082111][ T138] Call Trace: [ 9.082113][ T138] [ 9.082115][ T138] dump_stack_lvl+0x6f/0xa0 [ 9.082123][ T138] __might_resched.cold+0x1fe/0x2c1 [ 9.082129][ T138] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.082135][ T138] ? __kmalloc_noprof+0xdb/0x760 [ 9.082142][ T138] __kmalloc_noprof+0x443/0x760 [ 9.082145][ T138] ? alloc_buf.isra.0+0x4b/0x260 [ 9.082155][ T138] ? do_raw_spin_unlock+0x59/0x250 [ 9.082158][ T138] alloc_buf.isra.0+0x4b/0x260 [ 9.082164][ T138] put_chars+0x1e1/0x2f0 [ 9.082168][ T138] ? __send_to_port+0x420/0x420 [ 9.082170][ T138] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.082175][ T138] ? validate_chain+0x38b/0xc20 [ 9.082184][ T138] hvc_console_print+0x292/0x780 [ 9.082196][ T138] ? hvc_write+0x3a0/0x3a0 [ 9.082200][ T138] ? rcu_is_watching+0x16/0xd0 [ 9.082204][ T138] ? lock_acquire+0x13c/0x160 [ 9.082210][ T138] console_emit_next_record+0x22f/0x4c0 [ 9.082217][ T138] ? devkmsg_read+0x4b0/0x4b0 [ 9.082220][ T138] ? console_flush_one_record+0x106/0x710 [ 9.082225][ T138] ? rcu_is_watching+0x16/0xd0 [ 9.082228][ T138] ? lock_acquire+0x13c/0x160 [ 9.082234][ T138] console_flush_one_record+0x46f/0x710 [ 9.082241][ T138] ? console_emit_next_record+0x4c0/0x4c0 [ 9.082244][ T138] ? __lock_acquire+0x518/0xc20 [ 9.082253][ T138] console_unlock+0xee/0x1f0 [ 9.082257][ T138] ? console_flush_one_record+0x710/0x710 [ 9.082260][ T138] ? rcu_is_watching+0x16/0xd0 [ 9.082263][ T138] ? lock_acquire+0xe0/0x160 [ 9.082269][ T138] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.082272][ T138] ? vprintk_emit+0x320/0x3e0 [ 9.082277][ T138] vprintk_emit+0x37c/0x3e0 [ 9.082282][ T138] ? wake_up_klogd_work_func+0x90/0x90 [ 9.082287][ T138] ? __lock_acquire+0x518/0xc20 [ 9.082293][ T138] _printk+0xc7/0x100 [ 9.082298][ T138] ? snapshot_read.cold+0x21/0x21 [ 9.082303][ T138] ? do_raw_spin_lock+0x131/0x280 [ 9.082307][ T138] ? __rwlock_init+0x150/0x150 [ 9.082314][ T138] ? do_raw_spin_lock+0x131/0x280 [ 9.082318][ T138] do_exit.cold+0x82/0x9c [ 9.082324][ T138] ? exit_notify+0x890/0x890 [ 9.082326][ T138] ? __lock_release.isra.0+0x69/0x1a0 [ 9.082330][ T138] ? rcu_is_watching+0x16/0xd0 [ 9.082337][ T138] do_group_exit+0xb8/0x370 [ 9.082341][ T138] __x64_sys_exit_group+0x3c/0x50 [ 9.082344][ T138] x64_sys_call+0x1567/0x1570 [ 9.082348][ T138] do_syscall_64+0xff/0x530 [ 9.082353][ T138] ? exc_page_fault+0xee/0x100 [ 9.082357][ T138] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.082360][ T138] RIP: 0033:0x7fbe685841b8 [ 9.082363][ T138] Code: Unable to access opcode bytes at 0x7fbe6858418e. [ 9.082365][ T138] RSP: 002b:00007ffce89827d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.082368][ T138] RAX: ffffffffffffffda RBX: 00007fbe686b4f88 RCX: 00007fbe685841b8 [ 9.082370][ T138] RDX: 00007fbe684c1a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 9.082372][ T138] RBP: 00007ffce8982830 R08: 0000000000000000 R09: 0000000000001010 [ 9.082373][ T138] R10: 00007ffce8982690 R11: 0000000000000246 R12: 0000000000000002 [ 9.082374][ T138] R13: 0000000000000000 R14: 00007fbe686b3680 R15: 00007fbe686b4fa0 [ 9.082387][ T138] [ 9.934799][ T203] ip (203) used greatest stack depth: 24408 bytes left [ 15.090895][ T441] grep (441) used greatest stack depth: 23936 bytes left [ 15.090954][ T441] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.090957][ T441] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 441, name: grep [ 15.090959][ T441] preempt_count: 2, expected: 0 [ 15.090960][ T441] RCU nest depth: 0, expected: 0 [ 15.090961][ T441] locks held by grep/441: 5, last CPU#1: [ 15.090963][ T441] #0: ffffffff920167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 15.090974][ T441] #1: ffffffff9217ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.090979][ T441] #2: ffffffff9217de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.090983][ T441] #3: ffffffff9209d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.090986][ T441] #4: ffffffff9209d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 15.090990][ T441] irq event stamp: 12088 [ 15.090991][ T441] hardirqs last enabled at (12087): [] irqentry_exit+0x21c/0x790 [ 15.090995][ T441] hardirqs last disabled at (12088): [] console_emit_next_record+0x3d4/0x4c0 [ 15.090997][ T441] softirqs last enabled at (11076): [] handle_softirqs+0x67c/0x900 [ 15.090999][ T441] softirqs last disabled at (11063): [] __irq_exit_rcu+0x145/0x1c0 [ 15.091002][ T441] Preemption disabled at: [ 15.091002][ T441] [<0000000000000000>] 0x0 [ 15.091009][ T441] CPU: 1 UID: 0 PID: 441 Comm: grep Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.091012][ T441] Tainted: [W]=WARN [ 15.091013][ T441] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.091015][ T441] Call Trace: [ 15.091017][ T441] [ 15.091019][ T441] dump_stack_lvl+0x6f/0xa0 [ 15.091025][ T441] __might_resched.cold+0x1fe/0x2c1 [ 15.091029][ T441] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.091033][ T441] ? __kmalloc_noprof+0xdb/0x760 [ 15.091038][ T441] __kmalloc_noprof+0x443/0x760 [ 15.091039][ T441] ? alloc_buf.isra.0+0x4b/0x260 [ 15.091046][ T441] ? do_raw_spin_unlock+0x59/0x250 [ 15.091049][ T441] alloc_buf.isra.0+0x4b/0x260 [ 15.091053][ T441] put_chars+0x1e1/0x2f0 [ 15.091055][ T441] ? __send_to_port+0x420/0x420 [ 15.091056][ T441] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.091059][ T441] ? validate_chain+0x38b/0xc20 [ 15.091065][ T441] hvc_console_print+0x292/0x780 [ 15.091072][ T441] ? hvc_write+0x3a0/0x3a0 [ 15.091075][ T441] ? rcu_is_watching+0x16/0xd0 [ 15.091076][ T441] ? lock_acquire+0x13c/0x160 [ 15.091080][ T441] console_emit_next_record+0x22f/0x4c0 [ 15.091084][ T441] ? devkmsg_read+0x4b0/0x4b0 [ 15.091086][ T441] ? lock_acquire.part.0+0x112/0x280 [ 15.091089][ T441] ? rcu_is_watching+0x16/0xd0 [ 15.091090][ T441] ? lock_acquire+0x13c/0x160 [ 15.091094][ T441] console_flush_one_record+0x46f/0x710 [ 15.091105][ T441] ? console_emit_next_record+0x4c0/0x4c0 [ 15.091107][ T441] ? __lock_acquire+0x518/0xc20 [ 15.091112][ T441] console_unlock+0xee/0x1f0 [ 15.091114][ T441] ? console_flush_one_record+0x710/0x710 [ 15.091116][ T441] ? rcu_is_watching+0x16/0xd0 [ 15.091118][ T441] ? lock_acquire+0xe0/0x160 [ 15.091121][ T441] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.091124][ T441] ? vprintk_emit+0x320/0x3e0 [ 15.091126][ T441] vprintk_emit+0x37c/0x3e0 [ 15.091129][ T441] ? wake_up_klogd_work_func+0x90/0x90 [ 15.091132][ T441] ? __lock_acquire+0x518/0xc20 [ 15.091135][ T441] _printk+0xc7/0x100 [ 15.091139][ T441] ? snapshot_read.cold+0x21/0x21 [ 15.091141][ T441] ? do_raw_spin_lock+0x131/0x280 [ 15.091144][ T441] ? __rwlock_init+0x150/0x150 [ 15.091147][ T441] ? do_raw_spin_lock+0x131/0x280 [ 15.091150][ T441] do_exit.cold+0x82/0x9c [ 15.091153][ T441] ? exit_notify+0x890/0x890 [ 15.091155][ T441] ? __lock_release.isra.0+0x69/0x1a0 [ 15.091158][ T441] ? rcu_is_watching+0x16/0xd0 [ 15.091161][ T441] do_group_exit+0xb8/0x370 [ 15.091164][ T441] __x64_sys_exit_group+0x3c/0x50 [ 15.091166][ T441] x64_sys_call+0x1567/0x1570 [ 15.091168][ T441] do_syscall_64+0xff/0x530 [ 15.091171][ T441] ? exc_page_fault+0xee/0x100 [ 15.091173][ T441] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.091175][ T441] RIP: 0033:0x7f639e8cb1b8 [ 15.091177][ T441] Code: Unable to access opcode bytes at 0x7f639e8cb18e. [ 15.091178][ T441] RSP: 002b:00007ffe5029c6e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 15.091181][ T441] RAX: ffffffffffffffda RBX: 00007f639e9fbf88 RCX: 00007f639e8cb1b8 [ 15.091182][ T441] RDX: 00007f639e809e88 RSI: ffffffffffffffb0 RDI: 0000000000000001 [ 15.091183][ T441] RBP: 00007ffe5029c740 R08: 0000000000000000 R09: 0000000000000000 [ 15.091184][ T441] R10: 00007ffe5029c580 R11: 0000000000000246 R12: 0000000000000002 [ 15.091184][ T441] R13: 0000000000000001 R14: 00007f639e9fa680 R15: 00007f639e9fbfa0 [ 15.091191][ T441]