CVE-2026-64474
vfio: prevent infinite loop in vfio_mig_get_next_state() on blocked arc
Check your servers for CVE-2026-64474
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-64474 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.13%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.64% of all scored CVEs. Scores of 2 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 4db52602a6074e9cc523500b8304600ff63e7b85, before 8e872c07e40d51a66dee7b280a23a460a2e1e3fa affected from 4db52602a6074e9cc523500b8304600ff63e7b85, before ed7d5599e6c398da74845767cd1e6a8370a160fc affected from 4db52602a6074e9cc523500b8304600ff63e7b85, before 7f2d6b31089e48db4653df832c9a6afdde9a1c29 affected from 4db52602a6074e9cc523500b8304600ff63e7b85, before a3a8afa2f6e7f0dc266d08f02be3f3054241ba47 affected from 4db52602a6074e9cc523500b8304600ff63e7b85, before a26b499b757cfc8bbff1088bb1b844639e250893
Other versions: unaffected
|
| Linux |
affected 6.2 unaffected before 6.2 unaffected from 6.6.145 up to and including 6.6.* unaffected from 6.12.96 up to and including 6.12.* unaffected from 6.18.39 up to and including 6.18.* unaffected from 7.1.4 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-64474 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-64474
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-64474
trivy image --scanners vuln IMAGE | grep CVE-2026-64474
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/8e872c07e40d51a66dee7b280a23a460a2e1e3fa git.kernel.org
- https://git.kernel.org/stable/c/ed7d5599e6c398da74845767cd1e6a8370a160fc git.kernel.org
- https://git.kernel.org/stable/c/7f2d6b31089e48db4653df832c9a6afdde9a1c29 git.kernel.org
- https://git.kernel.org/stable/c/a3a8afa2f6e7f0dc266d08f02be3f3054241ba47 git.kernel.org
- https://git.kernel.org/stable/c/a26b499b757cfc8bbff1088bb1b844639e250893 git.kernel.org
Source: the record CVE-2026-64474 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse