[24.04] Power guest secure boot with static keys: kernel portion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu-power-systems project |
Incomplete
|
High
|
Ubuntu on IBM Power Systems Bug Triage | ||
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
== Comment: #2 - Daniel John Axtens <email address hidden> - 2020-11-05 20:15:10 ==
This is the kernel side of changes needed for LPAR/guest secure boot.
Because Ubuntu keeps its kernels so wonderfully up to date, I don't think there are any extra patches you need to pick up. (I'll double-check against the 21.04 tree once my git pulls finish!)
However, we potentially need some configuration changes to make sure kexec-ing into a crashdump kernel still works.
Because Lockdown requires that kexec kernels are signed by a key trusted by IMA, the public key for used for signing the kdump kernel needs to be in the IMA keyring or the platform keyring. For host secure boot (and in the UEFI case), it's loaded into the platform keyring. But in the case of guest secure boot with static keys, it's not loaded into the platform keyring so it needs to be loaded into the IMA keyring.
This is easy enough to do. Firstly, load the Secure Boot CA into the .primary_
Then, enable IMA_LOAD_X509, which allows certificates signed by a key on the .primary_
Then that key will be loaded into the .ima keyring at boot and be used to appraise the kexec kernel for crashdumps.
tags: | added: architecture-ppc64le bugnameltc-189099 severity-critical targetmilestone-inin2104 |
Changed in ubuntu: | |
assignee: | nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
affects: | ubuntu → kernel-package (Ubuntu) |
affects: | kernel-package (Ubuntu) → linux (Ubuntu) |
Changed in ubuntu-power-systems: | |
importance: | Undecided → Critical |
assignee: | nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
Changed in ubuntu-power-systems: | |
status: | New → Incomplete |
Changed in ubuntu-power-systems: | |
status: | Incomplete → Triaged |
Changed in linux (Ubuntu): | |
status: | Incomplete → Triaged |
assignee: | Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → Canonical Kernel Team (canonical-kernel-team) |
status: | Triaged → New |
tags: | added: patch |
tags: |
added: targetmilestone-inin2210 removed: targetmilestone-inin2104 |
tags: | added: kk-release |
Changed in linux (Ubuntu): | |
assignee: | Canonical Kernel Team (canonical-kernel-team) → nobody |
Changed in ubuntu-power-systems: | |
status: | Triaged → Incomplete |
tags: | removed: kk-release |
summary: |
- Power guest secure boot with static keys: kernel portion + [24.04] Power guest secure boot with static keys: kernel portion |
Hi Daniel, btw. in which upstream kernel did the kernel patches for this landed (or will land)?
Just to be sure - 5.10 or 5.11 or already in with an earlier version?