summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel
diff options
context:
space:
mode:
authorOcean Chen2019-07-08 06:34:56 +0200
committerJaegeuk Kim2019-07-11 03:13:53 +0200
commit56f3ce675103e3fb9e631cfb4131fc768bc23e9a (patch)
tree1a97d2f07bd471ed9bdfdef2fb76a7cdb72d4b2c /arch/s390/kernel
parentf2fs: fix to avoid long latency during umount (diff)
downloadkernel-qcow2-linux-56f3ce675103e3fb9e631cfb4131fc768bc23e9a.tar.gz
kernel-qcow2-linux-56f3ce675103e3fb9e631cfb4131fc768bc23e9a.tar.xz
kernel-qcow2-linux-56f3ce675103e3fb9e631cfb4131fc768bc23e9a.zip
f2fs: avoid out-of-range memory access
blkoff_off might over 512 due to fs corrupt or security vulnerability. That should be checked before being using. Use ENTRIES_IN_SUM to protect invalid value in cur_data_blkoff. Signed-off-by: Ocean Chen <oceanchen@google.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'arch/s390/kernel')
0 files changed, 0 insertions, 0 deletions