[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YhMOBAKe5bAlvVyb@sol.localdomain>
Date: Sun, 20 Feb 2022 19:59:00 -0800
From: Eric Biggers <ebiggers@...nel.org>
To: "Jason A. Donenfeld" <Jason@...c4.com>
Cc: linux-kernel@...r.kernel.org,
Dominik Brodowski <linux@...inikbrodowski.net>,
Jann Horn <jannh@...gle.com>
Subject: Re: [PATCH] random: zero buffer after reading secret entropy from
userspace
On Wed, Feb 09, 2022 at 06:44:56PM +0100, Jason A. Donenfeld wrote:
> This buffer may contain entropic data that shouldn't stick around longer
> than needed, zero it out our temporary buffer at the end of
> write_pool().
>
> Cc: Dominik Brodowski <linux@...inikbrodowski.net>
> Cc: Jann Horn <jannh@...gle.com>
> Signed-off-by: Jason A. Donenfeld <Jason@...c4.com>
> Reviewed-by: Dominik Brodowski <linux@...inikbrodowski.net>
> ---
> drivers/char/random.c | 11 ++++++++---
> 1 file changed, 8 insertions(+), 3 deletions(-)
>
Reviewed-by: Eric Biggers <ebiggers@...gle.com>
- Eric
Powered by blists - more mailing lists