Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/4] stackleak: Support Clang stack depth tracking
@ 2025-07-24  5:50 Kees Cook
  2025-07-24  5:50 ` [PATCH v4 1/4] arm64: Handle KCOV __init vs inline mismatches Kees Cook
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Kees Cook @ 2025-07-24  5:50 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Kirill A. Shutemov, linux-efi, Gavin Shan, Jan Beulich, kvm,
	Rafael J. Wysocki, Kees Cook, Catalin Marinas, Dave Hansen, llvm,
	Marco Elver, linux-kernel, linux-mm, Usama Arif, Andrey Ryabinin,
	Viresh Kumar, Bill Wendling, Henrique de Moraes Holschuh,
	Oza Pawandeep, kasan-dev, Will Deacon, Ard Biesheuvel,
	linux-trace-kernel, linux-security-module, H. Peter Anvin,
	Michal Wilczynski, Baoquan He, linux-acpi, Masahiro Yamada, x86,
	James Morris, Christophe Leroy, Peter Zijlstra (Intel),
	Ingo Molnar, Sami Tolvanen, Changyuan Lyu, Ilpo Järvinen,
	Hou Wenlong, Nick Desaulniers, Len Brown, platform-driver-x86,
	Thomas Huth, Alexander Graf, Paul E. McKenney, Anshuman Khandual,
	Brian Gerst, Boqun Feng, Masami Hiramatsu, Bibo Mao,
	Nathan Chancellor, Paul Moore, Russell King (Oracle),
	Borislav Petkov, Andy Lutomirski, Jonathan Cameron,
	Thomas Gleixner, Andy Shevchenko, Andrew Morton, linux-arm-kernel,
	Andrey Konovalov, Juergen Gross, Nicolas Schier, ibm-acpi-devel,
	kexec, Gustavo A. R. Silva, linux-kbuild, Luis Chamberlain,
	James Morse, Mike Rapoport, Justin Stitt, Paolo Bonzini,
	Vitaly Kuznetsov, Serge E. Hallyn, linux-hardening,
	David Woodhouse, Hans de Goede, Roger Pau Monne

 v4:
  - rebase on for-next/hardening tree (took subset of v3 patches)
  - improve commit logs for x86 and arm64 changes (Mike, Will, Ard)
 v3: https://lore.kernel.org/lkml/20250717231756.make.423-kees@kernel.org/
 v2: https://lore.kernel.org/lkml/20250523043251.it.550-kees@kernel.org/
 v1: https://lore.kernel.org/lkml/20250507180852.work.231-kees@kernel.org/

Hi,

These are the remaining changes needed to support Clang stack depth
tracking for kstack_erase (nee stackleak).

Thanks!

-Kees

Kees Cook (4):
  arm64: Handle KCOV __init vs inline mismatches
  x86: Handle KCOV __init vs inline mismatches
  init.h: Disable sanitizer coverage for __init and __head
  kstack_erase: Support Clang stack depth tracking

 security/Kconfig.hardening      | 5 ++++-
 scripts/Makefile.kstack_erase   | 6 ++++++
 arch/arm64/include/asm/acpi.h   | 2 +-
 arch/x86/include/asm/acpi.h     | 4 ++--
 arch/x86/include/asm/init.h     | 2 +-
 arch/x86/include/asm/realmode.h | 2 +-
 include/linux/acpi.h            | 4 ++--
 include/linux/bootconfig.h      | 2 +-
 include/linux/efi.h             | 2 +-
 include/linux/init.h            | 4 +++-
 include/linux/memblock.h        | 2 +-
 include/linux/smp.h             | 2 +-
 arch/x86/kernel/kvm.c           | 2 +-
 arch/x86/mm/init_64.c           | 2 +-
 kernel/kexec_handover.c         | 4 ++--
 15 files changed, 28 insertions(+), 17 deletions(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-07-29 13:03 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-24  5:50 [PATCH v4 0/4] stackleak: Support Clang stack depth tracking Kees Cook
2025-07-24  5:50 ` [PATCH v4 1/4] arm64: Handle KCOV __init vs inline mismatches Kees Cook
2025-07-29  8:10   ` Will Deacon
2025-07-24  5:50 ` [PATCH v4 2/4] x86: " Kees Cook
2025-07-29  8:28   ` Mike Rapoport
2025-07-29  9:34   ` Arnd Bergmann
2025-07-24  5:50 ` [PATCH v4 3/4] init.h: Disable sanitizer coverage for __init and __head Kees Cook
2025-07-24  5:50 ` [PATCH v4 4/4] kstack_erase: Support Clang stack depth tracking Kees Cook
2025-07-24 13:08   ` Nicolas Schier
2025-07-26  0:43 ` [PATCH v4 0/4] stackleak: " Nathan Chancellor
2025-07-26  6:27   ` Kees Cook
2025-07-26 21:47   ` Kees Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox