Date: Wed, 7 Jun 2017 20:41:34 -0400 From: Theodore Ts'o Message-ID: <20170608004134.hveeuvojoc2edgjm@thunk.org> References: <20170606174804.31124-1-Jason@zx2c4.com> <20170606174804.31124-6-Jason@zx2c4.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170606174804.31124-6-Jason@zx2c4.com> Subject: Re: [kernel-hardening] [PATCH v4 05/13] crypto/rng: ensure that the RNG is ready before using To: "Jason A. Donenfeld" Cc: Linux Crypto Mailing List , LKML , kernel-hardening@lists.openwall.com, Greg Kroah-Hartman , David Miller , Eric Biggers , Herbert Xu List-ID: On Tue, Jun 06, 2017 at 07:47:56PM +0200, Jason A. Donenfeld wrote: > Otherwise, we might be seeding the RNG using bad randomness, which is > dangerous. The one use of this function from within the kernel -- not > from userspace -- is being removed (keys/big_key), so that call site > isn't relevant in assessing this. The use in keys/big_key is _being_ removed, so this commit is dependent on that commit landing, correct? (Order matters, because otherwise we don't want to potentially screw up doing a kernel bisect and causing their kernel to deadlock during the boot while they are trying to track down an unreleated problem.) - Ted