]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
UBUNTU: SAUCE: (no-up) net: Zeroing the structure ethtool_wolinfo in ethtool_get_wol()
authorAvijit Kanti Das <avijitnsec@codeaurora.org>
Thu, 8 Jun 2017 13:41:15 +0000 (06:41 -0700)
committerPaolo Pisati <paolo.pisati@canonical.com>
Mon, 16 Sep 2019 13:06:31 +0000 (15:06 +0200)
commiteccbe018a46b6fcb4fb2a403ddb73712754f8280
tree347bda00247d472442ad76b7e6a1fc8c4dcb730b
parentd6e8d5afdeb4f2b3d3f33484f0b6bef1df1fe269
UBUNTU: SAUCE: (no-up) net: Zeroing the structure ethtool_wolinfo in ethtool_get_wol()

CVE-2014-9900

memset() the structure ethtool_wolinfo that has padded bytes
but the padded bytes have not been zeroed out.

Change-Id: If3fd2d872a1b1ab9521d937b86a29fc468a8bbfe
Signed-off-by: Avijit Kanti Das <avijitnsec@codeaurora.org>
Signed-off-by: Brad Figg <brad.figg@canonical.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Acked-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
net/core/ethtool.c