Re: [PATCH v3 0/2] let kexec_file_load use platform keyring to verify the kernel image

From: Mimi Zohar
Date: Thu Jan 17 2019 - 20:53:14 EST


On Fri, 2019-01-18 at 09:35 +0800, Dave Young wrote:
> On 01/17/19 at 08:08pm, Mimi Zohar wrote:

> > It's taken so long for me to review/test this patch set due to a
> > regression in sanity_check_segment_list(), introduced somewhere
> > between 4.20 and 5.0.0-rc1. ÂThe sgement overlap test - "if ((mend >
> > pstart) && (mstart < pend))" - fails, returning a -EINVAL.
> >
> > Is anyone else seeing this?
>
> Mimi, should be this issue? I have sent a fix for that.
> https://lore.kernel.org/lkml/20181228011247.GA9999@xxxxxxxxxxxxxxxxxxxxxxxxxx/

Thanks, that resolved the regression.

Mimi