OL8 Secure Boot RHCK system fails to boot after updating shim-x64: error: ... invalid signature
We have been running the Redhat Compatible Kernel since moving to Oracle Linux 8, specifically not running the UEK kernels. Last patch cycle, we could not boot into any kernel except for the debug kernel. The error was "invalid signature".
After some research and investigation, we found the shim-x64 package update changes dependencies, and the RHCK kernel no longer satisfies the dependency. It looks like Oracle recently made an update to this shim package for an undisclosed reason: https://linux.oracle.com/errata/ELSA-2022-9465.html which links to this CVE: https://linux.oracle.com/cve/CVE-2022-28737.html While Oracle has not mentioned the problem with this CVE, other vendors have mentioned a buffer overflow when loading EFI executables. Unknown why Oracle has omitted the regular kernel as satisfying this dependency - maybe it is a bug? Maybe intentional?