VDB

CVE-2026-64474

CVE-2026-64474 PUBLISHED

vfio: prevent infinite loop in vfio_mig_get_next_state() on blocked arc

Reported by linux · Published July 25, 2026

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.

EPSS 0.13% · 2.5th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18-tools-develAmazon Linux1:6.18.39-79.141.amzn2023
bpftool6.12Amazon Linux1:6.12.100-125.179.amzn2023
bpftool6.18Amazon Linux1:6.18.39-79.141.amzn2023
microvm-kernel6.18Amazon Linux1:6.18.39-79.141.amzn2023
kernel6.18Amazon Linux1:6.18.39-79.141.amzn2023
python3-perf6.12Amazon Linux1:6.12.100-125.179.amzn2023
kernel6.12-headersAmazon Linux1:6.12.100-125.179.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.100-125.179.amzn2023
kernel6.12Amazon Linux1:6.12.100-125.179.amzn2023
linux_kernellinux7.1.4, 6.18.39, 6.12.96, 6.6.145

Risk scores

EPSS Score
0.13%
2.5th percentile

Affected products

VendorProductVersions
LinuxLinux4db52602a6074e9cc523500b8304600ff63e7b85, 4db52602a6074e9cc523500b8304600ff63e7b85, 4db52602a6074e9cc523500b8304600ff63e7b85
LinuxLinux6.2, 0, 6.6.145
amazon:2023kernel6.18-tools-devel0
amazon:2023bpftool6.120
amazon:2023bpftool6.180
amazon:2023microvm-kernel6.180
amazon:2023kernel6.180
amazon:2023python3-perf6.120
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.120
linuxlinux_kernel6.2, 6.2, 6.2
amazon:2023python3-perf6.180
amazon:2023perf6.120
amazon:2023perf6.180
amazon:2023kernel6.18-devel0
amazon:2023kernel6.12-tools0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-modules-extra0

…and 7 more

Timeline

  • Jul 25, 2026 EPSS Score (16 in total, the first dated here)
  • Jul 25, 2026 Coalition ESS Score
  • Jul 25, 2026 CVE Published
  • Jul 26, 2026 Security Advisory (20 in total, the first dated here)
  • Aug 9, 2026 CVE Updated
  • Aug 12, 2026 Distribution Patch (21 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-64474
vulnetix vdb fixes CVE-2026-64474

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64474/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›