All reports
Medium

kernel: KVM: x86: Reset IRTE to host control if *new* route isn't postable

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-37885

Probability of exploitation in the next 30 days: 0.32%

FIRST EPSS · 2026-11-20

Description

In the Linux kernel, the following vulnerability has been resolved: KVM: x86: Reset IRTE to host control if new route isn't postable Restore an IRTE back to host control (remapped or posted MSI mode) if the new GSI route prevents posting the IRQ directly to a vCPU, regardless of the GSI routing type. Updating the IRTE if and only if the new GSI is an MSI results in KVM leaving an IRTE posting to a vCPU. The dangling IRTE can result in interrupts being incorrectly delivered to the guest, and in the worst case scenario can result in use-after-free, e.g. if the VM is torn down, but the underlying host IRQ isn't freed.

A flaw was found in the Linux kernel's KVM (Kernel-based Virtual Machine) subsystem on x86 architectures. When interrupt routing is updated such that interrupts can no longer be directly posted to a virtual CPU (central processing unit), the kernel fails to restore the hardware interrupt remapping table entry back to host control. A local user with hypervisor management privileges can exploit this issue during virtual machine teardown, leading to a use-after-free condition that may cause host instability or a denial of service.