Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1583655

Re: [PATCH] tpm: Fix expected number of response bytes of TPM1.2 PCR Extend

From Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] tpm: Fix expected number of response bytes of TPM1.2 PCR Extend
Date 2017-02-17 19:50 +0100
Message-ID <tbVLt-7V6-31@gated-at.bofh.it> (permalink)
References <tbb5U-2sv-25@gated-at.bofh.it> <tbcbD-3la-3@gated-at.bofh.it> <tbQ93-4lj-5@gated-at.bofh.it>
Organization Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo

Show all headers | View raw


On Fri, Feb 17, 2017 at 07:46:38AM -0500, Mimi Zohar wrote:
> Hi James,
> 
> On Wed, 2017-02-15 at 20:09 +0200, Jarkko Sakkinen wrote:
> > On Wed, Feb 15, 2017 at 11:56:23AM -0500, Stefan Berger wrote:
> > > The TPM1.2 PCR Extend operation only returns 20 bytes in the body,
> > > which is the size of the PCR state.
> > > 
> > > This fixes a problem where IMA gets errors with every PCR Extend.
> > > 
> > > Fixes: c659af78eb7b ("tpm: Check size of response before accessing data")
> > > Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
> > > Acked-by: Mimi Zohar <zohar@us.ibm.com>
> > 
> > Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
> 
> This patch needs to be included with the rest of the patches being
> upstreamed in the next open window.   Should Jarkko or I send you a pull
> request for it?
> 
> thanks,
> 
> Mimi

I'm sending a pull request after the weekend. It will contain
only a few small scoped fixes so wouldn't it be easiest if I
just include this to the pack?

/Jarkko

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] tpm: Fix expected number of response bytes of TPM1.2 PCR Extend Stefan Berger <stefanb@linux.vnet.ibm.com> - 2017-02-15 18:00 +0100
  Re: [PATCH] tpm: Fix expected number of response bytes of TPM1.2 PCR  Extend Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2017-02-15 19:10 +0100
    Re: [PATCH] tpm: Fix expected number of response bytes of TPM1.2  PCR Extend Mimi Zohar <zohar@linux.vnet.ibm.com> - 2017-02-17 13:50 +0100
      Re: [PATCH] tpm: Fix expected number of response bytes of TPM1.2 PCR  Extend Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2017-02-17 19:50 +0100
        Re: [PATCH] tpm: Fix expected number of response bytes of TPM1.2  PCR Extend Mimi Zohar <zohar@linux.vnet.ibm.com> - 2017-02-17 20:00 +0100

csiph-web