CVE-2026-64474
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.39-79.141.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.39-79.141.amzn2023 |
| microvm-kernel6.18 | Amazon Linux | 1:6.18.39-79.141.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.39-79.141.amzn2023 |
| python3-perf6.12 | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| linux_kernel | linux | 7.1.4, 6.18.39, 6.12.96, 6.6.145 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 4db52602a6074e9cc523500b8304600ff63e7b85, 4db52602a6074e9cc523500b8304600ff63e7b85, 4db52602a6074e9cc523500b8304600ff63e7b85 |
| Linux | Linux | 6.2, 0, 6.6.145 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12 | 0 |
| linux | linux_kernel | 6.2, 6.2, 6.2 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
…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