grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: Gary Lin via Grub-devel <grub-devel@gnu.org>
To: Daniel Kiper <dkiper@net-space.pl>
Cc: Gary Lin <glin@suse.com>,
	grub-devel@gnu.org, Hernan Gatta <hegatta@linux.microsoft.com>,
	Daniel Axtens <dja@axtens.net>,
	shkhisti@microsoft.com, jaskaran.khurana@microsoft.com,
	christopher.co@microsoft.com, daniel.mihai@microsoft.com,
	jaredz@redhat.com, development@efficientek.com,
	jejb@linux.ibm.com, mchang@suse.com, patrick.colp@oracle.com
Subject: Re: [PATCH v9 00/22] Automatic Disk Unlock with TPM2
Date: Mon, 8 Apr 2024 10:30:18 +0800	[thread overview]
Message-ID: <20240408023018.gpb3ab5gce7xh6in@GaryLaptop> (raw)
In-Reply-To: <20240404210347.3nkirokhvosuass3@tomti.i.net-space.pl>

On Thu, Apr 04, 2024 at 11:03:47PM +0200, Daniel Kiper wrote:
> On Thu, Mar 07, 2024 at 04:59:05PM +0800, Gary Lin via Grub-devel wrote:
> > On Thu, Feb 08, 2024 at 08:58:43PM +0100, Daniel Kiper wrote:
> > > Hey,
> > >
> > --8<--
> > >
> > > And I have attached the Coverity report. All issues reported there have
> > > to be fixed. If you cannot fix an issue you have to explain why you
> > > cannot do that and what is potential impact on the code stability,
> > > security, etc.
> > >
> > I have went through all the coverity issues. There are 6 issues in the
> > TPM2 stack and the utility:
> 
> [...]
> 
> Any progress on this? You are blocking another patch set which depends
> on some code which you introduce. If there is no progress here I will
> ask an author of the other patch set to resume the work and queue your
> patch set as a second one to merge.
> 
I was waiting for upstream fix for CID 435762(*). It can be fixed by
tweaking an if statement slightly but upstream prefers code refactoring
to remove the loops. Anyway, the only potentially vulnerable call path
is disabled in my patch set, so we can choose to leave the issue for the
later update or just apply a quick fix.

Cheers,

Gary Lin

(*) https://gitlab.com/gnutls/libtasn1/-/issues/49

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

      reply	other threads:[~2024-04-08  2:31 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-05  7:39 [PATCH v9 00/22] Automatic Disk Unlock with TPM2 Gary Lin via Grub-devel
2024-02-05  7:39 ` [PATCH v9 01/22] posix_wrap: tweaks in preparation for libtasn1 Gary Lin via Grub-devel
2024-02-05  7:39 ` [PATCH v9 02/22] libtasn1: import libtasn1-4.19.0 Gary Lin via Grub-devel
2024-02-05  7:39 ` [PATCH v9 03/22] libtasn1: disable code not needed in grub Gary Lin via Grub-devel
2024-02-05  7:39 ` [PATCH v9 04/22] libtasn1: changes for grub compatibility Gary Lin via Grub-devel
2024-02-05  7:39 ` [PATCH v9 05/22] libtasn1: compile into asn1 module Gary Lin via Grub-devel
2024-02-05  7:39 ` [PATCH v9 06/22] asn1_test: test module for libtasn1 Gary Lin via Grub-devel
2024-02-05  7:39 ` [PATCH v9 07/22] libtasn1: Add the documentation Gary Lin via Grub-devel
2024-02-05  7:39 ` [PATCH v9 08/22] key_protector: Add key protectors framework Gary Lin via Grub-devel
2024-02-05  7:39 ` [PATCH v9 09/22] tpm2: Add TPM Software Stack (TSS) Gary Lin via Grub-devel
2024-02-05  7:39 ` [PATCH v9 10/22] key_protector: Add TPM2 Key Protector Gary Lin via Grub-devel
2024-02-05  7:39 ` [PATCH v9 11/22] cryptodisk: Support key protectors Gary Lin via Grub-devel
2024-02-05  7:39 ` [PATCH v9 12/22] util/grub-protect: Add new tool Gary Lin via Grub-devel
2024-02-05  7:39 ` [PATCH v9 13/22] tpm2: Add TPM2 types, structures, and command constants Gary Lin via Grub-devel
2024-02-05  7:39 ` [PATCH v9 14/22] tpm2: Add more marshal/unmarshal functions Gary Lin via Grub-devel
2024-02-05  7:39 ` [PATCH v9 15/22] tpm2: Implement more TPM2 commands Gary Lin via Grub-devel
2024-02-05  7:39 ` [PATCH v9 16/22] tpm2: Support authorized policy Gary Lin via Grub-devel
2024-02-05  7:39 ` [PATCH v9 17/22] tpm2: Implement NV index Gary Lin via Grub-devel
2024-02-05  7:39 ` [PATCH v9 18/22] cryptodisk: Fallback to passphrase Gary Lin via Grub-devel
2024-02-05  7:39 ` [PATCH v9 19/22] cryptodisk: wipe out the cached keys from protectors Gary Lin via Grub-devel
2024-02-05  7:39 ` [PATCH v9 20/22] diskfilter: look up cryptodisk devices first Gary Lin via Grub-devel
2024-02-05  7:39 ` [PATCH v9 21/22] tpm2: Enable tpm2 module for grub-emu Gary Lin via Grub-devel
2024-02-05  7:39 ` [PATCH v9 22/22] tests: Add tpm2_test Gary Lin via Grub-devel
2024-02-08 19:58 ` [PATCH v9 00/22] Automatic Disk Unlock with TPM2 Daniel Kiper
2024-02-21  8:10   ` Gary Lin via Grub-devel
2024-02-22 15:24     ` Daniel Kiper
2024-03-07  8:59   ` Gary Lin via Grub-devel
2024-04-04 21:03     ` Daniel Kiper
2024-04-08  2:30       ` Gary Lin via Grub-devel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240408023018.gpb3ab5gce7xh6in@GaryLaptop \
    --to=grub-devel@gnu.org \
    --cc=christopher.co@microsoft.com \
    --cc=daniel.mihai@microsoft.com \
    --cc=development@efficientek.com \
    --cc=dja@axtens.net \
    --cc=dkiper@net-space.pl \
    --cc=glin@suse.com \
    --cc=hegatta@linux.microsoft.com \
    --cc=jaredz@redhat.com \
    --cc=jaskaran.khurana@microsoft.com \
    --cc=jejb@linux.ibm.com \
    --cc=mchang@suse.com \
    --cc=patrick.colp@oracle.com \
    --cc=shkhisti@microsoft.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).