[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7849.1511863981@warthog.procyon.org.uk>
Date: Tue, 28 Nov 2017 10:13:01 +0000
From: David Howells <dhowells@...hat.com>
To: Eric Biggers <ebiggers3@...il.com>
Cc: dhowells@...hat.com, keyrings@...r.kernel.org,
linux-security-module@...r.kernel.org,
linux-kernel@...r.kernel.org, Eric Biggers <ebiggers@...gle.com>,
stable@...r.kernel.org
Subject: Re: [PATCH] KEYS: add missing permission check for request_key() destination
Eric Biggers <ebiggers3@...il.com> wrote:
> + if (do_perm_check) {
> + ret = key_permission(make_key_ref(dest_keyring, 1),
> + KEY_NEED_WRITE);
dest_keyring may be NULL at this point as alloc_uid() doesn't automatically
create keyrings.
David
Powered by blists - more mailing lists