[PATCH v2 0/3] KEYS: fix error handling in request_key_auth_new()

Eric Biggers ebiggers3 at gmail.com
Thu Sep 21 20:57:39 UTC 2017


From: Eric Biggers <ebiggers at google.com>

Fix a reference leak and a NULL pointer dereference in the error
handling paths of request_key_auth_new().

Eric Biggers (3):
  KEYS: fix cred refcount leak in request_key_auth_new()
  KEYS: don't revoke uninstantiated key in request_key_auth_new()
  KEYS: use kmemdup() in request_key_auth_new()

 security/keys/request_key_auth.c | 73 ++++++++++++++++++----------------------
 1 file changed, 32 insertions(+), 41 deletions(-)

-- 
2.14.1.821.g8fa685d3b7-goog

--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the Linux-security-module-archive mailing list