[Bug 1987924] Re: GRUB may execute the kernel w/ dirty instruction cache on arm64
Launchpad Bug Tracker
1987924 at bugs.launchpad.net
Tue Sep 20 09:47:49 UTC 2022
This bug was fixed in the package grub2-unsigned - 2.06-2ubuntu12
---------------
grub2-unsigned (2.06-2ubuntu12) kinetic; urgency=medium
* ubuntu-zfs-enhance-support.patch: Fix missing lines (LP: #1990143)
* Source package generated from src:grub2 using make -f ./debian/rules
generate-grub2-unsigned
-- Julian Andres Klode <juliank at ubuntu.com> Mon, 19 Sep 2022 16:00:47
+0200
** Changed in: grub2-unsigned (Ubuntu Kinetic)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2-unsigned in Ubuntu.
https://bugs.launchpad.net/bugs/1987924
Title:
GRUB may execute the kernel w/ dirty instruction cache on arm64
Status in grub2-unsigned package in Ubuntu:
Fix Released
Status in grub2-unsigned source package in Bionic:
New
Status in grub2-unsigned source package in Focal:
New
Status in grub2-unsigned source package in Jammy:
New
Status in grub2-unsigned source package in Kinetic:
Fix Released
Bug description:
[Impact]
Similar to bug 1987541, where shim may execute GRUB w/ polluted instruction cache, GRUB itself also fails to flush the instruction cache for the kernel memory before starting it. This is believed to be the source of some rare crashes seen executing instructions in the kernel EFI stub.
[Test Case]
Put an arm64 server in a reboot loop and watch for a crash (synchronous exception abort) after GRUB has started executing the kernel.
[Fix]
https://github.com/rhboot/grub2/pull/107
[What could go wrong]
The only risk I can identify is possibly-measurable performance impact to booting the kernel.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/1987924/+subscriptions
More information about the foundations-bugs
mailing list