Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-40026

published high CVSS 3.1 · 7.9

KVM: x86: Don't (re)check L1 intercepts when completing userspace I/O

Published
28 Oct 2025, 09:32:33 UTC
Updated
15 Oct 2026, 22:02:36 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux8a76d7f25f8f24fc5a328c8e15e4a7313cf141b9 to < a908eca437789589dd4624da428614c1275064dc · 8a76d7f25f8f24fc5a328c8e15e4a7313cf141b9 to < 00338255bb1f422642fb2798ebe92e93b6e4209b · 8a76d7f25f8f24fc5a328c8e15e4a7313cf141b9 to < e0ce3ed1048a47986d15aef1a98ebda25560d257 · 8a76d7f25f8f24fc5a328c8e15e4a7313cf141b9 to < ba35a5d775799ce5ad60230be97336f2fefd518e · 8a76d7f25f8f24fc5a328c8e15e4a7313cf141b9 to < 3d3abf3f7e8b1abb082070a343de82d7efc80523 · 8a76d7f25f8f24fc5a328c8e15e4a7313cf141b9 to < e7177c7e32cb806f348387b7f4faafd4a5b32054 · 8a76d7f25f8f24fc5a328c8e15e4a7313cf141b9 to < 3a062a5c55adc5507600b9ae6d911e247e2f1d6e · 8a76d7f25f8f24fc5a328c8e15e4a7313cf141b9 to < 7366830642505683bbe905a2ba5d18d6e4b512b8 · 8a76d7f25f8f24fc5a328c8e15e4a7313cf141b9 to < e750f85391286a4c8100275516973324b621a269 · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.0 (affected) · 0 to < 3.0 (unaffected · semver) · 5.4.301 through 5.4.* (unaffected · semver) · 5.10.246 through 5.10.* (unaffected · semver) · 5.15.195 through 5.15.* (unaffected · semver) · 6.1.157 through 6.1.* (unaffected · semver) · 6.6.111 through 6.6.* (unaffected · semver) · 6.12.52 through 6.12.* (unaffected · semver) · 6.16.12 through 6.16.* (unaffected · semver) · 6.17.2 through 6.17.* (unaffected · semver) · 6.18 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected; No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2026-112 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2025-114 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.147.1.el8_10 ALSA-2026:45115
AlmaLinux 8 kernel Advisory build 4.18.0-553.147.1.el8_10 ALSA-2026:45115
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.147.1.el8_10 ALSA-2026:45115
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.147.1.el8_10 ALSA-2026:45115
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.147.1.el8_10 ALSA-2026:45115
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.147.1.el8_10 ALSA-2026:45115
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.147.1.el8_10 ALSA-2026:45115
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.147.1.el8_10 ALSA-2026:45115
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.147.1.el8_10 ALSA-2026:45115
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.147.1.el8_10 ALSA-2026:45115
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.147.1.el8_10 ALSA-2026:45115
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.147.1.el8_10 ALSA-2026:45115
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.147.1.el8_10 ALSA-2026:45115
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.147.1.el8_10 ALSA-2026:45115
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.147.1.el8_10 ALSA-2026:45115
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.147.1.rt7.488.el8_10 ALSA-2026:45116
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.147.1.rt7.488.el8_10 ALSA-2026:45116
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.147.1.rt7.488.el8_10 ALSA-2026:45116
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.147.1.rt7.488.el8_10 ALSA-2026:45116
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.147.1.rt7.488.el8_10 ALSA-2026:45116
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.147.1.rt7.488.el8_10 ALSA-2026:45116
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.147.1.rt7.488.el8_10 ALSA-2026:45116
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.147.1.rt7.488.el8_10 ALSA-2026:45116
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.147.1.rt7.488.el8_10 ALSA-2026:45116
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.147.1.rt7.488.el8_10 ALSA-2026:45116
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.147.1.el8_10 ALSA-2026:45115
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.147.1.el8_10 ALSA-2026:45115
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.147.1.el8_10 ALSA-2026:45115
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.147.1.el8_10 ALSA-2026:45115
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.147.1.el8_10 ALSA-2026:45115
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.147.1.el8_10 ALSA-2026:45115
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.147.1.el8_10 ALSA-2026:45115
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.147.1.el8_10 ALSA-2026:45115
AlmaLinux 8 perf Advisory build 4.18.0-553.147.1.el8_10 ALSA-2026:45115
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.147.1.el8_10 ALSA-2026:45115
AlmaLinux 9 kernel Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-64k Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-core Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-debug Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-devel Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-doc Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-headers Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-modules Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-rt Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-rt-64k Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-rt-64k-core Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-rt-64k-debug Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-rt-64k-debug-core Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-rt-64k-debug-devel Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-rt-64k-debug-modules Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-rt-64k-debug-modules-core Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-rt-64k-debug-modules-extra Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-rt-64k-devel Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-rt-64k-modules Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-rt-64k-modules-core Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-rt-64k-modules-extra Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-tools Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-uki-virt-addons Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-687.30.1.el9_8 ALSA-2026:45192

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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>

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

69

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.9 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H
Scenarios
en: AV:L - Exploitation requires either `KVM_RUN`/`ioctl()` access to `/dev/kvm` on the host or code execution inside a guest running a nested hypervisor; there is no network-reachable path to `x86_emulate_insn()`. AC:L - The syzkaller reproducer deterministically toggles the port-I/O bitmap while servicing the `KVM_EXIT_IO` exit, and the guest-side variant only needs a second L1 vCPU to write the bitmap page — the attacker controls both sides of the window, and nested virt is enabled by default on kvm_intel/kvm_amd. PR:L - The attacker needs only unprivileged access to `/dev/kvm` (commonly granted via the `kvm` group or a VMM process), or ordinary code execution inside a guest; no root or CAP_SYS_ADMIN in the init namespace is required. UI:N - The vCPU thread reaches the buggy re-check on the normal `KVM_RUN` re-entry path after a userspace I/O exit; no victim action is needed. S:C - A guest (L1/L2) triggers corrupted state and a WARN/panic in the host kernel's KVM module, crossing the guest-to-host security boundary, and the aborted emulation also crosses the L1/L2 authority boundary by delivering an I/O intercept L1 never legitimately received. C:L - The stale `pio.count`/`pio.size` makes the next emulated `in` take the completion path and hand back data captured during the earlier I/O read on L2's behalf, leaking bounded `pio_data` contents across the L1/L2 boundary; the copy is capped at the 1024-byte `read_cache`, so it is not an arbitrary read. I:L - KVM injects a nested IOIO VM-exit to L1 for an access it already performed against the host device model (double execution) and subsequently substitutes stale `pio_data` for a real port read, corrupting guest I/O state in a limited, non-arbitrary way. A:H - The un-cleared `vcpu->arch.pio.count` trips `WARN_ON_ONCE()` in `emulator_pio_in_out()` in the host kernel — a full host panic on the widely deployed `panic_on_warn=1` configuration — and leaves the vCPU with permanently desynchronized emulation state.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 8a76d7f25f8f24fc5a328c8e15e4a7313cf141b9 to < a908eca437789589dd4624da428614c1275064dc (affected · git)8a76d7f25f8f24fc5a328c8e15e4a7313cf141b9 to < 00338255bb1f422642fb2798ebe92e93b6e4209b (affected · git)8a76d7f25f8f24fc5a328c8e15e4a7313cf141b9 to < e0ce3ed1048a47986d15aef1a98ebda25560d257 (affected · git)8a76d7f25f8f24fc5a328c8e15e4a7313cf141b9 to < ba35a5d775799ce5ad60230be97336f2fefd518e (affected · git)8a76d7f25f8f24fc5a328c8e15e4a7313cf141b9 to < 3d3abf3f7e8b1abb082070a343de82d7efc80523 (affected · git)8a76d7f25f8f24fc5a328c8e15e4a7313cf141b9 to < e7177c7e32cb806f348387b7f4faafd4a5b32054 (affected · git)8a76d7f25f8f24fc5a328c8e15e4a7313cf141b9 to < 3a062a5c55adc5507600b9ae6d911e247e2f1d6e (affected · git)8a76d7f25f8f24fc5a328c8e15e4a7313cf141b9 to < 7366830642505683bbe905a2ba5d18d6e4b512b8 (affected · git)8a76d7f25f8f24fc5a328c8e15e4a7313cf141b9 to < e750f85391286a4c8100275516973324b621a269 (affected · git)Default: unaffected Linux · cna
Linux Linux 3.0 (affected)0 to < 3.0 (unaffected · semver)5.4.301 through 5.4.* (unaffected · semver)5.10.246 through 5.10.* (unaffected · semver)5.15.195 through 5.15.* (unaffected · semver)6.1.157 through 6.1.* (unaffected · semver)6.6.111 through 6.6.* (unaffected · semver)6.12.52 through 6.12.* (unaffected · semver)6.16.12 through 6.16.* (unaffected · semver)6.17.2 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

9

Provider assertions

2

Linux · cna

KVM: x86: Don't (re)check L1 intercepts when completing userspace I/O

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
761171cdfe80b6bccf92cf07a4970a9c1078ae1d956528dcf880ee65be0241b6
Ingested
15 Oct 2026, 23:29:36 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected