projects/linux·commit 53cbbb09

Merge tag 'x86-core-2026-10-18' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

53cbbb09 · Linus Torvalds <[email protected]> · 2026-10-18 07:48:22 -10:00

Pull x86/core update from Ingo Molnar:

 - Emit the FineIBT paranoid "cs" prefix as a byte,
   to work around a GNU toolchain build warning (Kees Cook)

* tag 'x86-core-2026-10-18' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/kcfi: Emit the FineIBT paranoid "cs" prefix as a byte
Commit
53cbbb09c1b87425cd7184f81ecdb830aa3b0b87
Parents
23a38e7b · 41d1119e

Merge commit. Changes below are compared with the first parent: 23a38e7b.

Changes

1 files changed · +2 −1

FileStatusAddDelContent
arch/x86/kernel/alternative.cmodified+2−1View file

arch/x86/kernel/alternative.c

View file
diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c
index 582c6d8..efbc11f 100644
--- a/arch/x86/kernel/alternative.c
+++ b/arch/x86/kernel/alternative.c
@@ -1455,7 +1455,8 @@ asm( ".pushsection .rodata \n"
"fineibt_paranoid_start: \n"
" mov $0x12345678, %eax \n"
" cmpl -11(%r11), %eax \n"
- " cs lea -0x10(%r11), %r11 \n"
+ " .byte 0x2e \n"
+ " lea -0x10(%r11), %r11 \n"
"#fineibt_caller_size: \n"
" jne fineibt_paranoid_start+0xd \n"
"fineibt_paranoid_ind: \n"