Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp486357pxb; Wed, 20 Jan 2021 11:54:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJzLVdhw6IDYuajh7oFNmSN/TWfS/6MmNpyvKcu53dOv0qutLcX3xT+qQJEJFTMXUQvWB6Q3 X-Received: by 2002:a05:6402:3186:: with SMTP id di6mr5750956edb.45.1611172463475; Wed, 20 Jan 2021 11:54:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611172463; cv=none; d=google.com; s=arc-20160816; b=YNTbAtDZfsghkij5/00zTZgPAjoO2Ii8rTv2/vaRT2KLnJBXh65EZIoDZIxg69qaLE 4aNwacwuqYFtKZKJKNL39Oa6mizSeXyY799aWYzXeYmfjuVM7vKIAhnmdzMf4LUUnkCq WHdEc8P7q/gIbRLPR8RycpgvmPmzVb5ztN78aXVbuz11FDtr3uYlv/+lUEi0YODWSYL5 8lGK0LIs9GxHDYt0+tzIc1CgjRtTDhA0hsfqLqnb3x8obpOVOk3qhGt7dFNi6elHLXc9 fntJqYLElwnuxcygqNcnoJFP8quBLKLstRwn208JBxKZ0j7SlDwLlgX4aZcTlXzAT08N 0cXA== 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=nQ/PIa+xFrMMmWkHSlVcGDO0dSR+BGNs0oqmsfRTI+4=; b=sE/B2MKH6z7+06XlXlpMQYZ6IZJFgNYsRF7I1BXkpSA1bpvk3G4QxtLfhyug8uCrmR QB7dUg9fxqFMDqvrPv+xOcdjAdto0SiHyG1YpbMRtDb1/8PP9vjiP6xeSC61xSrH/h0l MR8dGsfnJrax04fvvRChKeJlWmfJe97UMRHHWY7RMiRn7u62EX4wXKwLgHrXVo0FYDDj Z72IXfYs7L2L+jjC1Ig/pz2mnr3VzZq7QsZZmTSFl/YYNH9LtYqItFx5F842YQXXzt4a beHcDJkmyymxyVnk2bLCJOwiiKQkQug4nD1loLimX51B/AEg3z/PQ90hsUiKhFg75QD1 IqxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=BwzKufG1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o23si1223962edr.561.2021.01.20.11.53.59; Wed, 20 Jan 2021 11:54:23 -0800 (PST) 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=@linux-foundation.org header.s=google header.b=BwzKufG1; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392670AbhATTp5 (ORCPT + 99 others); Wed, 20 Jan 2021 14:45:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392627AbhATTku (ORCPT ); Wed, 20 Jan 2021 14:40:50 -0500 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10E7FC061575 for ; Wed, 20 Jan 2021 11:40:10 -0800 (PST) Received: by mail-lf1-x134.google.com with SMTP id a8so2068766lfi.8 for ; Wed, 20 Jan 2021 11:40:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nQ/PIa+xFrMMmWkHSlVcGDO0dSR+BGNs0oqmsfRTI+4=; b=BwzKufG1cmihffvIJY8GqHD0JAKRamXQ4+NRsSa6Y6hTEyVNHf3fcyqTOX2RK/JHKo 1J+GbPkGp2/9IMw9bkNY1PJ1SscRDoMAX4VTfVX/zM0Bhr7Sv2H6Dk4VZKNNdMq+6N0W xncu1a+Q3aNVm90FklHZC7uyhQw7RIIOPkK0E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nQ/PIa+xFrMMmWkHSlVcGDO0dSR+BGNs0oqmsfRTI+4=; b=oBrm7njeRHBPlQO0z0N2p3vBjBszXwVfcnT2GXALZA27D2B27xbmZiFMP4lClO8zp+ U6DB/E0yq00kW8H0DZEyNRQHZb/kFudmQRBiZ8aUd26PeZztxQmGtGEnnIocZGlvPr+s Ztxa+EUCd4MInnqAnBpuxdD1ftJJeODPs8i11sEUg65JHe2+4S2ufW+T+urZojuSOK5R 4C9qEHSjvVGQ7xuWKaCF7AAZHxdbxFAQix91D4yFL67IYtY4tnOMAYXNP29aUg/DyXCX sgURsHJ41MglGmEWbnmp++aAn3JumVNd5kKWRt2uZ/8vJsF1lv3QtURKQMq2Hki2tIWP ntLA== X-Gm-Message-State: AOAM531FjK68POw9+OHLvvj4Z6fGZ5pkfmm5lgLgEB53sa9N4FZFu9Uj 9iz3lJpsCSDsmxe5a/kRkqyyeqFo79KLHg== X-Received: by 2002:a19:c787:: with SMTP id x129mr3029987lff.211.1611171608243; Wed, 20 Jan 2021 11:40:08 -0800 (PST) Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com. [209.85.167.44]) by smtp.gmail.com with ESMTPSA id m83sm280047lfa.113.2021.01.20.11.40.06 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Jan 2021 11:40:06 -0800 (PST) Received: by mail-lf1-f44.google.com with SMTP id h7so6478476lfc.6 for ; Wed, 20 Jan 2021 11:40:06 -0800 (PST) X-Received: by 2002:a19:f014:: with SMTP id p20mr4714519lfc.421.1611171605824; Wed, 20 Jan 2021 11:40:05 -0800 (PST) MIME-Version: 1.0 References: <20210116220950.47078-1-timur@kernel.org> <20210118182635.GD2260413@casper.infradead.org> <20210119014725.GH2260413@casper.infradead.org> <202101191135.A78A570@keescook> <29122c86-bfea-2f25-d111-00641cc660ba@kernel.org> In-Reply-To: From: Linus Torvalds Date: Wed, 20 Jan 2021 11:39:49 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/2] introduce DUMP_PREFIX_UNHASHED for hex dumps To: Petr Mladek Cc: Timur Tabi , Kees Cook , Matthew Wilcox , Sergey Senozhatsky , Andrew Morton , Linux Kernel Mailing List , roman.fietze@magna.com, Steven Rostedt , John Ogness , Linux-MM , Akinobu Mita Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 20, 2021 at 1:19 AM Petr Mladek wrote: > > And we should definitely add Linus into CC when sending v2. > His expected opinion has been mentioned several times in this > thread. It would be better to avoid these speculations > and get his real opinion. IMHO, it is too late to add > him in this long thread. I've seen it, I've just not cared deeply. I suspect the main issue is if you can cause debug dumps as a normal user and find kernel addresses that way, but I'm not sure how much we care. Somebody _actively_ debugging things might need the address, and KASRL etc be damned. I also suspect that everybody has already accepted that KASLR isn't really working locally anyway (due to all the hw leak models with cache and TLB timing), so anybody who can look at kernel messages already probably could figure most of those things out. So as long as the dumping isn't doing something actively stupid, and as long as hex dumping isn't something that is easily triggered, this probably falls under "nobody cares". Linus