CVE-2022-49627 Details
Description
In the Linux kernel, the following vulnerability has been resolved: ima: Fix potential memory leak in ima_init_crypto() On failure to allocate the SHA1 tfm, IMA fails to initialize and exits without freeing the ima_algo_array. Add the missing kfree() for ima_algo_array to avoid the potential memory leak.
A vulnerability in the Linux kernel's Integrity Measurement Architecture (IMA) could lead to a memory leak. This issue arises in the 'ima_init_crypto()' function, where the initialization process fails to properly allocate the SHA1 transformation. As a result, IMA cannot complete its initialization and exits without freeing the 'ima_algo_array', creating a potential memory leak. The vulnerability has been addressed by adding the missing 'kfree()' function to release the 'ima_algo_array' and prevent the memory leak.
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/067d2521874135267e681c19d42761c601d503d6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/601ae26aa2802a4c10c94d7388a99eabdbefab2b | kernel.org | Patch |
| https://git.kernel.org/stable/c/830de9667b3ada0a75a3f098dfc7159709fe397b | kernel.org | Patch |
| https://git.kernel.org/stable/c/c1d9702ceb4a091da6bee380627596d1fba09274 | 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 | >= 5.8, < 5.10.132 >= 5.11, < 5.15.56 >= 5.16, < 5.18.13 5.19 rc1 5.19 rc2 5.19 rc3 5.19 rc4 5.19 rc5 5.19 rc6 |
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 11, 2025 | Initial Analysis | [email protected] |
| Feb 26, 2025 | New CVE Received | kernel.org |