CVE-2022-49566 Details
Description
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.
A memory leak vulnerability has been identified in the Linux kernel's crypto component, specifically within the QuickAssist Technology (QAT) RSA implementation. When an RSA key is used in form 2, as defined by PKCS #1 V2.1, certain parts of the private key remain in memory even after the transformation (TFM) is released. This issue arises because the explicit calls to free the buffers in the 'qat_rsa_exit_tfm()' function do not adequately clear all referenced buffers in the TFM context. The vulnerability has been addressed by replacing these explicit free calls with a single call to 'qat_rsa_clear_ctx()', which properly frees all associated buffers.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0f967fdc09955221a1951a279481b0bf4d359941 | kernel.org | Patch |
| https://git.kernel.org/stable/c/80a52e1ee7757b742f96bfb0d58f0c14eb6583d0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/a843925e0287eebb4aa808666bf22c664dfe4c53 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
| CWE-401 | Missing Release of Memory after Effective Lifetime | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.8, < 5.15.58 >= 5.16, < 5.18.15 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Mar 10, 2025 | Initial Analysis | [email protected] |
| Feb 26, 2025 | New CVE Received | kernel.org |