Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751190AbcJ0Eha (ORCPT ); Thu, 27 Oct 2016 00:37:30 -0400 Received: from [65.99.196.166] ([65.99.196.166]:58387 "EHLO namei.org" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1750850AbcJ0Eh3 (ORCPT ); Thu, 27 Oct 2016 00:37:29 -0400 Date: Thu, 27 Oct 2016 15:37:21 +1100 (AEDT) From: James Morris To: Linus Torvalds cc: linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, David Howells Subject: [GIT PULL] Keys fixes Message-ID: User-Agent: Alpine 2.20 (LRH 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1037 Lines: 32 Please pull these fixes from David Howells: (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 following changes since commit 9fe68cad6e74967b88d0c6aeca7d9cd6b6e91942: Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 (2016-10-24 21:34:13 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git for-linus 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(-)