What’s Vulnerable › Vulnerabilities
CVE-2025-38469: KVM: x86/xen: Fix cleanup logic in emulation of Xen schedop poll hypercalls
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-28 · updated 2026-06-17
Description
In the Linux kernel, the following vulnerability has been resolved: KVM: x86/xen: Fix cleanup logic in emulation of Xen schedop poll hypercalls kvm_xen_schedop_poll does a kmalloc_array() when a VM polls the host for more than one event channel potr (nr_ports > 1). After the kmalloc_array(), the error paths need to go through the "out" label, but the call to kvm_read_guest_virt() does not. [Adjusted commit message. - Paolo]
Affected products
- Linux kernel: from 6.2.1 before 6.6.100; from 6.7 before 6.12.40; from 6.13 before 6.15.8; 6.2, 6.2-rc2, 6.2-rc3, 6.2-rc4, 6.2-rc5, 6.2-rc6 (+9) — fixed in 6.12.40, 6.15.8, 6.6.100
How to fix
Upgrade to a fixed version: Linux kernel 6.12.40, 6.15.8, 6.6.100. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/061c553c66bc1638c280739999224c8000fd4602
- https://git.kernel.org/stable/c/3ee59c38ae7369ad1f7b846e05633ccf0d159fab
- https://git.kernel.org/stable/c/5a53249d149f48b558368c5338b9921b76a12f8c
- https://git.kernel.org/stable/c/fd627ac8a5cff4d45269f164b13ddddc0726f2cc
Get alerted when CVE-2025-38469 or the next vulnerability affects your stack