Re: [PATCH] powerpc: check previous kernel's ima-kexec-buffer against memory bounds
From: Vaibhav Jain
Date: Tue May 24 2022 - 01:58:09 EST
Michael Ellerman <mpe@xxxxxxxxxxxxxx> writes:
<snip>
>
> Rob's point is that commit fee3ff99bc67 only moved existing code, the
> bug already existed.
>
> The function was introduced in:
>
> 467d27824920 ("powerpc: ima: get the kexec buffer passed by the previous kernel")
>
> So that's where the Fixes tag should point.
Thanks Mpe for explaining and apologies Rob as I initially didnt get the
point you made. I wrongly assumed that since the patch can only be
applied on top of commit fee3ff99bc67 hence fixes should point to
fee3ff99bc67.
I have sent out a v2 with the updated Fixes tag and also changes as
suggested by Mpe and Rob at
https://lore.kernel.org/all/20220524055042.1527968-1-vaibhav@xxxxxxxxxxxxx/
--
Cheers
~ Vaibhav