fix insecure mode booting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
shim (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
shim supports disabling validation using shim specific variable, whilst keeping the firmware secureboot on.
The state for it, is currently incorrectly parsed on Ubuntu, and thus error message is not printed that machine is booting without signature verification by shim.
please pull in fix https:/
[Impact]
* There is upstream bug report that prevents booting systems, when mokutil --disable-
* It only impacts shims that are built with ExitBootService check in place
* In Ubuntu, we build shim with ExitBootServices check disabled, therefore we were not affected by this issue directly. But it was felt that no new shims would be signed unless this patch is included as a bugfix.
[Test Plan]
* Boot with Secureboot on, and mokutil validation on everything should boot
* Turn Secureboot off, everything should boot
* Turn Secureboot on, but turn mokutil validation off, evernthing should still boot.
* Note that the above would have failed with 15.4-0buntu1 shim, had we not built it with disabling ExitBootServices, so this is not a regression, but to ensure that the included bugfix is correct and doesn't regress things it claims to keep working. As otherwise no ubuntu shims have been affected by the upstream issue in question.
[Where problems could occur]
* The areas that could regress with this patch are validated in the Test plan.
[Other Info]
* Anything else you think is useful to include
* Anticipate questions from users, SRU, +1 maintenance, security teams and the Technical Board
* and address these questions in advance
Related branches
- Julian Andres Klode: Approve
-
Diff: 113 lines (+82/-0)4 files modifieddebian/changelog (+5/-0)
debian/patches/361.patch (+38/-0)
debian/patches/362.patch (+37/-0)
debian/patches/series (+2/-0)
description: | updated |
This bug was fixed in the package shim - 15.4-0ubuntu2
---------------
shim (15.4-0ubuntu2) hirsute; urgency=medium
[ Balint Reczey ]
* Fix boot on EFI 1.10 machines, for example on some MacBooks (LP: #1925010)
[ Dimitri John Ledkov ]
* Fix kernel warning when allocating MOK table (LP: #1925139)
* Fix booting with shim SBState disabled (LP: #1925140)
-- Dimitri John Ledkov <email address hidden> Tue, 20 Apr 2021 15:24:29 +0100