KVM: x86: Reset IRTE to host control if *new* route isn't postable
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.237, 5.15.181, 6.1.136, 6.12.26, 6.14.5, 6.6.89
- CVEs
- CVE-2025-37885
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 03:35 UTC · Revision 1
Source evidence
KVM: x86: Reset IRTE to host control if *new* route isn't postable
core-osv · Original sourcePublished 9 May 2025, 06:45 UTC
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.
osv:CVE-2025-37885
Kernel
Fixed versions: 5.10.237, 5.15.181, 6.1.136, 6.6.89, 6.12.26, 6.14.5
Complete source record
{
"id": "b2e250d57301f5076be383317249022d540bf4cb373cadc4bb43cba6eaf0d7ef",
"url": "https://osv.dev/vulnerability/CVE-2025-37885",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "KVM: x86: Reset IRTE to host control if *new* route isn't postable",
"summary": "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.",
"evidence": "osv:CVE-2025-37885",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.237",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.181",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.136",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.89",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.26",
"evidence": "/affected/1/ranges"
},
{
"value": "6.14.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2025-37885",
"aliases": [
"CVE-2025-37885"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "efc644048ecde54f016011fe10110addd0de348f"
},
{
"fixed": "e5f2dee9f7fcd2ff4b97869f3c66a0d89c167769"
},
{
"fixed": "116c7d35b8f72eac383b9fd371d7c1a8ffc2968b"
},
{
"fixed": "023816bd5fa46fab94d1e7917fe131b79ed1fb41"
},
{
"fixed": "3481fd96d801715942b6f69fe251133128156f30"
},
{
"fixed": "b5de7ac74f69603ad803c524b840bffd36368fc3"
},
{
"fixed": "3066ec21d1a33896125747f68638725f456308db"
},
{
"fixed": "9bcac97dc42d2f4da8229d18feb0fe2b1ce523a2"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37885.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.4.0"
},
{
"fixed": "5.10.237"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.181"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.136"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.89"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.26"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.14.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37885.json"
}
}
],
"modified": "2026-10-28T02:30:25.677290595Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/023816bd5fa46fab94d1e7917fe131b79ed1fb41",
"https://git.kernel.org/stable/c/116c7d35b8f72eac383b9fd371d7c1a8ffc2968b",
"https://git.kernel.org/stable/c/3066ec21d1a33896125747f68638725f456308db",
"https://git.kernel.org/stable/c/3481fd96d801715942b6f69fe251133128156f30",
"https://git.kernel.org/stable/c/9bcac97dc42d2f4da8229d18feb0fe2b1ce523a2",
"https://git.kernel.org/stable/c/b5de7ac74f69603ad803c524b840bffd36368fc3",
"https://git.kernel.org/stable/c/e5f2dee9f7fcd2ff4b97869f3c66a0d89c167769",
"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html",
"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37885.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-37885",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37885.json"
}
},
"related_cves": [
{
"value": "CVE-2025-37885",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 492220,
"published_at": "2025-05-09T06:45:48.15+00:00"
}