Skip to content

s390/cert_store: Restrict link creation and key type creation

Heiko Carstens keyrings linux-s390 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2s390/cert_store: Allocate keyring with link restrictionarch/s390/kernel/cert_store.c+11 -104 replies
2/2s390/cert_store: Only allow the kernel to create cert_store_key keysarch/s390/kernel/cert_store.c+17 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJarkko Sakkinen
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] s390/cert_store: Restrict link creation and key type creation

Two more patches from Anastasia, which apply on top of linux-next 20261120, which includes all the previous cert_store fixes:

Patch 1 allocates the keyring with a restriction which rejects all links, so a possessor of the keyring can no longer link arbitrary keys into it before the certificates have been added.

Patch 2 only allows the kernel to create cert_store_key keys. Fixes potential disclosure of adjacent kernel heap memory to user space.

Thanks,
Heiko

Anastasia Eskova (2):
s390/cert_store: Allocate keyring with link restriction s390/cert_store: Only allow the kernel to create cert_store_key keys

 arch/s390/kernel/cert_store.c | 38 ++++++++++++++++++++++++++---------
 1 file changed, 28 insertions(+), 10 deletions(-)

base-commit: 909ef7a9a30fa139e69e555e3606680f5cca7726

Signature · 1 line
2.53.0