[lkml]   [2017]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v2 0/3] KEYS: fix error handling in request_key_auth_new()
From: Eric Biggers <>

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(-)


 \ /
  Last update: 2017-09-21 22:59    [W:0.040 / U:26.836 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site