Skip to content

Commit

Permalink
[PATCH] key: plug request_key_auth memleak
Browse files Browse the repository at this point in the history
Plug request_key_auth memleak.  This can be triggered by unprivileged
users, so is local DoS.

Signed-off-by: Chris Wright <[email protected]>
Signed-Off-By: David Howells <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
dhowells authored and Linus Torvalds committed Oct 8, 2005
1 parent c2059b2 commit 74fd92c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions security/keys/request_key_auth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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() */

Expand Down

0 comments on commit 74fd92c

Please sign in to comment.