Messages in this thread | | | Date | Fri, 12 Jan 2018 23:23:38 +1100 | From | Herbert Xu <> | Subject | Re: [PATCH v4] crypto: AF_ALG - whitelist mask and type |
| |
On Tue, Jan 02, 2018 at 08:55:25AM +0100, Stephan Müller wrote: > Hi, > > sorry, I forgot the right tags. > > ---8<--- > > The user space interface allows specifying the type and mask field used > to allocate the cipher. Only a subset of the possible flags are intended > for user space. Therefore, white-list the allowed flags. > > In case the user space caller uses at least one non-allowed flag, EINVAL > is returned. > > Reported-by: syzbot <syzkaller@googlegroups.com> > Cc: <stable@vger.kernel.org> > Signed-off-by: Stephan Mueller <smueller@chronox.de>
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
| |