Skip to contentSkip to conversation

Patch "apparmor: fix ref count leak when profile sha1 hash is read" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Aug 14, 2016

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

apparmor: fix ref count leak when profile sha1 hash is read

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
apparmor-fix-ref-count-leak-when-profile-sha1-hash-is-read.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 0b938a2e2cf0b0a2c8bac9769111545aff0fee97 Mon Sep 17 00:00:00 2001

From: John Johansen <[email protected]>
Date: Wed, 18 Nov 2015 11:41:05 -0800
Subject: apparmor: fix ref count leak when profile sha1 hash is read

From: John Johansen <[email protected]>

commit 0b938a2e2cf0b0a2c8bac9769111545aff0fee97 upstream.

---
 security/apparmor/apparmorfs.c |    1 +
 1 file changed, 1 insertion(+)
security/apparmor/apparmorfs.c +1 -0
@@ -331,6 +331,7 @@ static int aa_fs_seq_hash_show(struct se
 			seq_printf(seq, "%.2x", profile->hash[i]);
 		seq_puts(seq, "\n");
 	}
+	aa_put_profile(profile);
 
 	return 0;
 }

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/apparmor-fix-ref-count-leak-when-profile-sha1-hash-is-read.patch