Comment 0 for bug 1775390

Revision history for this message
bugproxy (bugproxy) wrote :

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.

Upstream commit(s): kernel 4.18
89a0c0ec0d2e3ce0ee9caa00f60c0c26ccf11c21