Files
linux/fs/f2fs
Ocean Chen 6d94cefc3d f2fs: avoid out-of-range memory access
[ Upstream commit 56f3ce6751 ]

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>
2019-07-31 07:28:55 +02:00
..
2016-09-14 16:52:36 -07:00
2019-05-31 06:47:10 -07:00
2019-05-31 06:47:10 -07:00
2019-05-31 06:47:10 -07:00
2019-01-31 08:13:48 +01:00