On Fri, Jun 02, 2023 at 06:08:44PM +0000, Lidong Chen wrote: > From: Darren Kenny <darren.ke...@oracle.com> > > While performing fuzz testing with XFS filesystem images with ASAN > enabled, several issues were found where the memory accesses are made > beyond the data that is allocated into the struct grub_xfs_data > structure's data field. > > The existing stucture didn't store the size of the memory allocated into > the buffer in the data field and had no way to check it. To resolve > these issues, the data size is stored to enable checks into the data > buffer. > > With these checks in place, the fuzzing corpus no longer cause any > crashes. > > Signed-off-by: Darren Kenny <darren.ke...@oracle.com> > Signed-off-by: Robbie Harwood <rharw...@redhat.com> > Signed-off-by: Marta Lewandowska <mlewa...@redhat.com> > Signed-off-by: Lidong Chen <lidong.c...@oracle.com>
Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com> Daniel _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel