Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1494576
| From | Herbert Xu <herbert@gondor.apana.org.au> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] crypto: testmgr - add guard to dst buffer for ahash_export |
| Date | 2016-10-02 16:40 +0200 |
| Message-ID | <snQ5P-83S-9@gated-at.bofh.it> (permalink) |
| References | <smobD-7Vs-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Sep 28, 2016 at 04:38:37PM +0200, Jan Stancek wrote: > Add a guard to 'state' buffer and warn if its consistency after > call to crypto_ahash_export() changes, so that any write that > goes beyond advertised statesize (and thus causing potential > memory corruption [1]) is more visible. > > [1] https://marc.info/?l=linux-crypto-vger&m=147467656516085 > > Signed-off-by: Jan Stancek <jstancek@redhat.com> > Cc: Herbert Xu <herbert@gondor.apana.org.au> > Cc: Marcelo Cerri <marcelo.cerri@canonical.com> Patch applied. Thanks. -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] crypto: testmgr - add guard to dst buffer for ahash_export Jan Stancek <jstancek@redhat.com> - 2016-09-28 16:40 +0200 Re: [PATCH] crypto: testmgr - add guard to dst buffer for ahash_export Herbert Xu <herbert@gondor.apana.org.au> - 2016-10-02 16:40 +0200
csiph-web