From: Gunnar Kudrjavets <gunnarku@amazon.com>
To: <jarkko@kernel.org>
Cc: <graf@amazon.de>, <gunnarku@amazon.com>, <jgg@ziepe.ca>,
<linux-integrity@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<nh-open-source@amazon.com>, <peterhuewe@gmx.de>,
<stable@vger.kernel.org>, <stefanb@linux.ibm.com>,
<surenkj@amazon.com>
Subject: Re: [PATCH] tpm: Disable TPM on null key name mismatch
Date: Fri, 18 Sep 2026 18:35:04 +0000 [thread overview]
Message-ID: <20260918183507.9418-1-gunnarku@amazon.com> (raw)
In-Reply-To: <aqykXxFybNMB_KSv@kernel.org>
On Fri, Sep 18, 2026 at 05:39:27AM +0300, Jarkko Sakkinen wrote:
> On Fri, Sep 18, 2026 at 12:07:31AM +0000, Surendran Kanagaraj wrote:
> > The null key name check exists to protect against TPM reset attacks, so
> > a mismatch should stop the device from serving further requests.
[...]
> > Set rc to -ENODEV on the mismatch. The error path then disables the chip
> > and returns the correct code to the caller.
>
> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
We reviewed this internally as well.
Reviewed-by: Gunnar Kudrjavets <gunnarku@amazon.com>
prev parent reply other threads:[~2026-09-18 18:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-18 0:07 Surendran Kanagaraj
2026-09-18 2:39 ` Jarkko Sakkinen
2026-09-18 18:35 ` Gunnar Kudrjavets [this message]
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=20260918183507.9418-1-gunnarku@amazon.com \
--to=gunnarku@amazon.com \
--cc=graf@amazon.de \
--cc=jarkko@kernel.org \
--cc=jgg@ziepe.ca \
--cc=linux-integrity@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nh-open-source@amazon.com \
--cc=peterhuewe@gmx.de \
--cc=stable@vger.kernel.org \
--cc=stefanb@linux.ibm.com \
--cc=surenkj@amazon.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®