Re: [RFC PATCH] x86/entry/64: randomize kernel stack offset upon syscall

From: Kees Cook
Date: Thu Mar 28 2019 - 12:48:15 EST


On Thu, Mar 28, 2019 at 9:29 AM Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:
> Doesnât this just leak some of the canary to user code through side channels?

Erf, yes, good point. Let's just use prandom and be done with it.

--
Kees Cook