All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jarkko Sakkinen <jarkko@kernel.org>
To: Gunnar Kudrjavets <gunnarku@amazon.com>
Cc: graf@amazon.de, 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: Thu, 24 Sep 2026 14:21:57 +0300	[thread overview]
Message-ID: <arUH1YndAAUSiMu0@kernel.org> (raw)
In-Reply-To: <20260918183507.9418-1-gunnarku@amazon.com>

On Fri, Sep 18, 2026 at 06:35:04PM +0000, Gunnar Kudrjavets wrote:
> 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>
> 

Thanks, I added your tag.

Br, Jarkko

      reply	other threads:[~2026-09-24 11:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-18  0:07 [PATCH] tpm: Disable TPM on null key name mismatch Surendran Kanagaraj
2026-09-18  2:39 ` Jarkko Sakkinen
2026-09-18 18:35   ` Gunnar Kudrjavets
2026-09-24 11:21     ` Jarkko Sakkinen [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=arUH1YndAAUSiMu0@kernel.org \
    --to=jarkko@kernel.org \
    --cc=graf@amazon.de \
    --cc=gunnarku@amazon.com \
    --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 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.