All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] Fix wrong domain value verification with EP11 cards
@ 2026-07-22 14:38 Harald Freudenberger
  2026-07-22 14:38 ` [PATCH v2 1/1] s390/zcrypt: Fix wrong domain value verification with EP11 CPRBs Harald Freudenberger
  0 siblings, 1 reply; 3+ messages in thread
From: Harald Freudenberger @ 2026-07-22 14:38 UTC (permalink / raw)
  To: Heiko Carstens, Vasily Gorbik, Alexander Gordeev; +Cc: freude, linux-s390

There is a wrong upper limit check for the domain value when an EP11
CPRB is processed for sending to a crypto card. This check is only
active on custom device nodes but may lead to access heap memory
behind perms->adm when an administrative CPRB is sent.
Add correct limit (AP_DOMAINS = 256) checking to fix this.

v1: initial version
v2: Resend without any code changes, just Finn's reviewed by added.

Harald Freudenberger (1):
  s390/zcrypt: Fix wrong domain value verification with EP11 CPRBs

 drivers/s390/crypto/zcrypt_api.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-07-22 14:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-22 14:38 [PATCH v2 0/1] Fix wrong domain value verification with EP11 cards Harald Freudenberger
2026-07-22 14:38 ` [PATCH v2 1/1] s390/zcrypt: Fix wrong domain value verification with EP11 CPRBs Harald Freudenberger
2026-07-22 14:53   ` sashiko-bot

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.