From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 43D11C433FE for ; Thu, 26 May 2022 15:31:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347939AbiEZPa7 (ORCPT ); Thu, 26 May 2022 11:30:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347922AbiEZPay (ORCPT ); Thu, 26 May 2022 11:30:54 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 743F5C1EE8 for ; Thu, 26 May 2022 08:30:53 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id n10so2041636pjh.5 for ; Thu, 26 May 2022 08:30:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=f0oIJyNR//HgUX2t3iRe655NHhT5Xxp8TrbHU6y9EEA=; b=TjibDcYmrAJMOftD/6wq23jnMY0yrbsrRREICRDTngCWmvp/5WlnXVNzxAWbqlskOM fPZRrEOIK9Z8XyxYLoN4AcWwL/fCuQO3mwhPMMiUMh8T6jVADnpksgh+M/vb4hiFSuTB 7QcmwmLfERRnn+flCxbmJNI2MLnZVwuHK0hfY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=f0oIJyNR//HgUX2t3iRe655NHhT5Xxp8TrbHU6y9EEA=; b=cwSuNH0QlkGwimdUktJaYItiSZrNmVz/uibYntUXk0ll/N7SCVW7ITWWegoVmwfeAk 0PBp3c+o2zsacaeZxMa7Yaj5vqT0sTIObmJ4PJiTxfTCgIFRPOQcz5l9GpHyA8XpTzEo 0aX8FvM2EM1YNIjiw8N72bT86BFLLhRtzeU0cIt4Hq701eQz3DwHuL1V767v9CpCFMOb zCi455nQgYglnEcDDzSwkz2HCbRujP/5iFNbcJSLnd1O8KTKnWRXFy0SwopVg+SYgmP2 JXoFsaReTuheGNIx74p3Av3zAYsPoCwfIkKMfZ3uJuUrOCtAbd7wjtQT+MJeFjpDEIhh 9nyA== X-Gm-Message-State: AOAM530j+PH070R06gxB4jZ4nh/Qmm65AHxwOn9/nh3QjDOXnfKKRN+n ei5EdQ/wpJ94XVnFQ8opLMQJmw== X-Google-Smtp-Source: ABdhPJzFCD0Fx7iv9q8tMYCCo+mBF4urg52jtuQthmRGfwkjSyXeIbyxnqAf+RtQgSfcLe7opvSrNw== X-Received: by 2002:a17:903:1211:b0:15e:8208:8cc0 with SMTP id l17-20020a170903121100b0015e82088cc0mr38880866plh.52.1653579052887; Thu, 26 May 2022 08:30:52 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id q1-20020a170902f34100b0016368840c41sm1705409ple.14.2022.05.26.08.30.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 May 2022 08:30:52 -0700 (PDT) Date: Thu, 26 May 2022 08:30:50 -0700 From: Kees Cook To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Guenter Roeck , Kees Cook , kernel test robot , Masahiro Yamada , Anders Roxell Subject: [GIT PULL] kernel hardening fix for v5.19-rc1 Message-ID: <202205260827.CADD61804@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Please pull this kernel hardening fix for v5.19-rc1. This fixes an unlucky build race condition when using the GCC plugins, noticed by a few folks. Thanks! -Kees The following changes since commit ed5edd5a70b9525085403f193786395179ea303d: loadpin: stop using bdevname (2022-05-16 16:02:21 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/hardening-v5.19-rc1-fix1 for you to fetch changes up to d37aa2efc89b387cda93bf15317883519683d435: gcc-plugins: use KERNELVERSION for plugin version (2022-05-24 08:25:16 -0700) ---------------------------------------------------------------- kernel hardening fix for v5.19-rc1 - Avoid GCC plugins needing utsrelease.h build target (Masahiro Yamada) ---------------------------------------------------------------- Masahiro Yamada (1): gcc-plugins: use KERNELVERSION for plugin version scripts/gcc-plugins/Makefile | 2 +- scripts/gcc-plugins/latent_entropy_plugin.c | 2 +- scripts/gcc-plugins/randomize_layout_plugin.c | 2 +- scripts/gcc-plugins/sancov_plugin.c | 2 +- scripts/gcc-plugins/stackleak_plugin.c | 2 +- scripts/gcc-plugins/structleak_plugin.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) -- Kees Cook