cve.bz

CVE-2025-40026 linux linux

7.9 highEPSS 0.2%Fix available

High (7.9) in linux linux. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: KVM: x86: Don't (re)check L1 intercepts when completing userspace I/O When completing emulation of instruction that generated a userspace exit for I/O, don't recheck L1 intercepts as KVM has already finished that phase of instruction execution, i.e. has already committed to allowing L2 to perform I/O. If L1 (or host userspace) modifies the I/O permission bitmaps during the exit to userspace, KVM will treat the access as being intercepted despite already having emulated the I/O access. Pivot on EMULTYPE_NO_DECODE to detect that KVM is completing emulation. Of the three users of EMULTYPE_NO_DECODE, only complete_emulated_io() (the intended "recipient") can reach the code in question. gp_interception()'s use is mutually exclusive with is_guest_mode(), and complete_emulated_insn_gp() unconditionally pairs EMULTYPE_NO_DECODE with EMULTYPE_SKIP. The bad behavior was detected by a syzkaller program that toggles port I/O interception during the userspace I/O exit, ultimately resulting in a WARN on vcpu->arch.pio.count being non-zero due to KVM no completing emulation of the I/O instruction. WARNING: CPU: 23 PID: 1083 at arch/x86/kvm/x86.c:8039 emulator_pio_in_out+0x154/0x170 [kvm] Modules linked in: kvm_intel kvm irqbypass CPU: 23 UID: 1000 PID: 1083 Comm: repro Not tainted 6.16.0-rc5-c1610d2d66b1-next-vm #74 NONE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 0.0.0 02/06/2015 RIP: 0010:emulator_pio_in_out+0x154/0x170 [kvm] PKRU: 55555554 Call Trace: <TASK> kvm_fast_pio+0xd6/0x1d0 [kvm] vmx_handle_exit+0x149/0x610 [kvm_intel] kvm_arch_vcpu_ioctl_run+0xda8/0x1ac0 [kvm] kvm_vcpu_ioctl+0x244/0x8c0 [kvm] __x64_sys_ioctl+0x8a/0xd0 do_syscall_64+0x5d/0xc60 entry_SYSCALL_64_after_hwframe+0x4b/0x53 </TASK>

Severity

CVSS 3.1

7.9 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 6th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Linux Linux: fixed in 5.4.301
  • Linux Linux: fixed in 5.10.246
  • Linux Linux: fixed in 5.15.195
  • Linux Linux: fixed in 6.1.157
  • Linux Linux: fixed in 6.6.111
  • Linux Linux: fixed in 6.12.52
  • Linux Linux: fixed in 6.16.12
  • Linux Linux: fixed in 6.17.2
  • Debian, Ubuntu, Red Hat, openSUSE, AlmaLinux, Rocky Linux, Alpaquita: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2025-40026 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-40026?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-40026?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-40026 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux3.0 and later

Fixed in

ProductRelease lineFixed in
Linux5.45.4.301
Linux5.105.10.246
Linux5.155.15.195
Linux6.16.1.157
Linux6.66.6.111
Linux6.126.12.52
Linux6.166.16.12
Linux6.176.17.2
Linuxlater releases6.18

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11linux5.10.247-1DLA-4404-1
Debian11linux-6.16.1.158-1~deb11u1DLA-4379-1
Debian12linux6.1.158-1DEBIAN-CVE-2025-40026 DSA-6053-1
Debian13linux6.12.57-1DEBIAN-CVE-2025-40026
Debian14linux6.17.6-1DEBIAN-CVE-2025-40026
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2025-40026
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2025-40026
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2025-40026
Ubuntu22.04:LTSlinux, linux-lowlatency5.15.0-170.180UBUNTU-CVE-2025-40026 USN-8033-1
Ubuntu22.04:LTSlinux-aws5.15.0-1100.107UBUNTU-CVE-2025-40026 USN-8033-1
Ubuntu22.04:LTSlinux-aws-6.86.8.0-1050.53~22.04.1UBUNTU-CVE-2025-40026 USN-8095-4
Ubuntu22.04:LTSlinux-azure5.15.0-1109.118UBUNTU-CVE-2025-40026 USN-8163-2
Ubuntu22.04:LTSlinux-azure-6.86.8.0-1051.57~22.04.1UBUNTU-CVE-2025-40026 USN-8126-1
Ubuntu22.04:LTSlinux-azure-fde5.15.0-1109.118.1UBUNTU-CVE-2025-40026
Ubuntu22.04:LTSlinux-azure-fde-6.86.8.0-1058.65~22.04.1UBUNTU-CVE-2025-40026
Ubuntu22.04:LTSlinux-gcp5.15.0-1100.109UBUNTU-CVE-2025-40026 USN-8033-1
Ubuntu22.04:LTSlinux-gcp-6.86.8.0-1052.55~22.04.1UBUNTU-CVE-2025-40026 USN-8095-1
74 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-553.147.1.el8_10RHSA-2026:45115
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-553.147.1.el8_10RHSA-2026:45115
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-553.147.1.rt7.488.el8_10RHSA-2026:45116
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-553.147.1.rt7.488.el8_10RHSA-2026:45116
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 29 more0:5.14.0-687.30.1.el9_8RHSA-2026:45192
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 45 more0:5.14.0-687.30.1.el9_8RHSA-2026:45192
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 16 more0:5.14.0-687.30.1.el9_8RHSA-2026:45192
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-687.30.1.el9_8RHSA-2026:45192
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-64k, kernel-rt-core and 35 more0:5.14.0-687.30.1.el9_8RHSA-2026:45192
Red Hatenterprise_linux_eus:10.0rv, perf, rtla and 88 more0:6.12.0-55.94.1.el10_0RHSA-2026:49030
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseosperf, kernel, bpftool and 21 more0:4.18.0-305.201.1.el8_4RHSA-2026:59091
Red Hatrhel_aus:8.6::baseos, rhel_eus_long_life:8.6::baseosperf, kernel, bpftool and 21 more0:4.18.0-372.214.1.el8_6RHSA-2026:68131
21 more for Red Hat in the JSON and on Red Hat's page.
openSUSETumbleweedkernel-source6.17.7-1.1openSUSE-SU-2025:15702-1
openSUSETumbleweedkernel-source-longterm6.18.16-1.1openSUSE-SU-2026:10301-1
AlmaLinux8kernel-rt, kernel-rt-core, kernel-rt-debug and 7 more4.18.0-553.147.1.rt7.488.el8_10ALSA-2026:45116
AlmaLinux8perf, kernel, bpftool and 22 more4.18.0-553.147.1.el8_10ALSA-2026:45115
AlmaLinux9rv, perf, rtla and 71 more5.14.0-687.30.1.el9_8ALSA-2026:45192
Rocky Linux8kernel0:4.18.0-553.147.1.el8_10RLSA-2026:45115
Rocky Linux8kernel0:4.18.0-553.147.1.el8_10.cloud.0.1RXSA-2026:45115
Rocky Linux8kernel-rt0:4.18.0-553.147.1.rt7.488.el8_10RLSA-2026:45116
Rocky Linux9kernel0:5.14.0-687.30.1.el9_8RLSA-2026:45192
Rocky Linux9kernel0:5.14.0-687.30.1.el9_8.cloud.1.0RXSA-2026:45192
Alpaquita23linux-lts6.1.158-r0BELL-CVE-2025-40026
Alpaquita25linux-lts6.12.52-r0BELL-CVE-2025-40026
Alpaquitastreamlinux-lts6.18.35-r1BELL-CVE-2025-40026

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

KVM x86 was re-checking L1 instruction intercepts while completing a userspace I/O emulation for an L2 instruction. If L1 (or host userspace) modified I/O interception during the exit, KVM could wrongly treat the already-emulated I/O as intercepted and leave vcpu->arch.pio.count non-zero, triggering a WARN and potentially disrupting the guest.

Practical exploitation requires local access to /dev/kvm and the ability to run nested virtualization or manipulate I/O bitmaps.

Red Hat's mitigation

This vulnerability can be mitigated by disabling nested virtualization. Create a file in `/etc/modprobe.d/` with a descriptive name, such as `cve-2026-53359-mitigation.conf`. In that file, disable nested virtualization for the `kvm_intel` and `kvm_amd` kernel modules:

```

options kvm-intel nested=0

options kvm-amd nested=0

```

Use `lsmod` to determine if either module is already loaded. If so, remove loaded modules with `modprobe -r`. To validate that nested virtualization is disabled, read the files `/sys/module/kvm_intel/parameters/nested` and `/sys/module/kvm_amd/parameters/nested`. If these modules are loaded, those files should read `N` to indicate that the feature is disabled.

In OpenShift 4, a MachineConfig can be utilized to create a modprobe configuration allowing control of the module on applicable nodes. See the following article for an example.

https://access.redhat.com/solutions/6979679

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10.0 Extended Update Supportkernel-0:6.12.0-55.94.1.el10_0Fixed 2026-07-31RHSA-2026:49030
Red Hat Enterprise Linux 7 Extended Lifecycle Supportkernel-rt-0:3.10.0-1160.165.1.rt56.1317.el7Fixed 2026-10-08RHSA-2026:78843
Red Hat Enterprise Linux 7 Extended Lifecycle Supportkernel-0:3.10.0-1160.165.1.el7Fixed 2026-10-08RHSA-2026:78844
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-553.147.1.rt7.488.el8_10Fixed 2026-07-24RHSA-2026:45116
Red Hat Enterprise Linux 8kernel-0:4.18.0-553.147.1.el8_10Fixed 2026-07-24RHSA-2026:45115
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportkernel-0:4.18.0-305.201.1.el8_4Fixed 2026-08-24RHSA-2026:59091
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onkernel-0:4.18.0-305.201.1.el8_4Fixed 2026-08-24RHSA-2026:59091
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportkernel-0:4.18.0-372.214.1.el8_6Fixed 2026-09-16RHSA-2026:68131
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onkernel-0:4.18.0-372.214.1.el8_6Fixed 2026-09-16RHSA-2026:68131
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicekernel-0:4.18.0-477.156.1.el8_8Fixed 2026-07-29RHSA-2026:47869
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionskernel-0:4.18.0-477.156.1.el8_8Fixed 2026-07-29RHSA-2026:47869
Red Hat Enterprise Linux 9kernel-0:5.14.0-687.30.1.el9_8Fixed 2026-07-24RHSA-2026:45192
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionskernel-0:5.14.0-284.186.1.el9_2Fixed 2026-08-07RHSA-2026:51603
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionskernel-rt-0:5.14.0-284.186.1.rt14.471.el9_2Fixed 2026-08-07RHSA-2026:51604
Red Hat Enterprise Linux 10kernelAffected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 9kernel-rtAffected
Red Hat Enterprise Linux for NVIDIA 26kernelNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Affected
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Affected
12 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-40026.

References

Check your stackJSON