Linux s390 Architecture development
 help / color / mirror / Atom feed
* [PATCH 0/2] s390/cert_store: Restrict link creation and key type creation
@ 2026-11-23 10:23 Heiko Carstens
  2026-11-23 10:23 ` [PATCH 1/2] s390/cert_store: Allocate keyring with link restriction Heiko Carstens
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Heiko Carstens @ 2026-11-23 10:23 UTC (permalink / raw)
  To: Jarkko Sakkinen, Anastasia Eskova
  Cc: Sven Schnelle, Peter Oberparleiter, Vasily Gorbik,
	Alexander Gordeev, Christian Borntraeger, keyrings, linux-s390

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
-- 
2.53.0

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-11-23 14:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23 10:23 [PATCH 0/2] s390/cert_store: Restrict link creation and key type creation Heiko Carstens
2026-11-23 10:23 ` [PATCH 1/2] s390/cert_store: Allocate keyring with link restriction Heiko Carstens
2026-11-23 13:42   ` Jarkko Sakkinen
2026-11-23 14:11     ` Heiko Carstens
2026-11-23 14:18       ` Jarkko Sakkinen
2026-11-23 14:20         ` Jarkko Sakkinen
2026-11-23 10:23 ` [PATCH 2/2] s390/cert_store: Only allow the kernel to create cert_store_key keys Heiko Carstens
2026-11-23 13:43   ` Jarkko Sakkinen
2026-11-23 10:31 ` [PATCH 0/2] s390/cert_store: Restrict link creation and key type creation sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox