I think the reason for your issue is that the final 2 events extended to
PCR7 are recorded twice in the log, most likely because the test kernel
from comment 12 doesn't contain
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=166a2809d65b282272c474835ec22c882a39ca1b

I didn't see the same issue because I'm testing on a configuration with
a version of shim that doesn't call GetEventLog() before starting grub
(see
https://github.com/rhboot/shim/commit/fd7c3bd920ba39082cb7c619afb7203d150a4cd3),
and so the final 2 events that shim record don't end up in the final
events table and aren't duplicated.

Note that some additional follow-up changes would be required too - eg,
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b61fbc887af7a13a1c90c84c1feaeb4c9780e1e2,
https://lore.kernel.org/linux-
efi/20191002165904.8819-4-ard.biesheu...@linaro.org/,
https://lore.kernel.org/linux-
efi/20191002165904.8819-5-ard.biesheu...@linaro.org/ and
https://lore.kernel.org/linux-
efi/20191002165904.8819-6-ard.biesheu...@linaro.org/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1838796

Title:
  TPM event log does not contain events measured after ExitBootServices

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1838796/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to