From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [patch -next] net: rtnl: info leak in rtnl_fill_vfinfo() Date: Thu, 13 Oct 2016 12:12:29 -0400 (EDT) Message-ID: <20161013.121229.1557386309718710932.davem@davemloft.net> References: <20161013084528.GA16198@mwanda> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: moshe@mellanox.com, roopa@cumulusnetworks.com, nicolas.dichtel@6wind.com, nikolay@cumulusnetworks.com, edumazet@google.com, hannes@stressinduktion.org, nogahf@mellanox.com, bblanco@plumgrid.com, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org To: dan.carpenter@oracle.com Return-path: In-Reply-To: <20161013084528.GA16198@mwanda> Sender: kernel-janitors-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Dan Carpenter Date: Thu, 13 Oct 2016 11:45:28 +0300 > The "vf_vlan_info" struct ends with a 2 byte struct hole so we have to > memset it to ensure that no stack information is revealed to user space. > > Fixes: 79aab093a0b5 ('net: Update API for VF vlan protocol 802.1ad support') > Signed-off-by: Dan Carpenter Applied, thanks Dan.