SEV Ciphertext Side Channel Attacks
Summary
AMD has received reports from two research groups detailing methods by which a malicious hypervisor could potentially execute a side channel attack against a running secure encrypted virtualization – secure nested paging (SEV-SNP) guest.
The first report, titled “Relocate + Vote: Exploiting Ciphertext Side-Channels using Sparsity Information,” was submitted by researchers at the Toronto System Security Lab of the University of Toronto. In their paper, the researchers propose using management commands that allow the hypervisor to move or swap guest pages, combined with the hypervisor’s ability to view guest ciphertext, to potentially execute a side-channel attack that could compromise the confidentiality of SEV-SNP guest data.
A subsequent report from researchers at ETH Zurich titled “Chosen Plaintext Oracle against SEV-SNP," outlines a similar exploitation technique that also leverages the ability to move or swap guest pages.
The security features of SEV-SNP for 3rd and 4th generation EPYC™ processors do not limit the hypervisor’s ability to view guest ciphertext. This behavior is documented in the public whitepaper “SEV-SNP – Strengthening vm Isolation with Integrity Protection and More” (for link, please see the references section below). AMD has previously detailed the potential of ciphertext side channel attacks on SEV. For more information, please see AMD-SB-1033, and the AMD paper “Technical Guidance for Mitigation Effects of Ciphertext Visibility Under AMD SEV” (for links to both, please see the References section below).
Mitigation
While ciphertext visibility is a known potential side-channel in SEV-SNP, AMD believes there are steps that can be taken to make exploitation of these types of side channel attacks more difficult. The ability of the hypervisor to move or swap guest pages can be disabled via guest-specific policy controls in SEV-SNP. For more information about configuring this option, please review the SEV Secure Nested Paging Firmware ABI Specification version 1.58 or later (for link, please see references section below) or contact your cloud service provider.
Additionally, AMD has introduced ciphertext hiding starting with 5th generation EPYC processors (formerly codenamed “Turin”). Ciphertext hiding limits the hypervisor’s ability to view guest ciphertext during guest execution, reducing the potential risk of ciphertext side channels. For more information about this feature, please review the SEV Secure Nested Paging Firmware ABI Specification (for link, please see references section below).
For more information on best-practices regarding ciphertext side-channel attacks, see our whitepaper “Technical Guidance for Mitigation Effects of Ciphertext Visibility Under AMD SEV” and our previous security bulletin on this topic, AMD-SB-1033. Links to both documents are available in the References section below.
References
Acknowledgement
AMD thanks the following for reporting this issue and engaging in coordinated vulnerability disclosure:
Yuqin Yan of the University of Toronto
Wei Huang of the University of Toronto & Seneca Polytechnic
Ilya Grishchenko of the University of Toronto
Gururaj Saileshwar of the University of Toronto
Aastha Mehta of the University of British Columbia
David Lie of the University of Toronto
AMD also thanks the following for their subsequent report and engaging in coordinated vulnerability disclosure:
Benedict Schlüter, Supraja Sridhara, Christoph Wech, and Shweta Shinde of ETH Zurich
Revisions
Revision Date | Description |
2025-08-12 | Initial publication |
DISCLAIMER
The information contained herein is for informational purposes only and is subject to change without notice. While every precaution has been taken in the preparation of this document, it may contain technical inaccuracies, omissions and typographical errors, and AMD is under no obligation to update or otherwise correct this information. Advanced Micro Devices, Inc. makes no representations or warranties with respect to the accuracy or completeness of the contents of this document, and assumes no liability of any kind, including the implied warranties of noninfringement, merchantability or fitness for particular purposes, with respect to the operation or use of AMD hardware, software or other products described herein. Any computer system has risks of security vulnerabilities that cannot be completely prevented or mitigated. No license, including implied or arising by estoppel, to any intellectual property rights is granted by this document. Terms and limitations applicable to the purchase or use of AMD’s products are as set forth in a signed agreement between the parties or in AMD's Standard Terms and Conditions of Sale.
AMD, the AMD Arrow logo, EPYC, and combinations thereof are trademarks of Advanced Micro Devices, Inc. CVE and the CVE logo are registered trademarks of The MITRE Corporation. Other product names used in this publication are for identification purposes only and may be trademarks of their respective companies.
Third party content may be licensed to you directly by the third party that owns the content and is not licensed to you by AMD. ALL LINKED THIRD-PARTY CONTENT IS PROVIDED ‘AS IS’ WITHOUT A WARRANTY OF ANY KIND. USE OF SUCH THIRD-PARTY CONTENT IS DONE AT YOUR SOLE DISCRETION AND UNDER NO CIRCUMSTANCES WILL AMD BE LIABLE TO YOU FOR ANY THIRD PARTY CONTENT. YOU ASSUME ALL RISK AND ARE SOLELY RESPONSIBILITY FOR ANY DAMAGES THAT MAY ARISE FROM YOUR USE OF THIRD-PARTY CONTENT.
© 2025 Advanced Micro Devices, Inc. All rights reserved.