[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2025062806-strife-anger-2867@gregkh>
Date: Sat, 28 Jun 2025 07:12:25 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Jay Wang <wanjay@...zon.com>
Cc: stable@...r.kernel.org, Herbert Xu <herbert@...dor.apana.org.au>,
"David S . Miller" <davem@...emloft.net>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] Override drivers/char/random only after FIPS-mode
RNGs become available
On Sat, Jun 28, 2025 at 04:29:18AM +0000, Jay Wang wrote:
> This commit fixes a timing issue introduced in the previous commit
> "crypto: rng - Override drivers/char/random in FIPS mode" where the crypto RNG
> was attempting to override the drivers/char/random interface before the default
> RNG became available. The previous implementation would immediately register the
> external RNG during module initialization, which could fail if the default RNG
> wasn't ready.
Why isn't this just part of the previous commit so that there is no
regression anywhere?
thanks,
greg k-h
Powered by blists - more mailing lists