CVE-2024-25743: Input Validation

Published Mar 21, 2024
·
Updated

A vulnerability was found in AMD SEV-SNP (named "WeSee"), in this flaw, the hypervisor can inject a malicious #VC into a CPU that is executing a SEV-SNP VM at any time. Specifically, the hypervisor has the ability to inject external interrupts to the CPUs, including #VC which is yet another exception.

It is seen that SEV-SNP invokes the #VC exception handler in the VM without checking the authenticity of the root cause. Specifically, the VC handler does not check if the VM indeed executed an instruction that would legitimately cause the CPU to generate a #VC exception.

The VC handler performs sensitive operations of copying data between the VM and the hypervisor to emulate the semantics of the instruction that generated the #VC. The handler is programmed to be bug-free and has checks to defend against Iago attacks, i.e., it clears all registers and performs checks on the data values provided by the hypervisor before it uses them as per AMD specifications [14]. However, it is not programmed to defend against #VC that is maliciously injected by the hypervisor. Worse yet, each malicious #VC injection tricks the handler into emulating an instruction that either writes attacker-controlled data to the VM or leaks sensitive VM data to the hypervisor.

References: https://www.amd.com/en/resources/product-security/bulletin/amd-sb-3008.html https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=e3ef461af35a8c74f2f4ce6616491ddb355a208f https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=f35e46631b28a63ca3887d7afef1a65a5544da52 https://arxiv.org/html/2404.03526v1

Other sources

In the Linux kernel through 6.9, an untrusted hypervisor can inject virtual interrupts 0 and 14 at any point in time and can trigger the SIGFPE signal handler in userspace applications. This affects AMD SEV-SNP and AMD SEV-ES.

NVD

Affected Software

5 affected components
Linux Kernel<=6.9
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2

Event History

Mar 21, 2024
Data Sourced
via Red Hat·07:05 PM
DescriptionSeverityAffected Software
May 15, 2024
CVE Published
via MITRE·05:43 PM
Data Sourced
via MITRE·05:43 PM
Description
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeakness

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-25743?

CVE-2024-25743 is considered a high severity vulnerability that allows an untrusted hypervisor to inject virtual interrupts.

2

How does CVE-2024-25743 affect userspace applications?

CVE-2024-25743 can trigger the SIGFPE signal handler in userspace applications, potentially leading to unexpected behavior.

3

What versions of the Linux kernel are affected by CVE-2024-25743?

CVE-2024-25743 affects the Linux kernel versions up to and including 6.9.

4

How can I mitigate the risks of CVE-2024-25743?

Mitigation measures for CVE-2024-25743 include upgrading to a patched version of the Linux kernel.

5

Is there a specific hardware dependency for CVE-2024-25743?

Yes, CVE-2024-25743 specifically affects systems utilizing AMD SEV-SNP and AMD SEV-ES technology.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203