commit | f3494345ce9999624b36109252a4bf5f00e51a46 | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Thu Apr 23 17:57:33 2020 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Mon May 11 20:37:13 2020 -0700 |
tree | c57303ff36fddfdf9be78c0d1cbef9ba8bc2fef6 | |
parent | 03382f1aa99f438f8e9dc7562c7368f55ba8f56c [diff] |
f2fs: fix potential use-after-free issue In error path of f2fs_read_multi_pages(), it should let last referrer release decompress io context memory, otherwise, other referrer will cause use-after-free issue. Fixes: 4c8ff7095bef ("f2fs: support data compression") Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>