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 <[email protected]> -- Kees Cook

