** Description changed:

  [Impact]
  
  Upstream linux kernel now supports configuring built-in revoked
  certificates for the .blacklist keyring.
  
  Add support in our kernel configuration to have built-in revoked
  certificates.
  
  Revoke UEFI amd64 & arm64 2012 signing certificate.
  
  Under UEFI Secureboot with lockdown, shim may attempt to communicate
  revoked certificates to the kernel and depending on how good EFI
  firmware is, this may or may not succeed.
  
  By having these built-in, it will be prohibited to kexec file_load older
  kernels that were signed with now revoked certificates, however one
  boots.
  
  [Test Plan]
  
   * Boot kernel directly, or just with grub, and without shim
  
   * Check that
  
  $ sudo keyctl list %:.blacklist
  
  Contains asymmetric 2012 key.
  
  [Where problems could occur]
  
   * Derivative and per-arch kernels may need to revoke different keys,
  thus this should be evaluated on per arch & flavour basis as to which
  keys to revoke.
  
  [Other Info]
  
   * In theory, this only needs to be revoked on amd64 and arm64, but
  empty revocation list is not allowed by the kernel configury, thus at
  the moment revoking 2012 UEFI cert for all architectures.
  
   * an ubuntu kernel team regression test is being added to assert that 
expected revoked certificates have been revoked
  see https://lists.ubuntu.com/archives/kernel-team/2021-August/122986.html
  
   * Previous reviews
  
  Unstable & v5.13: https://lists.ubuntu.com/archives/kernel-
  team/2021-June/121362.html
  
  Hirsute & v5.11: https://lists.ubuntu.com/archives/kernel-
  team/2021-August/122996.html
  
  Focal & v5.10 (oem): https://lists.ubuntu.com/archives/kernel-
  team/2021-August/123470.html
  
  Focal & v5.8 (azure): https://lists.ubuntu.com/archives/kernel-
  team/2021-September/124336.html
  
- Focal & v5.4: TODO
+ Focal & v5.4: https://lists.ubuntu.com/archives/kernel-
+ team/2021-October/124497.html
  
  Bionic & v4.15: TODO
  
  Xenial & v4.4: TODO
  
  Trusty & v3.13: TODO

** Merge proposal linked:
   
https://code.launchpad.net/~xnox/ubuntu/+source/linux/+git/focal/+merge/409374

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

Title:
  Support builtin revoked certificates

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


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

Reply via email to