← CVE Intelligence

CVE-2022-49566

crypto: qat - fix memory leak in RSA PUBLISHED

Description (CNA)

In 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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 879f77e9071f029e1c9bd5a75814ecf51370f846 before a843925e0287eebb4aa808666bf22c664dfe4c53; affected 879f77e9071f029e1c9bd5a75814ecf51370f846 before 0f967fdc09955221a1951a279481b0bf4d359941; affected 879f77e9071f029e1c9bd5a75814ecf51370f846 before 80a52e1ee7757b742f96bfb0d58f0c14eb6583d0
Linux / Linuxaffected 4.8; unaffected 0 before 4.8; unaffected 5.15.58 through 5.15.*; unaffected 5.18.15 through 5.18.*; unaffected 5.19 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.