Thread (14 messages) 14 messages, 4 authors, 2022-09-27

Re: [PATCH 5.15 0/6] arm64: kexec_file: use more system keyrings to verify kernel image signature + dependencies

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2022-09-24 10:13:53
Also in: kexec, keyrings, linux-arm-kernel, linux-s390, linux-security-module, lkml, stable

On Sat, Sep 24, 2022 at 11:45:21AM +0200, Michal Suchánek wrote:
On Sat, Sep 24, 2022 at 11:19:19AM +0200, Greg Kroah-Hartman wrote:
quoted
On Fri, Sep 23, 2022 at 07:10:28PM +0200, Michal Suchanek wrote:
quoted
Hello,

this is backport of commit 0d519cadf751
("arm64: kexec_file: use more system keyrings to verify kernel image signature")
to table 5.15 tree including the preparatory patches.
This feels to me like a new feature for arm64, one that has never worked
before and you are just making it feature-parity with x86, right?

Or is this a regression fix somewhere?  Why is this needed in 5.15.y and
why can't people who need this new feature just use a newer kernel
version (5.19?)
It's half-broken implementation of the kexec kernel verification. At the time
it was implemented for arm64 we had the platform and secondary keyrings
and x86 was using them but on arm64 the initial implementation ignores
them.
Ok, so it's something that never worked.  Adding support to get it to
work doesn't really fall into the stable kernel rules, right?

Again, what's wrong with 5.19 for anyone who wants this?  Who does want
this?

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help