PT-2024-11236 · Linux+2 · Linux Kernel+2
Joerg Roedel
·
Published
2021-06-08
·
Updated
2025-04-29
·
CVE-2021-47228
CVSS v3.1
6.2
Medium
| Vector | AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 5.10.45/5.12.12
Description
The issue arises when memory marked as EFI boot services data is not properly mapped as encrypted under SEV, potentially leading to a kernel crash at boot. This occurs because some drivers require memory to be preserved after ExitBootServices() by inserting a new EFI memory descriptor and marking it with the EFI MEMORY RUNTIME attribute. The kernel needs to map this memory encrypted to prevent crashes. The
ioremap check other() function has been expanded to check for this type of boot data reserved at runtime and indicate that it should be mapped encrypted for an SEV guest.Recommendations
To resolve the issue, upgrade the Linux kernel to a version newer than 5.10.45/5.12.12. This upgrade will include the necessary changes to the
ioremap check other() function to properly handle EFI-reserved memory under SEV, preventing potential kernel crashes at boot.Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Suse