Linux Kernel KVM NULL Pointer Dereference Vulnerability in Device Cleanup Process

Vulnerability

A NULL pointer dereference vulnerability has been identified in the Linux kernel's KVM (Kernel-based Virtual Machine) module. This issue arises during the cleanup of KVM devices, specifically with Book3s's interrupt controller KVM devices, which use the 'release' callback instead of the 'destroy' callback. The error handling in 'kvm_ioctl_create_device()' incorrectly assumes that 'destroy' is always defined, leading to a NULL dereference. This vulnerability was discovered by Syzkaller.

Impact

Exploitation of this vulnerability leads to a NULL pointer dereference, causing a crash or undefined behavior in the KVM module.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.0
remediation
0.0
relevance
0.0
threat
3.2
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.