Junglewise Threat Intelligence

CVE-2026-64474: Linux Kernel infinite loop in VFIO migration state machine

CVE-2026-64474 · Severity: info · CVSS 5.5 · Published 2026-07-25

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's VFIO component, which manages hardware access for virtual machines, can cause the system to freeze or crash. This occurs during specific device migration tasks where the system enters an infinite loop while holding a critical lock. An exploit could lead to a complete denial of service, impacting the availability of the host system and all hosted virtual machines.

Technical details

A vulnerability exists in the vfio_mig_get_next_state() function within the Linux kernel's VFIO driver. The function iterates through a finite state machine (FSM) table to determine the next migration state, skipping optional unsupported states. However, the loop fails to account for the 'VFIO_DEVICE_STATE_ERROR' sentinel value used for blocked transitions. When a blocked transition (such as STOP_COPY to PRE_COPY) is encountered, the loop condition remains true indefinitely while holding the driver state mutex. This results in a soft lockup and potential kernel panic if 'softlockup_panic' is enabled. The issue has been resolved by adding a check to terminate the loop if the error sentinel is reached.

Affected products

  • Linux Linux Kernel 6.2 to 6.6.145, 6.12.96, 6.18.39, 7.1.4

Timeline

  • 2026-06-02: other: Vulnerability fixed in upstream kernel code
  • 2026-07-25: disclosed: CVE published

References

Related threats