Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp274885rdb; Mon, 18 Sep 2023 15:00:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEzdhuxzCIlBt7cFHJ7TF9qGyfqDQKsvtyCuKTlaSiq+xPhBPPVnys323f9Se25DrvRKnAj X-Received: by 2002:a17:90a:bf90:b0:273:e073:1d02 with SMTP id d16-20020a17090abf9000b00273e0731d02mr9997867pjs.38.1695074422052; Mon, 18 Sep 2023 15:00:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695074422; cv=none; d=google.com; s=arc-20160816; b=szXbnwuft0jEqB8ZqHLo8L390wApTZMs0gNxpnRdEk+wkgmsWjaWt61AijAaVMbvkf GRVltJ4sQCag/Arj2v2aftoTGTHTZmEQhwhmXhnWNYRpDQxie/R87+e1PHsQTA+8Fcmr 62XbEFmVHALs47l4FikdEdwaQI/mPeukVMXxRv2iizzcz8zPNhHumzPlDgmx6n7BAKkL ONEt1JK7jl9d/YBk+r6HzuXubdVacfEvJR1m+gwwaOgW5r70KlRSr485uFdXWHPN1Opu bMhnY7LFhfDW/Ma6nTrzBC2DGLsaodYPAk+jQsBUuxB9bg7PwsMXZaoeMhMMRLia3wWe p6zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=wJ/RnGWVlYXjsYT2wHH8A/bPUFSgIF9iFkS7fZpZUgg=; fh=o0dbVhH0wH2/BeE8tnc5OtduKaBsEFcY7HyOTPvT/vc=; b=eNZRKPNySSecsRHLVpG0PZrxBFJMscNo0+PGpMZ+NFsEVzmwdCCVdp+FSEKKGm8Zpu 2yCykgYz9ywBa5xk1Apx6LsTG0/+nczBUfqrt4rQZxAsRatJFxjDzHCqLN2MW/+TlQ0S Aa4Kq9zQiOJn09FaLm6zxrl4FQYH0VeZX8x1pBUk5a4ZnIhhUxGN1MJAWtBzMHD4BQwJ FOURrXKbNg29wvXaeM3Mc8pcQP0nLctqQwNjAfzy6e2JUad4HYSppEdwUTx4O4K2GiF4 POhJaCzu6dcr3s3vD9RJ9nJGyCWHk+LxtuNJdE71eZKBu2yf/yVekoeANh6wtKD130e0 ef2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=YYqUufJu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id x2-20020a656aa2000000b00578b4c27d57si85050pgu.475.2023.09.18.15.00.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 15:00:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=YYqUufJu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 7054F8075923; Mon, 18 Sep 2023 05:21:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241423AbjIRMUb (ORCPT + 99 others); Mon, 18 Sep 2023 08:20:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242005AbjIRMU1 (ORCPT ); Mon, 18 Sep 2023 08:20:27 -0400 Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9F97FF for ; Mon, 18 Sep 2023 05:20:08 -0700 (PDT) Received: by mail-oi1-x22d.google.com with SMTP id 5614622812f47-3a9ee3c7dbbso2923897b6e.1 for ; Mon, 18 Sep 2023 05:20:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1695039608; x=1695644408; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=wJ/RnGWVlYXjsYT2wHH8A/bPUFSgIF9iFkS7fZpZUgg=; b=YYqUufJuc0c2gUq3T4K/nNaVOlESAu+hSXbRk1FKOvjnEqS6+J1RcTPzhk9A0CsLEJ XjgM+Yx9yWe4c7w+dHUwa0hVcK5J+xTtfDqJArIYmIorjZU3YaXEg68IA6JWauofuApR Kb9Sl/nxMGDhzcKxMYF0n2KHvPuWcYOMmFIABPKpSmbJpFtUTPQT07dXIGvR2YT+6kZO 4ezB9/kxW/qQc84ANG+kQuTR+v3UbY82jLHJ5PYpw/+0wj9xmoLTF9Tb6jH8sZR8rV3E OsE08NXE1ZdkmV+YdzRJ1wq5tvlcVoRYfoTsZycwpStjT0QQ81cGuUmHEsGg+yzrAgw9 mLyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695039608; x=1695644408; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wJ/RnGWVlYXjsYT2wHH8A/bPUFSgIF9iFkS7fZpZUgg=; b=WKjzn5C2G7PArYEkQo6vIfAkKytT3twprCSr8rF3JESt5fcmO5w9kAzIa3jUng3HOO xMTSSWWc6jCaWmkpCYndIbzVN9oGy+LN4GKeGQtH4Ok9vI4ReX5LVTwLg8Oy0SYkMxDS IieE0S8PCzezMTsPP2EM9AjCLFU+Nnc8Oho7nPngjCDlomEoqAnd19mvyUAsDq+f9j7O wXHcUbqE7G3W91wV0s9DXjPtySNLDiOjgAiBaH6MYJ4qO6jE/FcUQm7zr7m3vh1ORZgz WyjiuFz/kHz+lZA0mbeN6mLBisANVZH7ms3KSzDCIfWZmf4q20IVpgjevRUJkdcYaXKX yi0A== X-Gm-Message-State: AOJu0YyeqYwEH8c4qYGc97MgcpIRWkMN8Kr/IbyIw5sQgIjyvYLZi0rc oS0KWRSPwHj6VDDBUwaZW/86gTuZUBV44+p8Ngl7Zw== X-Received: by 2002:a05:6870:d784:b0:1d6:5e41:a8a1 with SMTP id bd4-20020a056870d78400b001d65e41a8a1mr10689149oab.27.1695039607944; Mon, 18 Sep 2023 05:20:07 -0700 (PDT) MIME-Version: 1.0 References: <20230916021835.never.147-kees@kernel.org> In-Reply-To: <20230916021835.never.147-kees@kernel.org> From: Matteo Rizzo Date: Mon, 18 Sep 2023 14:19:57 +0200 Message-ID: Subject: Re: [PATCH] x86/mm/dump_pagetables: Add SLAB_VIRTUAL knowledge To: Kees Cook Cc: Jann Horn , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Mon, 18 Sep 2023 05:21:11 -0700 (PDT) On Sat, 16 Sept 2023 at 04:18, Kees Cook wrote: > > Add the markings for the SLAB_VIRTUAL area. > > Feel free to collapse this into the x86 patch from the above series. Thanks! I will add it to the next revision of the series. -- Matteo