Guest-memory corruption via misclassified VM_HSAVE_PA page
Published May 9, 2023 · Updated Jan 28, 2025
Improper input validation in 3rd Gen AMD EPYC processors allows attackers controlling the hypervisor to corrupt SEV-SNP guest memory. Firmware classifies the immutable, unassigned VM_HSAVE_PA destination as a default page, so swap_out skips its page-size check and copies 2 MiB across assigned pages. Exploitation requires control of the hypervisor and can overwrite protected firmware or guest pages, violating guest-memory integrity.
Summary
What happened
Improper input validation in 3rd Gen AMD EPYC processors allows attackers controlling the hypervisor to corrupt SEV-SNP guest memory. Firmware classifies the immutable, unassigned VM_HSAVE_PA destination as a default page, so swap_out skips its page-size check and copies 2 MiB across assigned pages. Exploitation requires control of the hypervisor and can overwrite protected firmware or guest pages, violating guest-memory integrity.
The record
- CVE
- CVE-2022-23818
- Published
- May 9, 2023
- Updated
- Jan 28, 2025
- Vendor
- Advanced Micro Devices, Inc.
- Product
- 3rd Gen AMD EPYC Processors
- Classifications
- CWE-20
- Attack vector
- Unavailable
- Privileges
- Unavailable
Timeline
How it unfolded
- May 9, 2023CVE publishedPublication date reported by the CVE source.
- Jan 28, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=various
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- VM_HSAVE_PA swap_out overwrite demonstrationproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo