Messages in this thread | | | From | Linus Torvalds <> | Date | Wed, 4 Oct 2023 17:46:22 -0700 | Subject | Re: Linux 6.6-rc3 (DEBUG_VIRTUAL is unhappy on x86) |
| |
On Tue, 3 Oct 2023 at 05:06, Sumit Garg <sumit.garg@linaro.org> wrote: > > However, on the flip side I think there are security benefits here. We > wouldn't like any indirect branch speculation attack to leak the trusted > key material contents here.
No. Turning *one* indirect call static isn't a security benefit. That argument is just bogus.
This code needs to be fixed. No static call rewriting for call-sites that are just used once.
Linus
| |