Re: [patch 05/41] x86/fpu: Limit xstate copy size in xstateregs_set()

From: Thomas Gleixner
Date: Fri Jun 11 2021 - 15:37:31 EST


On Fri, Jun 11 2021 at 11:37, Andy Lutomirski wrote:
> On 6/11/21 9:15 AM, Thomas Gleixner wrote:
>> If the count argument is larger than the xstate size, this will happily
>> copy beyond the end of xstate.
>
> Reviewed-by: Andy Lutomirski <luto@xxxxxxxxxx>
>
> This interface is horrible. Oh well.

It's ptrace is must be horrible :)