Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3867260rdg; Wed, 18 Oct 2023 08:13:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHauoCV7r4QhriST0dZbYiyFct5nDk0ghdrLpuBv21ByfmdgAABVyXGjeah4OHeoDFuWiwP X-Received: by 2002:a17:902:fa06:b0:1c9:d143:e9e with SMTP id la6-20020a170902fa0600b001c9d1430e9emr4764906plb.18.1697641999475; Wed, 18 Oct 2023 08:13:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697641999; cv=none; d=google.com; s=arc-20160816; b=X+qezT/dXH759VRjfvka6WlBQU8culAu0sLJNbdS77PcpgEFSwq2AHMb+Y4Dg716gQ S9G65S0Plr9VxGiTYFVAkpQS3LDyCvVHUDBY3NBSLfpJPH2sF+5Gc6MPfnX6OH/jmaRm u6P5DKPvCbFpa9KdtUDZSaSwFplescoqEL7BQalYYLZpOm0rAzitjYd2Tidwtu0JVURd V7noPIJvubnw3tvRjuq0K7PirjhIgO/vFI9AJufKvOGYCUSAscyEaJC1lzW/ArkF+GRW uPKVKywJpfXTk7vaQaumfw/69Y0iPZgGb6xlRLJlS7luWdVLzQSzo657WpRB5FuSbmCe CJag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=EbtU4bQMd+SyYpD5u3uz+hfYsMOiiZYCWw2lQLB04mo=; fh=+bpBa9t8h65IvsnSTqrT7kVLBcvqCh0aINSFKaYgSog=; b=j5O0WuaUS0oCQD9j9B3loyTadH/d4giawI2XtKCe74lJJS79Ip/NUUOqP7qqh3uRPb wa6Thy4kjMe1r4/lr/UvsW94H5YY2SMRLmfnD+75M2xzKdLSwEm5KI09ijSUxAlW41oF LfwhbKoSKoPy2VGesSu8YW1vW5r4y/7jmXPFtMhjWrfizCaiguo7nxfC75Lj/lkry/Ai m4/Rx5H9CQXh9Lrb8wf2n0tMryzN54sIKn7vzQq5djwIzg1AZTmIT9526GUbu+eL0R73 ciyel3Z6nwc28cMr5DpfCURbaGRDxamoF3ssdJQy9dVAh8SC/z5dmhnaNfe/EsEsRCcK Lz0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=cU4g+kNq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id w15-20020a170902e88f00b001c76b4c349esi69620plg.218.2023.10.18.08.13.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 08:13:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=cU4g+kNq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id B478081DE69A; Wed, 18 Oct 2023 08:13:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345337AbjJRPNF (ORCPT + 99 others); Wed, 18 Oct 2023 11:13:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345245AbjJRPND (ORCPT ); Wed, 18 Oct 2023 11:13:03 -0400 Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC967109; Wed, 18 Oct 2023 08:13:00 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 3114840E01B1; Wed, 18 Oct 2023 15:12:59 +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 w5pvRjryP5Rh; Wed, 18 Oct 2023 15:12:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1697641977; bh=EbtU4bQMd+SyYpD5u3uz+hfYsMOiiZYCWw2lQLB04mo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cU4g+kNqdKE0MIQFRGKd4h8zzOaeguhBa82OzmBaOvpjLGvZl0/TAVrCD2B7RRWo3 8yhN7yJGW7A4BLWCx31WFG54VxA9SC+bf39gSBcDfhwKzxZNaHpaydBWX9M4iyLSD/ 0ZzzMAodf12WAiM6wQYIa+4Ms/Hng+z/jVuPiVvCMxvji3twGX/T+GhV/q03scH0Bu ombylMRUvy5lKii5pV8zbvsQ6fnRFgd86sgSbUdFEvf2M+YAs7miQovFHMUoLp6D8y iYe2IJrBo0nOyDkFgq/PFq9X+A5YHiLIqRfx21yW3jJJ+9aDd1yZ/EIo6ib2t9NGZ3 uqCf2O17eks3O/koCkWdmh5gQxfjwFxVkMroLzSst550gxf2M/3xLZRhaxKJrUhy1R GWFyyCigJqVNCupq8pZIA56Cy0PxjEiRAZClPcDmXKgxZ42iMOi9iO8S+f8cy2rd7l qfYCBM0+YKtnytcvOKmEUz0V1D5GZVaeS81mrvy+FzgQiNfBO/SPONPtyRmnoZKySY 1R7To8Jg4N8WvxSI4HtKbMJguFt2lDqAxWsVHCYExk84UMOgKEVp68Ivlqh6SO/Mst V71bdfDljPgggr1H0U6s9NrtJLrgL/SAKtg/tSeCKAJWFVZ2+6GYqqqbJDtyWKZ5Jj ZmOrzgd5R0RyVJuyd0/ClU1Q= Received: from zn.tnic (pd95304da.dip0.t-ipconnect.de [217.83.4.218]) (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 5F47740E0177; Wed, 18 Oct 2023 15:12:50 +0000 (UTC) Date: Wed, 18 Oct 2023 17:12:45 +0200 From: Borislav Petkov To: Ingo Molnar Cc: linux-kernel@vger.kernel.org, linux-tip-commits@vger.kernel.org, David Kaplan , Josh Poimboeuf , "Peter Zijlstra (Intel)" , x86@kernel.org Subject: Re: [tip: x86/bugs] x86/retpoline: Ensure default return thunk isn't used at runtime Message-ID: <20231018151245.GCZS/17QhDGe7q6K+w@fat_crate.local> References: <20231012141031.GHZSf+V1NjjUJTc9a9@fat_crate.local> <169713303534.3135.10558074245117750218.tip-bot2@tip-bot2> <20231018132352.GBZS/caGJ8Wk9kmTbg@fat_crate.local> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 18 Oct 2023 08:13:15 -0700 (PDT) On Wed, Oct 18, 2023 at 03:38:56PM +0200, Ingo Molnar wrote: > If then WARN_ONCE(). WARN_ONCE() is not enough considering that if this fires, it means we're not really properly protected against one of those RET-speculation things. It needs to be warning constantly but then still allow booting. I.e, a ratelimited warn of sorts but I don't think we have that... yet. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette