efi/libstub: Fix mixed-mode crash at boot
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | efi/libstub/random: Initialize pointer variables to zero for mixed modedrivers/ | +3 | 1 reply | |
| 2/2 | efi/libstub/helper: Initialize pointer variables to zero for mixed modedrivers/ | +2 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 5.5 regression fix 0/2] efi/libstub: Fix mixed-mode crash at boot
Hi All,
Commit 0d95981438c3 ("x86: efi/random: Invoke EFI_RNG_PROTOCOL to seed the UEFI RNG table") causes drivers/efi/libstub/random.c to be used on x86 for the first time
and some of the code in that file does not deal properly with mixed-mode setups causing a crash at boot on mixed-mode devices.
The first patch in this series fixes this and is the regression-fix from $subject.
While looking into this I did a quick search for other cases of the same problem in the libstub code and I found the same issue in the handling of LILO-style file= kernel commandline arguments, which I guess are not used that often because AFAICT we have no bug report for these not working in mixed-mode. The second patch fixes this, this is a pre-existing problem and not a 5.5 regression, still we should probably also include this fix in 5.5.
Regards,
Hans