Linux Kernel VFIO Migration Operations Vulnerability in MLX5 Driver

Vulnerability

A vulnerability in the Linux kernel's VFIO (Virtual Function I/O) subsystem has been addressed. The issue arose because the MLX5 driver improperly managed migration operations, such as setting and getting migration states. This mismanagement could lead to unexpected behavior or system crashes if user space invoked these operations without proper support from the driver. The vulnerability was resolved by separating migration operations from the main device operations, allowing drivers to manage them independently based on their capabilities. This change also included a validation step during operation registration to ensure compliance with the migration requirements of the user API.

Impact

The vulnerability could cause unexpected behavior or system crashes by allowing user space to invoke migration operations that the driver does not support, potentially leading to uninitialized state errors.

Added: Jun 18, 2025, 4:43 PM
Updated: Jun 18, 2025, 4:43 PM

Vulnerability Rating

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