aboutsummaryrefslogtreecommitdiffstats
path: root/mm/backing-dev.c
diff options
context:
space:
mode:
authorJohannes Thumshirn <jthumshirn@suse.de>2017-03-06 11:23:35 +0100
committerJens Axboe <axboe@fb.com>2017-03-08 09:56:12 -0700
commit0bc315381fe9ed9fb91db8b0e82171b645ac008f (patch)
tree8292ccdcd3838b732b0f1eea955508d48209f07e /mm/backing-dev.c
parentblk-mq: free hctx->cpumask in release handler of hctx's kobject (diff)
downloadlinux-dev-0bc315381fe9ed9fb91db8b0e82171b645ac008f.tar.xz
linux-dev-0bc315381fe9ed9fb91db8b0e82171b645ac008f.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions