In the Linux kernel, the following vulnerability has been resolved:
ima: Fix potential memory leak in imainitcrypto()
On failure to allocate the SHA1 tfm, IMA fails to initialize and exits without freeing the imaalgoarray. Add the missing kfree() for imaalgoarray to avoid the potential memory leak.