mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] s390 fixes for 7.4-rc5
@ 2026-11-27  9:51 Alexander Gordeev
  2026-11-27 18:10 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Gordeev @ 2026-11-27  9:51 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Vasily Gorbik, Heiko Carstens, linux-s390, linux-kernel

Hi Linus,

please pull s390 fixes for 7.4-rc5.

Thanks,
Alexander Gordeev

The following changes since commit 64ee7f863655e67f26947420516daba4e232675d:

  s390/dcssblk: Initialize device semaphore before sysfs registration (2026-11-05 17:54:25 +0100)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git tags/s390-7.4-3

for you to fetch changes up to 23a04cb4f2bdbfc87fc4e1c15450e7f8cfc9842a:

  s390/cert_store: Only allow the kernel to create cert_store_key keys (2026-11-23 15:15:58 +0100)

----------------------------------------------------------------
s390 fixes for 7.4-rc5

- Fix in the cert_store code keyring locking, lifetime handling,
  missing error and return code checks, several reference leaks
  and potential use-after-free issues caused by unbalanced keyring
  reference counting

- Look up the cert_store keyring only in the user session keyring.
  As result a foreign keyring named "cert_store", which a task may
  have inherited, is no longer destroyed during refresh

- Fix out-of-bounds reads in hash validation and in Verification
  Certificate Entry (VCE) debug output, avoid copying uninitialized
  DIAG 320 data to the debug area, and print the correct value of
  max_vcxe_length

- Allocate the cert_store keyring with a link restriction, so that
  arbitrary keys cannot be linked into it

- Allow only the kernel to create keys of type cert_store_key. This
  prevents users from creating such keys with short descriptions,
  which could disclose kernel heap memory via /proc/keys

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

Heiko Carstens (14):
      s390/cert_store: Fix return code handling in invalidate_keyring_keys()
      s390/cert_store: Fix potential use-after-free in invalidate_keyring_keys()
      s390/cert_store: Check key_lookup() return code in invalidate_keyring_keys()
      s390/cert_store: Unlink before invalidate in invalidate_keyring_keys()
      s390/cert_store: Fix cs_keyring reference leak in fill_cs_keyring()
      s390/cert_store: Fix potential use-after-free caused by find_cs_keyring()
      s390/cert_store: Remove unnecessary static specifier in create_cs_keyring()
      s390/cert_store: Fix error handling of get_user_session_keyring()
      s390/cert_store: Fix keyring refcount handling in get_user_session_keyring()
      s390/cert_store: Do not search the process keyrings for the cert_store keyring
      s390/cert_store: Validate hash length in check_certificate_valid()
      s390/cert_store: Fix max_vcxe_length output in pr_dbf_vcssb()
      s390/cert_store: Fix out-of-bounds read in pr_dbf_vce()
      s390/cert_store: Initialize ism array in query_diag320_subcodes()

Jarkko Sakkinen (1):
      s390/cert_store: Hold keyring->sem while reading the keyring

 arch/s390/kernel/cert_store.c | 139 ++++++++++++++++++++++++++----------------
 1 file changed, 87 insertions(+), 52 deletions(-)

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

end of thread, other threads:[~2026-11-27 18:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27  9:51 [GIT PULL] s390 fixes for 7.4-rc5 Alexander Gordeev
2026-11-27 18:10 ` pr-tracker-bot

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

all inboxes | Powered by JetHome®