← Database

CVE-2022-49627

MEDIUM CVSS: 5.5 Published: 2025-02-26 Modified: 2026-06-17

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 Platforms

Linux Linux Kernel

Weakness Type

CWE-401, CWE-401

References