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 ]

Project Subscriptions

Vendors Products
Debian Linux Subscribe
Linux Kernel Subscribe
Advisories
Source ID Title
Debian DLA Debian DLA DLA-4327-1 linux security update
Debian DLA Debian DLA DLA-4328-1 linux-6.1 security update
Debian DSA Debian DSA DSA-6008-1 linux security update
Debian DSA Debian DSA DSA-6009-1 linux security update
EUVD EUVD EUVD-2025-28976 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 ]
Ubuntu USN Ubuntu USN USN-7850-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7853-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7853-2 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-7854-1 Linux kernel (KVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-7860-1 Linux kernel vulnerability
Ubuntu USN Ubuntu USN USN-7861-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7862-1 Linux kernel vulnerability
Ubuntu USN Ubuntu USN USN-7863-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7860-2 Linux kernel (Real-time) vulnerability
Ubuntu USN Ubuntu USN USN-7861-2 Linux kernel (Real-time) vulnerabilities
Ubuntu USN Ubuntu USN USN-7864-1 Linux kernel (GCP and GKE) vulnerabilities
Ubuntu USN Ubuntu USN USN-7860-3 Linux kernel (FIPS) vulnerability
Ubuntu USN Ubuntu USN USN-7860-4 Linux kernel (Real-time) vulnerability
Ubuntu USN Ubuntu USN USN-7853-3 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-7862-2 Linux kernel vulnerability
Ubuntu USN Ubuntu USN USN-7865-1 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-7861-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7862-3 Linux kernel (Xilinx ZynqMP) vulnerability
Ubuntu USN Ubuntu USN USN-7874-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7874-2 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-7861-4 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-7875-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-7861-5 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7910-1 Linux kernel (Azure FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-7874-3 Linux kernel (IoT) vulnerabilities
Ubuntu USN Ubuntu USN USN-7910-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-7933-1 Linux kernel (KVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-7934-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-7935-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-7937-1 Linux kernel (Azure FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-7938-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-7939-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-7939-2 Linux kernel (Azure FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-7940-1 Linux kernel (Azure FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-7940-2 Linux kernel (Azure, N-Series) vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

References
Link Providers
http://www.openwall.com/lists/oss-security/2025/11/14/3 cve-icon
http://www.openwall.com/lists/oss-security/2025/11/14/4 cve-icon
http://www.openwall.com/lists/oss-security/2025/11/14/6 cve-icon
http://www.openwall.com/lists/oss-security/2025/11/17/2 cve-icon
http://www.openwall.com/lists/oss-security/2025/11/17/3 cve-icon
https://cert-portal.siemens.com/productcert/html/ssa-032379.html cve-icon
https://git.kernel.org/stable/c/15006289e5c38b2a830e1fba221977a27598176c cve-icon cve-icon cve-icon
https://git.kernel.org/stable/c/2f4f2f8f860cb4c3336a7435ebe8dcfded0c9c6e cve-icon cve-icon cve-icon
https://git.kernel.org/stable/c/2f8f173413f1cbf52660d04df92d0069c4306d25 cve-icon cve-icon
https://git.kernel.org/stable/c/34e5667041050711a947e260fc9ebebe08bddee5 cve-icon cve-icon cve-icon
https://git.kernel.org/stable/c/459274c77b37ac63b78c928b4b4e748d1f9d05c8 cve-icon cve-icon cve-icon
https://git.kernel.org/stable/c/510603f504796c3535f67f55fb0b124a303b44c8 cve-icon cve-icon cve-icon
https://git.kernel.org/stable/c/893387c18612bb452336a5881da0d015a7e8f4a2 cve-icon cve-icon cve-icon
https://git.kernel.org/stable/c/9c23a90648e831d611152ac08dbcd1283d405e7f cve-icon cve-icon cve-icon
https://git.kernel.org/stable/c/ac60717f9a8d21c58617d0b34274babf24135835 cve-icon cve-icon cve-icon
https://git.kernel.org/stable/c/c08192b5d6730a914dee6175bc71092ee6a65f14 cve-icon cve-icon cve-icon
https://git.kernel.org/stable/c/d5490dfa35427a2967e00a4c7a1b95fdbc8ede34 cve-icon cve-icon cve-icon
https://git.kernel.org/stable/c/d7ddc93392e4a7ffcccc86edf6ef3e64c778db52 cve-icon cve-icon cve-icon
https://git.kernel.org/stable/c/f866eef8d1c65504d30923c3f14082ad294d0e6d cve-icon cve-icon cve-icon
https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html cve-icon
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html cve-icon
https://nvd.nist.gov/vuln/detail/CVE-2025-40300 cve-icon
https://www.cve.org/CVERecord?id=CVE-2025-40300 cve-icon
History

Tue, 12 May 2026 13:30:00 +0000

Type Values Removed Values Added
References

Fri, 16 Jan 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Debian
Debian debian Linux
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc5:*:*:*:*:*:*
Vendors & Products Debian
Debian debian Linux
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N'}

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Mon, 17 Nov 2025 16:30:00 +0000


Mon, 17 Nov 2025 16:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

Fri, 14 Nov 2025 20:30:00 +0000

Type Values Removed Values Added
References

Fri, 14 Nov 2025 19:30:00 +0000

Type Values Removed Values Added
References

Fri, 14 Nov 2025 10:30:00 +0000

Type Values Removed Values Added
References

Mon, 03 Nov 2025 18:30:00 +0000


Mon, 15 Sep 2025 07:00:00 +0000


Fri, 12 Sep 2025 08:15:00 +0000

Type Values Removed Values Added
First Time appeared Linux
Linux linux Kernel
Vendors & Products Linux
Linux linux Kernel

Fri, 12 Sep 2025 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-402
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N'}

threat_severity

Moderate


Thu, 11 Sep 2025 17:00:00 +0000

Type Values Removed Values Added
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 ]
Title x86/vmscape: Add conditional IBPB mitigation
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-12T12:08:01.156Z

Reserved: 2025-04-16T07:20:57.185Z

Link: CVE-2025-40300

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2025-09-11T17:15:45.680

Modified: 2026-05-12T13:17:18.637

Link: CVE-2025-40300

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-09-11T16:49:24Z

Links: CVE-2025-40300 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2025-09-12T08:02:51Z

Weaknesses