linux/drivers/staging/erofs
Chao Yu 8bce6dcede staging: erofs: fix to handle error path of erofs_vmap()
erofs_vmap() wrapped vmap() and vm_map_ram() to return virtual
continuous memory, but both of them can failed due to a lot of
reason, previously, erofs_vmap()'s callers didn't handle them,
which can potentially cause NULL pointer access, fix it.

Fixes: 3883a79abd ("staging: erofs: introduce VLE decompression support")
Fixes: 0d40d6e399 ("staging: erofs: add a generic z_erofs VLE decompressor")
Cc: <stable@vger.kernel.org> # 4.19+
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-03-18 07:56:14 +01:00
..
Documentation/filesystems staging: erofs: complete POSIX ACL support 2019-01-30 15:38:50 +01:00
include staging: erofs: add trace points for reading zipped data 2018-09-18 16:35:03 +02:00
data.c for-5.1/block-20190302 2019-03-08 14:12:17 -08:00
dir.c staging: erofs: switch to ->iterate_shared() 2019-02-26 11:52:46 +01:00
erofs_fs.h staging: erofs: remove __EROFS_BIT 2018-12-12 11:29:46 +01:00
inode.c staging: erofs: complete POSIX ACL support 2019-01-30 15:38:50 +01:00
internal.h staging: erofs: fix race of initializing xattrs of a inode at the same time 2019-02-20 11:20:55 +01:00
Kconfig staging: erofs: fix undefined LZ4_decompress_safe_partial() 2018-11-09 08:34:39 -08:00
Makefile staging: prefix header search paths with $(srctree)/ 2019-02-04 12:30:27 +01:00
namei.c staging: erofs: keep corrupted fs from crashing kernel in erofs_namei() 2019-02-14 10:47:21 +01:00
super.c staging: erofs: complete POSIX ACL support 2019-01-30 15:38:50 +01:00
TODO staging: erofs: update erofs-utils information in TODO 2018-12-06 16:08:56 +01:00
unzip_pagevec.h staging: erofs: unzip_{pagevec.h,vle.c}: rectify BUG_ONs 2018-12-12 10:56:34 +01:00
unzip_vle.c staging: erofs: fix to handle error path of erofs_vmap() 2019-03-18 07:56:14 +01:00
unzip_vle.h staging: erofs: compressed_pages should not be accessed again after freed 2019-02-27 15:41:57 +01:00
unzip_vle_lz4.c staging: erofs: fix to handle error path of erofs_vmap() 2019-03-18 07:56:14 +01:00
utils.c staging: erofs: staticize erofs_shrink_count, erofs_shrink_scan 2019-01-18 10:37:16 +01:00
xattr.c staging: erofs: fix race of initializing xattrs of a inode at the same time 2019-02-20 11:20:55 +01:00
xattr.h staging: erofs: complete POSIX ACL support 2019-01-30 15:38:50 +01:00