Re: [PATCH v2] x86/dumpstack: don't dump kernel memory based on usermode RIP
From: Borislav Petkov
Date: Wed Aug 29 2018 - 03:08:47 EST
On Tue, Aug 28, 2018 at 06:29:43PM +0200, Jann Horn wrote:
> No, you can also get user opcode bytes printed by WARN() and friends.
> When you add a WARN() in the pagefault handler, you get something like
Ok, let's always do the checking then - who knows in what context we
might be dumping opcodes so we better be prepared.
SUSE Linux GmbH, GF: Felix ImendÃrffer, Jane Smithard, Graham Norton, HRB 21284 (AG NÃrnberg)