[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140524.140151.1688847033053939933.davem@davemloft.net>
Date: Sat, 24 May 2014 14:01:51 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: shahed.shaikh@...gic.com, sucheta.chakraborty@...gic.com,
Dept-HSGLinuxNICDev@...gic.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [patch] qlcnic: info leak in qlcnic_dcb_peer_app_info()
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Fri, 23 May 2014 19:37:21 +0300
> This function is called from dcbnl_build_peer_app(). The "info"
> struct isn't initialized at all so we disclose 2 bytes of uninitialized
> stack data. We should clear it before passing it to the user.
>
> Fixes: 48365e485275 ('qlcnic: dcb: Add support for CEE Netlink interface.')
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
> ---
> This is a static analysis patch, and I am not familiar with this code.
> We may want to put some useful information here, to go with the
> app_count.
I've applied this and queued it up for -stable, thanks Dan.
--
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