mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] KEYS: Fixes
@ 2017-02-09 17:17 David Howells
  2017-02-09 17:17 ` [PATCH 1/3] sign-file: fix build error in sign-file.c with libressl David Howells
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: David Howells @ 2017-02-09 17:17 UTC (permalink / raw)
  To: jmorris; +Cc: dhowells, linux-security-module, keyrings, linux-kernel


Hi James,

Can you pull these patches into your next tree please?  They include the
following:

 (1) Fix sign-file for use with libressl.

 (2) Fix error production in request_master_key().

 (3) Explicitly zero-out secret data before freeing it in case gcc
     optimises memset() away in future.

I don't think there's anything urgent enough here to warrant handing
directly to Linus.

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-20170209

David
---
Dan Carpenter (2):
      KEYS: Fix an error code in request_master_key()
      KEYS: Use memzero_explicit() for secret data

Felix Fietkau (1):
      sign-file: fix build error in sign-file.c with libressl


 scripts/sign-file.c                      |    4 +++-
 security/keys/encrypted-keys/encrypted.c |    4 ++--
 2 files changed, 5 insertions(+), 3 deletions(-)

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH 0/3] KEYS: Fixes
@ 2017-04-19 16:11 David Howells
  0 siblings, 0 replies; 13+ messages in thread
From: David Howells @ 2017-04-19 16:11 UTC (permalink / raw)
  To: jmorris
  Cc: dhowells, keyrings, torvalds, linux-kernel, linux-security-modules


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(-)

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH 0/3] KEYS: Fixes
@ 2017-04-19 16:08 David Howells
  2017-04-19 16:10 ` David Howells
  0 siblings, 1 reply; 13+ messages in thread
From: David Howells @ 2017-04-19 16:08 UTC (permalink / raw)
  To: jmorris; +Cc: dhowells, keyrings, torvalds, linux-kernel, linux-kernel-modules


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(-)

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH 0/3] KEYS: Fixes
@ 2016-10-26 14:01 David Howells
  0 siblings, 0 replies; 13+ messages in thread
From: David Howells @ 2016-10-26 14:01 UTC (permalink / raw)
  To: jmorris; +Cc: dhowells, linux-security-module, keyrings, linux-kernel


Hi James,

Can you pull these patches please and pass them on to Linus?  They include
the following:

 (1) Fix a buffer overflow when displaying /proc/keys [CVE-2016-7042].

 (2) Fix broken initialisation in the big_key implementation that can
     result in an oops.

 (3) Make big_key depend on having a random number generator available in
     Kconfig.

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-20161026

David
---
Artem Savkov (1):
      security/keys: make BIG_KEYS dependent on stdrng.

David Howells (2):
      KEYS: Fix short sprintf buffer in /proc/keys show function
      KEYS: Sort out big_key initialisation


 security/keys/Kconfig   |    2 +-
 security/keys/big_key.c |   59 +++++++++++++++++++++++++----------------------
 security/keys/proc.c    |    2 +-
 3 files changed, 34 insertions(+), 29 deletions(-)

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-04-19 16:12 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-09 17:17 [PATCH 0/3] KEYS: Fixes David Howells
2017-02-09 17:17 ` [PATCH 1/3] sign-file: fix build error in sign-file.c with libressl David Howells
2017-02-09 17:17 ` [PATCH 2/3] KEYS: Fix an error code in request_master_key() David Howells
2017-02-09 17:18 ` [PATCH 3/3] KEYS: Use memzero_explicit() for secret data David Howells
2017-02-09 23:07 ` [PATCH 0/3] KEYS: Fixes 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
  -- strict thread matches above, loose matches on Subject: below --
2017-04-19 16:11 David Howells
2017-04-19 16:08 David Howells
2017-04-19 16:10 ` David Howells
2016-10-26 14:01 David Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®