Re: [PATCH] econet: 4 byte infoleak to the network

From: Phil Blundell
Date: Thu Mar 17 2011 - 08:33:23 EST


On Thu, 2011-03-17 at 14:40 +0300, Vasiliy Kulikov wrote:
> struct aunhdr has 4 padding bytes between 'pad' and 'handle' fields on
> x86_64. These bytes are not initialized in the variable 'ah' before
> sending 'ah' to the network. This leads to 4 bytes kernel stack
> infoleak.
>
> This bug was introduced before the git epoch.
>
> Signed-off-by: Vasiliy Kulikov <segoon@xxxxxxxxxxxx>

Well spotted. Thanks for the patch.

Acked-by: Phil Blundell <philb@xxxxxxx>

p.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/