CVE-2025-40300 Details
Description
In the Linux kernel, the following vulnerability has been resolved: x86/vmscape: Add conditional IBPB mitigation VMSCAPE is a vulnerability that exploits insufficient branch predictor isolation between a guest and a userspace hypervisor (like QEMU). Existing mitigations already protect kernel/KVM from a malicious guest. Userspace can additionally be protected by flushing the branch predictors after a VMexit. Since it is the userspace that consumes the poisoned branch predictors, conditionally issue an IBPB after a VMexit and before returning to userspace. Workloads that frequently switch between hypervisor and userspace will incur the most overhead from the new IBPB. This new IBPB is not integrated with the existing IBPB sites. For instance, a task can use the existing speculation control prctl() to get an IBPB at context switch time. With this implementation, the IBPB is doubled up: one at context switch and another before running userspace. The intent is to integrate and optimize these cases post-embargo. [ dhansen: elaborate on suboptimal IBPB solution ]
A vulnerability known as VMSCAPE has been identified in the Linux kernel, specifically within the x86 architecture. This vulnerability arises from inadequate branch predictor isolation between a guest and a userspace hypervisor, such as QEMU. While existing mitigations protect the kernel and KVM from malicious guests, userspace can be safeguarded by flushing the branch predictors after a VM exit. The new mitigation involves conditionally issuing an Indirect Branch Prediction Barrier (IBPB) after a VM exit and before returning to userspace. This update is particularly beneficial for workloads that frequently alternate between the hypervisor and userspace, which would otherwise experience increased overhead due to the additional IBPB. However, this new IBPB implementation is not yet integrated with the current IBPB sites, which could lead to redundant IBPBs during context switches.
Users can enable the VMSCAPE mitigation by updating to a version of the Linux kernel that includes this enhancement. After applying the update, the mitigation can be activated by setting the 'vmscape' parameter to 'ibpb' in the kernel command line.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.16.57, < 3.17 >= 4.4.168, < 4.5 >= 4.16, < 5.10.244 >= 5.11, < 5.15.193 >= 5.16, < 6.1.152 >= 6.2, < 6.6.106 >= 6.7, < 6.12.47 >= 6.13, < 6.16.7 6.17 rc1 6.17 rc2 6.17 rc3 6.17 rc4 6.17 rc5 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
18 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 10, 2026 | CVE Modified | siemens-SADP |
| Oct 19, 2026 | CVE Translated | [email protected] |
| Oct 15, 2026 | CVE Modified | kernel.org |
| Oct 15, 2026 | CVE Modified | CVE |
| Oct 15, 2026 | CVE Modified | siemens-SADP |
| Jul 14, 2026 | CVE Modified | siemens-SADP |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | siemens-SADP |
| May 12, 2026 | CVE Modified | siemens-SADP |
| Jan 16, 2026 | Initial Analysis | [email protected] |
| Nov 17, 2025 | CVE Modified | CVE |
| Nov 14, 2025 | CVE Modified | CVE |
| Nov 14, 2025 | CVE Modified | CVE |
| Nov 14, 2025 | CVE Modified | CVE |
| Nov 3, 2025 | CVE Modified | CVE |
| Sep 15, 2025 | CVE Modified | kernel.org |
| Sep 11, 2025 | New CVE Received | kernel.org |