Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp513587lqt; Mon, 18 Mar 2024 14:56:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW+zrC/Bb6C7aHODjGOIukIY71WL/1cYSDQU82oMScaJxt9U3h7yDDEi5hyVPJBdtSffKC4zYH9Z64Ru6G6RBfc0qNQ/KxCkRGMNHAALw== X-Google-Smtp-Source: AGHT+IHpBOSASUymzM7VKurbj+pyL3vp1bvuWcO69GfEUp7OFYbfLB/dU/RRyT9tIkQ4YJbUVz3g X-Received: by 2002:a05:6a00:2d8d:b0:6e6:96cb:3ab8 with SMTP id fb13-20020a056a002d8d00b006e696cb3ab8mr1149733pfb.10.1710799008703; Mon, 18 Mar 2024 14:56:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710799008; cv=pass; d=google.com; s=arc-20160816; b=kHH+6wStUJenrdOf1H8g/leM+G272EyzJQ4WkJpWWSAkXgl+f6CELxiybi/c8bqPHC TCnjOXHwXzSPVlKtUB2m8UAJPFSoaU/0Q2aq5JwFMBsilj5Po8s9MXfj+G145GW5S0Dh Vd1/VM3rtB4seM8ORt2Af93V0HU/rgh5UvVrLZtUmWquswxRlHaLzweVsJOTiABTlyW4 jJtZtdnEiHR+oJ0DWubvwCq+j4MtGohfjISRdp05ufAXI6q55WGaI/iR6AVu4e9qLNce p8UzrFZ5vw8/TQG8quFrN1SgjKzlyiVlzVbbVl5U4FRfBVOLTzU2DsvvPke9aBW5h6Jg JpVg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=jL6oALm6oz0AQpaMLGBefs2+N863KTZI8rUXH8fplhs=; fh=mv3/gaOXVtVsnRkar+/qqlrPc6IUp3b1kRAdDhVSZHA=; b=nEOVAA8X8uRbzsU26DIVNpxewpk6elOi/7G6yQk8nxWmyjPOab9NxPTxUmQmDRP14s pVCBG/qf2aAq0SEl67a1S1I+PEOSWnBEsoBHgFZt5fIdaWeZBC7Bq/tSP0kdMGyZnjRt sX57t4HmJ36t552qxOAdMP0Uzy3/zCgKAFcA9U9HGlmv/EHubjNguYqWwdx86/fCwZn6 lykad+wNKG/SBDExUsgQnd0/W1/k66XP9SoB7DZlOIHXpKrE2qVNi7RUO+FQe5xbKFGc ACkA+g1RfpGCDypkSCLXqTWhMgNWMo663Rp6L+GJmv7eE13dTUVC0512mDMqUG10xSt6 jpCw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b="TuuVIu/V"; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-106729-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106729-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id z4-20020a630a44000000b005e425bf0f0esi7593820pgk.830.2024.03.18.14.56.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 14:56:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-106729-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b="TuuVIu/V"; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-106729-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106729-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 4BF73283B61 for ; Mon, 18 Mar 2024 21:56:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C52E459B6D; Mon, 18 Mar 2024 21:56:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="TuuVIu/V" Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (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 CA14C5A780; Mon, 18 Mar 2024 21:56:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710799001; cv=none; b=ATn49NQYipb28XPX687hkEhQ2PO5D3/e08Jx2Bf82Wjx7aL8Wx8gaIfckzHbL7Y27d5YX96TybKkB5uV1/2QPuafc0EWr5cc27nraM5KyjYXQ20JAI5k6pj2XibeDzv3Qwo7ZBFaPad096gNkWdlTcFHacKDQmSzFU1sQ1J/xGQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710799001; c=relaxed/simple; bh=LQlzSO4jZlu/R9+d49B7PtAsfF5y5LqIkz99iZPabwY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qxCvNyLL6igzRwQZHCZlUv+bYySePU/4+qh0K9bUnjmT3BTuSG920iSAnyEwlwQdOd9oI0ZAdJazFfgrXLHSg9MHoj0wRtAiCvbmXGAy2ttnJdvXohxr/fVzQULHRLzwcBmkBNk4mWLB0q+Qc7tL7Zm/Y7DR6HGRLndPta26s04= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=TuuVIu/V; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id EC09B40E01A0; Mon, 18 Mar 2024 21:56:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id muw0ZI-tpOYL; Mon, 18 Mar 2024 21:56:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1710798992; bh=jL6oALm6oz0AQpaMLGBefs2+N863KTZI8rUXH8fplhs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TuuVIu/VjejpM4svNOmmHKQdYto5WHI/9saJoUPQVqSfPoObky2M5V1s/hgeA7Vce N40oqibOVXXCBYXlgvKlEFF/7t1qEWRo8un6fMp9q2NUYICIawYJJm9de3LBelD5K6 iR/TfxamB2mIo/c5kog7hsUZtAwpG0KeUvMpIJAfn5Xp9xxZGuDmTvI9qmDslrn+Tj ELdkJ6IjanZdG9AZ7hojjE2fTCou7dkGvJUPPk4f5EvFLxJl9N/rZJwdKIbuFiYTfT iUuqVTR84w2WGbEOTpra9GFQ7tei+Cm/gXKoPCEntv1OpLNS+tBZWp6Vt7i1fegy6t I2JFq8m+AjNbxF1GJwRaYqTwsHk/myjw8RCmQl9G6qwNWsbjqQmWG7laHJSi9tALwt Rnvb/LrvxpvmHCunisN8lPH0XdeVSzdvMAOTn8L6aR7XjgRasRkVRExvD3Ro8g0msC JS5dTfJzMeK9l1jyunXa19eTaWz6M/MU8AlGSMH6VfA2aR+5KuKCPplO4sfzsiq0WS U10qrhXw2DD1vtT8pGt1irPwvV3yq6ILy3BhdSE0OoTjgnigLQdnBElrZZHZ3Oqhlq c2T2mwdCUO7QFcbqoeqR2tB+O1Ae4FYzwElEJQD8qidmY1iq/xQM0Kq5Uu5rPauewf gLNSAB/d9+7fwjqHcENvVuPI= Received: from zn.tnic (pd953021b.dip0.t-ipconnect.de [217.83.2.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id C41FC40E00B2; Mon, 18 Mar 2024 21:56:17 +0000 (UTC) Date: Mon, 18 Mar 2024 22:56:12 +0100 From: Borislav Petkov To: Kees Cook Cc: tglx@linutronix.de, Guixiong Wei , jgross@suse.com, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, peterz@infradead.org, gregkh@linuxfoundation.org, tony.luck@intel.com, adobriyan@gmail.com, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH] x86, relocs: Ignore relocations in .notes section on walk_relocs Message-ID: <20240318215612.GDZfi4fG52DTgra51p@fat_crate.local> References: <20240317150547.24910-1-weiguixiong@bytedance.com> <171079804927.224083.15609364452504732018.b4-ty@chromium.org> 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=utf-8 Content-Disposition: inline In-Reply-To: <171079804927.224083.15609364452504732018.b4-ty@chromium.org> On Mon, Mar 18, 2024 at 02:40:50PM -0700, Kees Cook wrote: > Applied to for-next/hardening Why? This is a patch that should go through the tip tree, if at all. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette