mirror of
https://github.com/ukui/kernel.git
synced 2026-03-09 10:07:04 -07:00
f4e97f5d4c
Unexpected out-of-bound data will be read in erofs_read_raw_page after commit07173c3ec2("block: enable multipage bvecs") since one iovec could have multiple pages. Let's fix as what Ming's pointed out in the previous email [1]. [1] https://lore.kernel.org/lkml/20190411080953.GE421@ming.t460p/ Suggested-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Gao Xiang <gaoxiang25@huawei.com> Fixes:07173c3ec2("block: enable multipage bvecs") Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>