diff options
author | David Howells <dhowells@redhat.com> | 2005-10-07 18:01:09 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-09 01:53:31 +0400 |
commit | 74fd92c511bd4a0771ac0faaaef38bb1be3a29f6 (patch) | |
tree | 86d0006605f5abe600a2b3a7f6d03cf554c4e761 /security/keys | |
parent | c2059b2e0b209a0674c21f78337bb158d3ccb22b (diff) | |
download | linux-74fd92c511bd4a0771ac0faaaef38bb1be3a29f6.tar.xz |
[PATCH] key: plug request_key_auth memleak
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: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'security/keys')
-rw-r--r-- | security/keys/request_key_auth.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/keys/request_key_auth.c b/security/keys/request_key_auth.c index 1ecd3d3fa9f8..f80a501e27f1 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() */ |