From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753706AbaIBMwI (ORCPT ); Tue, 2 Sep 2014 08:52:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:27006 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750954AbaIBMwF (ORCPT ); Tue, 2 Sep 2014 08:52:05 -0400 Subject: [PATCH 0/5] KEYS: Miscellaneous fixes From: David Howells To: jmorris@namei.org Cc: dhowells@redhat.com, keyrings@linux-nfs.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Date: Tue, 02 Sep 2014 13:52:00 +0100 Message-ID: <20140902125159.9247.11970.stgit@warthog.procyon.org.uk> User-Agent: StGit/0.17-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi James, Here are some fixes to go upstream: (1) Increase root's key quotas so that the DNS resolver doesn't run out of capacity. This is a bit of a stop-gap whilst I try to improve quota recycling, but that's proving to be a bit tricky. (2) Fix the definition of the public_key subtype to give the name length. (3) Set a prefix for printing from signature handling. (4) Fix a use after free in assoc_array_gc(). (5) Relax a check in the PKCS#7 parser to allow for padding inserted after a PKCS#7 message. They can be found here also: http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=keys-fixes Tagged with: keys-fixes-20140902 David --- David Howells (4): KEYS: Fix public_key asymmetric key subtype name KEYS: Set pr_fmt() in asymmetric key signature handling KEYS: Fix use-after-free in assoc_array_gc() PEFILE: Relax the check on the length of the PKCS#7 cert Steve Dickson (1): KEYS: Increase root_maxkeys and root_maxbytes sizes crypto/asymmetric_keys/public_key.c | 1 + crypto/asymmetric_keys/signature.c | 1 + crypto/asymmetric_keys/verify_pefile.c | 49 ++++++++++++++++++++++---------- lib/assoc_array.c | 2 + security/keys/key.c | 4 +-- 5 files changed, 38 insertions(+), 19 deletions(-)