grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 1/1] xfs: Fix issues found while fuzzing the XFS filesyste


From: Daniel Kiper
Subject: Re: [PATCH v2 1/1] xfs: Fix issues found while fuzzing the XFS filesystem
Date: Tue, 6 Jun 2023 16:23:43 +0200

On Fri, Jun 02, 2023 at 06:08:44PM +0000, Lidong Chen wrote:
> From: Darren Kenny <darren.kenny@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.kenny@oracle.com>
> Signed-off-by: Robbie Harwood <rharwood@redhat.com>
> Signed-off-by: Marta Lewandowska <mlewando@redhat.com>
> Signed-off-by: Lidong Chen <lidong.chen@oracle.com>

Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>

Daniel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]