From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 B503E2F12A5 for ; Mon, 15 Jun 2026 20:50:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781556638; cv=none; b=VF5TLogIOmBLbzuPP+sdhGTwyee0KhoyoU+31QmqoaATL8/pCEJXN5y9G+v1wKWdq+dbx+bmJFYItmUygyq7AtQTdL6qWZSlMFT3d8X/XjMX8Mz5JyPbWi+ewuy8TTqlEjwZEJobCFP3hYwpz0Pj2BbBQrEX0vxBVFVdTFCzZbg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781556638; c=relaxed/simple; bh=OcThQo+/HDdrdClZFbILPsdxyyGhnblCRbxgULDP6FU=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=GeORVQoOXSB4zBDwxsXCW4kZkC6wjZ9rEE17v/h5gClClnpUVrq0vVE5tBlHAj1MUY/mBC+eCho3Z4un98EUaJxKwDchRhAkvIlcV9pcL95phy2IpJQGuCL482OpIOxD8om4VMeSf6DkrpMeVD+3Nbn260HQB+n6Bp/BPnOsknw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dNSNJc1/; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dNSNJc1/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 598AC1F000E9; Mon, 15 Jun 2026 20:50:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1781556637; bh=A0/nrTM5flsmbGRCwc/eF4H4TdwN0YFlN8hMRvQrhrI=; h=Date:From:To:Cc:Subject; b=dNSNJc1/6veARnI1OLW0lUAMuJH1wNiEI6JPUEJewA+VDCZZzn4buThzo4m6+Je59 /9n0ifNBYZtacf6/wUVBilbnwKxEJHmbrJkw3fG/wu40litwzxFzFTntF4kVfqBjFD jdQg8lm1iw89LoFgQyh/agH76bnbFaVId8Sg0DCo71LvOvd0+dMXqC03Z2/6gz/iV8 Mc631ygeUOppbuhfkehkCZCKLa2PcrYAt+H5MR2LCeVqxxR1Cywl1n9AgALszD/+ND huqc4myvM3raVRGyQ3JWSmocjUO7ETrlIGOfivw4nhs2rJCWuJxAcDFlnsO4J7LUVC 1AGvX4i47okag== Date: Mon, 15 Jun 2026 13:50:37 -0700 From: Kees Cook To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Ard Biesheuvel , "Gustavo A. R. Silva" , Kees Cook , Michael Ellerman , Ritesh Harjani , Sayali Patil , Thorsten Blum Subject: [GIT PULL] hardening updates for v7.2-rc1 Message-ID: <202606151344.140BF22B64@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.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(-) -- Kees Cook