Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp5186516imb; Thu, 7 Mar 2019 09:33:32 -0800 (PST) X-Google-Smtp-Source: APXvYqw0UfMm90wjhv2rjyCtywLiKWBUm//B972DUrH7OCzgTn1iWJgC9IOzyGUDjhhut2rBRuxU X-Received: by 2002:a63:8042:: with SMTP id j63mr11925949pgd.36.1551980012706; Thu, 07 Mar 2019 09:33:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551980012; cv=none; d=google.com; s=arc-20160816; b=SkPjhj3hx7aI/oXsvbn15He7h0bTVAHFbFza54/3zKplaOBwduC0VCSsdyLAdkPwmO NfG5FFJSbN6O/2gJFkWFV74zsCOcdSy6Qwgt7HZFMlvDoJK2Nk6LF8sYHCtvSKXH9aF8 cli7E7tORuGiMTOzUf45BMStmCxqyJvHDUr6uZFuBxtPALyzBzPHJsYr8LA1jZdmyUZZ cRPlMArcCw+/BnCJuQC4njdYVOB1vX2AS3jUEg8Z8KtydB4gU5mqdVwKywsEBiMAkv2t NdeRVhlIWzK5h5y1OLX1aWQSnkN3wic3vdh7W32ofJNJshkRoJj6RV9krKftSYqpnXZM hFgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=lt2JT5l5LUhhefC+Y0bm0OU49KNxlP1Kty5xofOfsHM=; b=06ftmGO8OGTDBN3DoUHfA6xq65aE1HqheSvEnreijgRIrplYRJcMS4xPxSi/n4zd/E 5NLrP/Z57Cta6gT6W02Qcba9djzJSQ6uj3RpDGinaKqpMTmFEuHDYBcyKazo+1VtraDe rl9k4sIIg1HbKnfARSZ9PYBW8hPENTEIiWRrHsgR7dk0Lk7d98DvwsdMvXUinviYLx2E c1YYbsiaqDns90Ri9h16Ag1+7+94bkQlWBeP/pzbMdUXB4F0SFbvX+QkvVbvVsnmMVUb LYJeX0KqbXQJdj05ZUyFZv/El28P/bB7zQlC8T+n4VHT7hDJNzwAqvIiG/Lji4I9TfLE V+tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=d5EvuoEI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h7si1606926pgp.566.2019.03.07.09.33.16; Thu, 07 Mar 2019 09:33:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=d5EvuoEI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726269AbfCGRch (ORCPT + 99 others); Thu, 7 Mar 2019 12:32:37 -0500 Received: from mail-it1-f195.google.com ([209.85.166.195]:50231 "EHLO mail-it1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726172AbfCGRcg (ORCPT ); Thu, 7 Mar 2019 12:32:36 -0500 Received: by mail-it1-f195.google.com with SMTP id m137so16519850ita.0 for ; Thu, 07 Mar 2019 09:32:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lt2JT5l5LUhhefC+Y0bm0OU49KNxlP1Kty5xofOfsHM=; b=d5EvuoEIAtB4Sj7ZF7TDiNW9bw8P7yQoVDzkfeNjJIi0McC5KbC1Sa/sqE5+NbCS+S XzZb8uIZpqzxuYbJzBcefKicB+5tDdu+1leGuslYiWfPmHvB0akJ6OW3y5QyANLJQayp gfhpb4TbJZa+zAqM9367mu6xLBwQzoWXiDvnt1xjxy3Py5n5KaTU093dmx8Z01pfDcda h9RemOELBvsuhDHjJJc2iEgN0D1BFjHU0alXGJUCms4xsygxqL2zgOQU5w/RfpZkUJvq qCRDRvaFMj5YAp6QsfoOiWeme0EUrTAr1n4n+wQwABohJPQVxTMgECCfvecmQGmXwsXs aKFQ== 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=lt2JT5l5LUhhefC+Y0bm0OU49KNxlP1Kty5xofOfsHM=; b=MfN5E7tV+PwjwGWtgOLZWjcUhr/u2slHvjkug9SgKP+bYyHPYyI+XkJf/0hVKrdczn ySIGRc6085/NjC3GXCFgv5+57FMBFfSJIWtHGZZSYVEW24fN6X1bWJi68GqzS5i6lSdk tCS9XujtDtUsYmgdE9+KSATOTfs25RhnzvHs+pdrs/3x5IArUDBxFV4TRgdmpH2HzziO yTceKG8swcrIVv1Iw9EdcVClNGvOvRVtuE/CM4ZJfdBAeaOPt8wVZnG4VZUK1YwGh5+B 5Cy8tOIoIjD6o0E2Ln1HeHMevkispIdkHhWVIlwJoxGpDrPXbKHeTT/VeA4PMQRBowYi 1mAg== X-Gm-Message-State: APjAAAVSi7yjtX3YjOtZ2bjEqOleJQ1NpdJCgq3tfjj91i4Q1ex45B5y How++/M2d0bWm1ZjtzW6wiZBYhs9MoNCemAY0zNyFg== X-Received: by 2002:a24:43d1:: with SMTP id s200mr5909827itb.118.1551979955393; Thu, 07 Mar 2019 09:32:35 -0800 (PST) MIME-Version: 1.0 References: <20190306235913.6631-1-matthewgarrett@google.com> <20190306235913.6631-10-matthewgarrett@google.com> <20190307145528.24c1b4d3@alans-desktop> In-Reply-To: <20190307145528.24c1b4d3@alans-desktop> From: Matthew Garrett Date: Thu, 7 Mar 2019 09:32:24 -0800 Message-ID: Subject: Re: [PATCH 09/27] hibernate: Disable when the kernel is locked down To: Alan Cox Cc: jmorris@namei.org, LSM List , Linux Kernel Mailing List , David Howells Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 7, 2019 at 6:55 AM Alan Cox wrote: > > On Wed, 6 Mar 2019 15:58:55 -0800 > Matthew Garrett wrote: > > > From: Josh Boyer > > > > There is currently no way to verify the resume image when returning > > from hibernate. This might compromise the signed modules trust model, > > so until we can work with signed hibernate images we disable it when the > > kernel is locked down. > > That one is a bit worrying since whilst the other stuff may be useful in > some business environments, mandatory hibernate not suspend to RAM is a > common corporate IT policy because of concerns about theft and recovery > of memory contents. Suse have a solution for this that I'd like to see pushed again, but from a practical perspective enterprise distributions have been shipping this for some time without significant obvious customer complaint.