Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3223065pxk; Mon, 28 Sep 2020 11:26:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKTNjIeDuUQaf8XHJ0njnSmcbvKE/C5VpUfu0X/DvXtt88Z2g5QbpXaRxwviVUHQ75pbIb X-Received: by 2002:a17:906:1f94:: with SMTP id t20mr44275ejr.493.1601317584261; Mon, 28 Sep 2020 11:26:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601317584; cv=none; d=google.com; s=arc-20160816; b=WUR+aB7/jsCy1P4R9NirLd3f7DrltqZyrg3mkL+CSWhxIED9GihOh5NqnBnEaQqlYh 50Gkt4UWRXjYRi18iuRRFKuTTVlO5IuIfIzFNRaDgcnpBYk2KvXj4I/E1UWf2t6S+6CN VmmRGriG0qSCNuq7KXT9RoP9NXA/wBE9RZ6XKQtDMPS/Bi7ME5DQYqOyuyPwt4D5h1Xq B1e4oqEBfqV3tIn6GrrStfXuARJQMOQW/V82sy05QPbd3U99GfQw1FcD8c0aXvHlSZjG SyjuR0WDZrQF1EtTMtgOUunXyjdSB4FIyE+Z+i0MwYJVwPyDQnnLHawh240tJUXEx6tg 5IEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:reply-to:from:date; bh=ZS69fXBVFXjzQd+1tyI9oobigElcgP9Nd+Kd7YQN1xM=; b=OR57yUrOta+xNWGAvVdrr73LBnM3jag8NlvhV73g6zpFGTXawhYgrvjA/TJZVox7Rr wpkjD3FJbHcb5RNiA+Lb3Qqc9ef4xZXGbF5Dj7C8u3QqvlkcmLwbr25hYopYRcgq7G7i /jTEPJgmIzSOO3ZKYHfwRDPcSu58H6ZS3WqQ5I8IVyxZYkbYHWykiuhR1GQw/uD0SS3a dFC0IEcTPt5/WD4Q1OGvxp/eqZwSq98BwYSCHqr1/51nZYiiD0RLUCgjPybrLk4IUj6c FuAs7HZ2MABnou1FCcu4cz2Pn3S3Uwi7sp8vu3E9uWK0QdlY0m5GwKbza+TX1luv83Qe kdVg== ARC-Authentication-Results: i=1; mx.google.com; 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 y19si1155529edi.411.2020.09.28.11.26.01; Mon, 28 Sep 2020 11:26:24 -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; 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 S1726737AbgI1SWg (ORCPT + 99 others); Mon, 28 Sep 2020 14:22:36 -0400 Received: from l2mail1.panix.com ([166.84.1.75]:56017 "EHLO l2mail1.panix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726552AbgI1SWf (ORCPT ); Mon, 28 Sep 2020 14:22:35 -0400 X-Greylist: delayed 1012 seconds by postgrey-1.27 at vger.kernel.org; Mon, 28 Sep 2020 14:22:35 EDT Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by l2mail1.panix.com (Postfix) with ESMTPS id 4C0Vn40HcfzDS8; Mon, 28 Sep 2020 14:05:43 -0400 (EDT) Received: from xps-7390 (cpe-23-242-39-94.socal.res.rr.com [23.242.39.94]) by mailbackend.panix.com (Postfix) with ESMTPSA id 4C0Vn164GYzmWW; Mon, 28 Sep 2020 14:05:41 -0400 (EDT) Date: Mon, 28 Sep 2020 11:05:39 -0700 (PDT) From: "Kenneth R. Crudup" Reply-To: "Kenneth R. Crudup" To: Jarkko Sakkinen cc: Ard Biesheuvel , Kai-Heng Feng , Tyler Hicks , linux-integrity , open list , Matthew Garrett , tweek@google.com Subject: Re: [Regression] "tpm: Require that all digests are present in TCG_PCR_EVENT2 structures" causes null pointer dereference In-Reply-To: <20200928171238.GB119268@linux.intel.com> Message-ID: References: <20200928140623.GA69515@linux.intel.com> <20200928155215.GA92669@linux.intel.com> <20200928171238.GB119268@linux.intel.com> User-Agent: Alpine 2.23 (DEB 453 2020-06-18) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 28 Sep 2020, Jarkko Sakkinen wrote: > That's a good guess. Just a bit confused how that particular patch can > have the effect: it has two deferences to efispecid instead of one in > the same statement. Would be interesting to hear if the bug is triggered > in Kenneth's environment by the exact same commit. I can confirm that reverting 7f3d176f5f stops my kernel from panic()ing: $ sudo fwupdtpmevlog [sudo] password for kenny: Failed to parse file: attempted to read 0x10 bytes from buffer of 0x00 $ It would normally OOPS at that point. -Kenny -- Kenneth R. Crudup Sr. SW Engineer, Scott County Consulting, Orange County CA