[PATCH 1/2] KEYS: trusted: fix DCP blob payload length assignment

Jarkko Sakkinen jarkko.sakkinen at iki.fi
Wed Jul 17 11:27:28 UTC 2024


On Wed Jul 17, 2024 at 2:03 PM EEST, David Gstir wrote:
> Jarkko,
>
> > On 17.07.2024, at 12:07, Jarkko Sakkinen <jarkko at kernel.org> wrote:
> > 
> > On Wed Jul 3, 2024 at 3:53 PM EEST, David Gstir wrote:
> >> The DCP trusted key type uses the wrong helper function to store
> >> the blob's payload length which can lead to the wrong byte order
> >> being used in case this would ever run on big endian architectures.
> >> 
> >> Fix by using correct helper function.
> >> 
> >> Signed-off-by: David Gstir <david at sigma-star.at>
> >> Suggested-by: Richard Weinberger <richard at nod.at>
> > 
> > You cannot suggest a change that you author yourself.
> > 
> >> Reported-by: kernel test robot <lkp at intel.com>
> >> Closes: https://lore.kernel.org/oe-kbuild-all/202405240610.fj53EK0q-lkp@intel.com/
> >> Fixes: 2e8a0f40a39c ("KEYS: trusted: Introduce NXP DCP-backed trusted keys")
> > 
> > Tags are in wrong order. For next round:
>
> here’s me relying on checkpatch.pl to tell me this, but it did not. :-/
> Anyways, thanks for reviewing! I’ll fix the tags and send v2.

Cool, might take over a week before response from my side but I'm sure
we get this to some rc of 6.11. I've purposely kept my 6.11 PR feature
free because the merge window was right in the middle of my holiday
:-)

BR, Jarkko



More information about the Linux-security-module-archive mailing list