CVE-2025-37885
KVM: x86: Reset IRTE to host control if *new* route isn't postable
Reported by linux · Published May 9, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools | Amazon Linux | 6.1.140-154.222.amzn2023 |
| perf6.12 | Amazon Linux | 6.12.29-33.102.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 6.1.140-154.222.amzn2023 |
| perf | Amazon Linux | 6.1.140-154.222.amzn2023 |
| python3-perf6.12 | Amazon Linux | 6.12.29-33.102.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.1.140-154.222.amzn2023 |
| kernel6.12 | Amazon Linux | 6.12.29-33.102.amzn2023 |
| kernel-tools-devel | Amazon Linux | 6.1.140-154.222.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 6.1.140-154.222.amzn2023 |
| kernel-devel | Amazon Linux | 6.1.140-154.222.amzn2023 |
| kernel-libbpf | Amazon Linux | 6.1.140-154.222.amzn2023 |
| python3-perf | Amazon Linux | 6.1.140-154.222.amzn2023 |
3 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | efc644048ecde54f016011fe10110addd0de348f, efc644048ecde54f016011fe10110addd0de348f, efc644048ecde54f016011fe10110addd0de348f |
| Linux | Linux | 4.4, 0, 5.10.237 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-livepatch-6.12.29-33.102 | 0 |
| Linux | Linux | 4.4, 5.15.181, 6.1.136 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| linux | linux_kernel | 4.4, 4.4, 4.4 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
…and 3 more
Timeline
- May 8, 2025 CVE Published
- May 9, 2025 EPSS Score (30 in total, the first dated here)
- Oct 12, 2025 PoC Published (10 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (147 in total, the first dated here)
- Mar 29, 2026 Security Advisory (150 in total, the first dated here)
- Jun 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-37885
vulnetix vdb fixes CVE-2025-37885
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-37885/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart