summaryrefslogtreecommitdiff
path: root/fs/f2fs/gc.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2020-04-23 12:57:33 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2020-05-12 06:37:13 +0300
commitf3494345ce9999624b36109252a4bf5f00e51a46 (patch)
treec57303ff36fddfdf9be78c0d1cbef9ba8bc2fef6 /fs/f2fs/gc.c
parent03382f1aa99f438f8e9dc7562c7368f55ba8f56c (diff)
downloadlinux-f3494345ce9999624b36109252a4bf5f00e51a46.tar.xz
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>
Diffstat (limited to 'fs/f2fs/gc.c')
0 files changed, 0 insertions, 0 deletions