Skip to content

s390/zcrypt: Validate length in CCA key requests

Holger Dengler linux-s390 sashiko-reviews 1 version Applied

Status from this message: Applied, thank you!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2s390/zcrypt: Validate length for CCA AES cipher key requestsdrivers/s390/crypto/zcrypt_ccamisc.c+3 -02 replies
2/2s390/zcrypt: Validate length for CCA ECC private key requestsdrivers/s390/crypto/zcrypt_ccamisc.c+3 -02 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchHarald Freudenberger
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/2] s390/zcrypt: Validate length in CCA key requests

The series contains two missing length field validations for requests with CCA AES cipher keys and CCA ECC private keys. In both cases, the length information is used to copy the payload to the request block without checking the available space. Malformed requests can so cause out-of-band writes on the heap.

This series applies on top of Linus' master branch.

Holger Dengler (2):
s390/zcrypt: Validate length for CCA AES cipher key requests s390/zcrypt: Validate length for CCA ECC private key requests

 drivers/s390/crypto/zcrypt_ccamisc.c | 6 ++++++
 1 file changed, 6 insertions(+)

base-commit: fc02acf6ac0ccde0c805c2daa9148683cdd01ba8

Signature · 1 line
2.55.0