[GIT PULL] hardening fixes for v7.0-rc6
From: Kees Cook
Date: Wed Mar 25 2026 - 17:21:27 EST
Hi Linus,
Please pull these two small hardening fixes for v7.0-rc6.
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.0-rc6
for you to fetch changes up to 7a618ca9b9c4769fc5adf7344bb1dd98f823da22:
init/Kconfig: Require a release version of clang-22 for CC_HAS_COUNTED_BY_PTR (2026-03-20 11:51:48 -0700)
----------------------------------------------------------------
hardening fixes for v7.0-rc6
- fix required Clang version for CC_HAS_COUNTED_BY_PTR (Nathan Chancellor)
- update Coccinelle script used for kmalloc_obj
----------------------------------------------------------------
Kees Cook (1):
coccinelle: kmalloc_obj: Remove default GFP_KERNEL arg
Nathan Chancellor (1):
init/Kconfig: Require a release version of clang-22 for CC_HAS_COUNTED_BY_PTR
init/Kconfig | 2 +-
scripts/coccinelle/api/kmalloc_objs.cocci | 11 +++++++++++
2 files changed, 12 insertions(+), 1 deletion(-)
--
Kees Cook