]> git.ipfire.org Git - thirdparty/grub.git/commit
fs/ntfs: Fix an OOB read when parsing bitmaps for index attributes
authorMaxim Suhanov <dfirblog@gmail.com>
Mon, 28 Aug 2023 13:33:44 +0000 (16:33 +0300)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 3 Oct 2023 13:38:48 +0000 (15:38 +0200)
commit7a5a116739fa6d8a625da7d6b9272c9a2462f967
tree0c3143bc9c6e1f105a3c65e99a7d5bd8255ff016
parent7e5f031a6a6a3decc2360a7b0c71abbe598e7354
fs/ntfs: Fix an OOB read when parsing bitmaps for index attributes

This fix introduces checks to ensure that bitmaps for directory indices
are never read beyond their actual sizes.

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