Joe Perches
077cb37fcf
ethtool: Use kcalloc instead of kmalloc for ethtool_get_strings
...
It seems that kernel memory can leak into userspace by a
kmalloc, ethtool_get_strings, then copy_to_user sequence.
Avoid this by using kcalloc to zero fill the copied buffer.
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-10-14 19:00:20 -07:00
..
2015-08-06 21:55:47 -07:00
2014-11-18 15:26:32 -05:00
2014-11-18 15:27:32 -05:00
2015-09-23 14:32:50 -07:00
2014-08-26 13:45:47 -04:00
2015-08-31 21:23:42 -07:00
2015-10-14 19:00:20 -07:00
2015-09-24 15:21:54 -07:00
2015-10-08 05:02:08 -07:00
2015-09-01 21:19:17 -07:00
2015-09-01 17:00:24 -07:00
2015-07-08 13:59:20 -07:00
2015-02-19 15:45:53 -05:00
2015-04-02 14:04:59 -04:00
2015-08-24 10:34:40 -07:00
2015-07-21 10:39:03 -07:00
2015-08-10 13:46:21 -07:00
2015-05-17 23:41:11 -04:00
2013-05-20 13:48:04 -07:00
2015-09-29 14:56:20 -07:00
2014-01-05 20:27:54 -05:00
2015-08-29 13:05:16 -07:00
2015-07-25 00:13:18 -07:00
2015-05-31 00:03:21 -07:00
2015-09-23 14:32:50 -07:00
2014-07-15 11:05:09 -04:00
2015-08-13 16:23:11 -07:00
2014-08-02 15:03:58 -07:00
2015-08-10 21:17:29 -07:00
2015-09-15 15:03:57 -07:00
2014-12-10 22:41:55 -05:00
2015-05-25 22:55:37 -04:00
2015-09-29 16:48:46 -07:00
2015-09-02 11:29:29 -07:00
2015-09-15 16:49:43 -07:00
2015-05-09 17:38:36 -04:00
2015-03-20 18:51:09 -04:00
2015-07-09 14:17:15 -07:00
2014-10-22 12:52:55 -04:00
2015-08-17 21:33:06 -07:00