Skip to content
Commit e9eb0c47 authored by Stephan Müller's avatar Stephan Müller Committed by Greg Kroah-Hartman
Browse files

crypto: drbg - always try to free Jitter RNG instance

commit 819966c0 upstream.

The Jitter RNG is unconditionally allocated as a seed source follwoing
the patch 97f2650e

. Thus, the instance must always be deallocated.

Reported-by: default avatar <syzbot+2e635807decef724a1fa@syzkaller.appspotmail.com>
Fixes: 97f2650e

 ("crypto: drbg - always seeded with SP800-90B ...")
Signed-off-by: default avatarStephan Mueller <smueller@chronox.de>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f284afc3
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