Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 79aab09 ('net: Update API for VF vlan protocol 802.1ad support') Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information