{"id":"CVE-2022-49627","summary":"ima: Fix potential memory leak in ima_init_crypto()","details":"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.","modified":"2026-04-02T08:27:46.308781Z","published":"2025-02-26T02:23:41.763Z","related":["ALSA-2025:20518","SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1194-1","SUSE-SU-2025:1241-1","SUSE-SU-2025:1263-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49627.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/067d2521874135267e681c19d42761c601d503d6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/601ae26aa2802a4c10c94d7388a99eabdbefab2b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/830de9667b3ada0a75a3f098dfc7159709fe397b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c1d9702ceb4a091da6bee380627596d1fba09274"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49627.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49627"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6d94809af6b0830c4dfcad661535a5939bcb8a7d"},{"fixed":"c1d9702ceb4a091da6bee380627596d1fba09274"},{"fixed":"601ae26aa2802a4c10c94d7388a99eabdbefab2b"},{"fixed":"830de9667b3ada0a75a3f098dfc7159709fe397b"},{"fixed":"067d2521874135267e681c19d42761c601d503d6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49627.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}