[PATCH] mtd: mtdchar: fix information leak to userland

Artem Bityutskiy dedekind1 at gmail.com
Fri Nov 26 10:37:30 EST 2010

On Sat, 2010-11-06 at 17:41 +0300, Vasiliy Kulikov wrote:
> Structure mtd_info_user is copied to userland with padding byted
> between "type" and "flags" fields uninitialized.  It leads to leaking
> of contents of kernel stack memory.
> Signed-off-by: Vasiliy Kulikov <segooon at gmail.com>

Pushed to l2-mtd-2.6.git, thanks.

Best Regards,
Artem Bityutskiy (Артём Битюцкий)

More information about the linux-mtd mailing list