Re: [PATCH RESEND] random: fix the RNDRESEEDCRNG ioctl
From: Eric Biggers <ebiggers@kernel.org>
Date: 2021-02-01 22:44:46
Also in:
linux-crypto, lkml
From: Eric Biggers <ebiggers@kernel.org>
Date: 2021-02-01 22:44:46
Also in:
linux-crypto, lkml
On Tue, Jan 12, 2021 at 11:28:18AM -0800, Eric Biggers wrote:
From: Eric Biggers <redacted>
The RNDRESEEDCRNG ioctl reseeds the primary_crng from itself, which
doesn't make sense. Reseed it from the input_pool instead.
Fixes: d848e5f8e1eb ("random: add new ioctl RNDRESEEDCRNG")
Cc: stable@vger.kernel.org
Cc: linux-crypto@vger.kernel.org
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Jann Horn <jannh@google.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jann Horn <jannh@google.com>
Signed-off-by: Eric Biggers <redacted>
---
Andrew, please consider taking this patch since the maintainer has been
ignoring it for 4 months
(https://lkml.kernel.org/lkml/20200916041908.66649-1-ebiggers@kernel.org/T/#u).Ping.