hardening fixes for v7.0-rc6
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(-)
Signature · 1 line
Kees Cook
The pull request you sent on Wed, 25 Mar 2026 14:16:49 -0700:
The pull request you sent on Wed, 25 Mar 2026 14:16:49 -0700:
Quoted 1 line
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/hardening-v7.0-rc6
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/d2a43e7f89da55d6f0f96aaadaa243f35557291e
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html