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

From: David Miller
Date: Fri Sep 17 2010 - 00:55:27 EST


From: Dan Rosenberg <drosenberg@xxxxxxxxxxxxx>
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@xxxxxxxxx>

Applied.
--
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/