Skip to contentSkip to conversation

hardening updates for v7.2-rc1

GIT PULL Merged Kees Cook 2 participants 2 messages Jun 15 – Jun 16

lore
Share & tools
lore

Kees Cook

author
#0 lore raw

Hi Linus,

Please pull these hardening updates for v7.2-rc1. Another PR will be coming after the BPF tree lands, as it contains the removal of the last use of "strncpy" in the kernel, at which point I'll send a PR for this tree which removes all the strncpy implementations:
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/log/?h=for-v7.2/strncpy-removal

Thanks!

-Kees

The following changes since commit 7fd2df204f342fc17d1a0bfcd474b24232fb0f32:

Linux 7.1-rc2 (2026-05-03 14:21:25 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/hardening-v7.2-rc1

for you to fetch changes up to 122b52f0bab007ebeb414c8280c1def17b9ed1f4:

lkdtm/powerpc: add PPC_RADIX_TLBIEL test for radix MCE validation (2026-05-21 03:21:01 -0700)

----------------------------------------------------------------
hardening updates for v7.2-rc1

- lkdtm: Add case to provoke a crash in EFI runtime services (Ard Biesheuvel)

- lkdtm: add PPC_RADIX_TLBIEL test and missed isync (Sayali Patil)

- stddef: Document designated initializer semantics for __TRAILING_OVERLAP() (Gustavo A. R. Silva)

- strarray: drop redundant allocation, add __counted_by_ptr (Thorsten Blum)

----------------------------------------------------------------
Ard Biesheuvel (1):
lkdtm: Add case to provoke a crash in EFI runtime services

Gustavo A. R. Silva (1):
stddef: Document designated initializer semantics for __TRAILING_OVERLAP()

Sayali Patil (2):
lkdtm/powerpc: add isync after slbmte to enforce SLB update ordering lkdtm/powerpc: add PPC_RADIX_TLBIEL test for radix MCE validation

Thorsten Blum (3):
MAINTAINERS: add kernel hardening keyword __counted_by_ptr lib/string_helpers: drop redundant allocation in kasprintf_strarray lib/string_helpers: annotate struct strarray with __counted_by_ptr

 drivers/misc/lkdtm/Makefile             |  2 +-
 include/linux/stddef.h                  | 65 +++++++++++++++++++++++++++++++++
 drivers/misc/lkdtm/core.c               |  2 +-
 drivers/misc/lkdtm/bugs.c               | 27 ++++++++++++++
 drivers/misc/lkdtm/powerpc.c            | 49 +++++++++++++++++++++++++
 lib/string_helpers.c                    |  8 ++--
 MAINTAINERS                             |  2 +-
 tools/testing/selftests/lkdtm/tests.txt |  1 +
 8 files changed, 149 insertions(+), 7 deletions(-)
Signature · 1 line
Kees Cook
merge bot Merged
#1 lore raw
The pull request you sent on Mon, 15 Jun 2026 13:50:37 -0700:

The pull request you sent on Mon, 15 Jun 2026 13:50:37 -0700:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/hardening-v7.2-rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/481329ec5b31d2c48ac6b8b703c8008133884c7e

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html