diff options
author | Ondrej Mosnáček <omosnace@redhat.com> | 2018-06-13 16:44:17 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-06-15 23:06:48 +0800 |
commit | 366a20ff6c66ccac3af29059fd5dda09011321e3 (patch) | |
tree | 7a5c502130b2b8684346c2b1be88438c01110ab7 /crypto/blkcipher.c | |
parent | 541739401092a3481bb33ffe56471205c6e9a4da (diff) | |
download | linux-crypto-366a20ff6c66ccac3af29059fd5dda09011321e3.tar.gz linux-crypto-366a20ff6c66ccac3af29059fd5dda09011321e3.zip |
crypto: morus640 - Fix out-of-bounds access
We must load the block from the temporary variable here, not directly
from the input.
Also add forgotten zeroing-out of the uninitialized part of the
temporary block (as is done correctly in morus1280.c).
Fixes: 4cc215a8b72d ("crypto: morus - Add generic MORUS AEAD implementations")
Reported-by: syzbot+1fafa9c4cf42df33f716@syzkaller.appspotmail.com
Reported-by: syzbot+d82643ba80bf6937cd44@syzkaller.appspotmail.com
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/blkcipher.c')
0 files changed, 0 insertions, 0 deletions