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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 20A88C433EF for ; Mon, 4 Oct 2021 19:14:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E780D61213 for ; Mon, 4 Oct 2021 19:14:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234678AbhJDTQX (ORCPT ); Mon, 4 Oct 2021 15:16:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232043AbhJDTQW (ORCPT ); Mon, 4 Oct 2021 15:16:22 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D91CC061749 for ; Mon, 4 Oct 2021 12:14:33 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id x8so588801plv.8 for ; Mon, 04 Oct 2021 12:14:33 -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:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=IZk9KcURE39bItBr2JToxRyweMkJ3IjYCdF9eyKRjvk=; b=EEQ2L2aiO+nrZEAym3NhF53k7qNxmtpkp7nOwL+6KGkTEV5J4XK2IF8vJ9FOq7OCnu gF8SDf5+yPIvLU9ZsRJGw5G/oD0fj5zSJe3J/ea5JN5q8DHgwrDAQQVWt6S9tQUbxD+g BYtEP6BWb617WJIiIZWcycPZ8ZLLQmlV1Unms= 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:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=IZk9KcURE39bItBr2JToxRyweMkJ3IjYCdF9eyKRjvk=; b=0KqIsEo+TStvDEZGZxzlmdrtv22nUHX3rsGKz0zcFAGQ4jrDnDM3oXd5on1RCgayjL p67j1MMeE3T/DGnhFjc34H7fVIOZZ7HbgzHbpgKbbaZ3BAy0kpyCXJeD7Vs7EDfg/y6/ SAda8t2e16Uu73Rk1G6nYDX6SXFsBCorBeK+U0UivXRzYoly5silIn4cVTo3DAMYF3a9 Ky+TNI2+VVE5uV1XKTl+RgFP8IG0mk3pYPfwBToeN9V2djyBN/rvw7VEk6wz/Q1byZoa 1VTI8KwEdd67gYgmc7ZFiQk6dJsLwPxS9fm3ymB2bBJ9u1hPou0ek0ES9j2x9468EaaU FXyQ== X-Gm-Message-State: AOAM533sZ6yvfzKWH6gmHYbPfo2/qA+C7DGFY4+GZDWQ5D9ryMDYb3tj gVOLJpzhhgRGtP/i40X/jT3Rzg== X-Google-Smtp-Source: ABdhPJww4GWrgQH04OALPBHlAyJO0Fe92Q5UeML6U9bLBjb1q3ZSyi2fj5J+OXoZ9XJxAqnGWVtyXQ== X-Received: by 2002:a17:902:d887:b0:13e:e77:7a21 with SMTP id b7-20020a170902d88700b0013e0e777a21mr1268205plz.66.1633374872817; Mon, 04 Oct 2021 12:14:32 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id w8sm9962911pfd.4.2021.10.04.12.14.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Oct 2021 12:14:32 -0700 (PDT) Date: Mon, 4 Oct 2021 12:14:31 -0700 From: Kees Cook To: Josh Poimboeuf Cc: Andrea Arcangeli , Thomas Gleixner , YiFei Zhu , Linux Containers , YiFei Zhu , bpf , kernel list , Aleksa Sarai , Andy Lutomirski , David Laight , Dimitrios Skarlatos , Giuseppe Scrivano , Hubertus Franke , Jack Chen , Jann Horn , Josep Torrellas , Tianyin Xu , Tobin Feldman-Fitzthum , Tycho Andersen , Valentin Rothberg , Will Drewry , Jiri Kosina , Waiman Long , Andi Kleen Subject: Re: [PATCH 1/1] x86: change default to spec_store_bypass_disable=prctl spectre_v2_user=prctl Message-ID: <202110041214.564BF23@keescook> References: <202109111411.C3D58A18EC@keescook> <20211004175431.5myyh2wqnxbwqnwh@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211004175431.5myyh2wqnxbwqnwh@treble> Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org On Mon, Oct 04, 2021 at 10:54:31AM -0700, Josh Poimboeuf wrote: > On Sat, Sep 11, 2021 at 07:01:40PM -0700, Josh Poimboeuf wrote: > > > > > > > On Sep 11, 2021, at 2:13 PM, Kees Cook wrote: > > > > > > On Wed, Nov 04, 2020 at 06:50:54PM -0500, Andrea Arcangeli wrote: > > >> Switch the kernel default of SSBD and STIBP to the ones with > > >> CONFIG_SECCOMP=n (i.e. spec_store_bypass_disable=prctl > > >> spectre_v2_user=prctl) even if CONFIG_SECCOMP=y. > > > > > > Hello x86 maintainers! > > > > > > I'd really like to get this landed, so I'll take this via the > > > seccomp-tree unless someone else speaks up. This keeps falling off > > > the edge of my TODO list. :) > > > > Thanks! You can add my > > > > Acked-by: Josh Poimboeuf > > Hi Kees, > > Ping - I don't see this patch in linux-next. Are you planning on grabbing this > for the next merge window? Thanks for the reminder! I've pushed this to the seccomp next tree. -- Kees Cook