WeSee Flaws Let Malicious Hypervisors Compromise AMD SEV-SNP Guests
Vulnerability Disclosure · 8 sources · Updated 3mo ago · First seen May 22, 2024

CVE-2024-25742 and CVE-2024-25743 (WeSee) affect Linux virtual machines protected by AMD Secure Encrypted Virtualization–Secure Nested Paging (SEV-SNP). A malicious hypervisor can inject forged #VC exceptions, including interrupt 0x80, and manipulate the guest's EAX register. Because the guest handler may emulate an instruction without authenticating that it caused the exception, an attacker can induce writes of attacker-controlled data or disclose sensitive guest data, compromising VM confidentiality and integrity.
Red Hat rated each flaw moderate severity with a CVSS v3.1 score of 7.1 and released kernel fixes for affected Red Hat Enterprise Linux 8 and 9 streams, including selected Extended Update Support releases. Organizations operating SEV-SNP workloads should apply the applicable RHEL kernel updates and treat the hypervisor as a critical trust boundary; RHEL 6 and 7 kernel and kernel-rt packages are listed as not affected.
Why it matters
Impact assessment
WeSee breaks the core confidentiality and integrity guarantees of AMD SEV-SNP Linux guest VMs when the hosting hypervisor is malicious or compromised. The impact is severe for confidential-computing workloads: an attacker controlling the hypervisor can read guest secrets, alter guest memory and execution, and obtain guest-kernel code execution; availability impact is not the primary outcome.
- Affected population: Linux VMs using AMD SEV-SNP, including cloud-hosted workloads that rely on SEV-SNP to protect data from the infrastructure provider.
- Business impact: exposure of application secrets and cryptographic key material, unauthorized modification of security controls, guest root compromise, and loss of confidence in workload isolation from the cloud host.
- Demonstrated outcomes: recovery of NGINX kTLS session-key material, modification of firewall behavior, and a root shell through kernel shellcode injection.
- Scope: targeted against individual SEV-SNP guests by an adversary with malicious-hypervisor control; it is not a remote unauthenticated attack against ordinary Linux systems.
- Exploitation status: the referenced research released proof-of-concept tooling and exploits as open source. The supplied sources do not report confirmed exploitation in the wild.
- Red Hat rates both CVE-2024-25742 and CVE-2024-25743 as Moderate, CVSS v3.1 7.1, despite the potential for high confidentiality and integrity impact, because exploitation requires privileged/local control at the virtualization layer.
Affected products
- AMD SEV-SNP deployments running Linux guest VMs.
- Red Hat Enterprise Linux 8 and 9 kernel and selected kernel-rt/EUS streams were affected and received fixes.
- RHEL 6 kernel and RHEL 7 kernel and kernel-rt packages are listed as not affected.
- Intel TDX and ARM CCA were assessed by the researchers as not susceptible to the demonstrated WeSee method.


