mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alexander Gordeev <agordeev@linux.ibm.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Vasily Gorbik <gor@linux.ibm.com>,
	Heiko Carstens <hca@linux.ibm.com>,
	linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [GIT PULL] s390 fixes for 7.4-rc5
Date: Fri, 27 Nov 2026 10:51:36 +0100	[thread overview]
Message-ID: <20261127095136.2292357A6b-agordeev@linux.ibm.com> (raw)

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(-)

             reply	other threads:[~2026-11-27  9:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27  9:51 Alexander Gordeev [this message]
2026-11-27 18:10 ` pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261127095136.2292357A6b-agordeev@linux.ibm.com \
    --to=agordeev@linux.ibm.com \
    --cc=gor@linux.ibm.com \
    --cc=hca@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®