[GIT PULL] hardening fixes for v7.2-rc6

From: Kees Cook

Date: Tue Jul 28 2026 - 14:00:46 EST


Hi Linus,

Please pull these few hardening fixes for v7.2-rc6.

Thanks!

-Kees

The following changes since commit 8cdeaa50eae8dad34885515f62559ee83e7e8dda:

Linux 7.2-rc2 (2026-07-05 14:44:06 -1000)

are available in the Git repository at:

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

for you to fetch changes up to 3421b9b056a6576d0ebac1030eafb48ad0544092:

selftests/seccomp: Fix pointer type mismatch build error (2026-07-15 18:11:29 -0700)

----------------------------------------------------------------
hardening fixes for v7.2-rc6

- lkdtm: fix missed rename of STACKLEAK_ERASING to KSTACK_ERASE
(Haofeng Li)

- selftests/seccomp: Fix pointer type mismatch build error
(Kuan-Ying Lee)

- tests/fortify: Disable -Wstringop-overread (Nathan Chancellor)

----------------------------------------------------------------
Haofeng Li (1):
selftests/lkdtm: rename STACKLEAK_ERASING to KSTACK_ERASE

Kuan-Ying Lee (1):
selftests/seccomp: Fix pointer type mismatch build error

Nathan Chancellor (1):
fortify: Disable -Wstringop-overread in tests

lib/test_fortify/Makefile | 1 +
tools/testing/selftests/seccomp/seccomp_bpf.c | 3 ++-
tools/testing/selftests/lkdtm/tests.txt | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)

--
Kees Cook