1
0
Files
linux/drivers/block
Johannes Thumshirn 0bc315381f zram: set physical queue limits to avoid array out of bounds accesses
zram can handle at most SECTORS_PER_PAGE sectors in a bio's bvec. When using
the NVMe over Fabrics loopback target which potentially sends a huge bulk of
pages attached to the bio's bvec this results in a kernel panic because of
array out of bounds accesses in zram_decompress_page().

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-03-08 09:56:12 -07:00
..
2016-06-27 12:26:08 -07:00
2017-02-22 11:54:49 -07:00
2017-02-23 17:10:32 -05:00
2015-09-23 11:01:16 -06:00
2016-03-15 15:59:47 -07:00
2016-06-27 12:26:08 -07:00
2017-02-20 12:16:15 +01:00