Compare

23a38e7bb2f9ad99c317a9f4e4c349054de9dfff..53cbbb09c1b87425cd7184f81ecdb830aa3b0b87

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

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

Linus Torvalds <torvalds@linux-foundation.org> · 2026-10-18 17:48 UTC

Browse files
1 file changed, +2 −1
modified arch/x86/kernel/alternative.c
@@ -1455,7 +1455,8 @@ asm( ".pushsection .rodata \n"
1455 1455 "fineibt_paranoid_start: \n"
1456 1456 " mov $0x12345678, %eax \n"
1457 1457 " cmpl -11(%r11), %eax \n"
1458 - " cs lea -0x10(%r11), %r11 \n"
1458 + " .byte 0x2e \n"
1459 + " lea -0x10(%r11), %r11 \n"
1459 1460 "#fineibt_caller_size: \n"
1460 1461 " jne fineibt_paranoid_start+0xd \n"
1461 1462 "fineibt_paranoid_ind: \n"