diff options
| author | Johannes Thumshirn <[email protected]> | 2017-03-06 10:23:35 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2017-03-08 16:56:12 +0000 |
| commit | 0bc315381fe9ed9fb91db8b0e82171b645ac008f (patch) | |
| tree | 8292ccdcd3838b732b0f1eea955508d48209f07e /scripts/gcc-plugins/sancov_plugin.c | |
| parent | blk-mq: free hctx->cpumask in release handler of hctx's kobject (diff) | |
| download | kernel-0bc315381fe9ed9fb91db8b0e82171b645ac008f.tar.gz kernel-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 <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
