CVE-2025-37885

HIGH

Linux Kernel - Use-After-Free in KVM x86 IRTE Handling

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0007
EPSS Percentile 20.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-416
Status published
Products (25)
debian/debian_linux 11.0
linux/Kernel 4.4.0 - 5.10.237linux
linux/Kernel 5.11.0 - 5.15.181linux
linux/Kernel 5.16.0 - 6.1.136linux
linux/Kernel 6.13.0 - 6.14.5linux
linux/Kernel 6.2.0 - 6.6.89linux
linux/Kernel 6.7.0 - 6.12.26linux
Linux/Linux < 4.4
Linux/Linux 4.4
Linux/Linux 5.10.237 - 5.10.*
... and 15 more
Published May 09, 2025
Tracked Since Feb 18, 2026