]> git.ipfire.org Git - thirdparty/grub.git/commit
fs/ntfs: Fix an OOB read when parsing directory entries from resident and non-residen...
authorMaxim Suhanov <dfirblog@gmail.com>
Mon, 28 Aug 2023 13:33:17 +0000 (16:33 +0300)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 3 Oct 2023 13:38:48 +0000 (15:38 +0200)
commit7e5f031a6a6a3decc2360a7b0c71abbe598e7354
tree15a6f03a85d39c2d68b70c55e6472de09541284a
parent0ed2458cc4eff6d9a9199527e2a0b6d445802f94
fs/ntfs: Fix an OOB read when parsing directory entries from resident and non-resident index attributes

This fix introduces checks to ensure that index entries are never read
beyond the corresponding directory index.

The lack of this check is a minor issue, likely not exploitable in any way.

Reported-by: Maxim Suhanov <dfirblog@gmail.com>
Signed-off-by: Maxim Suhanov <dfirblog@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/fs/ntfs.c