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 Latest6 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6KEYS: Fix termination condition in assoc array garbage collectionlib/assoc_array.c+3 -10 replies
2/6KEYS: Reinstate EPERM for a key type name beginning with a '.'security/keys/keyctl.c+2 -07 replies
3/6KEYS: Fix missing staticssecurity/keys/request_key_auth.c+2 -20 replies
4/6PKCS#7: Add a missing staticcrypto/asymmetric_keys/pkcs7_trust.c+3 -30 replies
5/6PKCS#7: Provide a single place to do signed info block freeingcrypto/asymmetric_keys/pkcs7_parser.c+15 -90 replies
6/6PKCS#7: Fix the parser cleanup to drain parsed out X.509 certscrypto/asymmetric_keys/pkcs7_parser.c+19 -200 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchDon ZickusVivek Goyal
1/6A-b
2/6A-b
3/6A-b
4/6A-b
5/6A-b
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

Hi James,

Here are some fixes to go upstream:

(1) Fix a bug in the assoc_array garbage collector [CVE-2014-3631].

(2) Reinstate the production of EPERM for key types beginning with '.' in requests from userspace.

(3) Fix some missing 'static' annotations.

(4) Tidy up the cleanup of PKCS#7 message signed information blocks and fix a bug this made more obvious.

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

David
---
David Howells (6):
KEYS: Fix termination condition in assoc array garbage collection
KEYS: Reinstate EPERM for a key type name beginning with a '.'
KEYS: Fix missing statics
PKCS#7: Add a missing static
PKCS#7: Provide a single place to do signed info block freeing PKCS#7: Fix the parser cleanup to drain parsed out X.509 certs

 crypto/asymmetric_keys/pkcs7_parser.c |   61 ++++++++++++++++++---------------
 crypto/asymmetric_keys/pkcs7_trust.c  |    6 ++-
 lib/assoc_array.c                     |    4 ++
 security/keys/keyctl.c                |    2 +
 security/keys/request_key_auth.c      |    4 +-
 5 files changed, 43 insertions(+), 34 deletions(-)