[<prev] [next>] [day] [month] [year] [list]
Message-ID: <32000.1571417187@warthog.procyon.org.uk>
Date: Fri, 18 Oct 2019 17:46:27 +0100
From: David Howells <dhowells@...hat.com>
To: Hillf Danton <hdanton@...a.com>
Cc: dhowells@...hat.com,
syzbot <syzbot+6455648abc28dbdd1e7f@...kaller.appspotmail.com>,
jarkko.sakkinen@...ux.intel.com, jmorris@...ei.org,
keyrings@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-security-module@...r.kernel.org, serge@...lyn.com,
syzkaller-bugs@...glegroups.com
Subject: Re: WARNING: refcount bug in find_key_to_update
Hillf Danton <hdanton@...a.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
Powered by blists - more mailing lists