[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100916.215541.257507783.davem@davemloft.net>
Date: Thu, 16 Sep 2010 21:55:41 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: drosenberg@...curity.com
Cc: linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
security@...nel.org, stable@...nel.org
Subject: Re: [PATCH v2] drivers/net/eql.c: prevent reading uninitialized
stack memory
From: Dan Rosenberg <drosenberg@...curity.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@...il.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists