is-not-revoked does not handle gzip'd kernels
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
shim-signed (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
Kinetic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
arm64 kernels are gzip'd by default, which currently breaks is-not-revoked:
ubuntu@ubuntu:~$ sudo file /boot/vmlinuz-
/boot/vmlinuz-
ubuntu@ubuntu:~$ sudo /usr/lib/
Invalid DOS header magic
Can't open image /boot/vmlinuz-
E: /boot/vmlinuz-
Invalid DOS header magic
Can't open image /boot/vmlinuz-
If I decompress the vmlinuz file in place, it works:
ubuntu@ubuntu:~$ sudo /usr/lib/
Invalid DOS header magic
Can't open image /boot/vmlinuz-
E: /boot/vmlinuz-
Invalid DOS header magic
Can't open image /boot/vmlinuz-
ubuntu@ubuntu:~$ echo $?
1
[Test plan]
Test gzipped kernels per above
[Where problems could occur]
Added/changed code could potentially break stuff on amd64.
Related branches
- Julian Andres Klode: Approve
-
Diff: 130 lines (+53/-15)4 files modifieddebian/changelog (+9/-0)
debian/kernel-postinst.d/zz-shim (+9/-4)
debian/shim-signed.postinst (+12/-8)
is-not-revoked (+23/-3)
CVE References
description: | updated |
description: | updated |
Changed in shim-signed (Ubuntu Focal): | |
status: | Fix Released → Fix Committed |
Hello dann, or anyone else affected,
Accepted shim-signed into kinetic-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ shim-signed/ 1.54 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification- needed- kinetic to verification- done-kinetic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- kinetic. In either case, without details of your testing we will not be able to proceed.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance for helping!
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.