[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>
This commit is contained in:
parent
c2059b2e0b
commit
74fd92c511
1 changed files with 1 additions and 0 deletions
|
@ -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() */
|
||||
|
||||
|
|
Loading…
Reference in a new issue