lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Tue, 7 Jul 2020 02:01:16 +0300
From:   Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
To:     Stefan Berger <stefanb@...ux.ibm.com>
Cc:     linux-integrity@...r.kernel.org, stable@...r.kernel.org,
        Peter Huewe <peterhuewe@....de>,
        Jason Gunthorpe <jgg@...pe.ca>, Arnd Bergmann <arnd@...db.de>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Sumit Garg <sumit.garg@...aro.org>,
        Alexey Klimov <aklimov@...hat.com>,
        James Bottomley <James.Bottomley@...senpartnership.com>,
        open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] tpm: Define TPM2_SPACE_BUFFER_SIZE to replace the use of
 PAGE_SIZE

On Mon, Jul 06, 2020 at 02:06:09PM -0400, Stefan Berger wrote:
> On 7/3/20 11:56 PM, Jarkko Sakkinen wrote:
> > On Thu, Jul 02, 2020 at 04:55:44PM -0700, Jerry Snitselaar wrote:
> > > On Fri Jul 03 20, Jarkko Sakkinen wrote:
> > > > The size of the buffers for storing context's and sessions can vary from
> > > > arch to arch as PAGE_SIZE can be anything between 4 kB and 256 kB (the
> > > > maximum for PPC64). Define a fixed buffer size set to 16 kB. This should be
> > > > enough for most use with three handles (that is how many we allow at the
> > > > moment). Parametrize the buffer size while doing this, so that it is easier
> > > > to revisit this later on if required.
> > > > 
> > > > Reported-by: Stefan Berger <stefanb@...ux.ibm.com>
> > > > Cc: stable@...r.kernel.org
> > > > Fixes: 745b361e989a ("tpm: infrastructure for TPM spaces")
> > > > Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
> > > Reviewed-by: Jerry Snitselaar <jsnitsel@...hat.com>
> > Thank you.
> > 
> > Now only needs tested-by from Stefan.
> 
> 
> Tested-by: Stefan Berger <stefanb@...ux.ibm.com>

Thanks. I'll put this eventually to the v5.9 PR.

/Jarkko

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ