All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: jmorris@namei.org
Cc: dhowells@redhat.com, linux-kernel@vger.kernel.org,
	stable@vger.kernel.org, linux-security-module@vger.kernel.org,
	keyrings@vger.kernel.org, torvalds@linux-foundation.org,
	Dan Carpenter <dan.carpenter@oracle.com>
Subject: Re: [PATCH] KEYS: potential uninitialized variable
Date: Thu, 16 Jun 2016 15:50:37 +0100	[thread overview]
Message-ID: <5864.1466088637@warthog.procyon.org.uk> (raw)
In-Reply-To: <146608853752.5715.2913110713238395465.stgit@warthog.procyon.org.uk>

David Howells <dhowells@redhat.com> wrote:

> From: Dan Carpenter <dan.carpenter@oracle.com>
> 
> If __key_link_begin() failed then "edit" would be uninitialized.  I've
> added a check to fix that.
> 
> This allows a random user to crash the kernel, though it's quite difficult
> to achieve.  There are three ways it can be done as the user would have to
> cause an error to occur in __key_link():
>
> ...

I forgot to mention, this fixes CVE-2016-4470.

David

  reply	other threads:[~2016-06-16 14:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-16 14:48 [PATCH] KEYS: potential uninitialized variable David Howells
2016-06-16 14:50 ` David Howells [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-05-26  6:45 [patch] " Dan Carpenter
2016-05-27 14:02 ` David Howells

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5864.1466088637@warthog.procyon.org.uk \
    --to=dhowells@redhat.com \
    --cc=dan.carpenter@oracle.com \
    --cc=jmorris@namei.org \
    --cc=keyrings@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-security-module@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.