summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorOcean Chen <oceanchen@google.com>2019-07-08 12:34:56 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-04 09:34:58 +0200
commit77bd558b2a02356a43b6e38de5168c6bb2afe9e8 (patch)
treec498096586ea28d6138fa4dd58df9d8549a302b0 /include/linux/timerqueue.h
parent6507b61cc79d9a25ad11d66520acadd046957f3e (diff)
f2fs: avoid out-of-range memory access
[ Upstream commit 56f3ce675103e3fb9e631cfb4131fc768bc23e9a ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions