alistair23-linux/security/integrity
Roberto Sassu 45fae74939 ima: free duplicate measurement memory
Info about new measurements are cached in the iint for performance.  When
the inode is flushed from cache, the associated iint is flushed as well.
Subsequent access to the inode will cause the inode to be re-measured and
will attempt to add a duplicate entry to the measurement list.

This patch frees the duplicate measurement memory, fixing a memory leak.

Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Cc: stable@vger.kernel.org
2011-12-19 22:04:32 -05:00
..
evm evm: prevent racing during tfm allocation 2011-12-08 10:06:12 +11:00
ima ima: free duplicate measurement memory 2011-12-19 22:04:32 -05:00
digsig.c integrity: digital signature verification using multiple keyrings 2011-11-09 16:51:09 +02:00
iint.c evm: clean verification status 2011-09-14 15:24:52 -04:00
integrity.h integrity: digital signature verification using multiple keyrings 2011-11-09 16:51:09 +02:00
Kconfig digsig: build dependency fix 2011-11-22 10:02:32 +11:00
Makefile integrity: digital signature verification using multiple keyrings 2011-11-09 16:51:09 +02:00