Re: [PATCH] x86/sev: Fix dereference NULL return value

From: Shresth Prasad
Date: Tue Nov 19 2024 - 11:35:56 EST


On Tue, Nov 19, 2024 at 5:33 PM Markus Elfring <Markus.Elfring@xxxxxx> wrote:
>
> > Skip to the next CPU if `pte` is assigned NULL by `lookup_address`
>
> a null pointer was returned by a lookup_address() call.
>
>
> * How do you think about to add any tags (like “Fixes” and “Cc”) accordingly?

For the Fixes tag, I'm not sure which commit hash I should put. Should I use
the commit where the function was introduced?

>
> * Would a summary phrase like “Prevent null pointer dereference in snp_kexec_finish()”
> be a bit nicer?

You're right, I'll change the phrasing. Thank you for the feedback.

Best Regards,
Shresth