On Wed, Sep 19, 2012 at 11:33:41PM +0200, Mathias Krause wrote: > The memory used for the template copy is a local stack variable. As > struct xfrm_user_tmpl contains multiple holes added by the compiler for > alignment, not initializing the memory will lead to leaking stack bytes > to userland. Add an explicit memset(0) to avoid the info leak. > > Initial version of the patch by Brad Spengler. > > Cc: Brad Spengler <spen...@grsecurity.net> > Signed-off-by: Mathias Krause <mini...@googlemail.com>
Patches 1-4: Acked-by: Steffen Klassert <steffen.klass...@secunet.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/