Re: Linux 6.6-rc3 (DEBUG_VIRTUAL is unhappy on x86)

Linus Torvalds
2023-10-05T00:46:51Z

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