linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: jmorris@namei.org
Cc: dhowells@redhat.com, keyrings@vger.kernel.org,
	torvalds@linux-foundation.org, linux-kernel@vger.kernel.org,
	linux-security-modules@vger.kernel.org
Subject: [PATCH 0/3] KEYS: Fixes
Date: Wed, 19 Apr 2017 17:11:57 +0100	[thread overview]
Message-ID: <149261831732.27071.17813243815278373893.stgit@warthog.procyon.org.uk> (raw)


Hi James,

Can you pass these patches onto Linus, please?

 (1) Disallow keyrings whose name begins with a '.' to be joined
     [CVE-2016-9604].

 (2) Change the name of the dead type to ".dead" to prevent user access
     [CVE-2017-6951].

 (3) Fix keyctl_set_reqkey_keyring() to not leak thread keyrings
     [CVE-2017-7472].

The patches can be found here also:

	http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=keys-fixes

Tagged thusly:

	git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
	keys-fixes-20170419

David
---
David Howells (2):
      KEYS: Disallow keyrings beginning with '.' to be joined as session keyrings
      KEYS: Change the name of the dead type to ".dead" to prevent user access

Eric Biggers (1):
      KEYS: fix keyctl_set_reqkey_keyring() to not leak thread keyrings


 security/keys/gc.c           |    2 +-
 security/keys/keyctl.c       |   20 +++++++++++--------
 security/keys/process_keys.c |   44 ++++++++++++++++++++++++++----------------
 3 files changed, 39 insertions(+), 27 deletions(-)

             reply	other threads:[~2017-04-19 16:12 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-19 16:11 David Howells [this message]
2017-04-19 16:12 ` [PATCH 1/3] KEYS: Disallow keyrings beginning with '.' to be joined as session keyrings David Howells
2017-04-19 16:12 ` [PATCH 2/3] KEYS: Change the name of the dead type to ".dead" to prevent user access David Howells
2017-04-19 16:13 ` [PATCH 3/3] KEYS: fix keyctl_set_reqkey_keyring() to not leak thread keyrings David Howells
  -- strict thread matches above, loose matches on Subject: below --
2017-04-19 16:08 [PATCH 0/3] KEYS: Fixes David Howells
2017-04-19 16:10 ` David Howells
2017-02-09 17:17 David Howells
2017-02-09 23:07 ` James Morris
2017-02-09 23:55 ` David Howells
2017-02-10  1:05   ` James Morris
2017-02-10  8:45   ` David Howells
2017-02-10  1:07 ` James Morris
2016-10-26 14:01 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=149261831732.27071.17813243815278373893.stgit@warthog.procyon.org.uk \
    --to=dhowells@redhat.com \
    --cc=jmorris@namei.org \
    --cc=keyrings@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-security-modules@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).