android_kernel_sony_sdm845/security/integrity/evm
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Roberto Sassu 4b9d238c8a evm: Fix possible memory leak in evm_calc_hmac_or_hash()
commit 0c4395fb2aa77341269ea619c5419ea48171883f upstream.

Don't immediately return if the signature is portable and security.ima is
not present. Just set error so that memory allocated is freed before
returning from evm_calc_hmac_or_hash().

Fixes: 50b977481fce9 ("EVM: Add support for portable signature format")
Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Cc: stable@vger.kernel.org
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-20 10:24:19 +02:00
..
evm.h EVM: Add support for portable signature format 2018-12-01 09:44:26 +01:00
evm_crypto.c evm: Fix possible memory leak in evm_calc_hmac_or_hash() 2020-06-20 10:24:19 +02:00
evm_main.c EVM: Add support for portable signature format 2018-12-01 09:44:26 +01:00
evm_posix_acl.c
evm_secfs.c evm: provide a function to set the EVM key from the kernel 2015-12-15 08:53:36 -05:00
Kconfig evm: EVM_LOAD_X509 depends on EVM 2015-12-15 09:57:21 -05:00
Makefile