Greg Kroah-Hartman
4a3a990451
lz4: add overrun checks to lz4_uncompress_unknownoutputsize()
...
Jan points out that I forgot to make the needed fixes to the
lz4_uncompress_unknownoutputsize() function to mirror the changes done
in lz4_decompress() with regards to potential pointer overflows.
The only in-kernel user of this function is the zram code, which only
takes data from a valid compressed buffer that it made itself, so it's
not a big issue. But due to external kernel modules using this
function, it's better to be safe here.
Reported-by: Jan Beulich <JBeulich@suse.com>
Cc: "Don A. Bailey" <donb@securitymouse.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-03 16:12:04 -07:00
..
2014-03-23 16:44:42 +01:00
2014-07-03 16:12:04 -07:00
2014-06-23 14:12:01 -04:00
2013-09-25 17:17:01 +01:00
2013-09-10 13:03:41 -07:00
2008-04-18 22:17:17 -04:00
2014-06-04 16:54:18 -07:00
2011-03-22 17:44:17 -07:00
2010-03-12 15:52:44 -08:00
2012-10-08 13:50:18 +10:30
2013-04-29 18:28:19 -07:00
2014-06-04 16:54:19 -07:00
2014-01-23 09:25:10 -08:00
2014-06-04 16:54:19 -07:00
2012-12-20 13:50:16 -08:00
2014-03-20 10:11:35 -04:00
2014-01-16 23:46:06 -08:00
2012-09-10 11:13:16 -07:00
2011-03-11 14:25:50 +00:00
2012-12-06 10:39:54 +01:00
2008-06-06 11:29:10 -07:00
2012-03-07 15:04:04 -05:00
2014-06-04 16:54:18 -07:00
2014-06-04 16:54:19 -07:00
2013-06-19 17:54:06 +02:00
2013-03-22 16:41:20 -07:00
2012-03-07 15:04:04 -05:00
2013-02-11 20:00:33 +05:30
2014-04-03 16:21:12 -07:00
2012-02-02 10:34:23 +11:00
2014-01-23 16:36:57 -08:00
2014-03-20 10:11:35 -04:00
2011-10-29 21:20:22 +02:00
2013-09-13 15:09:52 +02:00
2012-07-30 17:25:22 -07:00
2014-06-11 14:58:16 -07:00
2014-05-16 14:26:52 -04:00
2011-06-03 15:01:06 -04:00
2006-06-25 10:01:20 -07:00
2014-06-04 16:54:19 -07:00
2012-03-23 16:58:38 -07:00
2006-06-25 10:01:20 -07:00
2007-05-10 18:24:13 +02:00
2013-09-12 15:31:34 +10:00
2012-03-07 15:04:04 -05:00
2013-06-26 12:10:56 +02:00
2014-06-04 16:53:53 -07:00
2012-03-07 15:04:04 -05:00
2011-12-06 10:00:05 +01:00
2014-04-03 16:21:12 -07:00
2014-01-23 16:37:04 -08:00
2011-12-06 09:53:40 +01:00
2013-02-20 19:36:00 +01:00
2011-03-31 11:26:23 -03:00
2014-04-07 16:36:11 -07:00
2014-05-24 07:28:01 +09:00
2014-06-04 16:54:19 -07:00
2013-08-23 09:02:14 -04:00
2014-03-04 07:55:47 -08:00
2014-05-05 16:07:46 -07:00
2014-01-27 21:02:39 -08:00
2012-05-31 18:18:17 -04:00
2013-08-14 23:24:01 +02:00
2009-06-12 21:47:04 +09:30
2013-06-03 13:55:01 -07:00
2014-04-30 19:49:37 +01:00
2012-07-23 13:54:52 +01:00
2012-07-23 13:54:52 +01:00
2012-07-23 13:54:52 +01:00
2012-07-23 13:54:52 +01:00
2012-07-23 13:54:52 +01:00
2012-07-23 13:54:52 +01:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2014-01-21 23:17:20 -08:00
2012-09-25 08:59:21 -07:00
2012-10-06 03:04:57 +09:00
2012-10-06 03:04:46 +09:00
2014-01-29 16:22:39 -08:00
2012-03-07 15:04:04 -05:00
2013-12-19 00:14:53 -05:00
2013-09-20 15:38:26 -04:00
2012-03-07 15:04:04 -05:00
2014-06-06 16:08:12 -07:00
2010-08-12 09:51:35 -07:00
2013-04-29 18:28:19 -07:00
2014-05-05 09:09:14 +02:00
2014-05-05 09:09:14 +02:00
2012-03-07 15:04:04 -05:00
2014-04-07 16:36:11 -07:00
2012-03-24 10:24:31 -07:00
2012-03-07 15:04:04 -05:00
2014-06-27 11:47:58 -07:00
2012-03-07 15:04:04 -05:00
2009-07-17 09:11:31 +10:00
2012-05-02 00:04:06 -07:00
2012-10-11 08:50:15 +09:00
2014-05-05 09:09:14 +02:00
2014-06-23 16:47:43 -07:00
2013-06-18 13:48:45 +02:00
2009-07-01 22:28:44 +02:00
2013-11-15 09:32:23 +09:00
2013-05-21 10:16:39 -07:00
2014-04-25 12:00:49 -07:00
2014-02-07 16:08:57 -08:00
2014-01-23 16:36:57 -08:00
2011-10-31 17:30:56 -07:00
2012-03-07 15:04:04 -05:00
2014-06-04 16:54:18 -07:00
2012-07-06 06:01:49 -07:00
2013-04-29 18:28:42 -07:00
2013-11-15 09:32:22 +09:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2013-09-25 14:07:32 +02:00
2013-11-27 20:37:33 -08:00
2013-03-22 22:17:36 -06:00
2014-06-12 14:27:40 -07:00
2012-03-07 15:04:04 -05:00
2012-07-30 17:25:22 -07:00
2012-07-30 17:25:16 -07:00
2013-06-05 12:00:27 -07:00
2014-06-08 11:31:16 -07:00
2013-04-09 14:13:05 -04:00
2012-07-30 17:25:22 -07:00
2012-12-14 10:32:52 +11:00
2013-05-05 14:38:00 -07:00
2014-01-23 16:36:55 -08:00
2012-01-31 23:19:47 +02:00
2014-04-08 16:48:51 -07:00
2014-02-14 10:45:18 -08:00
2013-11-13 12:09:11 +09:00
2014-01-21 04:40:56 -05:00
2014-06-04 16:54:18 -07:00
2012-07-30 17:25:22 -07:00
2009-01-06 15:59:11 -08:00
2011-09-13 11:11:50 +02:00
2014-06-06 16:08:17 -07:00
2014-04-03 16:21:11 -07:00
2012-03-07 15:04:04 -05:00
2012-05-17 15:18:37 +02:00
2014-01-23 16:37:03 -08:00
2013-09-11 15:59:19 -07:00
2014-01-21 23:17:20 -08:00
2013-12-08 17:56:37 -08:00
2012-03-07 15:04:04 -05:00
2014-01-21 16:19:48 -08:00
2014-04-07 16:36:14 -07:00
2009-01-08 08:31:14 -08:00
2012-04-20 23:27:08 +02:00
2013-04-30 17:04:03 -07:00
2014-06-04 16:54:18 -07:00
2012-05-26 11:33:40 -07:00
2012-05-27 20:59:46 -07:00
2014-06-20 16:04:32 -04:00
2014-04-03 16:21:06 -07:00
2014-06-11 00:13:16 -07:00
2014-01-23 16:36:57 -08:00
2014-01-23 16:36:57 -08:00
2012-05-29 16:22:32 -07:00
2013-04-30 17:04:03 -07:00
2014-06-04 16:54:19 -07:00
2012-03-24 10:24:31 -07:00
2008-07-08 02:37:54 -07:00
2008-07-08 02:38:27 -07:00
2008-07-08 02:38:09 -07:00
2013-04-15 21:23:03 +01:00
2013-04-30 17:04:09 -07:00
2013-04-29 18:28:42 -07:00
2014-06-04 16:54:18 -07:00