[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250224123703.843199044@infradead.org>
Date: Mon, 24 Feb 2025 13:37:03 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: x86@...nel.org
Cc: linux-kernel@...r.kernel.org,
peterz@...radead.org,
alyssa.milburn@...el.com,
scott.d.constable@...el.com,
joao@...rdrivepizza.com,
andrew.cooper3@...rix.com,
jpoimboe@...nel.org,
jose.marchesi@...cle.com,
hjl.tools@...il.com,
ndesaulniers@...gle.com,
samitolvanen@...gle.com,
nathan@...nel.org,
ojeda@...nel.org,
kees@...nel.org,
alexei.starovoitov@...il.com,
mhiramat@...nel.org,
jmill@....edu
Subject: [PATCH v4 00/10] x86/ibt: FineIBT-BHI
Hi all!
Hopefully final version of these here patches.
As reported, these patches include the cfi=paranoid flag for dealing with the
FineIBT SYSCALL pivot and cfi=bhi for further hardering FineIBT.
Biggest difference since last time is the reworking (vastly simplifying) of
cfi=warn, and getting rid of the ud_type propagation in favour of using
is_cfi_trap().
As reported earlier, available at:
git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/fineibt-bhi2
Previous version at:
https://lkml.kernel.org/r/20250219162107.880673196@infradead.org
---
Makefile | 3 +
arch/x86/Kconfig | 8 +
arch/x86/include/asm/bug.h | 3 +
arch/x86/include/asm/cfi.h | 10 ++
arch/x86/include/asm/ibt.h | 4 +
arch/x86/kernel/alternative.c | 370 +++++++++++++++++++++++++++++++++++++-----
arch/x86/kernel/cfi.c | 8 +-
arch/x86/kernel/traps.c | 54 +++++-
arch/x86/lib/Makefile | 3 +-
arch/x86/lib/bhi.S | 146 +++++++++++++++++
arch/x86/net/bpf_jit_comp.c | 30 ++--
include/linux/cfi.h | 2 +
kernel/cfi.c | 4 +-
13 files changed, 585 insertions(+), 60 deletions(-)
Powered by blists - more mailing lists