Linux Kernel KVM Interrupt Injection Vulnerability in AMD SVM

Vulnerability

A vulnerability in the Linux kernel's KVM (Kernel-based Virtual Machine) module for AMD processors has been identified. This issue arises from improper handling of interrupt injections when the GIF (Global Interrupt Flag) is cleared. Userspace can easily manipulate this situation using the KVM_SET_VCPU_EVENTS command, leading to a kernel panic. The vulnerability was introduced in version 5.17.0-rc3 and has been resolved in subsequent releases.

Impact

Exploitation of this vulnerability causes a kernel panic, disrupting system operations by terminating the kernel process and potentially leading to a denial of service.

Reproduction

The vulnerability can be reproduced by injecting an interrupt into a virtual machine using KVM, while ensuring that the GIF is cleared. This can be done through the KVM_SET_VCPU_EVENTS ioctl, which allows userspace to modify VCPU event states, including the GIF. Once the interrupt is injected with the GIF off, the kernel will trigger a BUG, causing a crash.

Remediation

Users should upgrade to the latest stable version of the Linux kernel where this vulnerability has been addressed.

Added: Jun 18, 2025, 12:58 PM
Updated: Jun 18, 2025, 12:58 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
3.9
remediation
0.0
relevance
0.2
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.