CVE-2025-40300: x86/vmscape: Add conditional IBPB mitigation

Published Sep 11, 2025
·
Updated

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 ]

Affected Software

22 affected componentsFixes available
Linux Linux kernel
Microsoft azl3 kernel 6.6.96.2-2
Microsoft azl3 kernel 6.6.104.2-4
Microsoft cbl2 kernel 5.15.186.1-1
Linux Linux kernel>=3.16.57<3.17
Linux Linux kernel>=4.4.168<4.5
Linux Linux kernel>=4.16<5.10.244
Linux Linux kernel>=5.11<5.15.193
Linux Linux kernel>=5.16<6.1.152
Linux Linux kernel>=6.2<6.6.106
Linux Linux kernel>=6.7<6.12.47
Linux Linux kernel>=6.13<6.16.7
Linux Linux kernel=6.17-rc1
Linux Linux kernel=6.17-rc2
Linux Linux kernel=6.17-rc3
Linux Linux kernel=6.17-rc4
Linux Linux kernel=6.17-rc5
Debian Debian Linux=11.0
IBM Verify Identity Access<=11.0 - 11.0.2
IBM Security Verify Access<=10.0 - 10.0.9.1
IBM Verify Identity Access Container<=11.0 - 11.0.2
IBM Security Verify Access Container<=10.0 - 10.0.9.1

Event History

Sep 11, 2025
News Published
via The Register·03:00 PM
News Published
via The Register·03:02 PM
News Published
via BleepingComputer·03:05 PM
News Published
via BleepingComputer·03:06 PM
CVE Published
via MITRE·04:49 PM
Data Sourced
via MITRE·04:49 PM
Description
Data Sourced
via Red Hat·05:03 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityAffected Software
Sep 13, 2025
Data Sourced
via Microsoft·01:04 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:04 AM
Affected Software
Updated
via Microsoft·08:04 AM
DescriptionSeverity
Updated
via Microsoft·08:04 AM
SeverityAffected Software
Jul 8, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

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-2025-40300?

CVE-2025-40300 has a high severity rating due to its potential to compromise guest-host isolation on affected systems.

2

How do I fix CVE-2025-40300?

To fix CVE-2025-40300, it is recommended to apply the latest updates or patches provided for the Linux kernel.

3

Which systems are affected by CVE-2025-40300?

CVE-2025-40300 affects the Linux kernel, particularly systems running virtualized environments that utilize insufficient branch predictor isolation.

4

What potential impact does CVE-2025-40300 have on users?

CVE-2025-40300 could allow an attacker to break guest-host isolation, leading to unauthorized access to sensitive data across virtual machines.

5

Is CVE-2025-40300 related to previous vulnerabilities?

Yes, CVE-2025-40300 is related to earlier vulnerabilities that impacted branch prediction and system isolation, particularly in virtualized environments.

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