Skip to content

KEYS: Miscellaneous fixes

David Howells lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5KEYS: Increase root_maxkeys and root_maxbytes sizessecurity/keys/key.c+2 -20 replies
2/5KEYS: Fix public_key asymmetric key subtype namecrypto/asymmetric_keys/public_key.c+1 -00 replies
3/5KEYS: Set pr_fmt() in asymmetric key signature handlingcrypto/asymmetric_keys/signature.c+1 -00 replies
4/5KEYS: Fix use-after-free in assoc_array_gc()lib/assoc_array.c+1 -10 replies
5/5PEFILE: Relax the check on the length of the PKCS#7 certcrypto/asymmetric_keys/verify_pefile.c+33 -160 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchAndreea-Cristina BernatVivek GoyalPeter Jones
1/5
2/5
3/5
4/5R-b
5/5A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/5] KEYS: Miscellaneous fixes

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