diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-10-13 10:45:28 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-13 18:12:04 +0200 |
commit | 775f4f05501b3e36550ab63a592de3abd02e7591 (patch) | |
tree | 8d0a411f4161bef506a355fa8605afdcc60bc8f4 /net/ncsi | |
parent | tipc: info leak in __tipc_nl_add_udp_addr() (diff) | |
download | linux-775f4f05501b3e36550ab63a592de3abd02e7591.tar.xz linux-775f4f05501b3e36550ab63a592de3abd02e7591.zip |
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>
Diffstat (limited to 'net/ncsi')
0 files changed, 0 insertions, 0 deletions