Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2005-10-07 16:43:55 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-10 11:50:55 -0700
commitdb5356da707a5e8414c6ea9e5d50ce3ef884afce (patch)
treeba774c568a05b2fc63973dda42acca53e63e9f5c
parentb17681a236a4f0faf237241dea833fc6ada997c0 (diff)
[PATCH] key: plug request_key_auth memleak (CAN-2005-3119)
Plug request_key_auth memleak. This can be triggered by unprivileged users, so is local DoS. Signed-off-by: Chris Wright <chrisw@osdl.org> Signed-Off-By: David Howells <dhowells@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--security/keys/request_key_auth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/keys/request_key_auth.c b/security/keys/request_key_auth.c
index f22264632229..6ca5e507084b 100644
--- a/security/keys/request_key_auth.c
+++ b/security/keys/request_key_auth.c
@@ -96,6 +96,7 @@ static void request_key_auth_destroy(struct key *key)
kenter("{%d}", key->serial);
key_put(rka->target_key);
+ kfree(rka);
} /* end request_key_auth_destroy() */