Re: [PATCH] xen/x86/vpmu: Zero struct pt_regs before calling into sample handling code

From: Boris Ostrovsky
Date: Thu Sep 20 2018 - 12:56:28 EST


On 7/13/18 4:41 AM, Juergen Gross wrote:
> On 12/07/18 19:27, Boris Ostrovsky wrote:
>> Otherwise we may leak kernel stack for events that sample user
>> registers.
>>
>> Reported-by: Mark Rutland <mark.rutland@xxxxxxx>
>> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
>> Cc: stable@xxxxxxxxxxxxxxx
> Reviewed-by: Juergen Gross <jgross@xxxxxxxx>
>

Belatedly, applied to for-linus-4.19d

-boris