s390/zcrypt: Fix memory leak with CCA cards used as accelerator
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
s390/zcrypt: Fix memory leak with CCA cards used as accelerator
Tests showed that there is a memory leak if CCA cards are used as accelerator for clear key RSA requests (ME and CRT). With the last rework for the memory allocation the AP messages are allocated by ap_init_apmsg() but for some reason on two places (ME and CRT) the older allocation was still in place. So the first allocation simple was never freed.
From the CVE record · Linux
The Linux kernel's s390/zcrypt component leaks memory when CCA cards are used as accelerators for clear-key RSA ME or CRT requests. Repeated requests can consume memory; the input does not specify whether an attacker can trigger them remotely or locally, or whether authentication or user interaction is required.
Engineers running Linux kernels with s390/zcrypt and CCA cards used for clear-key RSA acceleration should check their systems; affected versions are not specified.