[PATCH 0/2] arm64: Fix for dynamic SCS under full LTO take #2

Ard Biesheuvel ardb+git at google.com
Tue Jan 23 05:30:53 PST 2024


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(-)

-- 
2.43.0.429.g432eaa2c6b-goog




More information about the linux-arm-kernel mailing list