NetSight
medium5.5

CVE-2022-49627

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, IM…

Impact

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 products

VendorProductAffected versions
LinuxLinux Kernel
from 5.8 before 5.10.132
from 5.11 before 5.15.56
from 5.16 before 5.18.13
Version 5.19

Weakness classification

References