From: Jarkko Sakkinen <jarkko@kernel.org>
To: Dan Carpenter <dan@pereq.eu>
Cc: "David Howells" <dhowells@redhat.com>,
"Lukas Wunner" <lukas@wunner.de>,
"Ignat Korchagin" <ignat@linux.win>,
"Herbert Xu" <herbert@gondor.apana.org.au>,
"David S. Miller" <davem@davemloft.net>,
"David Woodhouse" <dwmw2@infradead.org>,
"Eric Snowberg" <eric.snowberg@oracle.com>,
"Karthik Bhargavan" <karthik@pereq.eu>,
"Clément Blaudeau" <clement@cryspen.com>,
keyrings@vger.kernel.org, linux-crypto@vger.kernel.org,
stable@vger.kernel.org
Subject: Re: [PATCH 1/5] pkcs7: Don't trust a blacklisted certificate
Date: Tue, 1 Dec 2026 17:46:04 +0200 [thread overview]
Message-ID: <aw7rvLFlNrGP-kOT@kernel.org> (raw)
In-Reply-To: <aw7q46YRjkhm9KAH@kernel.org>
On Tue, Dec 01, 2026 at 05:42:31PM +0200, Jarkko Sakkinen wrote:
> On Tue, Dec 01, 2026 at 11:22:27AM +0300, Dan Carpenter wrote:
> > If you have a signed module but the signature is blacklisted then it
> > shouldn't load unless you have a second valid signature. The bug
> > here is that an attacker can load the module by adding a SignerInfo
> > that names a certificate which isn't in the message, with random bytes
> > as the signature.
Although I hate this CVE report style in commit messages. Just
stripped down what's the problem without spy story. Reading
about The Attacker is a total waste of cognitive compute.
R-by still applies ;-)
Br, Jarkko
next prev parent reply other threads:[~2026-12-01 15:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aw7rvLFlNrGP-kOT@kernel.org \
--to=jarkko@kernel.org \
--cc=clement@cryspen.com \
--cc=dan@pereq.eu \
--cc=davem@davemloft.net \
--cc=dhowells@redhat.com \
--cc=dwmw2@infradead.org \
--cc=eric.snowberg@oracle.com \
--cc=herbert@gondor.apana.org.au \
--cc=ignat@linux.win \
--cc=karthik@pereq.eu \
--cc=keyrings@vger.kernel.org \
--cc=linux-crypto@vger.kernel.org \
--cc=lukas@wunner.de \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.