commit | 775f4f05501b3e36550ab63a592de3abd02e7591 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Oct 13 11:45:28 2016 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 13 12:12:04 2016 -0400 |
tree | 8d0a411f4161bef506a355fa8605afdcc60bc8f4 | |
parent | 7307616245babb12c923151d8ef69af02e46c255 [diff] |
net: rtnl: info leak in rtnl_fill_vfinfo() 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 <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>