crypto: qat - fix memory leak in RSA
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 |
|
|
5.15.585.18.155.19In the Linux kernel, the following vulnerability has been resolved:
crypto: qat - fix memory leak in RSA
When an RSA key represented in form 2 (as defined in PKCS #1 V2.1) is used, some components of the private key persist even after the TFM is released. Replace the explicit calls to free the buffers in qat_rsa_exit_tfm() with a call to qat_rsa_clear_ctx() which frees all buffers referenced in the TFM context.
From the CVE record · Linux
The Linux kernel's QAT RSA code can leave private-key components in memory after the TFM is released when an RSA key uses PKCS #1 form 2. The input does not establish whether an attacker can access that memory or describe network, authentication, or user-interaction requirements.
Engineers running the Linux kernel with QAT RSA should check their installations; affected versions are not specified.