CVEvulnerability
CVE-2022-49627
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2025-02-26
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-401
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.
Affected configurations
• linux linux kernel (>= 5.8 < 5.10.132)
• linux linux kernel (>= 5.11 < 5.15.56)
• linux linux kernel (>= 5.16 < 5.18.13)
• linux linux kernel 5.19
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/067d2521874135267e681c19d42761c601d503d6 Patch
- https://git.kernel.org/stable/c/601ae26aa2802a4c10c94d7388a99eabdbefab2b Patch
- https://git.kernel.org/stable/c/830de9667b3ada0a75a3f098dfc7159709fe397b Patch
- https://git.kernel.org/stable/c/c1d9702ceb4a091da6bee380627596d1fba09274 Patch