[PATCH 0/2] arm64: Fix for dynamic SCS under full LTO take #2
Kees Cook
keescook at chromium.org
Tue Jan 23 14:27:55 PST 2024
On Tue, Jan 23, 2024 at 02:30:53PM +0100, Ard Biesheuvel wrote:
> From: Ard Biesheuvel <ardb at kernel.org>
>
> Disabling unwind table generation turns out not to fix the issue with
> full LTO and dynamic shadow call stack, as reported by Sami. So instead,
> disable LTO for the compilation unit in question.
>
> Implemented as a revert + new patch so that only the real fix needs to
> go to -stable.
>
> Cc: Sami Tolvanen <samitolvanen at google.com>
> Cc: Kees Cook <keescook at chromium.org>
>
> Ard Biesheuvel (2):
> arm64: Revert "scs: Work around full LTO issue with dynamic SCS"
> arm64: scs: Disable LTO for SCS patching code
>
> arch/arm64/kernel/Makefile | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Thanks for figuring this out!
Reviewed-by: Kees Cook <keescook at chromium.org>
--
Kees Cook
More information about the linux-arm-kernel
mailing list