Messages in this thread Patch in this message | | | Date | Fri, 7 Oct 2005 16:55:08 -0700 | From | Greg KH <> | Subject | [patch 7/7] key: plug request_key_auth memleak |
| |
From: David Howells <dhowells@redhat.com>
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> --- security/keys/request_key_auth.c | 1 + 1 file changed, 1 insertion(+)
--- linux-2.6.13.y.orig/security/keys/request_key_auth.c +++ linux-2.6.13.y/security/keys/request_key_auth.c @@ -96,6 +96,7 @@ static void request_key_auth_destroy(str kenter("{%d}", key->serial); key_put(rka->target_key); + kfree(rka); } /* end request_key_auth_destroy() */ -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |