Re: [PATCH v2 0/4] ntfs: tighten EA and index metadata validation

From: Namjae Jeon

Date: Sun May 24 2026 - 22:56:58 EST


On Sat, May 23, 2026 at 1:14 PM Hyunchul Lee <hyc.lee@xxxxxxxxx> wrote:
>
> This series tightens validation of on-disk NTFS metadata in the read path.
>
> The first four patches move index validation closer to the point
> where index metadata is read and tighten the structural checks for both
> $INDEX_ROOT and INDX block headers. The last patch adds a missing bounds
> check before accessing fields in an EA entry.
>
> To: Namjae Jeon <linkinjeon@xxxxxxxxxx>
> Cc: linux-fsdevel@xxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Cc: charsyam@xxxxxxxxx
> Signed-off-by: Hyunchul Lee <hyc.lee@xxxxxxxxx>
>
> Hyunchul Lee (4):
> ntfs: validate index block header more strictly
> ntfs: centalize $INDEX_ROOT header validation
> ntfs: validate index entries on reading
> ntfs: add bounds check before accessing EA entries
Applied them to #ntfs-next.
Thanks!