Re: [patch -next] net: rtnl: info leak in rtnl_fill_vfinfo()

2016-10-13 Thread David Miller
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-

[patch -next] net: rtnl: info leak in rtnl_fill_vfinfo()

2016-10-13 Thread Dan Carpenter
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 diff --git a/net/core/rtnetlink.c b/net/core/r