hardening updates for v7.1-rc1
Hi Linus,
Please pull these hardening updates for v7.1-rc1.
Thanks!
-Kees
The following changes since commit 11439c4635edd669ae435eec308f4ab8a0804808:
Linux 7.0-rc2 (2026-03-01 15:39:31 -0800)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/hardening-v7.1-rc1
for you to fetch changes up to cf2f06f7152d5e38a87aa2e9b8b452714789f6ba:
lkdtm/fortify: Drop unneeded FORTIFY_STR_OBJECT test (2026-03-31 16:53:47 -0700)
----------------------------------------------------------------
hardening updates for v7.1-rc1
- randomize_kstack: Improve implementation across arches (Ryan Roberts)
- lkdtm/fortify: Drop unneeded FORTIFY_STR_OBJECT test
- refcount: Remove unused __signed_wrap function annotations
----------------------------------------------------------------
Kees Cook (2):
refcount: Remove unused __signed_wrap function annotations lkdtm/fortify: Drop unneeded FORTIFY_STR_OBJECT test
Ryan Roberts (2):
randomize_kstack: Maintain kstack_offset per task
randomize_kstack: Unify random source across arches
arch/Kconfig | 5 ++- arch/s390/include/asm/entry-common.h | 8 ----- arch/x86/include/asm/entry-common.h | 12 -------- include/linux/compiler_types.h | 9 +----- include/linux/randomize_kstack.h | 54 ++++++++++++--------------------- include/linux/refcount.h | 10 +++--- arch/arm64/kernel/syscall.c | 11 ------- arch/loongarch/kernel/syscall.c | 11 ------- arch/powerpc/kernel/syscall.c | 16 ++-------- arch/riscv/kernel/traps.c | 12 -------- arch/s390/kernel/syscall.c | 2 +- arch/x86/entry/syscall_32.c | 4 +-- arch/x86/entry/syscall_64.c | 2 +- drivers/misc/lkdtm/fortify.c | 36 ++++------------------ init/main.c | 9 +++++- kernel/fork.c | 1 + tools/testing/selftests/lkdtm/tests.txt | 1 - 17 files changed, 49 insertions(+), 154 deletions(-)
Signature · 1 line
Kees Cook
The pull request you sent on Mon, 13 Apr 2026 16:21:45 -0700:
The pull request you sent on Mon, 13 Apr 2026 16:21:45 -0700:
Quoted 1 line
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/hardening-v7.1-rc1
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/d568788baab24875604c231f723dbb72387fb081
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html