linux-stable/security/integrity/ima
Roberto Sassu 45d08c973d ima: free duplicate measurement memory
commit 45fae74939 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2012-01-25 13:53:20 -08:00
..
ima_api.c ima: free duplicate measurement memory 2012-01-25 13:53:20 -08:00
ima_audit.c IMA: use current_cred() instead of current->cred 2009-05-12 11:06:01 +10:00
ima_crypto.c ima: hashing large files bug fix 2009-08-24 14:58:29 +10:00
ima_fs.c const: constify remaining file_operations 2009-10-01 16:11:11 -07:00
ima_iint.c ima: replace GFP_KERNEL with GFP_NOFS 2009-11-19 08:42:01 +11:00
ima_init.c IMA: Add __init notation to ima functions 2009-05-22 09:34:21 +10:00
ima_main.c IMA: update ima_counts_put 2009-09-07 11:54:58 +10:00
ima_policy.c ima: fix add LSM rule bug 2011-01-07 14:43:17 -08:00
ima_queue.c ima: free duplicate measurement memory 2012-01-25 13:53:20 -08:00
ima.h integrity: audit update 2009-02-12 09:40:14 +11:00
Kconfig ima: fix build error 2009-02-13 09:27:56 +11:00
Makefile integrity: IMA display 2009-02-06 09:05:31 +11:00