Re: [PATCH v11 0/5] Improve code in zcrypt msg type 6 handling
Vasily Gorbik <[email protected]>
| Newsgroups | org.kernel.vger.linux-s390 |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Aug 03, 2026 at 10:33:33AM +0200, Harald Freudenberger wrote: > Rework the limit and overflow checks in the both functions > xcrb_msg_to_type6_ep11cprb_msgx() and xcrb_msg_to_type6cprb_msgx(). > And more ... all related to the length checks done in these both > functions. ... > Harald Freudenberger (5): > s390/zcrypt: Fix CPRB memory allocation in zcrypt misc code > s390/zcrypt: Improve CCA CPRB length and overflow checks > s390/zcrypt: Improve EP11 CPRB length and overflow checks > s390/zcrypt: Improve EP11 CPRB domain handling with ASN.1 parsing > s390/zcrypt: Pad trailing CCA or EP11 message with zeros > > drivers/s390/crypto/zcrypt_ccamisc.c | 20 +- > drivers/s390/crypto/zcrypt_ep11misc.c | 16 +- > drivers/s390/crypto/zcrypt_msgtype6.c | 366 ++++++++++++++++++-------- > 3 files changed, 278 insertions(+), 124 deletions(-) Applied, thank you!