All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] pkcs7: Fix some certificate handling bugs
@ 2026-12-01  8:22 Dan Carpenter
  2026-12-01  8:22 ` [PATCH 1/5] pkcs7: Don't trust a blacklisted certificate Dan Carpenter
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Dan Carpenter @ 2026-12-01  8:22 UTC (permalink / raw)
  To: David Howells, Lukas Wunner, Ignat Korchagin, Herbert Xu,
	David S. Miller, David Woodhouse, Jarkko Sakkinen, Eric Snowberg
  Cc: Karthik Bhargavan, Clément Blaudeau, keyrings, linux-crypto,
	Dan Carpenter, stable

These bugs were found through our formal analysis work at Pereq.
I tested these my loading signed modules.

Signed-off-by: Dan Carpenter <dan@pereq.eu>
---
Dan Carpenter (5):
      pkcs7: Don't trust a blacklisted certificate
      certs: Fix error checking in is_key_on_revocation_list()
      pkcs7: Clear the ->verified flag before checking trust
      pkcs7: Reset the signer identifier fields and check them
      pkcs7: Fix support for subjectKeyIdentifier signers

 certs/blacklist.c                     |  2 ++
 crypto/asymmetric_keys/pkcs7_parser.c | 14 ++++++++++++++
 crypto/asymmetric_keys/pkcs7_trust.c  |  9 ++++++++-
 crypto/asymmetric_keys/pkcs7_verify.c |  3 ++-
 4 files changed, 26 insertions(+), 2 deletions(-)
---
base-commit: a9c48428cbd8d96b26f92631d0db6f8519c5fcc5
change-id: 20261201-pkcs7-22b85760f720

Best regards,
--  
Dan Carpenter <dan@pereq.eu>


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

end of thread, other threads:[~2026-12-01 16:36 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01  8:22 [PATCH 0/5] pkcs7: Fix some certificate handling bugs Dan Carpenter
2026-12-01  8:22 ` [PATCH 1/5] pkcs7: Don't trust a blacklisted certificate Dan Carpenter
2026-12-01 15:42   ` Jarkko Sakkinen
2026-12-01 15:46     ` Jarkko Sakkinen
2026-12-01  8:22 ` [PATCH 2/5] certs: Fix error checking in is_key_on_revocation_list() Dan Carpenter
2026-12-01 16:22   ` Jarkko Sakkinen
2026-12-01  8:22 ` [PATCH 3/5] pkcs7: Clear the ->verified flag before checking trust Dan Carpenter
2026-12-01 16:25   ` Jarkko Sakkinen
2026-12-01  8:22 ` [PATCH 4/5] pkcs7: Reset the signer identifier fields and check them Dan Carpenter
2026-12-01 16:25   ` Jarkko Sakkinen
2026-12-01 16:36     ` Dan Carpenter
2026-12-01  8:22 ` [PATCH 5/5] pkcs7: Fix support for subjectKeyIdentifier signers Dan Carpenter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.