
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-55881 is a vulnerability in the Linux kernel's KVM (Kernel-based Virtual Machine) x86 implementation, discovered and disclosed on January 11, 2025. The vulnerability specifically affects the handling of hypercalls in protected guest environments such as SEV-ES and SEV-SNP (NVD).
The vulnerability stems from incorrect detection of 64-bit hypercalls in the complete_hypercall_exit() function. The function was using is_64_bit_mode() instead of is_64_bit_hypercall() to detect 64-bit hypercalls. For guests with protected state (SEV-ES and SEV-SNP), KVM must assume the hypercall was made in 64-bit mode as the vCPU state needed to detect 64-bit mode is unavailable. This issue was discovered when the sev_smoke_test selftest generated a KVM_HC_MAP_GPA_RANGE hypercall via VMGEXIT (Kernel Patch).
The vulnerability affects the proper handling of hypercalls in protected guest environments using KVM virtualization on x86 systems. When triggered, it can cause system warnings and potential improper handling of hypercalls, which could affect the stability and security of virtualized environments (NVD).
The vulnerability was discovered during testing with the sev_smoke_test selftest, specifically when generating a KVM_HC_MAP_GPA_RANGE hypercall via VMGEXIT. The issue manifests as a system warning when the incorrect function is used for detecting 64-bit hypercalls (Kernel Patch).
The vulnerability has been patched in the Linux kernel by replacing is_64_bit_mode() with is_64_bit_hypercall() in the complete_hypercall_exit() function. The fix has been included in various kernel versions and distributions, including Debian 11 (Bullseye) in version 6.1.6.1.128-1~deb11u1 (Debian Update).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."