PT-2024-11236

CVE-2021-47228

·

Published

2021-06-08

·

Updated

2025-04-29

Description by

CVSS 3.1
6.2
Medium
MetricsAV: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.
Exploitability
Fix
Researchers
Vendors
Affected products
Related identifiers
OPENSUSE-SU-2024_2185-1
SUSE-SU-2024:2010-1
SUSE-SU-2024:2185-1
Found an issue in the description? Have something to add? Feel free to write us 👾