Re: [patch 00/12] x86/irq/64: Inline irq stack switching

From: Kees Cook
Date: Mon Feb 08 2021 - 16:53:30 EST


On Thu, Feb 04, 2021 at 09:49:03PM +0100, Thomas Gleixner wrote:
> - The fact that the stack switching code ended up being an easy to find
> exploit gadget.

Thanks for cleaning this up! It looks much much safer now. :)

> The patches have been tested with gcc8, gcc10 and clang-13 (fresh from
> git). The difference between the output of these compilers is minimal.
> gcc8 being slightly worse due to stupid register selection and random
> NOPs injected.

Awesome. Please consider the series:

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook