Files
kernel/fs/f2fs/inline.c
Chao Yu 6290d3f588 f2fs: fix to do sanity check on blocks for inline_data inode
[ Upstream commit c240c87bcd ]

inode can be fuzzed, so it can has F2FS_INLINE_DATA flag and valid
i_blocks/i_nid value, this patch supports to do extra sanity check
to detect such corrupted state.

Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-09-08 07:54:47 +02:00

19 KiB