{"id":"CVE-2022-49627","published":"2025-02-26T02:23:41Z","modified":"2026-05-11T19:03:35Z","title":"ima: Fix potential memory leak in ima_init_crypto()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nima: Fix potential memory leak in ima_init_crypto()\n\nOn failure to allocate the SHA1 tfm, IMA fails to initialize and exits\nwithout freeing the ima_algo_array. Add the missing kfree() for\nima_algo_array to avoid the potential memory leak.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00271,"percentile":0.19724,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"references":[{"url":"https://git.kernel.org/stable/c/c1d9702ceb4a091da6bee380627596d1fba09274","tags":[]},{"url":"https://git.kernel.org/stable/c/601ae26aa2802a4c10c94d7388a99eabdbefab2b","tags":[]},{"url":"https://git.kernel.org/stable/c/830de9667b3ada0a75a3f098dfc7159709fe397b","tags":[]},{"url":"https://git.kernel.org/stable/c/067d2521874135267e681c19d42761c601d503d6","tags":[]}],"priority":{"score":7.8,"factors":[{"name":"EPSS percentile","points":3.94},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 6d94809af6b0830c4dfcad661535a5939bcb8a7d, < c1d9702ceb4a091da6bee380627596d1fba09274",">= 6d94809af6b0830c4dfcad661535a5939bcb8a7d, < 601ae26aa2802a4c10c94d7388a99eabdbefab2b",">= 6d94809af6b0830c4dfcad661535a5939bcb8a7d, < 830de9667b3ada0a75a3f098dfc7159709fe397b",">= 6d94809af6b0830c4dfcad661535a5939bcb8a7d, < 067d2521874135267e681c19d42761c601d503d6"]},{"vendor":"Linux","product":"Linux","versions":["5.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T20:08:43.524429Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-54605","exploited":false,"provenance":"source"}}