net: Zeroing the structure ethtool_wolinfo in ethtool_get_wol()
mainline inclusion from kernel/msm-3.10 commit 63c317dbee979830 category: bugfix bugzilla: NA CVE: CVE-2014-9900 --------------------------------------- memset() the structure ethtool_wolinfo that has padded bytes but the padded bytes have not been zeroed out. Signed-off-by: NAvijit Kanti Das <avijitnsec@codeaurora.org> Link: https://source.codeaurora.org/quic/la/kernel/msm-3.10/commit/?id=63c317dbee97983004dffdd9f742a20d17150071 Link: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-9900Signed-off-by: NXie XiuQi <xiexiuqi@huawei.com> Signed-off-by: NHui Wang <john.wanghui@huawei.com> Signed-off-by: NZhang Xiaoxu <zhangxiaoxu5@huawei.com> Signed-off-by: NZhiqiang Liu <liuzhiqiang26@huawei.com> Reviewed-by: NMao Wenan <maowenan@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录