ACK: [SRU][Bionic][PATCH 0/1] s390/zcrypt: Fix CCA and EP11 CPRB processing failure memory leak.

Khaled Elmously khalid.elmously at canonical.com
Mon Jun 18 17:45:01 UTC 2018


On 2018-06-13 12:12:58 , Joseph Salisbury wrote:
> BugLink: http://bugs.launchpad.net/bugs/1775390
> 
> == SRU Justification ==
> Description: kernel: Fix memory leak on CCA and EP11 CPRB processing.
> 
> Symptom: Kernel memory not freed when CCA or EP11 CPRB processing fails.
> Problem: kfree() in code error path missing.
> 
> Solution: Slight rework of the malloc and free places.
> 
> Reproduction: Run application which sends CCA or EP11 crypto requests
>               to the crypto card(s). Now switch the cards offline with
>               the help of chzcrypt. Monitor top or free output.
> 
> == Fix ==
> 89a0c0ec0d2e ("s390/zcrypt: Fix CCA and EP11 CPRB processing failure memory leak.")
> 
> == Regression Potential ==
> Low.  Limited to s390.
> 
> == Test Case ==
> Verified upfront by IBM during upstream integration.
> 
> Harald Freudenberger (1):
>   s390/zcrypt: Fix CCA and EP11 CPRB processing failure memory leak.
> 
>  drivers/s390/crypto/ap_bus.h          | 17 ++++++++----
>  drivers/s390/crypto/zcrypt_api.c      | 15 ++++++++---
>  drivers/s390/crypto/zcrypt_msgtype6.c | 51 +++++++++++++----------------------
>  3 files changed, 43 insertions(+), 40 deletions(-)
> 

Acked-by: Khalid Elmously <khalid.elmously at canonical.com>





More information about the kernel-team mailing list