CVE-2025-38455
BaseFortify
Publication date: 2025-07-25
Last updated on: 2025-11-03
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability occurs in the Linux kernel's KVM subsystem related to SEV and SEV-ES virtual machines. It happens when migrating a SEV or SEV-ES VM between hosts while a virtual CPU (vCPU) is being created. If the migration is attempted while the source or destination VM is actively creating a vCPU, the migration is rejected to prevent inconsistencies. Without this rejection, an SEV-ES VM could end up with a vCPU that is not properly protected by SEV-ES, leading to crashes or undefined behavior such as page faults and kernel oops errors.
How can this vulnerability impact me? :
If this vulnerability is triggered, it can cause the host system to crash due to kernel page faults and oops errors when handling vCPU resources during migration. This can lead to instability or downtime of virtual machines running SEV-ES, potentially disrupting services and workloads relying on these VMs. Additionally, improper handling of vCPUs could expose the VM to security risks if SEV-ES protections are bypassed.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability manifests as a kernel crash with specific error messages related to page faults and vCPU handling in SEV-ES VMs. Detection involves monitoring kernel logs for crash signatures such as 'BUG: unable to handle page fault for address: ffffebde00000000', '#PF: supervisor read access in kernel mode', and call traces involving sev_free_vcpu and svm_vcpu_free. You can use commands like 'dmesg | grep -i sev' or 'journalctl -k | grep -i sev' to look for related kernel oops or crashes. Additionally, monitoring for unexpected VM crashes or instability in SEV-ES enabled virtual machines can indicate this issue.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation involves ensuring that the Linux kernel version in use includes the patch that rejects SEV{-ES} intra host migration if vCPU creation is in-flight. Avoid migrating SEV or SEV-ES VMs during vCPU creation phases. If possible, update the kernel to a version that contains the fix described. Additionally, monitor and control VM migration operations to prevent triggering the vulnerable condition.