All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vasily Gorbik <gor@linux.ibm.com>
To: Gerald Schaefer <gerald.schaefer@linux.ibm.com>
Cc: linux-s390 <linux-s390@vger.kernel.org>,
	Sven Schnelle <svens@linux.ibm.com>,
	Alexander Gordeev <agordeev@linux.ibm.com>
Subject: Re: [PATCH] s390/mm: Fix type mismatch in get_align_mask().
Date: Fri, 3 Jul 2026 11:47:16 +0200	[thread overview]
Message-ID: <t@ub.hpns> (raw)
In-Reply-To: <20260630173214.3114408-1-gerald.schaefer@linux.ibm.com>

On Tue, Jun 30, 2026 at 07:32:14PM +0200, Gerald Schaefer wrote:
> Commit 86f48f922ba79 ("s390/mmap: disable mmap alignment when
> randomize_va_space = 0") introduced get_align_mask() with return type of
> 'int', while the target field 'info.align_mask' in struct
> vm_unmapped_area_info is 'unsigned long'.
> 
> With currently used masks, this should not cause truncation issues, but
> fix it and return 'unsigned long' to avoid future problems.
> 
> Fixes: 86f48f922ba79 ("s390/mmap: disable mmap alignment when randomize_va_space = 0")
> Cc: stable@vger.kernel.org # v6.9+
> Signed-off-by: Gerald Schaefer <gerald.schaefer@linux.ibm.com>
> ---
>  arch/s390/mm/mmap.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thank you!

WARNING: multiple messages have this Message-ID (diff)
From: Vasily Gorbik <gor@linux.ibm.com>
To: Rongguang Wei <clementwei90@163.com>
Cc: linux-s390@vger.kernel.org, freude@linux.ibm.com,
	hca@linux.ibm.com, dengler@linux.ibm.com, svens@linux.ibm.com,
	Rongguang Wei <weirongguang@kylinos.cn>
Subject: Re: [PATCH v1] s390/zcrypt: Remove the empty file
Date: Fri, 3 Jul 2026 11:58:16 +0200	[thread overview]
Message-ID: <t@ub.hpns> (raw)
Message-ID: <20260703095816.bFi7F_1IKOb0ZyjW0oV2OCB33AdUpjmt9oonBfXJSPM@z> (raw)
In-Reply-To: <20260626055820.376212-1-clementwei90@163.com>

On Fri, Jun 26, 2026 at 01:58:20PM +0800, Rongguang Wei wrote:
> From: Rongguang Wei <weirongguang@kylinos.cn>
> 
> The files has no real user because CEX2 and CEX3 device drivers
> are removed, also remove these empty files.
> 
> Fixes: 5ac8c72462cd ("s390/zcrypt: remove CEX2 and CEX3 device drivers")
> Signed-off-by: Rongguang Wei <weirongguang@kylinos.cn>
> ---
>  drivers/s390/crypto/zcrypt_cex2a.c | 0
>  drivers/s390/crypto/zcrypt_cex2a.h | 0
>  drivers/s390/crypto/zcrypt_cex2c.c | 0
>  drivers/s390/crypto/zcrypt_cex2c.h | 0
>  4 files changed, 0 insertions(+), 0 deletions(-)
>  delete mode 100644 drivers/s390/crypto/zcrypt_cex2a.c
>  delete mode 100644 drivers/s390/crypto/zcrypt_cex2a.h
>  delete mode 100644 drivers/s390/crypto/zcrypt_cex2c.c
>  delete mode 100644 drivers/s390/crypto/zcrypt_cex2c.h

Applied, thank you!

WARNING: multiple messages have this Message-ID (diff)
From: Vasily Gorbik <gor@linux.ibm.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Heiko Carstens <hca@linux.ibm.com>,
	Alexander Gordeev <agordeev@linux.ibm.com>,
	linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org
Subject: [GIT PULL] s390 updates for 7.2-rc2
Date: Sat, 4 Jul 2026 18:27:54 +0200	[thread overview]
Message-ID: <t@ub.hpns> (raw)
Message-ID: <20260704162754.hJ_OC5sYW7E2VwEaE_owX5yg175FOc3MFL7PLLKRnpI@z> (raw)

Hello Linus,

please pull s390 fixes for 7.2-rc2.

Thank you,
Vasily

The following changes since commit dc59e4fea9d83f03bad6bddf3fa2e52491777482:

  Linux 7.2-rc1 (2026-06-28 12:01:31 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 2995ccec260caa9e85b3301a4aba1e66ed80ad74:

  s390/monwriter: Reject buffer reuse with different data length (2026-07-02 16:51:06 +0200)

----------------------------------------------------------------
s390 updates for 7.2-rc2

- Fix PKEY_VERIFYPROTK ioctl key type handling by removing the generic
  key-length based type check with its wrong bit-size calculation,
  and leaving protected key verification to the pkey handler

- Fix monwriter buffer reuse by rejecting records that change the data
  length, preventing out of bounds user copy into the kernel buffer

----------------------------------------------------------------
Gerald Schaefer (1):
      s390/monwriter: Reject buffer reuse with different data length

Holger Dengler (1):
      pkey: Move keytype check from pkey api to handler

 drivers/s390/char/monwriter.c  |  3 +++
 drivers/s390/crypto/pkey_api.c | 11 +----------
 2 files changed, 4 insertions(+), 10 deletions(-)

  parent reply	other threads:[~2026-07-03  9:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-30 17:32 [PATCH] s390/mm: Fix type mismatch in get_align_mask() Gerald Schaefer
2026-07-01  6:25 ` Sven Schnelle
2026-07-03  9:47 ` Vasily Gorbik [this message]
2026-07-04 16:27   ` [GIT PULL] s390 updates for 7.2-rc2 Vasily Gorbik
2026-07-03  9:58   ` [PATCH v1] s390/zcrypt: Remove the empty file Vasily Gorbik
2026-07-04 16:42   ` [GIT PULL] s390 updates for 7.2-rc2 pr-tracker-bot
  -- strict thread matches above, loose matches on Subject: below --
2026-06-26  5:58 [PATCH v1] s390/zcrypt: Remove the empty file Rongguang Wei
2026-06-26 13:22 ` Holger Dengler

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=t@ub.hpns \
    --to=gor@linux.ibm.com \
    --cc=agordeev@linux.ibm.com \
    --cc=gerald.schaefer@linux.ibm.com \
    --cc=linux-s390@vger.kernel.org \
    --cc=svens@linux.ibm.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.