From patchwork Thu Oct 26 05:05:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lee, Chee Yang" X-Patchwork-Id: 32933 X-Patchwork-Delegate: steve@sakoman.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 601A4C25B48 for ; Thu, 26 Oct 2023 05:25:34 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by mx.groups.io with SMTP id smtpd.web11.63970.1698297933645796258 for ; Wed, 25 Oct 2023 22:25:33 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.com header.s=Intel header.b=GD1QmN2u; spf=pass (domain: intel.com, ip: 198.175.65.10, mailfrom: chee.yang.lee@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698297933; x=1729833933; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=g0V9I8YZ8maNMRRgyqaxIUYZkvfe/Df2z8xY0XIPb/8=; b=GD1QmN2uc8yq1r35943QiF/jOP93l4fJQ3P178RZfApwclv456usZekZ GNHRy2HTQv8Zn/TU1zxG2aZHhVvrX/ZXiX7wd4Qu8lm274Jg5b+Ix5K1I abW8vLp1kQH/rhTbsbFOAj4feVrh+TLLFD32aQ03Gv6UvCdPK5Pj+i4xl A69XvXNHJqO02H3jSEoP64fzNHnXCebsSxq2cTsg4IF2au9ry7IHOFFls HZwYFR6EcEojh3YVpMCzpxfQPLnSfUBn/7LGX8V2Ebilw/8oZY1MU0pYE werQR8f0mtQnj+pV5aShgIifyJDSSP3Z2aKK99lXT9wUGqZq9lrgkGR2N A==; X-IronPort-AV: E=McAfee;i="6600,9927,10874"; a="267074" X-IronPort-AV: E=Sophos;i="6.03,253,1694761200"; d="scan'208";a="267074" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2023 22:25:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10874"; a="829489777" X-IronPort-AV: E=Sophos;i="6.03,253,1694761200"; d="scan'208";a="829489777" Received: from andromeda02.png.intel.com ([10.221.253.198]) by fmsmga004.fm.intel.com with ESMTP; 25 Oct 2023 22:25:32 -0700 From: chee.yang.lee@intel.com To: openembedded-core@lists.openembedded.org Subject: [dunfell][PATCH] kexec-tools: Ignore Fedora/RedHat specific CVE-2021-20269 Date: Thu, 26 Oct 2023 13:05:54 +0800 Message-Id: <20231026050554.3047093-1-chee.yang.lee@intel.com> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 26 Oct 2023 05:25:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/189696 From: Lee Chee Yang Signed-off-by: Lee Chee Yang --- meta/recipes-kernel/kexec/kexec-tools_2.0.20.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-kernel/kexec/kexec-tools_2.0.20.bb b/meta/recipes-kernel/kexec/kexec-tools_2.0.20.bb index 871b36440f..206c6ccae7 100644 --- a/meta/recipes-kernel/kexec/kexec-tools_2.0.20.bb +++ b/meta/recipes-kernel/kexec/kexec-tools_2.0.20.bb @@ -30,6 +30,9 @@ inherit autotools update-rc.d systemd export LDFLAGS = "-L${STAGING_LIBDIR}" EXTRA_OECONF = " --with-zlib=yes" +# affects kexec-tools shipped by Fedora versions prior to 2.0.21-8 and RHEL versions prior to 2.0.20-47. +CVE_CHECK_WHITELIST += "CVE-2021-20269" + do_compile_prepend() { # Remove the prepackaged config.h from the source tree as it overrides # the same file generated by configure and placed in the build tree