Kees Cook
02e2a5bfeb
mac: validate mac_partition is within sector
...
If md->signature == MAC_DRIVER_MAGIC and md->block_size == 1023, a single
512 byte sector would be read (secsize / 512). However the partition
structure would be located past the end of the buffer (secsize % 512).
Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: stable@vger.kernel.org
Signed-off-by: Jens Axboe <axboe@fb.com>
2015-11-20 08:49:28 -07:00
..
2012-01-03 22:54:06 -05:00
2012-01-03 22:54:06 -05:00
2014-08-05 13:13:24 -06:00
2013-07-09 10:33:28 -07:00
2014-07-01 10:40:02 -06:00
2012-01-03 22:54:06 -05:00
2012-01-03 22:54:06 -05:00
2014-02-18 12:20:01 -08:00
2015-01-22 08:03:52 -07:00
2013-02-27 19:10:21 -08:00
2013-09-30 14:31:02 -07:00
2013-09-11 15:56:57 -07:00
2015-01-07 19:07:44 -08:00
2014-02-18 12:20:01 -08:00
2012-09-26 15:45:05 +02:00
2012-01-03 22:54:06 -05:00
2014-02-18 12:20:01 -08:00
2012-01-03 22:54:06 -05:00
2013-09-30 14:31:02 -07:00
2012-02-24 09:37:42 +00:00
2012-01-03 22:54:06 -05:00
2015-11-20 08:49:28 -07:00
2012-01-03 22:54:06 -05:00
2013-09-11 15:56:57 -07:00
2014-07-01 10:40:03 -06:00
2012-01-03 22:54:06 -05:00
2012-01-03 22:54:06 -05:00
2012-01-03 22:54:06 -05:00
2012-01-03 22:54:06 -05:00
2012-01-03 22:54:06 -05:00
2012-01-03 22:54:06 -05:00
2012-01-03 22:54:06 -05:00
2012-01-03 22:54:06 -05:00
2012-01-03 22:54:06 -05:00
2012-01-03 22:54:06 -05:00
2012-01-03 22:54:06 -05:00