Re: [PATCH v2] drivers/net/eql.c: prevent reading uninitialized stack memory

David Miller
2010-09-17T04:55:24Z

From: Dan Rosenberg <drosenberg@vsecurity.com>
Date: Wed, 15 Sep 2010 17:43:04 -0400

> Fixed formatting (tabs and line breaks).
>
> The EQL_GETMASTRCFG device ioctl allows unprivileged users to read 16
> bytes of uninitialized stack memory, because the "master_name" member of
> the master_config_t struct declared on the stack in eql_g_master_cfg()
> is not altered or zeroed before being copied back to the user. This
> patch takes care of it.
>
> Signed-off-by: Dan Rosenberg <dan.j.rosenberg@gmail.com>

Applied.