8.8high
KVM: x86: Reset IRTE to host control if *new* route isn't postable
- Severity
- 8.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.33% (higher than 27% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from efc644048ecde54f016011fe10110addd0de348f before e5f2dee9f7fcd2ff4b97869f3c66a0d89c167769, from efc644048ecde54f016011fe10110addd0de348f before 116c7d35b8f72eac383b9fd371d7c1a8ffc2968b, from efc644048ecde54f016011fe10110addd0de348f before 023816bd5fa46fab94d1e7917fe131b79ed1fb41, from efc644048ecde54f016011fe10110addd0de348f before 3481fd96d801715942b6f69fe251133128156f30, from efc644048ecde54f016011fe10110addd0de348f before b5de7ac74f69603ad803c524b840bffd36368fc3, from efc644048ecde54f016011fe10110addd0de348f before 3066ec21d1a33896125747f68638725f456308db, from efc644048ecde54f016011fe10110addd0de348f before 9bcac97dc42d2f4da8229d18feb0fe2b1ce523a2, 4.4 Not affected: before 4.4, from 5.10.237 up to 5.10.*, from 5.15.181 up to 5.15.*, from 6.1.136 up to 6.1.*, from 6.6.89 up to 6.6.*, from 6.12.26 up to 6.12.* | CVE List |
| linux linux_kernel | from 4.4 before 5.10.237, from 5.11 before 5.15.181, from 5.16 before 6.1.136, from 6.2 before 6.6.89, from 6.7 before 6.12.26, from 6.13 before 6.14.5, 6.15 | NVD |
| debian debian_linux | 11.0 | NVD |
All scores
| Linux | 8.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: KVM: x86: Restablecer IRTE al control del host si la *nueva* ruta no se puede publicar. Restaurar un IRTE al control del host (modo MSI reasignado o publicado) si la *nueva* ruta GSI impide publicar la IRQ directamente a una vCPU, independientemente del tipo de enrutamiento de GSI. Actualizar el IRTE solo si la nueva GSI es una MSI hace que KVM deje una publicación de IRTE en una vCPU. El IRTE pendiente puede provocar que las interrupciones se entreguen incorrectamente al invitado y, en el peor de los casos, puede provocar un use-after-free, por ejemplo, si se desactiva la máquina virtual, pero no se libera la IRQ del host subyacente.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-37885 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2025-37885 changed 2026-10-15 | Public domain |