]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ntfs: harden ntfs_ea_lookup against malformed EA entries
authorHyunchul Lee <hyc.lee@gmail.com>
Mon, 9 Mar 2026 07:06:46 +0000 (16:06 +0900)
committerNamjae Jeon <linkinjeon@kernel.org>
Mon, 16 Mar 2026 11:27:38 +0000 (20:27 +0900)
commitc451d34ae14201c2bb40652bf74072a79ff82f7d
treec0096c2858635cee90499222324839a0769b3d08
parent10993e525b1ee81cbe02a8ca7d0005712f6b3d82
ntfs: harden ntfs_ea_lookup against malformed EA entries

Validate p_ea->ea_name_length tightly, and the used entry size
for every EA.

Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
fs/ntfs/ea.c