PT-2026-64695 · Linux · Linux

CVE-2026-64474

·

Published

2026-07-25

·

Updated

2026-07-25

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
vfio: prevent infinite loop in vfio mig get next state() on blocked arc
vfio mig get next state() walks vfio from fsm table[] one step at a time, looping to skip optional states the device does not support until *next fsm is supported. A blocked transition is encoded as VFIO DEVICE STATE ERROR, which the trailing return reports as -EINVAL.
The skip loop does not account for the ERROR sentinel. state flags table[ERROR] is ~0U and vfio from fsm table[ERROR][*] is ERROR, so once *next fsm becomes ERROR the loop condition stays true and *next fsm never changes. The blocked arcs STOP COPY -> PRE COPY and STOP COPY -> PRE COPY P2P map to ERROR yet pass the support check on a precopy-capable device, causing the loop to spin forever while holding the driver state mutex. This can result in a soft lockup, and a panic with softlockup panic set.
Terminate the skip loop on the ERROR sentinel so a blocked transition falls through to the existing return and reports -EINVAL.
Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

CVE-2026-64474

Affected Products

Linux