Skip to content
Commit a81ae809 authored by Ondrej Mosnáček's avatar Ondrej Mosnáček Committed by Herbert Xu
Browse files

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: 396be41f ("crypto: morus - Add generic MORUS AEAD implementations")
Reported-by: default avatar <syzbot+1fafa9c4cf42df33f716@syzkaller.appspotmail.com>
Reported-by: default avatar <syzbot+d82643ba80bf6937cd44@syzkaller.appspotmail.com>
Signed-off-by: default avatarOndrej Mosnacek <omosnace@redhat.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent f044a84e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment