PT-2024-11112 · Linux · Linux Kernel

Tom Lendacky

·

Published

2021-04-19

·

Updated

2024-12-09

·

CVE-2021-47008

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to the KVM: SVM component of the Linux kernel. Access to the GHCB (Guest-to-Host Communication Buffer) is mainly in the VMGEXIT path and it is known that the GHCB will be mapped. However, there are two paths where it is possible the GHCB might not be mapped. The sev vcpu deliver sipi vector() routine will update the GHCB to inform the caller of the AP Reset Hold NAE event that a SIPI has been delivered. If a SIPI is performed without a corresponding AP Reset Hold, then the GHCB might not be mapped, which will result in a NULL pointer dereference. The svm complete emulated msr() routine will update the GHCB to inform the caller of a RDMSR/WRMSR operation about any errors. A safe guard has been added in this path to be certain a NULL pointer dereference is not encountered.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

NULL Pointer Dereference

Weakness Enumeration

Related Identifiers

BDU:2025-06538
CVE-2021-47008

Affected Products

Linux Kernel