From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1FDC8314D1F for ; Mon, 13 Apr 2026 23:21:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776122506; cv=none; b=g4xnlF1fbqc6zdcghay9zpw2qfwCOswXXUI49Y6rXeArFw6wSU8v6iwRMGZ2VqqHHLB4rklBSJeMa/t0rMqr9+X2IJE/BkRbo12Tp2jxf1PIpsi9jZA6vzptoR58LLLs6NCK3skDGvpXDvCG+Tbwq23Sewpp6X+HG0ncv+F6gpU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776122506; c=relaxed/simple; bh=GPCpCt5BEnWWuVRUSb/CRxN/KmXwrv6Ixyh4tovlWzg=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=tqWf5YkwphtZu4CwH310Y5tvkLDXstmsSDt9fWKFJdpxqS7C6sdOa1AbyCeFYyW5gR/xBkQ9FLZckoW4U7x1yE/Hb7zo6Z/55uKgB49/7fvJU5OyPRSA7VX0VbPmSBQWu7Yfkq6RTKVVa7yAoeb8I1mt9yLx3ur2l4kZv11koiM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hpHyMLY6; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hpHyMLY6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 95E27C2BCAF; Mon, 13 Apr 2026 23:21:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776122505; bh=GPCpCt5BEnWWuVRUSb/CRxN/KmXwrv6Ixyh4tovlWzg=; h=Date:From:To:Cc:Subject:From; b=hpHyMLY6ta/TWRl50BITDNSR/TyRZlpvfiFrdY4rLAcgAvB8VazzM97i0WwT5uvdR ZQ3L1Bk55V6RwSO5UmktCMDsitEM9tPxjmlZ2HHH9NLMzrtj+GhcrMVaYY9SJEKZfs anrlOcR7awbhl4+kstetcxsAcvRxTM1ONVyQ1DSqMYkl5b8rZg6ZuT3ISa4FJhUYVy piYuVgXSM8rsmfOLQdFKnfrTHpigyFk2S2o5PHACYKXCynspyyNBpq9eTZVUZVhaiE Z0ZNx0qhf+e6bUbC+rwy9hTAceClvDoS6+qNvg33YMGkazPBkrxqvdNeElwVE36lxU 2TxX8DkEcem2Q== Date: Mon, 13 Apr 2026 16:21:45 -0700 From: Kees Cook To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Kees Cook , Mark Rutland , Ryan Roberts Subject: [GIT PULL] hardening updates for v7.1-rc1 Message-ID: <202604131621.7378BA7@keescook> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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(-) -- Kees Cook