WARNING: refcount bug in find_key_to_update

David Howells dhowells at redhat.com
Fri Oct 18 16:46:27 UTC 2019


Hillf Danton <hdanton at sina.com> wrote:

> -			  (1 << KEY_FLAG_REVOKED))) {
> +			  (1 << KEY_FLAG_REVOKED)) || !key_tryget(key)) {
>  		kleave(" = NULL [x]");
>  		return NULL;
>  	}
> -	__key_get(key);

That should be ineffective and ought not to fix the bug.

David



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