Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1187680pxf; Fri, 9 Apr 2021 02:09:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyEtszcYyE4K1b9ZWGk9HJSEh1Cnls7Kf06Z/N7PjRF0cLcLpoQbZoTvK3BYWGumhpWaPlU X-Received: by 2002:a17:907:3f97:: with SMTP id hr23mr15188335ejc.69.1617959387545; Fri, 09 Apr 2021 02:09:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617959387; cv=none; d=google.com; s=arc-20160816; b=P8qXLqB1Y3aozSgo5bGKv0IThBZULb1GpD914mmtuqXerV9jedMJQ9cANieiKl39Di snlS084HSpnc6MMRlmIkgK81F3AlS706OOiD3LDqIvqYR/KiOXLTNqMbNWRcD4OAWaSt LAIlo9kpALooHFs7l5bXgSc4OOQOFlrR3bgIGbliuCvLAoSyBynzpY0r3WFozFQ1R97o Nto7c1yPqtyxWPcTQX9F7OyMqHo5CoFFj40wxaI5gXnr1lZyjjUfQ4ZUlV2YoMuvZq0G JxRcLgijL1VxwrCa06htekb26dGw5EIe1YEnjikM9ickIKdpF+SWDrS9bNWlM83Nfjq/ Lc+A== 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=t4PipJRxNW7hV1bpmymrmsyDv4ybS5qWPJmGY6G7EJE=; b=OzfwoHTmqE/PYHapxwYohB9tleFittPpEmSN98zMHe1Qw4iCNBS4Xs6ot5Vb+5P1Ha qMnhnF40mzN8EpkkwGUGtotOFMEDXkQ5/Pe86HgOJbvLHgeibAnTjQzE5ilazdg/VdOy DDOWKObKRAYHtPp3erhAuU5DlYcbM7RUEhdpJKEGOixCoQqMl5nGZlB4dLjcfFGRKYoU BYsO7wmgrF/vPBYcqo+QeTCL1CUFVzrUoJRhsJcCu1ftOtJ1VO7dWEc2/XVKkqBe9icg cQEkeSBWdnkfJjOH4F5qUvx7vz/CwfCf6h94emyiQb1RZLply9/ZoZNw/UOxInCATRuP 5wkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=FBkJARK9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l3si1589783ejc.409.2021.04.09.02.09.24; Fri, 09 Apr 2021 02:09:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=FBkJARK9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233175AbhDIJIS (ORCPT + 99 others); Fri, 9 Apr 2021 05:08:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232563AbhDIJH5 (ORCPT ); Fri, 9 Apr 2021 05:07:57 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE6BFC061761 for ; Fri, 9 Apr 2021 02:07:44 -0700 (PDT) Received: from zn.tnic (p200300ec2f0be10048f842a34b65c796.dip0.t-ipconnect.de [IPv6:2003:ec:2f0b:e100:48f8:42a3:4b65:c796]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id C85051EC030D; Fri, 9 Apr 2021 11:07:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1617959262; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=t4PipJRxNW7hV1bpmymrmsyDv4ybS5qWPJmGY6G7EJE=; b=FBkJARK9rCDTs5NBsSLfh6Wu+49wcFoDH2A4YmlxuR2VeJom3CVtMIi8dewAyAlWzZJVQj eoaI0CZHYs/5GtJmaKJuCKG5EKj1X+obM4udvKwEFvtFuFlaWnlnKd7MqNWcOnBVx/jF6N 2WJtu14wnh8Bi50ZxNn2tMfV0vgCkP8= Date: Fri, 9 Apr 2021 11:07:46 +0200 From: Borislav Petkov To: "Saripalli, RK" Cc: Josh Poimboeuf , linux-kernel@vger.kernel.org, x86@kernel.org Subject: Re: [PATCH 0/5] Introduce support for PSF mitigation Message-ID: <20210409090746.GB15567@zn.tnic> References: <20210406155004.230790-1-rsaripal@amd.com> <20210407223905.5dqgzdaibvgq7jeq@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 08, 2021 at 09:56:47AM -0500, Saripalli, RK wrote: > It is possible most applications have been reviewed and scrubbed for > SSB-type attacks but PSF-type issues may not have been looked at yet. > This may be one of the cases where SSB is enabled but PSF is disabled > until the application(s) are scrubbed for the same. Right, and for that I think we could do a slimmer version of the psfd= toggle - no prctl and seccomp stuff - just the cmdline disable thing to keep this simpler. Btw "psfd=" is maybe too short and cryptic. It would probably be more user-friendly if it were called: predict_store_fwd={on,off,...} or so. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette