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>
Loading
Please register or sign in to comment