[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHmME9r4DnQDkx0VSzfuYDyUhNOHy0d3XBzF+hipU7EVy0raKA@mail.gmail.com>
Date: Wed, 22 Feb 2023 17:44:08 +0100
From: "Jason A. Donenfeld" <Jason@...c4.com>
To: "H. Peter Anvin" <hpa@...or.com>
Cc: "Maciej W. Rozycki" <macro@...am.me.uk>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Kees Cook <keescook@...omium.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PING][PATCH v3] x86: Use `get_random_u8' for kernel stack offset randomization
On Tue, Feb 14, 2023 at 9:43 PM H. Peter Anvin <hpa@...or.com> wrote:
> No, I do indeed agree. We're talking something that is a part of an operation that is already fairly expensive. Now, if RDRAND is available on the hardware then that could be used if someone really wants it to go faster... but get_random_*() seems saner than doing ad hoc hacks.
Do you want to go ahead and apply Maciej's patch in [1] then?
[1] https://lore.kernel.org/lkml/alpine.DEB.2.21.2301302011150.55843@angie.orcam.me.uk/
Powered by blists - more mailing lists