Re: [PATCH] crypto: MPI - kunmap after finishing accessing buffer

2017-08-31 Thread Herbert Xu
On Wed, Aug 30, 2017 at 06:33:41PM +0200, Stephan Mueller wrote: > Am Dienstag, 22. August 2017, 08:33:15 CEST schrieb Herbert Xu: > > Hi Herbert, > > > On Thu, Aug 10, 2017 at 08:06:18AM +0200, Stephan Müller wrote: > > > Hi Herbert, > > > > > > I found that issue while playing around with edge

Re: [PATCH] crypto: MPI - kunmap after finishing accessing buffer

2017-08-30 Thread Stephan Mueller
Am Dienstag, 22. August 2017, 08:33:15 CEST schrieb Herbert Xu: Hi Herbert, > On Thu, Aug 10, 2017 at 08:06:18AM +0200, Stephan Müller wrote: > > Hi Herbert, > > > > I found that issue while playing around with edge conditions in my > > algif_akcipher implementation. This issue only manifests in

Re: [PATCH] crypto: MPI - kunmap after finishing accessing buffer

2017-08-22 Thread Herbert Xu
On Thu, Aug 10, 2017 at 08:06:18AM +0200, Stephan Müller wrote: > Hi Herbert, > > I found that issue while playing around with edge conditions in my > algif_akcipher implementation. This issue only manifests in a > segmentation violation on 32 bit machines and with an SGL where each > SG points to

Re: [PATCH] crypto: MPI - kunmap after finishing accessing buffer

2017-08-21 Thread Herbert Xu
On Thu, Aug 10, 2017 at 08:06:18AM +0200, Stephan Müller wrote: > Hi Herbert, > > I found that issue while playing around with edge conditions in my > algif_akcipher implementation. This issue only manifests in a > segmentation violation on 32 bit machines and with an SGL where each > SG points to

[PATCH] crypto: MPI - kunmap after finishing accessing buffer

2017-08-09 Thread Stephan Müller
Hi Herbert, I found that issue while playing around with edge conditions in my algif_akcipher implementation. This issue only manifests in a segmentation violation on 32 bit machines and with an SGL where each SG points to one byte. SGLs with larger buffers seem to be not affected by this issue.