CVE-2021-47008
Last modified
CVE-2021-47008 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: KVM: SVM: Make sure GHCB is mapped before updating Access to the GHCB is mainly in the VMGEXIT path and it is known that the GHCB will be mapped. But 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. However, if a SIPI is performed without a corresponding AP Reset Hold, then the GHCB might not be mapped (depending on the previous VMEXIT), 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. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: KVM: SVM: Make sure GHCB is mapped before updating Access to the GHCB is mainly in the VMGEXIT path and it is known that the GHCB will be mapped. But 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. However, if a SIPI is performed without a corresponding AP Reset Hold, then the GHCB might not be mapped (depending on the previous VMEXIT), 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. While it is likely that the GHCB will be mapped in this situation, add a safe guard in this path to be certain a NULL pointer dereference is not encountered.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.11, < 5.11.22 |
| Linux | Linux Kernel | >= 5.12, < 5.12.5 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2021-47008?
How severe is CVE-2021-47008?
How do I fix CVE-2021-47008?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-47002In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47003In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47004In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2021-47005In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47006In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47007In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47009In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47010In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47011In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47012In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47013In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47014In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2021-47008?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
