summaryrefslogtreecommitdiffstats
path: root/mm/khugepaged.c
diff options
context:
space:
mode:
authorGao Xiang <gaoxiang25@huawei.com>2020-01-07 03:25:46 +0100
committerGao Xiang <gaoxiang25@huawei.com>2020-01-11 11:29:19 +0100
commit4d2024370d877f9ac8b98694bcff666da6a5d333 (patch)
tree33e0647654abdca047ab3584abc4a0b26378c84d /mm/khugepaged.c
parenterofs: remove void tagging/untagging of workgroup pointers (diff)
downloadlinux-4d2024370d877f9ac8b98694bcff666da6a5d333.tar.xz
linux-4d2024370d877f9ac8b98694bcff666da6a5d333.zip
erofs: fix out-of-bound read for shifted uncompressed block
rq->out[1] should be valid before accessing. Otherwise, in very rare cases, out-of-bound dirty onstack rq->out[1] can equal to *in and lead to unintended memmove behavior. Link: https://lore.kernel.org/r/20200107022546.19432-1-gaoxiang25@huawei.com Fixes: 7fc45dbc938a ("staging: erofs: introduce generic decompression backend") Cc: <stable@vger.kernel.org> # 5.3+ Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Diffstat (limited to 'mm/khugepaged.c')
0 files changed, 0 insertions, 0 deletions