The memory allocated for the stats array may contain arbitrary data.
Fixes: bb4da4d31871 ("net: phy: mscc: add support for VSC8514 PHY.") Fixes: cfbe8cd34090 ("net: phy: mscc: add support for VSC8574 PHY") Fixes: 8fa2bda53e3f ("net: phy: mscc: add support for VSC8584 PHY") Fixes: 53bbb54ecea7 ("net: phy: mscc: add ethtool statistics counters") Signed-off-by: Andreas Schwab <schwab@suse.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>